/DragonStub/apps/ |
H A D | mem.c | 28 status = efi_bs_call(GetMemoryMap, &tmp.map_size, NULL, &tmp.map_key, in efi_get_memory_map() 34 status = efi_bs_call(AllocatePool, memtype, sizeof(*m) + size, in efi_get_memory_map() 46 status = efi_bs_call(InstallConfigurationTable, &tbl_guid, m); in efi_get_memory_map() 52 status = efi_bs_call(GetMemoryMap, &m->map_size, m->map, &m->map_key, in efi_get_memory_map() 62 efi_bs_call(InstallConfigurationTable, &tbl_guid, NULL); in efi_get_memory_map() 64 efi_bs_call(FreePool, m); in efi_get_memory_map() 96 status = efi_bs_call(AllocatePages, EFI_ALLOCATE_MAX_ADDRESS, in efi_allocate_pages() 128 status = efi_bs_call(AllocatePages, AllocateAddress, EfiLoaderData, in efi_allocate_pages_exact() 159 efi_bs_call(FreePages, addr, nr_pages); in efi_free()
|
H A D | alignedmem.c | 39 status = efi_bs_call(AllocatePages, EFI_ALLOCATE_MAX_ADDRESS, in efi_allocate_pages_aligned() 51 efi_bs_call(FreePages, alloc_addr, slack - l + 1); in efi_allocate_pages_aligned() 55 efi_bs_call(FreePages, *addr + size, slack); in efi_allocate_pages_aligned()
|
H A D | helper.c | 47 efi_bs_call(LocateProtocol, &tcg2_guid, NULL, (void **)&tcg2); in efi_measure_tagged_event() 56 status = efi_bs_call(AllocatePool, EfiLoaderData, size, in efi_measure_tagged_event() 81 efi_bs_call(FreePool, evt); in efi_measure_tagged_event() 203 status = efi_bs_call(AllocatePool, EfiLoaderData, options_bytes, in efi_convert_cmdline() 267 status = efi_bs_call(AllocatePool, EfiLoaderData, len, (void **)&buf); in efi_parse_options() 316 efi_bs_call(FreePool, buf); in efi_parse_options() 375 efi_bs_call(FreePool, map); in efi_exit_boot_services() 382 status = efi_bs_call(ExitBootServices, handle, map->map_key); in efi_exit_boot_services() 400 status = efi_bs_call(GetMemoryMap, &map->map_size, &map->map, in efi_exit_boot_services() 413 status = efi_bs_call(ExitBootServices, handle, map->map_key); in efi_exit_boot_services()
|
H A D | stub.c | 90 efi_bs_call(FreePool, cmdline_ptr); in efi_handle_cmdline() 195 status = efi_bs_call(GetMemoryMap, &size, NULL, &mmap_key, desc_size, in efi_alloc_virtmap() 200 return efi_bs_call(AllocatePool, EfiLoaderData, size, (void **)virtmap); in efi_alloc_virtmap() 274 status = efi_bs_call(AllocatePool, EfiLoaderData, sizeof(*rsv), in install_memreserve_table() 285 status = efi_bs_call(InstallConfigurationTable, &memreserve_table_guid, in install_memreserve_table()
|
H A D | random.c | 38 status = efi_bs_call(LocateProtocol, &rng_proto, NULL, (void **)&rng); in efi_get_random_bytes()
|
H A D | dragon_stub-main.c | 26 status = efi_bs_call(HandleProtocol, image_handle, &LoadedImageProtocol, in efi_main()
|
H A D | elf.c | 194 efi_bs_call(FreePool, map); in check_image_region() 223 status = efi_bs_call(LocateProtocol, &guid, NULL, (void **)&memattr); in efi_remap_image_all_rwx() 462 status = efi_bs_call(AllocatePool, EfiLoaderData, in load_elf() 477 status = efi_bs_call(InstallConfigurationTable, in load_elf()
|
H A D | riscv-stub.c | 56 status = efi_bs_call(LocateProtocol, &boot_protocol_guid, NULL, in get_boot_hartid_from_efi()
|
H A D | fdt.c | 343 efi_bs_call(FreePool, priv.runtime_map); in allocate_new_fdt_and_exit_boot()
|
/DragonStub/inc/dragonstub/ |
H A D | riscv64.h | 4 #define efi_bs_call(func, ...) (BS->func(__VA_ARGS__)) macro
|