RTEMS: bsps/powerpc/include/rtems/powerpc/powerpc.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Macros
powerpc.h File Reference
`#include <rtems/score/powerpc.h>`
`#include <bspopts.h>`

Go to the source code of this file.

## Macros
#define | PPC_LOW_POWER_MODE_NONE 0
#define | PPC_LOW_POWER_MODE_STANDARD 1
#define | PPC_NO_CACHE_ALIGNMENT 4
| For boards with no cache set PPC_CACHE_ALIGNMENT to this value.
#define | PPC_NO_CACHE_ALIGNMENT_POWER 2
| Used to define PPC_CACHE_ALIGN_POWER for boards with no cache (and PPC_NO_CACHE_ALIGNMENT defined).
#define | PPC_INTERRUPT_MAX 16
#define | PPC_CACHE_ALIGNMENT PPC_DEFAULT_CACHE_LINE_SIZE
#define | PPC_HAS_EXCEPTION_PREFIX 1
#define | PPC_HAS_RI 1
#define | PPC_HAS_EVPR 0
#define | PPC_LOW_POWER_MODE PPC_LOW_POWER_MODE_NONE
#define | PPC_HAS_RFCI 0
#define | PPC_USE_MULTIPLE 0
#define | PPC_IRQ_SYSTEM_RESET 0 /* 0x00100 - System reset. */
#define | PPC_IRQ_MCHECK 1 /* 0x00200 - Machine check */
#define | PPC_IRQ_PROTECT 2 /* 0x00300 - Protection violation */
#define | PPC_IRQ_ISI 3 /* 0x00400 - Instruction Fetch error */
#define | PPC_IRQ_EXTERNAL 4 /* 0x00500 - External interrupt */
#define | PPC_IRQ_ALIGNMENT 5 /* 0X00600 - Alignment exception */
#define | PPC_IRQ_PROGRAM 6 /* 0x00700 - Program exception */
#define | PPC_IRQ_NOFP 7 /* 0x00800 - Floating point unavailable */
#define | PPC_IRQ_DECREMENTER 8 /* 0x00900 - Decrementer interrupt */
#define | PPC_IRQ_RESERVED_A 9 /* 0x00a00 - Implementation Reserved */
#define | PPC_IRQ_RESERVED_B 10 /* 0x00b00 - Implementation Reserved */
#define | PPC_IRQ_SCALL 11 /* 0x00c00 - System call */
#define | PPC_IRQ_TRACE 12 /* 0x00d00 - Trace Exception */
#define | PPC_IRQ_FP_ASST 13 /* ox00e00 - Floating point assist */
#define | PPC_STD_IRQ_LAST PPC_IRQ_FP_ASST
#define | PPC_IRQ_FIRST PPC_IRQ_SYSTEM_RESET
#define | PPC_MSR_RI 0x000000002 /* bit 30 - recoverable exception */
#define | PPC_MSR_DR 0x000000010 /* bit 27 - data address translation */
#define | PPC_MSR_IR 0x000000020 /* bit 26 - instruction addr translation*/
#define | PPC_MSR_EP 0x000000040 /* bit 25 - exception prefix */
#define | PPC_MSR_FP 0x000000000 /* bit 18 - floating point enable */
#define | PPC_MSR_POW 0x000000000 /* bit 13 - power management enable */
#define | PPC_MSR_ME 0x000001000 /* bit 19 - machine check enable */
#define | PPC_MSR_EE 0x000008000 /* bit 16 - external interrupt enable */
#define | PPC_MSR_CE 0x000000000 /* bit 14 - critical interrupt enable */
#define | PPC_MSR_DISABLE_MASK (PPC_MSR_ME|PPC_MSR_EE|PPC_MSR_CE)
#define | PPC_MINIMUM_STACK_FRAME_SIZE PPC_STACK_ALIGNMENT