forked from Imagelibrary/rtems
40 lines
739 B
C
40 lines
739 B
C
/**
|
|
* @file
|
|
*
|
|
* @brief Install Interrupt Handler Vector
|
|
*/
|
|
|
|
/*
|
|
* Copyright (c) 2012 embedded brains GmbH. All rights reserved.
|
|
*
|
|
* embedded brains GmbH
|
|
* Obere Lagerstr. 30
|
|
* 82178 Puchheim
|
|
* Germany
|
|
* <rtems@embedded-brains.de>
|
|
*
|
|
* The license and distribution terms for this file may be
|
|
* found in the file LICENSE in this distribution or at
|
|
* http://www.rtems.com/license/LICENSE.
|
|
*/
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
#include "config.h"
|
|
#endif
|
|
|
|
#include <rtems/score/cpu.h>
|
|
#include <rtems/score/interr.h>
|
|
|
|
void _CPU_ISR_install_vector(
|
|
uint32_t vector,
|
|
proc_ptr new_handler,
|
|
proc_ptr *old_handler
|
|
)
|
|
{
|
|
_Internal_error_Occurred(
|
|
INTERNAL_ERROR_CORE,
|
|
false,
|
|
INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR
|
|
);
|
|
}
|