Home
last modified time | relevance | path

Searched refs:cr4 (Results 1 – 25 of 44) sorted by relevance

12

/arch/x86/include/asm/
Dtlbflush.h220 unsigned long cr4; member
282 this_cpu_write(cpu_tlbstate.cr4, __read_cr4()); in cr4_init_shadow()
285 static inline void __cr4_set(unsigned long cr4) in __cr4_set() argument
288 this_cpu_write(cpu_tlbstate.cr4, cr4); in __cr4_set()
289 __write_cr4(cr4); in __cr4_set()
295 unsigned long cr4; in cr4_set_bits_irqsoff() local
297 cr4 = this_cpu_read(cpu_tlbstate.cr4); in cr4_set_bits_irqsoff()
298 if ((cr4 | mask) != cr4) in cr4_set_bits_irqsoff()
299 __cr4_set(cr4 | mask); in cr4_set_bits_irqsoff()
305 unsigned long cr4; in cr4_clear_bits_irqsoff() local
[all …]
Dsuspend_32.h22 unsigned long cr0, cr2, cr3, cr4; member
Dsuspend_64.h41 unsigned long cr0, cr2, cr3, cr4; member
Drealmode.h49 u32 cr4;
/arch/x86/power/
Dhibernate_asm_32.S55 jecxz 1f # cr4 Pentium and higher, skip if zero
57 movl %ecx, %cr4; # turn off PGE
89 jecxz 1f # cr4 Pentium and higher, skip if zero
90 movl %ecx, %cr4; # turn PGE back on
Dhibernate_asm_64.S78 movq %rcx, %cr4; # turn off PGE
81 movq %rbx, %cr4; # turn PGE back on
111 movq %rdx, %cr4; # turn off PGE
114 movq %rax, %cr4; # turn PGE back on
Dcpu.c127 ctxt->cr4 = __read_cr4(); in __save_processor_state()
205 if (ctxt->cr4) in __restore_processor_state()
206 __write_cr4(ctxt->cr4); in __restore_processor_state()
210 __write_cr4(ctxt->cr4); in __restore_processor_state()
/arch/x86/platform/pvh/
Dhead.S74 mov %cr4, %eax
76 mov %eax, %cr4
143 mov %cr4, %eax
145 mov %eax, %cr4
/arch/x86/mm/
Dmem_encrypt_boot.S99 mov %cr4, %rdx
101 mov %rdx, %cr4
103 mov %rdx, %cr4
/arch/x86/kernel/cpu/mtrr/
Dcyrix.c135 static u32 cr4, ccr3; variable
143 cr4 = __read_cr4(); in prepare_set()
144 __write_cr4(cr4 & ~X86_CR4_PGE); in prepare_set()
176 __write_cr4(cr4); in post_set()
Dgeneric.c720 static unsigned long cr4; variable
758 cr4 = __read_cr4(); in prepare_set()
759 __write_cr4(cr4 & ~X86_CR4_PGE); in prepare_set()
791 __write_cr4(cr4); in post_set()
/arch/x86/kernel/
Dprocess_32.c63 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L; in __show_regs() local
87 cr4 = __read_cr4(); in __show_regs()
89 cr0, cr2, cr3, cr4); in __show_regs()
Drelocate_kernel_64.S66 movq %cr4, %rax
137 movq %rax, %cr4
216 movq %rax, %cr4
Drelocate_kernel_32.S55 movl %cr4, %eax
125 movl %eax, %cr4
197 movl %eax, %cr4
Dasm-offsets_64.c79 ENTRY(cr4); in main()
/arch/x86/platform/olpc/
Dxo1-wakeup.S30 movl %eax, %cr4
64 movl %cr4, %edx
/arch/powerpc/boot/
Dppc_asm.h17 #define cr4 4 macro
/arch/x86/boot/compressed/
Defi_thunk_64.S151 movl %cr4, %eax
153 movl %eax, %cr4
Dhead_64.S129 movl %cr4, %eax
131 movl %eax, %cr4
615 movl %cr4, %eax
621 movl %cr4, %eax
645 movl %eax, %cr4
/arch/sh/include/cpu-sh5/cpu/
Dregisters.h26 #define INTEVT cr4
/arch/powerpc/kernel/
Dcpu_setup_6xx.S336 cmplwi cr4,r3,0x8002 /* 7457 */
344 cror 4*cr0+eq,4*cr0+eq,4*cr4+eq
407 cmplwi cr4,r3,0x8002 /* 7457 */
415 cror 4*cr0+eq,4*cr0+eq,4*cr4+eq
/arch/x86/kvm/vmx/
Dvmcs.h34 unsigned long cr4; /* May not match real cr4 */ member
/arch/x86/realmode/rm/
Dwakeup_asm.S117 movl %eax, %cr4
/arch/x86/realmode/
Dinit.c130 trampoline_cr4_features = &trampoline_header->cr4; in setup_real_mode()
/arch/x86/kernel/cpu/
Dcommon.c422 unsigned long cr4 = __read_cr4(); in cr4_init() local
425 cr4 |= X86_CR4_PCIDE; in cr4_init()
427 cr4 = (cr4 & ~cr4_pinned_mask) | cr4_pinned_bits; in cr4_init()
429 __write_cr4(cr4); in cr4_init()
432 this_cpu_write(cpu_tlbstate.cr4, cr4); in cr4_init()
442 cr4_pinned_bits = this_cpu_read(cpu_tlbstate.cr4) & cr4_pinned_mask; in setup_cr_pinning()

12