|
RTEMS
5.1
|
45 #ifndef _RTEMS_POWERPC_DEBUGMOD_H 46 #define _RTEMS_POWERPC_DEBUGMOD_H 48 #warning "please read the FIXME inside of this file" 75 #define PPC_DEBUG_MODEL_STANDARD 1 76 #define PPC_DEBUG_MODEL_SINGLE_STEP_ONLY 2 77 #define PPC_DEBUG_MODEL_IBM4xx 3 79 #elif defined(ppc403) || defined(ppc405) || defined(ppc440) 81 #define PPC_DEBUG_MODEL PPC_DEBUG_MODEL_IBM4xx 85 #define PPC_DEBUG_MODEL PPC_DEBUG_MODEL_SINGLE_STEP_ONLY 94 #ifndef PPC_DEBUG_MODEL 95 #define PPC_DEBUG_MODEL PPC_DEBUG_MODEL_STANDARD 103 #if (PPC_DEBUG_MODEL == PPC_DEBUG_MODEL_STANDARD) 104 #define PPC_MSR_DE 0x000000000 105 #define PPC_MSR_BE 0x000000200 106 #define PPC_MSR_SE 0x000000400 107 #elif (PPC_DEBUG_MODEL == PPC_DEBUG_MODEL_SINGLE_STEP_ONLY) 108 #define PPC_MSR_DE 0x000000000 109 #define PPC_MSR_BE 0x000000200 110 #define PPC_MSR_SE 0x000000000 111 #elif (PPC_DEBUG_MODEL == PPC_DEBUG_MODEL_IBM4xx) 112 #define PPC_MSR_DE 0x000000200 113 #define PPC_MSR_BE 0x000000000 114 #define PPC_MSR_SE 0x000000000 116 #error "MSR constants -- unknown PPC_DEBUG_MODEL!!"