Home
last modified time | relevance | path

Searched refs:cr0 (Results 1 – 18 of 18) sorted by relevance

/dragonfly/sys/platform/pc64/x86_64/
H A Dmpboot.S67 mov %eax, %cr0
128 mov %cr0, %eax
130 mov %eax, %cr0
H A Damd64_mem.c304 u_long cr0, cr4; in amd64_mrstoreone() local
315 cr0 = rcr0(); in amd64_mrstoreone()
316 load_cr0((cr0 & ~CR0_NW) | CR0_CD); in amd64_mrstoreone()
396 load_cr0(cr0); in amd64_mrstoreone()
H A Dmp_machdep.c250 u_int64_t msr, cr0; in init_secondary() local
333 cr0 = rcr0(); in init_secondary()
334 cr0 &= ~(CR0_CD | CR0_NW | CR0_EM); in init_secondary()
335 load_cr0(cr0); in init_secondary()
H A Dmachdep.c1554 register_t cr0; in cpu_setregs() local
1556 cr0 = rcr0(); in cpu_setregs()
1557 cr0 |= CR0_NE; /* Done by npxinit() */ in cpu_setregs()
1558 cr0 |= CR0_MP | CR0_TS; /* Done at every execve() too. */ in cpu_setregs()
1559 cr0 |= CR0_WP | CR0_AM; in cpu_setregs()
1560 load_cr0(cr0); in cpu_setregs()
H A Dpmap.c1253 u_long cr0, cr4; in pmap_init_pat() local
1299 cr0 = rcr0(); in pmap_init_pat()
1300 load_cr0((cr0 & ~CR0_NW) | CR0_CD); in pmap_init_pat()
1314 load_cr0(cr0); in pmap_init_pat()
/dragonfly/sys/platform/pc64/acpica/
H A Dacpi_wakecode.S96 mov %cr0,%eax
98 mov %eax,%cr0
178 movl %eax,%cr0
/dragonfly/stand/boot/pc32/libi386/
H A Dx86_64_tramp.S96 movl %cr0, %eax
98 movl %eax, %cr0
/dragonfly/sys/platform/vkernel64/x86_64/
H A Dcpu_regs.c626 unsigned int cr0; in cpu_setregs()
628 cr0 = rcr0(); in cpu_setregs()
629 cr0 |= CR0_NE; /* Done by npxinit() */ in cpu_setregs()
630 cr0 |= CR0_MP | CR0_TS; /* Done at every execve() too. */ in cpu_setregs()
631 cr0 |= CR0_WP | CR0_AM; in cpu_setregs()
632 load_cr0(cr0); in cpu_setregs()
/dragonfly/stand/boot/pc32/pxeldr/
H A Dpxeldr.S149 movl %cr0, %eax # Turn on
151 movl %eax, %cr0 # mode
182 movl %cr0, %eax # Turn off
184 movl %eax, %cr0 # mode
/dragonfly/stand/boot/pc32/btx/btx/
H A Dbtx.S224 mov %cr0,%eax # Switch to protected
226 mov %eax,%cr0 #
632 intusr.7: movl %cr0,%eax # Leave
634 movl %eax,%cr0 # mode
683 mov %cr0,%eax # Switch to protected
685 mov %eax,%cr0 #
/dragonfly/test/nvmm/demo/smallkern/
H A Dlocore.S388 movl %cr0,%eax
390 movl %eax,%cr0
/dragonfly/stand/boot/pc32/btx/btxldr/
H A Dbtxldr.S318 movl %cr0,%eax # Switch to
320 movl %eax,%cr0 # mode
/dragonfly/sys/dev/virtual/nvmm/x86/
H A Dnvmm_x86_svm.c436 uint64_t cr0; member
1807 if ((vmcb->state.cr0 ^ in svm_state_gtlb_flush()
1882 vmcb->state.cr0 = state->crs[NVMM_X64_CR_CR0]; in svm_vcpu_setstate()
2030 state->crs[NVMM_X64_CR_CR0] = vmcb->state.cr0; in svm_vcpu_getstate()
H A Dnvmm_x86_vmx.c2558 uint64_t cr0, cr3, cr4, efer; in vmx_state_gtlb_flush() local
2561 cr0 = vmx_vmread(VMCS_GUEST_CR0); in vmx_state_gtlb_flush()
2562 if ((cr0 ^ state->crs[NVMM_X64_CR_CR0]) & CR0_TLB_FLUSH) { in vmx_state_gtlb_flush()
/dragonfly/sys/cpu/x86_64/include/
H A Dcpufunc.h947 void load_cr0(u_int cr0);
/dragonfly/contrib/binutils-2.27/gas/doc/
H A Dc-sh64.texi109 to the SH64 general registers, @samp{cr0} through @code{cr63} for
H A Dc-i386.texi687 the 5 processor control registers @samp{%cr0}, @samp{%cr2},
/dragonfly/contrib/gcc-4.7/gcc/doc/
H A Dmd.texi3390 cr0---cr15 register.