Home
last modified time | relevance | path

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

/openbmc/linux/arch/loongarch/kernel/
H A Defi.c31 static unsigned long __initdata boot_memmap = EFI_INVALID_TABLE_ADDR; variable
36 {LINUX_EFI_BOOT_MEMMAP_GUID, &boot_memmap, "MEMMAP" },
126 if (boot_memmap == EFI_INVALID_TABLE_ADDR) in efi_init()
129 tbl = early_memremap_ro(boot_memmap, sizeof(*tbl)); in efi_init()
133 data.phys_map = boot_memmap + sizeof(*tbl); in efi_init()
/openbmc/linux/drivers/firmware/efi/libstub/
H A Dfdt.c185 struct efi_boot_memmap *boot_memmap; member
195 p->boot_memmap = map; in exit_boot_func()
320 for (l = 0; l < priv.boot_memmap->map_size; in allocate_new_fdt_and_exit_boot()
321 l += priv.boot_memmap->desc_size) { in allocate_new_fdt_and_exit_boot()
322 p = (void *)priv.boot_memmap->map + l; in allocate_new_fdt_and_exit_boot()
/openbmc/qemu/hw/loongarch/
H A Dboot.c81 struct efi_boot_memmap *boot_memmap = p; in init_efi_boot_memmap() local
89 boot_memmap->desc_size = sizeof(efi_memory_desc_t); in init_efi_boot_memmap()
90 boot_memmap->desc_ver = 1; in init_efi_boot_memmap()
91 boot_memmap->map_size = 0; in init_efi_boot_memmap()
95 map = (void *)boot_memmap + sizeof(*map); in init_efi_boot_memmap()