Home
last modified time | relevance | path

Searched refs:image_base (Results 1 – 8 of 8) sorted by relevance

/linux-6.3-rc2/drivers/firmware/efi/libstub/
A Dzboot.c52 void __weak efi_cache_sync_image(unsigned long image_base, in efi_cache_sync_image() argument
64 unsigned long image_base, alloc_size, code_size; in efi_zboot_entry() local
98 image_base = alloc_preferred_address(alloc_size); in efi_zboot_entry()
99 if (image_base == ULONG_MAX) { in efi_zboot_entry()
121 status = efi_random_alloc(alloc_size, min_kimg_align, &image_base, in efi_zboot_entry()
131 (void *)image_base, alloc_size, NULL, error); in efi_zboot_entry()
138 efi_cache_sync_image(image_base, alloc_size, code_size); in efi_zboot_entry()
140 efi_remap_image(image_base, alloc_size, code_size); in efi_zboot_entry()
142 status = efi_stub_common(handle, image, image_base, cmdline_ptr); in efi_zboot_entry()
145 efi_free(alloc_size, image_base); in efi_zboot_entry()
A Darm64.c68 void efi_cache_sync_image(unsigned long image_base, in efi_cache_sync_image() argument
79 asm("dc " DCTYPE ", %0" :: "r"(image_base)); in efi_cache_sync_image()
80 image_base += lsize; in efi_cache_sync_image()
A Dx86-stub.c285 setup_memory_protection(unsigned long image_base, unsigned long image_size) in setup_memory_protection() argument
297 if (image_base != (unsigned long)startup_32) in setup_memory_protection()
298 adjust_memory_range_protection(image_base, image_size); in setup_memory_protection()
316 unsigned long image_base, in setup_quirks() argument
328 setup_memory_protection(image_base, image_size); in setup_quirks()
462 void *image_base; in efi_pe_entry() local
480 image_base = efi_table_attr(image, image_base); in efi_pe_entry()
481 image_offset = (void *)startup_32 - image_base; in efi_pe_entry()
495 memcpy(&hdr->jump, image_base + 512, in efi_pe_entry()
A Defi-stub-helper.c669 void efi_remap_image(unsigned long image_base, unsigned alloc_size, in efi_remap_image() argument
687 status = memattr->get_memory_attributes(memattr, image_base, in efi_remap_image()
696 status = memattr->set_memory_attributes(memattr, image_base, code_size, in efi_remap_image()
707 status = memattr->clear_memory_attributes(memattr, image_base, in efi_remap_image()
714 image_base + code_size, in efi_remap_image()
A Darm64-stub.c88 if (image->image_base != _text) in handle_kernel_image()
A Defistub.h588 void *image_base; member
603 u32 image_base; member
1067 void efi_cache_sync_image(unsigned long image_base,
1099 void efi_remap_image(unsigned long image_base, unsigned alloc_size,
/linux-6.3-rc2/include/linux/
A Dpe.h224 uint32_t image_base; /* preferred load address */ member
258 uint64_t image_base; /* preferred load address */ member
/linux-6.3-rc2/arch/x86/boot/
A Dheader.S143 .set image_base, (LOAD_PHYSICAL_ADDR + 0xffff) & ~0xffff define
145 .long image_base # ImageBase
147 .quad image_base # ImageBase

Completed in 21 milliseconds