Home
last modified time | relevance | path

Searched refs:read_cr4 (Results 1 – 17 of 17) sorted by relevance

/linux-2.6.39/arch/x86/include/asm/
Dvirtext.h44 write_cr4(read_cr4() & ~X86_CR4_VMXE); in cpu_vmxoff()
49 return read_cr4() & X86_CR4_VMXE; in cpu_vmx_enabled()
Dprocessor.h605 cr4 = read_cr4(); in set_in_cr4()
615 cr4 = read_cr4(); in clear_in_cr4()
Dsystem.h312 #define read_cr4() (native_read_cr4()) macro
Dparavirt.h82 static inline unsigned long read_cr4(void) in read_cr4() function
84 return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr4); in read_cr4()
Dparavirt_types.h106 unsigned long (*read_cr4)(void); member
/linux-2.6.39/drivers/lguest/x86/
Dcore.c525 write_cr4(read_cr4() | X86_CR4_PGE); in adjust_pge()
527 write_cr4(read_cr4() & ~X86_CR4_PGE); in adjust_pge()
/linux-2.6.39/arch/x86/power/
Dcpu.c105 ctxt->cr4 = read_cr4(); in __save_processor_state()
/linux-2.6.39/arch/x86/kernel/
Dprocess.c135 write_cr4(read_cr4() | X86_CR4_TSD); in hard_disable_TSC()
152 write_cr4(read_cr4() & ~X86_CR4_TSD); in hard_enable_TSC()
Dparavirt.c331 .read_cr4 = native_read_cr4,
Dprocess_64.c195 cr4 = read_cr4(); in __show_regs()
Dsetup.c981 mmu_cr4_features = read_cr4(); in setup_arch()
/linux-2.6.39/arch/x86/kernel/cpu/mtrr/
Dcyrix.c141 cr4 = read_cr4(); in prepare_set()
Dgeneric.c684 cr4 = read_cr4(); in prepare_set()
/linux-2.6.39/arch/x86/lguest/
Dboot.c1287 pv_cpu_ops.read_cr4 = lguest_read_cr4; in lguest_init()
/linux-2.6.39/arch/x86/xen/
Denlighten.c958 .read_cr4 = native_read_cr4,
/linux-2.6.39/arch/x86/kvm/
Dvmx.c1370 if (read_cr4() & X86_CR4_VMXE) in hardware_enable()
1385 write_cr4(read_cr4() | X86_CR4_VMXE); /* FIXME: not cpu hotplug safe */ in hardware_enable()
1422 write_cr4(read_cr4() & ~X86_CR4_VMXE); in hardware_disable()
2671 vmcs_writel(HOST_CR4, read_cr4()); /* 22.2.3, 22.2.5 */ in vmx_vcpu_setup()
Dsvm.c1426 unsigned long host_cr4_mce = read_cr4() & X86_CR4_MCE; in svm_set_cr4()