/branches/arm/kernel/arch/arm32/include/exception.h |
---|
68,6 → 68,22 |
#define EXC_FIQ 6 |
/** Kernel stack pointer. |
* |
* It is set when thread switches to user mode, |
* and then used for exception handling. |
*/ |
extern uintptr_t supervisor_sp; |
/** Temporary exception stack pointer. |
* |
* Temporary stack is used in exceptions handling routines |
* before switching to thread's kernel stack. |
*/ |
extern uintptr_t exc_stack; |
/** Structure representing CPU state saved when an exception occurs. */ |
typedef struct { |
uint32_t spsr; |