Home
last modified time | relevance | path

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

/linux-4.1.27/arch/x86/platform/efi/
Defi_stub_64.S43 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
[all …]
Defi_64.c53 struct efi_scratch { struct
154 efi_scratch.efi_pgt = (pgd_t *)(unsigned long)real_mode_header->trampoline_pgd; in efi_setup_page_tables()
155 pgd = __va(efi_scratch.efi_pgt); in efi_setup_page_tables()
168 efi_scratch.use_pgd = true; in efi_setup_page_tables()
183 efi_scratch.phys_stack = virt_to_phys(page_address(page)); in efi_setup_page_tables()
184 efi_scratch.phys_stack += PAGE_SIZE; /* stack grows down */ in 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(); in efi_thunk_set_virtual_address_map()
[all …]
Defi_thunk_64.S35 movq efi_scratch+25(%rip), %rsp
/linux-4.1.27/arch/x86/include/asm/
Defi.h91 extern struct efi_scratch efi_scratch;