Home
last modified time | relevance | path

Searched refs:map (Results 1 – 6 of 6) sorted by relevance

/DragonStub/apps/
H A Dhelper.c360 struct efi_boot_memmap *map; in efi_exit_boot_services() local
368 status = efi_get_memory_map(&map, true); in efi_exit_boot_services()
372 status = priv_func(map, priv); in efi_exit_boot_services()
375 efi_bs_call(FreePool, map); in efi_exit_boot_services()
379 efi_debug("before ExitBootServices, handle=%p, map_key=%p\n", handle, map->map_key); in efi_exit_boot_services()
382 status = efi_bs_call(ExitBootServices, handle, map->map_key); in efi_exit_boot_services()
399 map->map_size = map->buff_size; in efi_exit_boot_services()
400 status = efi_bs_call(GetMemoryMap, &map->map_size, &map->map, in efi_exit_boot_services()
401 &map->map_key, &map->desc_size, in efi_exit_boot_services()
402 &map->desc_ver); in efi_exit_boot_services()
[all …]
H A Dfdt.c30 static efi_status_t update_fdt_memmap(void *fdt, struct efi_boot_memmap *map) in update_fdt_memmap() argument
40 fdt_val64 = cpu_to_fdt64((unsigned long)map->map); in update_fdt_memmap()
47 fdt_val32 = cpu_to_fdt32(map->map_size); in update_fdt_memmap()
54 fdt_val32 = cpu_to_fdt32(map->desc_size); in update_fdt_memmap()
61 fdt_val32 = cpu_to_fdt32(map->desc_ver); in update_fdt_memmap()
196 static efi_status_t exit_boot_func(struct efi_boot_memmap *map, void *priv) in exit_boot_func() argument
200 p->boot_memmap = map; in exit_boot_func()
207 efi_get_virtmap(map->map, map->map_size, map->desc_size, p->runtime_map, in exit_boot_func()
210 return update_fdt_memmap(p->new_fdt_addr, map); in exit_boot_func()
326 p = (void *)priv.boot_memmap->map + l; in allocate_new_fdt_and_exit_boot()
H A Dmem.c18 efi_status_t efi_get_memory_map(struct efi_boot_memmap **map, in efi_get_memory_map() argument
52 status = efi_bs_call(GetMemoryMap, &m->map_size, m->map, &m->map_key, in efi_get_memory_map()
57 *map = m; in efi_get_memory_map()
H A Delf.c170 struct efi_boot_memmap *map; in check_image_region() local
175 status = efi_get_memory_map(&map, false); in check_image_region()
179 for (map_offset = 0; map_offset < map->map_size; in check_image_region()
180 map_offset += map->desc_size) { in check_image_region()
181 efi_memory_desc_t *md = (void *)map->map + map_offset; in check_image_region()
194 efi_bs_call(FreePool, map); in check_image_region()
/DragonStub/inc/dragonstub/
H A Ddragonstub.h382 efi_status_t efi_get_memory_map(struct efi_boot_memmap **map,
423 struct efi_boot_memmap *map, void *priv);
H A Dlinux-efi.h457 efi_memory_desc_t map[]; member