Home
last modified time | relevance | path

Searched refs:efi_scratch (Results 1 – 3 of 3) sorted by relevance

/arch/x86/include/asm/
Defi.h74 struct efi_scratch { struct
88 if (efi_scratch.use_pgd) { \ argument
89 efi_scratch.prev_cr3 = __read_cr3(); \
90 write_cr3((unsigned long)efi_scratch.efi_pgt); \
100 if (efi_scratch.use_pgd) { \
101 write_cr3(efi_scratch.prev_cr3); \
126 extern struct efi_scratch efi_scratch;
/arch/x86/platform/efi/
Defi_64.c56 struct efi_scratch efi_scratch; variable
85 write_cr3((unsigned long)efi_scratch.efi_pgt); in efi_call_phys_prolog()
349 efi_scratch.efi_pgt = (pgd_t *)__sme_pa(efi_pgd); in efi_setup_page_tables()
365 efi_scratch.use_pgd = true; in efi_setup_page_tables()
398 efi_scratch.phys_stack = page_to_phys(page + 1); /* stack grows down */ in efi_setup_page_tables()
666 efi_scratch.prev_cr3 = __read_cr3(); in efi_thunk_set_virtual_address_map()
667 write_cr3((unsigned long)efi_scratch.efi_pgt); in efi_thunk_set_virtual_address_map()
674 write_cr3(efi_scratch.prev_cr3); in efi_thunk_set_virtual_address_map()
Defi_thunk_64.S36 movq efi_scratch+25(%rip), %rsp