aboutsummaryrefslogtreecommitdiff
path: root/bbl/bbl.h
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2017-02-17 01:54:52 -0800
committerAndrew Waterman <andrew@sifive.com>2017-02-17 01:55:00 -0800
commitb14d4187fe1a328b9e87f61a984fd70e17211954 (patch)
treef8e8e8ec17b3092edbaf4c79e404bcac1e86be3e /bbl/bbl.h
parent926b360655fd7a22413c7732faceeea21a224aa1 (diff)
downloadriscv-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.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/bbl/bbl.h b/bbl/bbl.h
index e9e1dab..67997b9 100644
--- a/bbl/bbl.h
+++ b/bbl/bbl.h
@@ -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__