|
#define | __stringify(rn) #rn |
|
#define | ATTRIBUTE_ALIGN(v) __attribute__((aligned(v))) |
|
#define | STACK_ALIGN(type, name, cnt, alignment) |
|
#define | _sync() asm volatile("sync") |
|
#define | _nop() asm volatile("nop") |
|
#define | ppcsync() asm volatile("sc") |
|
#define | ppchalt() |
|
#define | mfpvr() |
|
#define | mfdcr(_rn) |
|
#define | mtdcr(rn, val) asm volatile("mtdcr " __stringify(rn) ",%0" : : "r" (val)) |
|
#define | mfmsr() |
|
#define | mtmsr(val) asm volatile("mtmsr %0" : : "r" (val)) |
|
#define | mfdec() |
|
#define | mtdec(_val) asm volatile("mtdec %0" : : "r" (_val)) |
|
#define | mfspr(_rn) |
|
#define | mtspr(_rn, _val) asm volatile("mtspr " __stringify(_rn) ",%0" : : "r" (_val)) |
|
#define | mfwpar() mfspr(WPAR) |
|
#define | mtwpar(_val) mtspr(WPAR,_val) |
|
#define | mfmmcr0() mfspr(MMCR0) |
|
#define | mtmmcr0(_val) mtspr(MMCR0,_val) |
|
#define | mfmmcr1() mfspr(MMCR1) |
|
#define | mtmmcr1(_val) mtspr(MMCR1,_val) |
|
#define | mfpmc1() mfspr(PMC1) |
|
#define | mtpmc1(_val) mtspr(PMC1,_val) |
|
#define | mfpmc2() mfspr(PMC2) |
|
#define | mtpmc2(_val) mtspr(PMC2,_val) |
|
#define | mfpmc3() mfspr(PMC3) |
|
#define | mtpmc3(_val) mtspr(PMC3,_val) |
|
#define | mfpmc4() mfspr(PMC4) |
|
#define | mtpmc4(_val) mtspr(PMC4,_val) |
|
#define | mfhid0() mfspr(HID0) |
|
#define | mthid0(_val) mtspr(HID0,_val) |
|
#define | mfhid1() mfspr(HID1) |
|
#define | mthid1(_val) mtspr(HID1,_val) |
|
#define | mfhid2() mfspr(HID2) |
|
#define | mthid2(_val) mtspr(HID2,_val) |
|
#define | mfhid4() mfspr(HID4) |
|
#define | mthid4(_val) mtspr(HID4,_val) |
|
#define | __lhbrx(base, index) |
|
#define | __lwbrx(base, index) |
|
#define | __sthbrx(base, index, value) __asm__ volatile ("sthbrx %0,%1,%2" : : "r"(value), "b%"(index), "r"(base) : "memory") |
|
#define | __stwbrx(base, index, value) __asm__ volatile ("stwbrx %0,%1,%2" : : "r"(value), "b%"(index), "r"(base) : "memory") |
|
#define | cntlzw(_val) |
|
#define | _CPU_MSR_GET(_msr_value) |
|
#define | _CPU_MSR_SET(_msr_value) { asm volatile ("mtmsr %0" : "=&r" ((_msr_value)) : "0" ((_msr_value))); } |
|
#define | _CPU_ISR_Enable() |
|
#define | _CPU_ISR_Disable(_isr_cookie) |
|
#define | _CPU_ISR_Restore(_isr_cookie) |
|
#define | _CPU_ISR_Flash(_isr_cookie) |
|
#define | _CPU_FPR_Enable() |
|
#define | _CPU_FPR_Disable() |
|