Searched refs:cr2 (Results 1 - 19 of 19) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Ducred.h146 int crcmp(kauth_cred_t cr1, kauth_cred_t cr2);
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Dacpi_wakeup.s161 movl %cr2, %eax
219 movl %eax, %cr2
290 movl %eax, %cr2
H A Dproc_reg.h182 register unsigned int cr2; local
183 __asm__ volatile("mov %%cr2, %0" : "=r" (cr2));
184 return(cr2);
H A Dtrap.c238 vaddr = (user_addr_t)uregs->cr2;
248 vaddr = uregs->cr2;
346 vaddr = (user_addr_t)saved_state->cr2;
668 uint32_t cr2 = get_cr2(); local
679 kprintf("cr0 0x%08x cr2 0x%08x cr3 0x%08x cr4 0x%08x\n",
680 cr0, cr2, cr3, cr4);
691 regs->eip, regs->trapno, trapname, cr0, cr2, cr3, cr4,
693 regs->cr2,regs->ebp,regs->esi,regs->edi,
851 ss64p->isf.rflags, ss64p->isf.rip, ss64p->cr2);
969 vaddr = (user_addr_t)regs->cr2;
[all...]
H A Dstartup64.c287 kprintf("scp->iss32.state.cr2: 0x%08x\n", scp->iss32.state.cr2);
335 kprintf("sp->cr2: 0x%016llx\n", sp->cr2);
H A Dgenassym.c266 DECLARE("R_CR2", R_(cr2));
298 DECLARE("R64_CR2", R64_(cr2));
H A Didt64.s450 * cr2 (defined only for page fault)
858 /* Unconditionally save cr2; only meaningful on page faults */
859 mov %cr2, %rax
975 /* cr2 is significant only for page-faults */
976 mov %cr2, %rax
H A Didt.s486 * cr2 if page fault - otherwise unused
667 * Page fault traps save cr2.
672 movl %cr2,%eax /* get the faulting address */
H A Dpcb.c711 es->faultvaddr = saved_state->cr2;
723 es->faultvaddr = saved_state->cr2;
H A Ddb_interface.c206 regs->cr2 = tss->esp0;
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/i386/
H A Dthread_status.h314 unsigned int cr2; /* kernel esp stored by pusha - we save cr2 here later */ member in struct:x86_saved_state32_from_kernel
339 unsigned int cr2; /* kernel esp stored by pusha - we save cr2 here later */ member in struct:x86_saved_state32
444 uint64_t cr2; member in struct:x86_saved_state64
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/i386/
H A Dkdp_machdep.c336 kprintf("cr2= 0x%x\n", saved_state->cr2);
397 trapno, saved_state->eip, saved_state->cr2);
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dhw_exception.s135 cmplwi cr2,r9,KERNEL_STACK_SIZE ; Do we still have room on the stack?
145 bgt-- cr2,kernelStackBad ; Kernel stack is bogus...
198 cmplwi cr2,r5,T_TRACE-T_DATA_ACCESS ; Are we still in range? (cr_gt if not)
205 cmpi cr2,r3,T_PREEMPT ; Is this a preemption?
216 beq- cr2,.L_call_trap ; Do not turn on interrupts for T_PREEMPT
274 cmplwi cr2,r3,KERNEL_STACK_SIZE-FM_SIZE ; Check if we are on debug stack
275 blt+ cr2,kernelStackNotBad ; Yeah, that is ok too...
912 cmplwi cr2,r5,0 ; cr2_eq == 1 if yes
919 beq cr2,ifromk
938 cmplwi cr2,r
[all...]
H A DEmulate.s515 cmplwi cr2,r17,0 ; Do we have no full words left?
522 beq- cr2,aaLmwBy ; No full words, get bytes...
537 aaLmwBy: cmplwi cr2,r28,0 ; Any trailing bytes to do?
541 beq+ cr2,aaLmwDn ; No trailing bytes...
555 cmplwi cr2,r17,0 ; Any full words to do?
567 beq- cr2,aaLmwCb ; No full words, copy bytes...
699 cmplwi cr2,r17,0 ; Do we have no full words left?
702 beq- cr2,aaStmwBy1 ; No full words, check out bytes
727 beq- cr2,aaStmwBy2 ; No words, check trailing bytes...
744 cmplwi cr2,r2
[all...]
H A Dcswtch.s587 cmplw cr2,r22,r29 ; Are both old and new the same context?
1329 cmplw cr2,r22,r29 ; Are both old and new the same context?
1402 cmplwi cr2,r10,0 ; Check VRSave to see if we really need to save anything...
1422 bne-- cr2,vswnosavelk ; Live context saved and VRSave not 0, no save and keep context...
1441 beq-- cr2,vswnosavelk ; The VRSave was 0, so there is nothing to save...
H A Dlowmem_vectors.s798 cmpwi cr2,r3,kvmmSetGuestRegister ; Compare r3 with kvmmSetGuestRegister
1395 cmpwi cr2,r30,CPU_SUBTYPE_POWERPC_7400 ; This guy?
1409 beq cr2,perfMonSave32_7400 ; Regular olde G4...
2064 cmplwi cr2,r6,1 ; See if original R0 had the CutTrace request code in it
2072 FCisok: beq++ cr2,EatRupt ; This is a CutTrace system call, we are done with it...
3258 cmpwi cr2,r28,CPU_SUBTYPE_POWERPC_7400 ; Yer standard G4?
3267 beq- cr2,perfMonRestore32_7400 ; Standard G4...
H A Dstart.s66 ; We use cr2 for flags:
H A Dhw_vm.s1926 cmplwi cr2,r21,0 ; Is it busy?
8004 cmplwi cr2,r3,0 ; Are we at the end of the table?
8008 beq-- cr2,mapFindNo ; Leave if we did not find an entry...
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/AT386/
H A Dmodel_dep.c988 ss32p->cr2,ss32p->ebp,ss32p->esi,ss32p->edi,

Completed in 119 milliseconds