/illumos-gate/usr/src/uts/i86pc/ml/ |
H A D | mpcore.S | 85 movl %cr0, %eax 91 movl %eax, %cr0 138 movl %cr0, %eax 140 movl %eax, %cr0 275 movq %cr0, %rax 278 movq %rax, %cr0 /* set machine status word */
|
H A D | bios_call_src.S | 90 movq %cr0, %rax 186 movl %cr0, %eax 188 movl %eax, %cr0 224 DATASZ movl %eax, %cr0 286 DATASZ movl %eax, %cr0 320 movl %eax, %cr0
|
H A D | cpr_wakecode.S | 96 movq %cr0, %rdx 223 movl %cr0, %eax 225 movl %eax, %cr0 321 movl %cr0, %eax 323 movl %eax, %cr0 641 movq %rdx, %cr0
|
H A D | fb_swtch_src.S | 53 movl %cr0, %eax ;\ 55 movl %eax, %cr0
|
H A D | locore.S | 178 movq %cr0, %rax 181 movq %rax, %cr0
|
/illumos-gate/usr/src/uts/i86pc/sys/ |
H A D | machprivregs.h | 169 movq %cr0, rtmp; \ 171 movq rtmp, %cr0 176 movl %cr0, rtmp; \ 178 movl rtmp, %cr0
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | amd64_tramp.S | 95 movl %cr0, %eax 97 movl %eax, %cr0
|
H A D | relocater_tramp.S | 81 movl %cr0, %eax /* disable paging */ 83 movl %eax, %cr0 135 movl %cr0, %eax 137 movl %eax, %cr0
|
/illumos-gate/usr/src/uts/intel/ml/ |
H A D | sseblk.S | 104 movq %cr0, %rax 118 2: movq %rax, %cr0 219 movq %cr0, %rax 231 5: movq %rax, %cr0
|
H A D | swtch.S | 414 movq %cr0, %rax 419 movq %rax, %cr0
|
H A D | i86_subr.S | 222 movq %cr0, %rax 227 movq %rdi, %cr0 1159 movq %cr0, %rax 1185 movq %cr0, %rax
|
/illumos-gate/usr/src/boot/efi/loader/arch/amd64/ |
H A D | multiboot_tramp.S | 87 movl %cr0, %eax /* disable paging */ 89 movl %eax, %cr0
|
/illumos-gate/usr/src/cmd/bhyve/amd64/ |
H A D | task_switch.c | 635 alignment_check(int cpl, int size, uint64_t cr0, uint64_t rf, uint64_t gla) in alignment_check() argument 640 if (cpl != 3 || (cr0 & CR0_AM) == 0 || (rf & PSL_AC) == 0) in alignment_check() 786 uint64_t gla, cr0, rflags; in push_errcode() local 792 cr0 = GETREG(vcpu, VM_REG_GUEST_CR0); in push_errcode() 830 if (alignment_check(paging->cpl, bytes, cr0, rflags, gla)) { in push_errcode() 868 uint64_t cr0, ot_base; in vmexit_task_switch() local 1025 cr0 = GETREG(vcpu, VM_REG_GUEST_CR0); in vmexit_task_switch() 1026 SETREG(vcpu, VM_REG_GUEST_CR0, cr0 | CR0_TS); in vmexit_task_switch()
|
/illumos-gate/usr/src/boot/i386/btx/btx/ |
H A D | btx.S | 196 mov %cr0,%eax # Switch to protected 198 mov %eax,%cr0 # 245 movl %cr0,%eax # Get CR0 247 movl %eax,%cr0 # paging 269 mov %eax,%cr0 # real mode 572 intusr.7: movl %cr0,%eax # Leave 574 movl %eax,%cr0 # mode 623 mov %cr0,%eax # Switch to protected 625 mov %eax,%cr0 #
|
/illumos-gate/usr/src/uts/i86pc/dboot/ |
H A D | dboot_grub.S | 280 movl %cr0, %eax 283 movl %eax, %cr0
|
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/unix/ |
H A D | unix_sup.S | 31 movq %cr0, %rax
|
/illumos-gate/usr/src/uts/intel/io/vmm/amd/ |
H A D | svm.c | 546 } else if (state->cr0 & CR0_PE) { in svm_vcpu_mode() 554 svm_paging_mode(uint64_t cr0, uint64_t cr4, uint64_t efer) in svm_paging_mode() argument 557 if ((cr0 & CR0_PG) == 0) in svm_paging_mode() 576 paging->paging_mode = svm_paging_mode(state->cr0, state->cr4, in svm_paging_info() 761 old = state->cr0 | (regctx->sctx_cr0_shadow & ~SVM_CR0_MASK); in svm_set_cr0() 794 state->cr0 = masked; in svm_set_cr0() 840 *val = vmcb->state.cr0 | (regctx->sctx_cr0_shadow & ~SVM_CR0_MASK); in svm_get_cr0() 876 if ((state->cr0 & CR0_PG) == 0 && (val & CR0_PG) != 0) { in svm_handle_cr0_write() 1168 if (state->cr0 & CR0_PG) { in svm_write_efer() 1174 if ((newval & EFER_LME) != 0 && (state->cr0 & CR0_PG) != 0) { in svm_write_efer()
|
/illumos-gate/usr/src/cmd/bhyvectl/ |
H A D | bhyvectl.c | 367 uint64_t cr0, cr2, cr3, cr4, dr0, dr1, dr2, dr3, dr6, dr7; in get_all_registers() local 381 error = vm_get_register(vcpu, VM_REG_GUEST_CR0, &cr0); in get_all_registers() 383 printf("cr0[%d]\t\t0x%016lx\n", vcpuid, cr0); in get_all_registers() 703 uint64_t ctl, cr0, cr3, cr4, rsp, rip, pat, addr, u64; in get_misc_vmcs() local 859 error = vm_get_vmcs_field(vcpu, VMCS_HOST_CR0, &cr0); in get_misc_vmcs() 861 printf("host_cr0[%d]\t\t0x%016lx\n", vcpuid, cr0); in get_misc_vmcs() 1617 uint64_t rax, cr0, cr2, cr3, cr4, dr0, dr1, dr2, dr3, dr6, dr7; in main() local 1655 cr0 = strtoul(optarg, NULL, 0); in main() 1834 error = vm_set_register(vcpu, VM_REG_GUEST_CR0, cr0); in main()
|
/illumos-gate/usr/src/uts/intel/kdi/ |
H A D | kdi_asm.S | 468 movq %cr0, %rcx 471 movq %rcx, %cr0 534 movq %rdx, %cr0
|
/illumos-gate/usr/src/common/bignum/i386/ |
H A D | bignum_i386_asm.S | 113 movl %cr0, reg; \ 422 movl %ebx, %cr0 710 movl %ebx, %cr0 864 movl %eax, %cr0
|
/illumos-gate/usr/src/common/crypto/modes/amd64/ |
H A D | gcm_intel.S | 127 movq %cr0, tmpreg; \
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | aso | 547 : "cr0", "memory" 567 : "cr0", "memory" 594 : "cr0", "memory" 614 : "cr0", "memory"
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_instruction_emul.c | 478 static int vie_alignment_check(int cpl, int size, uint64_t cr0, uint64_t rf, 1096 uint64_t cr0, val, rflags; in vie_get_gla() local 1102 error = vm_get_register(vm, vcpuid, VM_REG_GUEST_CR0, &cr0); in vie_get_gla() 1133 if (vie_alignment_check(paging->cpl, opsize, cr0, rflags, *gla)) { in vie_get_gla() 1983 uint64_t cr0, rflags, rsp, stack_gla, val; in vie_emulate_stack_op() local 2022 error = vm_get_register(vm, vcpuid, VM_REG_GUEST_CR0, &cr0); in vie_emulate_stack_op() 2046 if (vie_alignment_check(paging->cpl, size, cr0, rflags, stack_gla)) { in vie_emulate_stack_op() 2777 vie_alignment_check(int cpl, int size, uint64_t cr0, uint64_t rf, uint64_t gla) in vie_alignment_check() argument 2783 if (cpl != 3 || (cr0 & CR0_AM) == 0 || (rf & PSL_AC) == 0) in vie_alignment_check()
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | startup.c | 2691 ulong_t cr0, cr0_orig, cr4; in pat_sync() local 2695 cr0_orig = cr0 = getcr0(); in pat_sync() 2699 cr0 |= CR0_CD; in pat_sync() 2700 cr0 &= ~CR0_NW; in pat_sync() 2701 setcr0(cr0); in pat_sync()
|
/illumos-gate/usr/src/common/crypto/aes/amd64/ |
H A D | aes_intel.S | 210 movq %cr0, tmpreg; \ 245 movq %cr0, tmpreg; \
|