/macosx-10.5.8/xnu-1228.15.4/bsd/ppc/ |
H A D | param.h | 128 #define USERMODE(msr) (msr & MASK(MSR_PR) ? TRUE : FALSE) 129 #define BASEPRI(msr) (msr & MASK(MSR_EE) ? TRUE : FALSE)
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | proc_reg.h | 271 #define rdmsr(msr,lo,hi) \ 272 __asm__ volatile("rdmsr" : "=a" (lo), "=d" (hi) : "c" (msr)) 274 #define wrmsr(msr,lo,hi) \ 275 __asm__ volatile("wrmsr" : : "c" (msr), "a" (lo), "d" (hi)) 285 static inline uint64_t rdmsr64(uint32_t msr) argument 288 __asm__ volatile("rdmsr" : "=A" (ret) : "c" (msr)); 292 static inline void wrmsr64(uint32_t msr, uint64_t val) argument 294 __asm__ volatile("wrmsr" : : "c" (msr), "A" (val)); 319 extern int rdmsr_carefully(uint32_t msr, uint32_t *lo, uint32_t *hi);
|
H A D | misc_protos.h | 49 extern void ml_64bit_wrmsr64(uint32_t msr, uint64_t value);
|
H A D | machine_check.c | 248 static uint32_t rdmsr32(uint32_t msr) argument 250 return (uint32_t) rdmsr64(msr);
|
/macosx-10.5.8/xnu-1228.15.4/EXTERNAL_HEADERS/architecture/ppc/ |
H A D | basic_regs.h | 222 set_msr(msr_t msr) argument 224 __asm__ volatile ("mtmsr %0 /* mtmsr */ " : : "r" (msr));
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | mcount.s | 52 mfmsr r9 ; Get msr 56 mtmsr r8 ; Update msr
|
H A D | proc_reg.h | 122 #define USER_MODE(msr) (msr & MASK(MSR_PR) ? TRUE : FALSE)
|
H A D | ppc_disasm.i | 60 in 011111ddddd0000000000000m0100110 mf{cr|msr}[$m] $reg($d) 77 in 011111ddddd0ffffffff000100100m00 mt{crf $hex($f),|msr}[$m] $reg($d)
|
H A D | hw_vm.s | 1460 ; r17: caller's msr image 5193 mfmsr r10 ; Get the msr 5724 ; r30 : saved msr image 5761 mr r30,r11 ; Save caller's msr image 5948 ; r30 : saved msr image 5990 mr r30,r11 ; Save caller's msr image 6117 ; r25 : caller's msr image from mapSetUp 6188 mr r25,r11 ; Save caller's msr image 6482 ; r25 : caller's msr image from mapSetUp 6555 mr r25,r11 ; Save caller's msr imag [all...] |
H A D | cswtch.s | 870 fsenable: lwz r8,savesrr1+4(r25) ; Get the msr of the interrupted guy 877 stw r8,savesrr1+4(r25) ; Set the msr of the interrupted guy 1588 vrenable: lwz r8,savesrr1+4(r25) ; Get the msr of the interrupted guy 1595 stw r8,savesrr1+4(r25) ; Set the msr of the interrupted guy
|
H A D | machine_routines_asm.s | 936 ori r7,r5,lo16(MASK(MSR_EE)) ; Flip on EE to make exit msr 939 ori r5,r5,lo16(MASK(MSR_EE)) ; Flip on EE to make nap msr
|
H A D | vmachmon_asm.s | 1693 lwz r5,famguestmsr(r20) ; Load famguest ctx msr 1736 ld r5,famguestXmsr(r20) ; Load famguest ctx msr
|
H A D | savearea_asm.s | 788 * msr = IR, DR, and EE off, SF on 1460 * msr = interrupts and translation off 1493 * msr = interrupts and translation off 1573 mfmsr r11 ; get msr
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/ |
H A D | vm_object.h | 368 #define msync_req_alloc(msr) \ 370 (msr) = (msync_req_t)kalloc(sizeof(struct msync_req)); \ 371 mutex_init(&(msr)->msync_req_lock, 0); \ 372 msr->flag = VM_MSYNC_INITIALIZED; \ 375 #define msync_req_free(msr) \ 376 (kfree((msr), sizeof(struct msync_req))) 378 #define msr_lock(msr) mutex_lock(&(msr)->msync_req_lock) 379 #define msr_unlock(msr) mutex_unlock(&(msr) [all...] |
H A D | memory_object.c | 1046 msync_req_t msr; local 1066 queue_iterate(&object->msr_q, msr, msync_req_t, msr_q) { 1067 if (msr->offset == offset && msr->length == length) { 1068 queue_remove(&object->msr_q, msr, msync_req_t, msr_q); 1073 if (queue_end(&object->msr_q, (queue_entry_t)msr)) { 1078 msr_lock(msr); 1080 msr->flag = VM_MSYNC_DONE; 1081 msr_unlock(msr); 1082 thread_wakeup((event_t) msr); [all...] |
H A D | vm_map.c | 11037 msync_req_t msr; local 11248 queue_iterate(&object->msr_q, msr, msync_req_t, msr_q) { 11251 * on overlapping msr to be done, then reiterate 11253 msr_lock(msr); 11254 if (msr->flag == VM_MSYNC_SYNCHRONIZING && 11255 ((offset >= msr->offset && 11256 offset < (msr->offset + msr->length)) || 11257 (msr->offset >= offset && 11258 msr [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/ppc/ |
H A D | chud_thread_ppc.c | 426 #define USER_MODE(msr) ((msr) & MASK(MSR_PR) ? TRUE : FALSE) 430 #define SUPERVISOR_MODE(msr) ((msr) & MASK(MSR_PR) ? FALSE : TRUE)
|