/xen/xen/arch/x86/hvm/svm/ |
A D | svmdebug.c | 106 unsigned long cr0 = vmcb_get_cr0(vmcb); in svm_vmcb_isvalid() local 120 if ( !(cr0 & X86_CR0_CD) && (cr0 & X86_CR0_NW) ) in svm_vmcb_isvalid() 121 PRINTF("CR0: CD bit is zero and NW bit set (%#"PRIx64")\n", cr0); in svm_vmcb_isvalid() 123 if ( cr0 >> 32 ) in svm_vmcb_isvalid() 124 PRINTF("CR0: bits [63:32] are not zero (%#"PRIx64")\n", cr0); in svm_vmcb_isvalid() 126 if ( (cr0 & X86_CR0_PG) && in svm_vmcb_isvalid() 151 if ( (efer & EFER_LME) && (cr0 & X86_CR0_PG) ) in svm_vmcb_isvalid() 155 if ( !(cr0 & X86_CR0_PE) ) in svm_vmcb_isvalid() 159 if ( (efer & EFER_LME) && (cr0 & X86_CR0_PG) && (cr4 & X86_CR4_PAE) && in svm_vmcb_isvalid()
|
A D | nestedsvm.c | 428 uint64_t cr0; in nsvm_vmcb_prepare4vmrun() local 566 cr0 = nestedsvm_fpu_vmentry(svm->ns_cr0, ns_vmcb, n1vmcb, n2vmcb); in nsvm_vmcb_prepare4vmrun() 568 rc = hvm_set_cr0(cr0, true); in nsvm_vmcb_prepare4vmrun()
|
/xen/xen/arch/x86/x86_64/ |
A D | kexec_reloc.S | 56 movq %cr0, %rax 59 movq %rax, %cr0 155 movl %cr0, %eax 157 movl %eax, %cr0
|
/xen/xen/arch/x86/boot/ |
A D | trampoline.S | 57 mov %ebx, %cr0 # Alias with CR0.PE for brevity 108 mov %eax,%cr0 179 mov %cr0,%eax 183 1: mov %eax,%cr0 # CR0.PE = 0 (leave protected mode) 236 mov %eax, %cr0
|
A D | wakeup.S | 55 mov %eax, %cr0 144 mov %eax,%cr0
|
A D | head.S | 374 mov %cr0,%edx 376 mov %edx,%cr0
|
/xen/tools/firmware/rombios/ |
A D | 32bitgateway.c | 108 mov eax, cr0 110 mov cr0, eax variable 144 mov eax, cr0 146 mov cr0, eax variable
|
/xen/xen/arch/x86/ |
A D | alternative.c | 337 unsigned long cr0; in nmi_apply_alternatives() local 339 cr0 = read_cr0(); in nmi_apply_alternatives() 342 write_cr0(cr0 & ~X86_CR0_WP); in nmi_apply_alternatives() 347 write_cr0(cr0); in nmi_apply_alternatives()
|
A D | xstate.c | 740 unsigned long cr0 = read_cr0(); in handle_xsetbv() local 751 cr0 &= ~X86_CR0_TS; in handle_xsetbv() 754 if ( cr0 & X86_CR0_TS ) in handle_xsetbv() 755 write_cr0(cr0); in handle_xsetbv() 763 unsigned long cr0 = read_cr0(); in read_bndcfgu() local 788 if ( cr0 & X86_CR0_TS ) in read_bndcfgu() 789 write_cr0(cr0); in read_bndcfgu() 796 unsigned long cr0 = read_cr0(); in xstate_set_init() local 815 if ( cr0 & X86_CR0_TS ) in xstate_set_init() 816 write_cr0(cr0); in xstate_set_init()
|
A D | vm_event.c | 102 w->do_write.cr0 = 0; in vm_event_register_write_resume() 231 req->data.regs.x86.cr0 = curr->arch.hvm.guest_cr[0]; in vm_event_fill_regs()
|
/xen/xen/include/public/hvm/ |
A D | hvm_vcpu.h | 40 uint32_t cr0; member 103 uint64_t cr0; member
|
/xen/xen/arch/x86/hvm/ |
A D | vm_event.c | 96 if ( unlikely(w->do_write.cr0) ) in hvm_vm_event_do_resume() 98 if ( hvm_set_cr0(w->cr0, false) == X86EMUL_EXCEPTION ) in hvm_vm_event_do_resume() 101 w->do_write.cr0 = 0; in hvm_vm_event_do_resume()
|
A D | domain.c | 209 v->arch.hvm.guest_cr[0] = regs->cr0; in arch_set_info_hvm_guest() 228 if ( !(regs->cr0 & X86_CR0_PG) ) in arch_set_info_hvm_guest() 231 regs->cr0); in arch_set_info_hvm_guest() 260 v->arch.hvm.guest_cr[0] = regs->cr0; in arch_set_info_hvm_guest()
|
/xen/xen/arch/x86/acpi/ |
A D | wakeup_prot.S | 20 mov %cr0, %rax 50 mov %rax, %cr0
|
/xen/xen/include/asm-x86/ |
A D | elf.h | 5 unsigned long cr0, cr2, cr3, cr4; member
|
A D | processor.h | 275 unsigned long cr0; in read_cr0() local 276 asm volatile ( "mov %%cr0,%0\n\t" : "=r" (cr0) ); in read_cr0() 277 return cr0; in read_cr0()
|
A D | domain.h | 283 unsigned int cr0 : 1; member 292 uint64_t cr0; member
|
/xen/xen/include/asm-x86/x86_64/ |
A D | elf.h | 68 xen_core_regs->cr0 = tmp; in elf_core_save_regs()
|
/xen/tools/libxc/ |
A D | xc_pagetab.c | 48 if (!(ctx.cr0 & CR0_PG)) in xc_translate_foreign_address()
|
/xen/tools/debugger/kdd/ |
A D | kdd-xen.c | 367 c->cr0 = cpu->cr0; in kdd_get_ctrl_x86_32() 389 c->cr0 = cpu->cr0; in kdd_get_ctrl_x86_64()
|
A D | kdd.h | 413 uint32_t cr0; member 435 uint64_t cr0; member
|
/xen/xen/include/public/arch-x86/hvm/ |
A D | save.h | 80 uint64_t cr0; member 194 uint64_t cr0; member
|
/xen/xen/include/public/ |
A D | vm_event.h | 200 uint64_t cr0; member
|
/xen/stubdom/ |
A D | newlib.patch | 258 -#define cr0 REG(cr0) 333 +#define cr0 %cr0
|
/xen/xen/arch/x86/hvm/vmx/ |
A D | vmcs.c | 678 u64 cr0, vmx_cr0_fixed0, vmx_cr0_fixed1; in _vmx_cpu_up() local 686 cr0 = read_cr0(); in _vmx_cpu_up() 689 if ( (~cr0 & vmx_cr0_fixed0) || (cr0 & ~vmx_cr0_fixed1) ) in _vmx_cpu_up()
|