Home
last modified time | relevance | path

Searched refs:new_cr3 (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/firmware/efi/libstub/
H A Dx86-5lvl.c70 u64 *new_cr3; in efi_5level_switch() local
81 new_cr3 = memset(pgt, 0, PAGE_SIZE); in efi_5level_switch()
82 new_cr3[0] = (u64)cr3 | _PAGE_TABLE_NOENC; in efi_5level_switch()
85 new_cr3 = (u64 *)(cr3[0] & PAGE_MASK); in efi_5level_switch()
88 if ((u64)new_cr3 > U32_MAX) in efi_5level_switch()
89 new_cr3 = memcpy(pgt, new_cr3, PAGE_SIZE); in efi_5level_switch()
94 la57_toggle(new_cr3); in efi_5level_switch()
/openbmc/qemu/target/i386/
H A Dhelper.c172 void cpu_x86_update_cr3(CPUX86State *env, target_ulong new_cr3) in cpu_x86_update_cr3() argument
174 env->cr[3] = new_cr3; in cpu_x86_update_cr3()
177 "CR3 update: CR3=" TARGET_FMT_lx "\n", new_cr3); in cpu_x86_update_cr3()
H A Dcpu.h2468 void cpu_x86_update_cr3(CPUX86State *env, target_ulong new_cr3);
/openbmc/qemu/target/i386/tcg/sysemu/
H A Dsvm_helper.c164 uint64_t new_cr3; in helper_vmrun() local
316 new_cr3 = x86_ldq_phys(cs, env->vm_vmcb + offsetof(struct vmcb, save.cr3)); in helper_vmrun()
318 (new_cr3 & ((~0ULL) << cpu->phys_bits))) { in helper_vmrun()
331 cpu_x86_update_cr3(env, new_cr3); in helper_vmrun()
/openbmc/qemu/target/i386/tcg/
H A Dseg_helper.c320 uint32_t new_eflags, new_eip, new_cr3, new_ldt, new_trap; in switch_tss_ra() local
432 new_cr3 = access_ldl(&new, tss_base + 0x1c); in switch_tss_ra()
445 new_cr3 = 0; in switch_tss_ra()
504 cpu_x86_update_cr3(env, new_cr3); in switch_tss_ra()