/DragonStub/inc/dragonstub/ |
H A D | dragonstub.h | 57 efi_status_t(__efiapi *get_event_log)(efi_tcg2_protocol_t *, 62 efi_status_t(__efiapi *hash_log_extend_event)( 84 efi_status_t(__efiapi *get_boot_hartid)( 187 efi_status_t efi_parse_options(char const *cmdline); 208 efi_status_t find_payload(efi_handle_t handle, efi_loaded_image_t *loaded_image, 212 efi_status_t efi_stub_common(efi_handle_t handle, efi_loaded_image_t *image, 216 efi_status_t efi_boot_kernel(efi_handle_t handle, efi_loaded_image_t *image, 220 efi_status_t check_platform_features(void); 249 efi_status_t efi_alloc_virtmap(efi_memory_desc_t **virtmap, 310 efi_status_t efi_allocate_pages_aligned(unsigned long size, unsigned long *addr, [all …]
|
H A D | linux-efi.h | 395 typedef efi_status_t efi_get_time_t(efi_time_t *tm, efi_time_cap_t *tc); 396 typedef efi_status_t efi_set_time_t(efi_time_t *tm); 397 typedef efi_status_t efi_get_wakeup_time_t(efi_bool_t *enabled, 399 typedef efi_status_t efi_set_wakeup_time_t(efi_bool_t enabled, efi_time_t *tm); 400 typedef efi_status_t efi_get_variable_t(efi_char16_t *name, efi_guid_t *vendor, 403 typedef efi_status_t efi_get_next_variable_t(unsigned long *name_size, 406 typedef efi_status_t efi_set_variable_t(efi_char16_t *name, efi_guid_t *vendor, 409 typedef efi_status_t efi_get_next_high_mono_count_t(u32 *count); 410 typedef void efi_reset_system_t(int reset_type, efi_status_t status, 412 typedef efi_status_t efi_set_virtual_address_map_t( [all …]
|
H A D | elfloader.h | 15 efi_status_t elf_get_header(const void *payload_start, u64 payload_size, 18 efi_status_t load_elf(struct payload_info *payload_info);
|
H A D | types.h | 50 typedef unsigned long efi_status_t; typedef
|
/DragonStub/apps/ |
H A D | random.c | 8 efi_status_t (__efiapi *get_info)(efi_rng_protocol_t *, 11 efi_status_t (__efiapi *get_rng)(efi_rng_protocol_t *, 32 efi_status_t efi_get_random_bytes(unsigned long size, u8 *out) in efi_get_random_bytes() 35 efi_status_t status; in efi_get_random_bytes()
|
H A D | riscv-stub.c | 12 static efi_status_t get_boot_hartid_from_fdt(void) in get_boot_hartid_from_fdt() 50 static efi_status_t get_boot_hartid_from_efi(void) in get_boot_hartid_from_efi() 54 efi_status_t status; in get_boot_hartid_from_efi() 63 efi_status_t check_platform_features(void) in check_platform_features() 66 efi_status_t status = -1; in check_platform_features()
|
H A D | mem.c | 18 efi_status_t efi_get_memory_map(struct efi_boot_memmap **map, in efi_get_memory_map() 24 efi_status_t status; in efi_get_memory_map() 83 efi_status_t efi_allocate_pages(unsigned long size, unsigned long *addr, in efi_allocate_pages() 87 efi_status_t status; in efi_allocate_pages() 116 efi_status_t efi_allocate_pages_exact(unsigned long size, unsigned long addr) in efi_allocate_pages_exact() 118 efi_status_t status; in efi_allocate_pages_exact()
|
H A D | stub.c | 94 static efi_status_t init_efi_program_info(efi_loaded_image_t *loaded_image) in init_efi_program_info() 115 static efi_status_t find_elf(struct payload_info *info) in find_elf() 152 efi_status_t find_payload(efi_handle_t handle, efi_loaded_image_t *loaded_image, in find_payload() 156 efi_status_t status = init_efi_program_info(loaded_image); in find_payload() 183 efi_status_t efi_alloc_virtmap(efi_memory_desc_t **virtmap, in efi_alloc_virtmap() 187 efi_status_t status; in efi_alloc_virtmap() 272 efi_status_t status; in install_memreserve_table() 303 efi_status_t efi_stub_common(efi_handle_t handle, in efi_stub_common() 309 efi_status_t status; in efi_stub_common()
|
H A D | fdt.c | 30 static efi_status_t update_fdt_memmap(void *fdt, struct efi_boot_memmap *map) in update_fdt_memmap() 71 static efi_status_t update_fdt(void *orig_fdt, unsigned long orig_fdt_size, in update_fdt() 172 efi_status_t efi_status; in update_fdt() 196 static efi_status_t exit_boot_func(struct efi_boot_memmap *map, void *priv) in exit_boot_func() 223 static efi_status_t allocate_new_fdt_and_exit_boot(void *handle, in allocate_new_fdt_and_exit_boot() 230 efi_status_t status; in allocate_new_fdt_and_exit_boot() 348 efi_status_t efi_boot_kernel(efi_handle_t handle, in efi_boot_kernel() 354 efi_status_t status; in efi_boot_kernel()
|
H A D | elf.c | 82 efi_status_t elf_get_header(const void *payload_start, u64 payload_size, in elf_get_header() 110 static efi_status_t parse_phdrs(const void *payload_start, u64 payload_size, in parse_phdrs() 171 efi_status_t status; in check_image_region() 215 efi_status_t status; in efi_remap_image_all_rwx() 264 efi_status_t efi_allocate_kernel_memory(const Elf64_Phdr *phdr_start, in efi_allocate_kernel_memory() 269 efi_status_t status = EFI_SUCCESS; in efi_allocate_kernel_memory() 325 static efi_status_t load_program(const void *payload_start, u64 payload_size, in load_program() 331 efi_status_t status = EFI_SUCCESS; in load_program() 406 efi_status_t load_elf(struct payload_info *payload_info) in load_elf() 411 efi_status_t status = in load_elf()
|
H A D | helper.c | 39 static efi_status_t efi_measure_tagged_event(unsigned long load_addr, in efi_measure_tagged_event() 45 efi_status_t status; in efi_measure_tagged_event() 141 efi_status_t status; in efi_convert_cmdline() 257 efi_status_t efi_parse_options(char const *cmdline) in efi_parse_options() 260 efi_status_t status; in efi_parse_options() 357 efi_status_t efi_exit_boot_services(void *handle, void *priv, in efi_exit_boot_services() 361 efi_status_t status; in efi_exit_boot_services()
|
H A D | alignedmem.c | 22 efi_status_t efi_allocate_pages_aligned(unsigned long size, unsigned long *addr, in efi_allocate_pages_aligned() 27 efi_status_t status; in efi_allocate_pages_aligned()
|
H A D | secureboot.c | 7 static efi_status_t get_var(efi_char16_t *name, efi_guid_t *vendor, u32 *attr, in get_var() 21 efi_status_t status; in efi_get_secureboot()
|