Searched refs:efi_scratch (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/arch/x86/platform/efi/ |
H A D | efi_stub_64.S | 43 movq %r15, efi_scratch(%rip) 44 movq %r14, efi_scratch+8(%rip) 50 movq efi_scratch+8(%rip), %r14 51 movq efi_scratch(%rip), %r15 55 cmpb $0, efi_scratch+24(%rip) 57 movq %r15, efi_scratch(%rip) # r15 60 movq %r15, efi_scratch+8(%rip) # prev_cr3 61 movq efi_scratch+16(%rip), %r15 # EFI pgt 67 cmpb $0, efi_scratch+24(%rip) 69 movq efi_scratch+8(%rip), %r15 71 movq efi_scratch(%rip), %r15 95 ENTRY(efi_scratch)
|
H A D | efi_64.c | 53 struct efi_scratch { struct 154 efi_scratch.efi_pgt = (pgd_t *)(unsigned long)real_mode_header->trampoline_pgd; efi_setup_page_tables() 155 pgd = __va(efi_scratch.efi_pgt); efi_setup_page_tables() 168 efi_scratch.use_pgd = true; efi_setup_page_tables() 183 efi_scratch.phys_stack = virt_to_phys(page_address(page)); efi_setup_page_tables() 184 efi_scratch.phys_stack += PAGE_SIZE; /* stack grows down */ efi_setup_page_tables() 351 efi_scratch.prev_cr3 = read_cr3(); \ 352 write_cr3((unsigned long)efi_scratch.efi_pgt); \ 358 write_cr3(efi_scratch.prev_cr3); \ 379 efi_scratch.prev_cr3 = read_cr3(); efi_thunk_set_virtual_address_map() 380 write_cr3((unsigned long)efi_scratch.efi_pgt); efi_thunk_set_virtual_address_map() 387 write_cr3(efi_scratch.prev_cr3); efi_thunk_set_virtual_address_map()
|
H A D | efi_thunk_64.S | 35 movq efi_scratch+25(%rip), %rsp
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | efi.h | 91 extern struct efi_scratch efi_scratch;
|
Completed in 203 milliseconds