Home
last modified time | relevance | path

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

123

/freebsd/stand/efi/loader/arch/i386/
H A Damd64_tramp.S43 movl %cr0, %eax /* Paging may be enabled, disable it. */
45 movl %eax, %cr0
67 movl %cr0, %eax /* Enable paging and enter compatibility mode. */
69 movl %eax, %cr0
/freebsd/sys/i386/i386/
H A Dsupport.S411 movl %cr0, %eax
434 movl %eax, %cr0
439 movl %cr0, %eax
462 movl %eax, %cr0
467 movl %cr0, %eax
493 movl %eax, %cr0
498 movl %cr0, %eax
524 movl %eax, %cr0
529 movl %cr0, %eax
555 movl %eax, %cr0
[all …]
H A Dmpboot.S114 5: movl %cr0,%eax
116 movl %eax,%cr0 /* let the games begin! */
168 movl %cr0, %eax
170 movl %eax, %cr0
H A Dmp_machdep.c278 u_int cr0; in init_secondary() local
338 cr0 = rcr0(); in init_secondary()
339 cr0 &= ~(CR0_CD | CR0_NW | CR0_EM); in init_secondary()
340 load_cr0(cr0); in init_secondary()
H A Dnpx.c918 register_t cr0; in npxsuspend() local
926 cr0 = rcr0(); in npxsuspend()
929 load_cr0(cr0); in npxsuspend()
935 register_t cr0; in npxresume() local
940 cr0 = rcr0(); in npxresume()
944 load_cr0(cr0); in npxresume()
H A Dinitcpu.c959 u_int cr0; in DB_SHOW_COMMAND() local
963 cr0 = rcr0(); in DB_SHOW_COMMAND()
997 printf("CR0=%x\n", cr0); in DB_SHOW_COMMAND()
/freebsd/sys/i386/acpica/
H A Dacpi_wakecode.S116 mov %eax, %cr0
165 mov %cr0, %eax
167 mov %eax, %cr0
/freebsd/sys/amd64/amd64/
H A Dmpboot.S65 mov %eax, %cr0
146 mov %cr0, %eax
148 mov %eax, %cr0
H A Dlocore.S123 movq %cr0,%rbp
143 movl %eax,%cr0
160 movl %ebp,%cr0 /* and jump back directly into long */
H A Dfpu.c260 u_long cr0; in fpususpend() local
262 cr0 = rcr0(); in fpususpend()
265 load_cr0(cr0); in fpususpend()
271 u_long cr0; in fpuresume() local
273 cr0 = rcr0(); in fpuresume()
279 load_cr0(cr0); in fpuresume()
H A Dxen-locore.S141 movl %cr0, %eax
143 movl %eax, %cr0
H A Dsupport.S1756 movq %cr0, %rax
1779 movq %rax, %cr0
1793 movq %cr0, %rax
1816 movq %rax, %cr0
1831 movq %cr0, %rax
1857 movq %rax, %cr0
1871 movq %cr0, %rax
1897 movq %rax, %cr0
1911 movq %cr0, %rax
1937 movq %rax, %cr0
[all …]
/freebsd/sys/amd64/acpica/
H A Dacpi_wakecode.S121 mov %eax, %cr0
194 mov %cr0, %eax
196 mov %eax, %cr0
/freebsd/stand/i386/libi386/
H A Damd64_tramp.S93 movl %cr0, %eax
95 movl %eax, %cr0
H A Drelocater_tramp.S94 movl %cr0, %eax /* disable paging */
96 movl %eax, %cr0
148 movl %cr0, %eax
150 movl %eax, %cr0
/freebsd/sys/contrib/xen/hvm/
H A Dhvm_vcpu.h40 uint32_t cr0; member
104 uint64_t cr0; member
/freebsd/sys/dev/spibus/controller/rockchip/
H A Drk_spi.c164 uint32_t cr0; in rk_spi_hw_setup() local
167 cr0 = CTRLR0_OPM_MASTER | CTRLR0_XFM_TR | CTRLR0_FRF_MOTO | in rk_spi_hw_setup()
172 cr0 |= CTRLR0_SCPH; in rk_spi_hw_setup()
174 cr0 |= CTRLR0_SCPOL; in rk_spi_hw_setup()
186 RK_SPI_WRITE_4(sc, RK_SPI_CTRLR0, cr0); in rk_spi_hw_setup()
/freebsd/stand/i386/btx/btx/
H A Dbtx.S194 mov %cr0,%eax # Switch to protected
196 mov %eax,%cr0 #
243 movl %cr0,%eax # Get CR0
245 movl %eax,%cr0 # paging
267 mov %eax,%cr0 # real mode
570 intusr.7: movl %cr0,%eax # Leave
572 movl %eax,%cr0 # mode
621 mov %cr0,%eax # Switch to protected
623 mov %eax,%cr0 #
/freebsd/contrib/netbsd-tests/lib/csu/arch/powerpc/
H A Dh_initfini_align.S14 bnelr %cr0
/freebsd/usr.sbin/bhyve/amd64/
H A Dtask_switch.c629 uint64_t gla, cr0, rflags; in push_errcode() local
635 cr0 = GETREG(vcpu, VM_REG_GUEST_CR0); in push_errcode()
673 if (vie_alignment_check(paging->cpl, bytes, cr0, rflags, gla)) { in push_errcode()
714 uint64_t cr0, ot_base; in vmexit_task_switch() local
872 cr0 = GETREG(vcpu, VM_REG_GUEST_CR0); in vmexit_task_switch()
873 SETREG(vcpu, VM_REG_GUEST_CR0, cr0 | CR0_TS); in vmexit_task_switch()
/freebsd/sys/x86/x86/
H A Dx86_mem.c324 u_long cr0, cr4; in x86_mrstoreone() local
335 cr0 = rcr0(); in x86_mrstoreone()
336 load_cr0((cr0 & ~CR0_NW) | CR0_CD); in x86_mrstoreone()
416 load_cr0(cr0); in x86_mrstoreone()
/freebsd/sys/amd64/vmm/intel/
H A Dvmcs.c344 u_long cr0, cr4, efer; in vmcs_init() local
370 cr0 = vmm_get_host_cr0(); in vmcs_init()
371 if ((error = vmwrite(VMCS_HOST_CR0, cr0)) != 0) in vmcs_init()
/freebsd/sys/powerpc/booke/
H A Dtrap_subr.S446 CMPL cr0, %r21, %r23; \
706 CMPL cr0, %r31, %r21
716 cmpldi cr0, %r21, VM_MIN_KERNEL_ADDRESS@highest
719 cmplw cr0, %r31, %r21
984 CMPL cr0, %r3, %r4
989 CMPL cr0, %r3, %r4
/freebsd/sys/amd64/include/
H A Dvmm_instruction_emul.h64 int vie_alignment_check(int cpl, int operand_size, uint64_t cr0,
/freebsd/sys/arm/include/
H A Dvfp.h34 #define VFPSID cr0

123