Searched refs:cr3 (Results 1 - 25 of 72) sorted by relevance

123

/linux-master/arch/x86/kernel/
H A Dsev_verify_cbit.S55 /* Backup current %cr3 value to restore it later */
56 movq %cr3, %rcx
58 /* Switch to new %cr3 - This might unmap the stack */
59 movq %rdi, %cr3
67 /* Restore old %cr3 */
68 movq %rcx, %cr3
H A Drelocate_kernel_64.S69 movq %cr3, %rax
102 movq %r9, %cr3
160 movq %r9, %cr3
178 * So I flush the TLB by reloading %cr3 here, it's handy,
181 movq %cr3, %rax
182 movq %rax, %cr3
223 movq %rax, %cr3
241 movq %rax, %cr3
H A Drelocate_kernel_32.S54 movl %cr3, %eax
87 movl %eax, %cr3
136 movl %eax, %cr3
150 movl %eax, %cr3
192 movl %eax, %cr3
209 movl %eax, %cr3
H A Dasm-offsets_64.c51 ENTRY(cr3);
H A Dprocess_32.c62 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L; local
82 cr3 = __read_cr3();
85 log_lvl, cr0, cr2, cr3, cr4);
/linux-master/drivers/firmware/efi/libstub/
H A Dx86-5lvl.c13 static void (*la57_toggle)(void *cr3);
69 u64 *cr3 = (u64 *)__native_read_cr3(); local
82 new_cr3[0] = (u64)cr3 | _PAGE_TABLE_NOENC;
85 new_cr3 = (u64 *)(cr3[0] & PAGE_MASK);
/linux-master/arch/x86/include/asm/
H A Dsuspend_32.h15 unsigned long cr0, cr2, cr3, cr4; member in struct:saved_context
H A Dsuspend_64.h41 unsigned long cr0, cr2, cr3, cr4; member in struct:saved_context
/linux-master/arch/x86/include/asm/xen/
H A Dinterface_32.h92 * Page-directory addresses above 4GB do not fit into architectural %cr3.
93 * When accessing %cr3, or equivalent field in vcpu_guest_context, guests
98 * of cr3.
101 #define xen_cr3_to_pfn(cr3) (((unsigned)(cr3) >> 12) | ((unsigned)(cr3) << 20))
H A Dinterface_64.h134 #define xen_cr3_to_pfn(cr3) ((unsigned long)(cr3) >> 12)
/linux-master/arch/x86/power/
H A Dhibernate_asm_32.S28 /* save cr3 */
29 movl %cr3, %eax
53 movl %eax, %cr3
58 movl %cr3, %eax; # flush TLB
59 movl %eax, %cr3
87 movl %ebp, %cr3
H A Dhibernate_asm_64.S30 movq %r9, %cr3
37 movq %cr3, %rcx; # flush TLB
38 movq %rcx, %cr3
92 /* save cr3 */
93 movq %cr3, %rax
123 movq %rax, %cr3
128 movq %cr3, %rcx; # flush TLB
129 movq %rcx, %cr3;
H A Dhibernate.c36 * Value of the cr3 register from before the hibernation (this value is passed
60 unsigned long cr3; member in struct:restore_data_record
107 * 3. CR3 <= rdr->cr3
115 * rdr->cr3 needs to point to valid page tables but must not
118 rdr->cr3 = restore_cr3 & ~CR3_PCID_MASK;
140 restore_cr3 = rdr->cr3;
/linux-master/include/xen/interface/hvm/
H A Dhvm_vcpu.h24 uint32_t cr3; member in struct:vcpu_hvm_x86_32
87 uint64_t cr3; member in struct:vcpu_hvm_x86_64
/linux-master/arch/x86/platform/olpc/
H A Dxo1-wakeup.S25 # Set up %cr3
27 movl %eax, %cr3
51 movl %cr3, %eax
52 movl %eax, %cr3
/linux-master/scripts/gdb/linux/
H A Dpgtable.py66 def __init__(self, cr3, page_levels):
67 self.cr3 = cr3
69 self.page_level_write_through = is_bit_defined_tupled(cr3, 3)
70 self.page_level_cache_disabled = is_bit_defined_tupled(cr3, 4)
71 self.next_entry_physical_address = cr3 & PHYSICAL_ADDRESS_MASK & page_mask()
79 cr3:
80 {'cr3 binary data': <30} {hex(self.cr3)}
210 cr3_data = gdb.parse_and_eval('$cr3')
[all...]
/linux-master/drivers/tty/serial/
H A Dstm32-usart.c49 .cr3 = 0x14,
67 .cr3 = 0x08,
90 .cr3 = 0x08,
185 static void stm32_usart_config_reg_rs485(u32 *cr1, u32 *cr3, u32 delay_ADE, argument
192 *cr3 |= USART_CR3_DEM;
228 u32 usartdiv, baud, cr1, cr3; local
235 cr3 = readl_relaxed(port->membase + ofs->cr3);
245 stm32_usart_config_reg_rs485(&cr1, &cr3,
251 cr3
1176 u32 cr1, cr2, cr3, isr, brr, presc; local
1886 u32 cr3; local
[all...]
/linux-master/arch/x86/entry/
H A Dcalling.h174 mov %cr3, \scratch_reg variable
176 mov \scratch_reg, %cr3
184 mov %cr3, \scratch_reg
212 mov \scratch_reg, %cr3
231 movq %cr3, \scratch_reg variable
242 movq \scratch_reg, %cr3
273 movq \save_reg, %cr3
/linux-master/arch/x86/kernel/acpi/
H A Dwakeup_32.S27 movl %cr3, %eax
28 movl %eax, %cr3
/linux-master/arch/x86/kvm/
H A Dtss.h13 u32 cr3; member in struct:tss_segment_32
H A Dsmm.h64 u32 cr3; member in struct:kvm_smram_state_32
128 u64 cr3; member in struct:kvm_smram_state_64
/linux-master/arch/powerpc/boot/
H A Dppc_asm.h16 #define cr3 3 macro
/linux-master/arch/x86/mm/
H A Dtlb.c160 unsigned long cr3 = __sme_pa(pgd) | lam; local
164 cr3 |= kern_pcid(asid);
169 return cr3;
701 unsigned long cr3 = __read_cr3(); local
704 WARN_ON((cr3 & CR3_ADDR_MASK) != __pa(mm->pgd));
707 WARN_ON(cr3 & (X86_CR3_LAM_U48 | X86_CR3_LAM_U57));
1092 unsigned long cr3 = local
1100 VM_BUG_ON(cr3 != __read_cr3());
1101 return cr3;
/linux-master/arch/x86/platform/pvh/
H A Dhead.S88 mov %eax, %cr3
117 mov %eax, %cr3
/linux-master/arch/x86/boot/compressed/
H A Defi_mixed.S188 movl %cr3, %eax
189 movl %eax, %cr3
220 movl %cr3, %eax
221 movl %eax, %cr3

Completed in 202 milliseconds

123