/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/ppc/ |
H A D | chud_cpu_ppc.c | 51 #undef mfspr macro 53 #define mfspr(reg, spr) __asm__ volatile("mfspr %0, %1" : "=r" (reg) : "n" (spr)); macro 381 if(spr==chud_ppc_srr0) { mfspr(val, chud_ppc_srr0); break; } 382 if(spr==chud_ppc_srr1) { mfspr(val, chud_ppc_srr1); break; } 383 if(spr==chud_ppc_dsisr) { mfspr(val, chud_ppc_dsisr); break; } 384 if(spr==chud_ppc_dar) { mfspr(val, chud_ppc_dar); break; } 385 if(spr==chud_ppc_dec) { mfspr(val, chud_ppc_dec); break; } 386 if(spr==chud_ppc_sdr1) { mfspr(val, chud_ppc_sdr1); break; } 387 if(spr==chud_ppc_sprg0) { mfspr(va [all...] |
H A D | chud_cpu_asm.s | 127 mfspr r5,chud_ppc_srr0 131 mfspr r5,chud_ppc_srr1 135 mfspr r5,chud_ppc_dar 139 mfspr r5,chud_ppc_sdr1 143 mfspr r5,chud_ppc_sprg0 147 mfspr r5,chud_ppc_sprg1 151 mfspr r5,chud_ppc_sprg2 155 mfspr r5,chud_ppc_sprg3 159 mfspr r5,chud_ppc64_asr 163 mfspr r [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/commpage/ |
H A D | pthread.s | 50 mfspr r3,USER_SPRG3 // get per-thread cookie 69 mfspr r3,USER_SPRG3 // get per-thread cookie 84 mfspr r3,USER_SPRG3 // get per-thread cookie
|
H A D | memset_g4.s | 63 mfspr r2,vrsave // we'll be using VRs
|
H A D | memset_g5.s | 79 mfspr r2,vrsave // we'll be using VRs
|
H A D | bcopy_970.s | 304 mfspr rv,vrsave // get bitmap of live vector registers 364 mfspr rv,vrsave // get bitmap of live vector registers 506 mfspr rv,vrsave // get bitmap of live vector registers
|
H A D | bcopy_g4.s | 341 mfspr rv,vrsave // get bitmap of live vector registers 533 mfspr rv,vrsave // get bitmap of live vector registers
|
H A D | bigcopy_970.s | 146 mfspr rv,vrsave // save caller's bitmask
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | misc_asm.s | 186 mfspr ARG0, 5 190 mfspr ARG0, 4 203 mfspr r3,mmcr0 211 mfspr r3,mmcr1 219 mfspr r3,mmcr2 227 mfspr r3,pmc1 235 mfspr r3,pmc2 243 mfspr r3,pmc3 251 mfspr r3,pmc4 259 mfspr r [all...] |
H A D | start.s | 268 mfspr r6,hid0 ; Get the HID0 301 mfspr r6,hid0 ; Get the HID0 313 mfspr r6,hid0 ; Get it 314 mfspr r6,hid0 ; Get it 315 mfspr r6,hid0 ; Get it 316 mfspr r6,hid0 ; Get it 317 mfspr r6,hid0 ; Get it 318 mfspr r6,hid0 ; Get it 496 mfspr r13,l2cr ; Get the L2CR 518 mfspr r1 [all...] |
H A D | machine_routines_asm.s | 190 mfspr r6, hid0 ; Get a copy of hid0 318 mfspr r8,hid4 ; Get HID4 645 mfspr r8,hid4 ; Get HID4 868 mfspr r6,hid0 ; Get the current power-saving mode 903 mfspr r7,msscr0 ; Get currect MSSCR0 value 913 mfspr r7,hid1 ; Get current HID1 value 944 mfspr r6,hid0 ; Yes, this is silly, keep it here 945 mfspr r6,hid0 ; Yes, this is a duplicate, keep it here 946 mfspr r6,hid0 ; Yes, this is a duplicate, keep it here 947 mfspr r [all...] |
H A D | movc.s | 562 mfspr r12,pmc1 ; INSTRUMENT - saveinstr[12] - Take stamp at copyout 564 mfspr r12,pmc2 ; INSTRUMENT - Get stamp 566 mfspr r12,pmc3 ; INSTRUMENT - Get stamp 568 mfspr r12,pmc4 ; INSTRUMENT - Get stamp 673 mfspr r12,pmc1 ; INSTRUMENT - saveinstr[13] - Take stamp before mapuseraddressspace 675 mfspr r12,pmc2 ; INSTRUMENT - Get stamp 677 mfspr r12,pmc3 ; INSTRUMENT - Get stamp 679 mfspr r12,pmc4 ; INSTRUMENT - Get stamp 684 mfspr r12,pmc1 ; INSTRUMENT - saveinstr[14] - Take stamp after mapuseraddressspace 686 mfspr r1 [all...] |
H A D | Firmware.s | 1753 mfspr r4,pmc1 ; Get stamp 1756 mfspr r4,pmc2 ; Get stamp 1758 mfspr r4,pmc3 ; Get stamp 1760 mfspr r4,pmc4 ; Get stamp 1811 mfspr r6,pir /* Get the PIR */ 2260 mfspr r4,hid0 2268 mfspr r4,hid1 2269 mfspr r5,l2cr 2270 mfspr r6,msscr0 2271 mfspr r [all...] |
H A D | lowmem_vectors.s | 132 mfspr r14,hsprg0 ; Restore R14 161 mfspr r13,hid4 ; ? 193 mfspr r11,msscr0 ; ? 201 rstbsy: mfspr r11,msscr0 ; ? 879 mfspr r14,hsprg0 ; Restore R14 973 mfspr r23,dsisr ; Get the DSISR 1100 mfspr r23,dsisr ; Get the DSISR 1210 mfspr r1,hid0 ; Get HID0 1411 mfspr r24,pmc5 ; Here for a 7450 1412 mfspr r2 [all...] |
H A D | proc_reg.h | 342 __asm__ volatile("mfspr %0, l2cr" : "=r" (result)); 398 #define mfspr(reg, spr) __asm__ volatile("mfspr %0, " # spr : "=r" (reg)) macro
|
H A D | hw_exception.s | 516 mfspr r4,pmc1 ; Get stamp 518 mfspr r4,pmc2 ; Get stamp 520 mfspr r4,pmc3 ; Get stamp 522 mfspr r4,pmc4 ; Get stamp
|
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ppc/ |
H A D | IOAsmSupport.s | 103 mfspr r12, lr
|
/macosx-10.5.8/xnu-1228.15.4/pexpert/pexpert/ppc/ |
H A D | protos.h | 35 #define mfspr(reg, spr) __asm__ volatile("mfspr %0, " # spr : "=r" (reg)) macro
|