Home
last modified time | relevance | path

Searched refs:ehdr (Results 1 – 2 of 2) sorted by relevance

/DragonStub/apps/
H A Delf.c63 Elf64_Ehdr *ehdr = (Elf64_Ehdr *)payload_start; in elf_check() local
65 if (ehdr->e_machine != EM_RISCV) { in elf_check()
67 EM_RISCV, ehdr->e_machine); in elf_check()
83 Elf64_Ehdr **ehdr) in elf_get_header() argument
88 *ehdr = (Elf64_Ehdr *)payload_start; in elf_get_header()
92 static void print_elf_info(Elf64_Ehdr *ehdr) in print_elf_info() argument
95 efi_printk(" e_type: %d\n", ehdr->e_type); in print_elf_info()
96 efi_printk(" e_machine: %d\n", ehdr->e_machine); in print_elf_info()
97 efi_printk(" e_version: %d\n", ehdr->e_version); in print_elf_info()
98 efi_printk(" e_entry: %p\n", ehdr->e_entry); in print_elf_info()
[all …]
/DragonStub/inc/dragonstub/
H A Delfloader.h16 Elf64_Ehdr **ehdr);