Searched refs:mtspr (Results 1 - 18 of 18) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/ppc/
H A Dchud_cpu_ppc.c50 #undef mtspr macro
52 #define mtspr(spr, reg) __asm__ volatile ("mtspr %0, %1" : : "n" (spr), "r" (reg)) macro
160 // mtspr(l2cr, per_proc->pf.l2cr); // XXXXXXX why is this necessary? XXXXXXX
197 mtspr(chud_750_hid0, val);
204 mtspr(chud_750_hid0, val);
218 mtspr(chud_750_hid1, val);
228 mtspr(chud_750fx_hid2, val);
233 mtspr(chud_7400_msscr0, val);
238 mtspr(chud_7400_msscr
[all...]
H A Dchud_cpu_asm.s379 mtspr chud_ppc_srr0,r5
383 mtspr chud_ppc_srr1,r5
387 mtspr chud_ppc_dar,r5
391 mtspr chud_ppc_sdr1,r5
395 mtspr chud_ppc_sprg0,r5
399 mtspr chud_ppc_sprg1,r5
403 mtspr chud_ppc_sprg2,r5
407 mtspr chud_ppc_sprg3,r5
411 mtspr chud_ppc64_asr,r5
415 mtspr chud_ppc_dab
[all...]
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ppc/
H A DIOAsmSupport.s90 mtspr ctr, r0
102 mtspr lr, r0
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/commpage/
H A Dmemset_g4.s66 mtspr vrsave,r0
126 mtspr vrsave,r2 // restore caller's vrsave
H A Dmemset_g5.s82 mtspr vrsave,r0
163 mtspr vrsave,r2 // restore caller's vrsave
H A Dbcopy_970.s308 mtspr vrsave,w4 // update mask
327 mtspr vrsave,rv // restore bitmap of live vr's
374 mtspr vrsave,w4 // update mask
428 mtspr vrsave,rv // restore bitmap of live vr's
468 mtspr vrsave,rv // restore bitmap of live vr's
512 mtspr vrsave,w1 // update mask
551 mtspr vrsave,rv // restore bitmap of live vr's
603 mtspr vrsave,rv // restore bitmap of live vr's
H A Dbcopy_g4.s348 mtspr vrsave,w1 // update mask
384 mtspr vrsave,rv // restore bitmap of live vr's
429 mtspr vrsave,rv // restore bitmap of live vr's
540 mtspr vrsave,w1 // update mask
575 mtspr vrsave,rv // restore bitmap of live vr's
618 mtspr vrsave,rv // restore bitmap of live vr's
H A Dbigcopy_970.s159 mtspr vrsave,r0 // say we use vr0..vr23
315 mtspr vrsave,rv // restore bitmap of live vr's
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dmisc_asm.s207 mtspr mmcr0,r3
215 mtspr mmcr1,r3
223 mtspr mmcr2,r3
231 mtspr pmc1,r3
239 mtspr pmc2,r3
247 mtspr pmc3,r3
255 mtspr pmc4,r3
285 mtspr hid5,r3 ; Set it
H A Dstart.s119 mtspr tbl,r17 ; Clear bottom so we do not tick
120 mtspr tbu,r15 ; Set top
121 mtspr tbl,r16 ; Then bottom again
270 mtspr hid0,r6 ; Set the insominac HID0
312 mtspr hid0,r6 ; Set the insominac HID0
386 mtspr vrsave,r0 ; Set that no VRs are used yet */
525 mtspr hid0,r11 ; Set the HID
560 mtspr hid0, r13 ; Set the HID
565 mtspr hid1, r12 ; Restore PLL config
573 mtspr hid
[all...]
H A Dmachine_routines_asm.s196 mtspr hid0, r5
199 mtspr hid0, r5
321 mtspr hid4,r2 ; Make real accesses cache-inhibited
340 mtspr hid4,r8 ; Make real accesses not cache-inhibited
648 mtspr hid4,r2 ; Make real accesses cache-inhibited
678 mtspr hid4,r8 ; Make real accesses not cache-inhibited
905 mtspr msscr0,r7 ; Updates MSSCR0 value
915 mtspr hid1,r7 ; Update HID1 value
943 mtspr hid0,r6 ; Set up the HID for nap/doze
1066 mtspr msscr
[all...]
H A Dlowmem_vectors.s125 mtspr hsprg0,r14 ; Save a register
164 mtspr hid4,r11 ; ?
171 mtspr hid4,r13 ; ?
199 mtspr msscr0,r11 ; ?
872 uftX64: mtspr hsprg0,r14 ; Save a register in a Hypervisor SPRG
1245 mtspr hid0,r2 ; Clear the nap/doze bits
1345 mtspr hid1,r3 ; Restore HID1
1352 mtspr msscr0,r3 ; Restore MSSCR0
1415 mtspr pmc5,r22 ; Leave PMC5 clear
1416 mtspr pmc
[all...]
H A DFirmware.s2406 mtspr scomd,r3 ; Set the error inject controls
2407 mtspr scomc,r12 ; Request error inject
2413 mtspr hid1,r0 ; Move in hid1 controls
2414 mtspr hid1,r0 ; We need to do it twice
2418 mtspr hid4,r2 ; Move in hid4 controls
2443 mtspr scomc,r4 ; Request the register
2461 mtspr scomd,r5 ; Set the data
2462 mtspr scomc,r4 ; Set it
2503 mtspr mmcr0,r0 ; Clear MMCR0
2504 mtspr mmcr
[all...]
H A Dproc_reg.h307 __asm__ volatile("mtspr tbl, %0" : : "r" (val));
324 __asm__ volatile("mtspr tbu, %0" : : "r" (val));
397 #define mtspr(spr, val) __asm__ volatile("mtspr " # spr ", %0" : : "r" (val)) macro
H A Dcswtch.s1727 mtspr vrsave,r0 ; Clear VRSAVE
1827 mtspr vrsave,r5 ; Set VRSave
/macosx-10.5.8/xnu-1228.15.4/pexpert/pexpert/ppc/
H A Dprotos.h34 #define mtspr(spr, val) __asm__ volatile("mtspr " # spr ", %0" : : "r" (val)) macro
/macosx-10.5.8/xnu-1228.15.4/libsyscall/custom/
H A D__fork.s80 mtspr ctr,r3
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/ppc/
H A Dkdp_machdep.c601 mtspr(dabr, kdp_dabr);

Completed in 172 milliseconds