RTEMS 6.3
Loading...
Searching...
No Matches
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
#define PPC_IRQ_MCHECK   1
#define PPC_IRQ_PROTECT   2
#define PPC_IRQ_ISI   3
#define PPC_IRQ_EXTERNAL   4
#define PPC_IRQ_ALIGNMENT   5
#define PPC_IRQ_PROGRAM   6
#define PPC_IRQ_NOFP   7
#define PPC_IRQ_DECREMENTER   8
#define PPC_IRQ_RESERVED_A   9
#define PPC_IRQ_RESERVED_B   10
#define PPC_IRQ_SCALL   11
#define PPC_IRQ_TRACE   12
#define PPC_IRQ_FP_ASST   13
#define PPC_STD_IRQ_LAST   PPC_IRQ_FP_ASST
#define PPC_IRQ_FIRST   PPC_IRQ_SYSTEM_RESET
#define PPC_MSR_RI   0x000000002
#define PPC_MSR_DR   0x000000010
#define PPC_MSR_IR   0x000000020
#define PPC_MSR_EP   0x000000040
#define PPC_MSR_FP   0x000000000
#define PPC_MSR_POW   0x000000000
#define PPC_MSR_ME   0x000001000
#define PPC_MSR_EE   0x000008000
#define PPC_MSR_CE   0x000000000
#define PPC_MSR_DISABLE_MASK   (PPC_MSR_ME|PPC_MSR_EE|PPC_MSR_CE)
#define PPC_MINIMUM_STACK_FRAME_SIZE   PPC_STACK_ALIGNMENT