diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-11-19 08:37:04 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-12-03 13:17:08 +0100 |
commit | f665f13ddd79ed78ca65c27a21fd87de6f7d1474 (patch) | |
tree | 7d6af8a9a618da5b7f7c71daa4329e9fb00cf5ab /c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/vectors.h | |
parent | bsps/powerpc: Add PPC_EXC_CONFIG_USE_FIXED_HANDLER (diff) | |
download | rtems-f665f13ddd79ed78ca65c27a21fd87de6f7d1474.tar.bz2 |
bsps/powerpc: Add PPC_EXC_CONFIG_BOOKE_ONLY
In combination with the PPC_EXC_CONFIG_USE_FIXED_HANDLER option this
removes all dependencies on valid read-write data. The exception
handling must be statically configured and all components reside in
read-only sections.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/vectors.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/vectors.h b/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/vectors.h index bcb3b9a114..a275d2ed75 100644 --- a/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/vectors.h +++ b/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/vectors.h @@ -410,6 +410,8 @@ typedef int (*ppc_exc_handler_t)(BSP_Exception_frame *f, unsigned vector); */ int ppc_exc_handler_default(BSP_Exception_frame *f, unsigned int vector); +#ifndef PPC_EXC_CONFIG_BOOKE_ONLY + /** * @brief Bits for MSR update. * @@ -422,6 +424,8 @@ int ppc_exc_handler_default(BSP_Exception_frame *f, unsigned int vector); */ extern uint32_t ppc_exc_msr_bits; +#endif /* PPC_EXC_CONFIG_BOOKE_ONLY */ + /** * @brief Cache write back check flag. * |