Searched refs:efi_scratch (Results 1 – 3 of 3) sorted by relevance
74 struct efi_scratch { struct88 if (efi_scratch.use_pgd) { \ argument89 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;
56 struct efi_scratch efi_scratch; variable85 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()
36 movq efi_scratch+25(%rip), %rsp