| /f-stack/freebsd/i386/i386/ |
| H A D | support.s | 469 movl %cr0, %eax 492 movl %eax, %cr0 497 movl %cr0, %eax 520 movl %eax, %cr0 525 movl %cr0, %eax 551 movl %eax, %cr0 556 movl %cr0, %eax 582 movl %eax, %cr0 587 movl %cr0, %eax 613 movl %eax, %cr0 [all …]
|
| H A D | mpboot.s | 116 5: movl %cr0,%eax 118 movl %eax,%cr0 /* let the games begin! */ 170 movl %cr0, %eax 172 movl %eax, %cr0
|
| H A D | mp_machdep.c | 228 u_int cr0; in init_secondary() local 288 cr0 = rcr0(); in init_secondary() 289 cr0 &= ~(CR0_CD | CR0_NW | CR0_EM); in init_secondary() 290 load_cr0(cr0); in init_secondary()
|
| H A D | npx.c | 952 register_t cr0; in npxsuspend() local 960 cr0 = rcr0(); in npxsuspend() 963 load_cr0(cr0); in npxsuspend() 969 register_t cr0; in npxresume() local 974 cr0 = rcr0(); in npxresume() 978 load_cr0(cr0); in npxresume()
|
| H A D | initcpu.c | 961 u_int cr0; in DB_SHOW_COMMAND() local 965 cr0 = rcr0(); in DB_SHOW_COMMAND() 999 printf("CR0=%x\n", cr0); in DB_SHOW_COMMAND()
|
| H A D | swtch.s | 358 movl %cr0,%eax 420 movl %eax,%cr0
|
| /f-stack/freebsd/amd64/amd64/ |
| H A D | locore.S | 87 movq %cr0,%rdx 103 movl %eax,%cr0 110 movl %edx,%cr0
|
| H A D | mpboot.S | 67 mov %eax, %cr0 134 mov %cr0, %eax 136 mov %eax, %cr0
|
| H A D | fpu.c | 302 u_long cr0; in fpususpend() local 304 cr0 = rcr0(); in fpususpend() 307 load_cr0(cr0); in fpususpend() 313 u_long cr0; in fpuresume() local 315 cr0 = rcr0(); in fpuresume() 321 load_cr0(cr0); in fpuresume()
|
| H A D | xen-locore.S | 167 movl %cr0, %eax 169 movl %eax, %cr0
|
| H A D | support.S | 1697 movq %cr0, %rax 1720 movq %rax, %cr0 1734 movq %cr0, %rax 1757 movq %rax, %cr0 1772 movq %cr0, %rax 1798 movq %rax, %cr0 1812 movq %cr0, %rax 1838 movq %rax, %cr0 1852 movq %cr0, %rax 1878 movq %rax, %cr0 [all …]
|
| H A D | mp_machdep.c | 267 u_int64_t cr0; in init_secondary() local 355 cr0 = rcr0(); in init_secondary() 356 cr0 &= ~(CR0_CD | CR0_NW | CR0_EM); in init_secondary() 357 load_cr0(cr0); in init_secondary()
|
| H A D | cpu_switch.S | 324 movq %cr0,%rax 447 movq %rax,%cr0
|
| /f-stack/freebsd/i386/acpica/ |
| H A D | acpi_wakecode.S | 118 mov %eax, %cr0 167 mov %cr0, %eax 169 mov %eax, %cr0
|
| /f-stack/freebsd/amd64/acpica/ |
| H A D | acpi_wakecode.S | 123 mov %eax, %cr0 196 mov %cr0, %eax 198 mov %eax, %cr0
|
| /f-stack/freebsd/arm64/rockchip/ |
| H A D | rk_spi.c | 167 uint32_t cr0; in rk_spi_hw_setup() local 170 cr0 = CTRLR0_OPM_MASTER | CTRLR0_XFM_TR | CTRLR0_FRF_MOTO | in rk_spi_hw_setup() 175 cr0 |= CTRLR0_SCPH; in rk_spi_hw_setup() 177 cr0 |= CTRLR0_SCPOL; in rk_spi_hw_setup() 189 RK_SPI_WRITE_4(sc, RK_SPI_CTRLR0, cr0); in rk_spi_hw_setup()
|
| /f-stack/freebsd/x86/x86/ |
| H A D | x86_mem.c | 327 u_long cr0, cr4; in x86_mrstoreone() local 338 cr0 = rcr0(); in x86_mrstoreone() 339 load_cr0((cr0 & ~CR0_NW) | CR0_CD); in x86_mrstoreone() 419 load_cr0(cr0); in x86_mrstoreone()
|
| H A D | cpu_machdep.c | 1435 u_int cr0; in disable_wp() local 1437 cr0 = rcr0(); in disable_wp() 1438 if ((cr0 & CR0_WP) == 0) in disable_wp() 1440 load_cr0(cr0 & ~CR0_WP); in disable_wp()
|
| /f-stack/freebsd/amd64/vmm/intel/ |
| H A D | vmcs.c | 346 u_long cr0, cr4, efer; in vmcs_init() local 372 cr0 = vmm_get_host_cr0(); in vmcs_init() 373 if ((error = vmwrite(VMCS_HOST_CR0, cr0)) != 0) in vmcs_init()
|
| H A D | vmx.h | 148 u_long vmx_fix_cr0(u_long cr0);
|
| /f-stack/freebsd/arm/include/ |
| H A D | vfp.h | 35 #define VFPSID cr0
|
| /f-stack/freebsd/amd64/include/ |
| H A D | vmm_instruction_emul.h | 66 int vie_alignment_check(int cpl, int operand_size, uint64_t cr0,
|
| /f-stack/freebsd/amd64/vmm/amd/ |
| H A D | vmcb.c | 180 *retval = state->cr0; in vmcb_read() 271 state->cr0 = val; in vmcb_write()
|
| H A D | svm.c | 674 } else if (state->cr0 & CR0_PE) { in svm_vcpu_mode() 682 svm_paging_mode(uint64_t cr0, uint64_t cr4, uint64_t efer) in svm_paging_mode() argument 685 if ((cr0 & CR0_PG) == 0) in svm_paging_mode() 763 paging->paging_mode = svm_paging_mode(state->cr0, state->cr4, in svm_paging_info() 812 vis->cr0 = state->cr0; in svm_handle_io() 1164 if (state->cr0 & CR0_PG) in svm_write_efer() 1169 if ((newval & EFER_LME) != 0 && (state->cr0 & CR0_PG) != 0) in svm_write_efer() 2451 SNAPSHOT_VAR_OR_LEAVE(vmcb->state.cr0, meta, ret, done); in svm_snapshot()
|
| /f-stack/freebsd/amd64/vmm/ |
| H A D | vmm_instruction_emul.c | 719 uint64_t cr0, val, rflags; in get_gla() local 722 error = vie_read_register(vm, vcpuid, VM_REG_GUEST_CR0, &cr0); in get_gla() 753 if (vie_alignment_check(paging->cpl, opsize, cr0, rflags, *gla)) { in get_gla() 1527 uint64_t cr0, rflags, rsp, stack_gla, val; in emulate_stack_op() local 1564 error = vie_read_register(vm, vcpuid, VM_REG_GUEST_CR0, &cr0); in emulate_stack_op() 1588 if (vie_alignment_check(paging->cpl, size, cr0, rflags, stack_gla)) { in emulate_stack_op() 1846 vie_alignment_check(int cpl, int size, uint64_t cr0, uint64_t rf, uint64_t gla) in vie_alignment_check() argument 1852 if (cpl != 3 || (cr0 & CR0_AM) == 0 || (rf & PSL_AC) == 0) in vie_alignment_check()
|