diff options
author | Andrew Waterman <andrew@sifive.com> | 2017-02-17 01:54:52 -0800 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2017-02-17 01:55:00 -0800 |
commit | b14d4187fe1a328b9e87f61a984fd70e17211954 (patch) | |
tree | f8e8e8ec17b3092edbaf4c79e404bcac1e86be3e /bbl/bbl.h | |
parent | 926b360655fd7a22413c7732faceeea21a224aa1 (diff) | |
download | riscv-pk-b14d4187fe1a328b9e87f61a984fd70e17211954.zip riscv-pk-b14d4187fe1a328b9e87f61a984fd70e17211954.tar.gz riscv-pk-b14d4187fe1a328b9e87f61a984fd70e17211954.tar.bz2 |
Clean up boot loader for physical address loading
Diffstat (limited to 'bbl/bbl.h')
-rw-r--r-- | bbl/bbl.h | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -8,14 +8,7 @@ #include <stdint.h> #include <stddef.h> -typedef struct { - uintptr_t entry; - uintptr_t first_user_vaddr; - uintptr_t first_vaddr_after_user; - uintptr_t load_offset; -} kernel_elf_info; - -void load_kernel_elf(void* blob, size_t size, kernel_elf_info* info); +uintptr_t load_kernel_elf(void* blob, size_t size); void print_logo(); #endif // !__ASSEMBLER__ |