diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-11-13 17:53:43 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-11-15 15:33:11 +0100 |
commit | b31a9603e06622792e6068464bbc223ad2ee2441 (patch) | |
tree | 92a8074a5805aab7a2e4615b24e477c1df1a648a /cpukit/score/cpu/powerpc/ppc-isr-vector-install.c | |
parent | sapi: Add and use rtems_internal_error_description (diff) | |
download | rtems-b31a9603e06622792e6068464bbc223ad2ee2441.tar.bz2 |
score: Add INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR
Use INTERNAL_ERROR_CPU_ISR_INSTALL_VECTOR on PowerPC for
_CPU_ISR_install_vector().
Diffstat (limited to 'cpukit/score/cpu/powerpc/ppc-isr-vector-install.c')
-rw-r--r-- | cpukit/score/cpu/powerpc/ppc-isr-vector-install.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/cpukit/score/cpu/powerpc/ppc-isr-vector-install.c b/cpukit/score/cpu/powerpc/ppc-isr-vector-install.c new file mode 100644 index 0000000000..4b8e81a5ea --- /dev/null +++ b/cpukit/score/cpu/powerpc/ppc-isr-vector-install.c @@ -0,0 +1,33 @@ +/* + * 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 + ); +} |