/branches/tracing/kernel/arch/ppc32/include/regutils.h |
---|
37,8 → 37,21 |
#ifndef KERN_ppc32_REGUTILS_H_ |
#define KERN_ppc32_REGUTILS_H_ |
/* |
* MSR/SRR1 bits |
*/ |
#define MSR_PR (1 << 14) |
/* |
* SRR1 bits |
*/ |
#define SRR1_FP_EXC (1 << 20) |
#define SRR1_ILL_EXC (1 << 19) |
#define SRR1_PRIV_EXC (1 << 18) |
#define SRR1_TRAP_EXC (1 << 17) |
#define SRR1_NOT_FAULT (1 << 16) |
#endif |
/** @} |