Home
last modified time | relevance | path

Searched refs:read_cr0 (Results 1 – 20 of 20) sorted by relevance

/arch/x86/include/asm/
Dspecial_insns.h112 static inline unsigned long read_cr0(void) in read_cr0() function
189 #define stts() write_cr0(read_cr0() | X86_CR0_TS)
Dlguest.h77 cr0 = read_cr0(); in lguest_set_ts()
Dparavirt.h59 static inline unsigned long read_cr0(void) in read_cr0() function
61 return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr0); in read_cr0()
Dparavirt_types.h114 unsigned long (*read_cr0)(void); member
/arch/x86/kernel/fpu/
Dbugs.c30 cr0_saved = read_cr0(); in check_fpu()
Dinit.c36 cr0 = read_cr0(); in fpu__init_cpu_generic()
74 cr0 = read_cr0(); in fpu__init_system_early_generic()
Dcore.c148 if (read_cr0() & X86_CR0_TS) { in irq_ts_save()
/arch/x86/kernel/cpu/mtrr/
Dcyrix.c149 cr0 = read_cr0() | X86_CR0_CD; in prepare_set()
170 write_cr0(read_cr0() & ~X86_CR0_CD); in post_set()
Dgeneric.c744 cr0 = read_cr0() | X86_CR0_CD; in prepare_set()
776 write_cr0(read_cr0() & ~X86_CR0_CD); in post_set()
/arch/x86/kernel/acpi/
Dsleep.c80 header->pmode_cr0 = read_cr0(); in x86_acpi_suspend_lowlevel()
/arch/x86/kernel/
Dasm-offsets.c68 OFFSET(PV_CPU_read_cr0, pv_cpu_ops, read_cr0); in common()
Dprocess_32.c103 cr0 = read_cr0(); in __show_regs()
Dparavirt.c352 .read_cr0 = native_read_cr0,
Dprocess_64.c95 cr0 = read_cr0(); in __show_regs()
Dtraps.c756 if (read_cr0() & X86_CR0_EM) { in do_device_not_available()
/arch/x86/kernel/cpu/
Dcyrix.c137 write_cr0(read_cr0() | X86_CR0_NW); in set_cx86_memwb()
/arch/x86/power/
Dcpu.c130 ctxt->cr0 = read_cr0(); in __save_processor_state()
/arch/x86/xen/
Denlighten.c1225 .read_cr0 = xen_read_cr0,
1483 write_cr0(read_cr0() | X86_CR0_MP | X86_CR0_NE | X86_CR0_WP | X86_CR0_AM); in xen_pvh_set_cr_flags()
/arch/x86/lguest/
Dboot.c1446 pv_cpu_ops.read_cr0 = lguest_read_cr0; in lguest_init()
/arch/x86/kvm/
Dvmx.c4868 vmcs_writel(HOST_CR0, read_cr0() & ~X86_CR0_TS); /* 22.2.3 */ in vmx_set_constant_host_state()