From f79ada76d2e4056ff5a81b53998d6d2696523d0f Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 1 Apr 2020 22:31:45 +0200 Subject: Some work on the elf loader --- src/kernel/fs/elf.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/kernel/fs/elf.h') diff --git a/src/kernel/fs/elf.h b/src/kernel/fs/elf.h index ea8493b..ee89000 100644 --- a/src/kernel/fs/elf.h +++ b/src/kernel/fs/elf.h @@ -48,6 +48,7 @@ typedef struct { uint32_t align; } elf_program_header_t; -void elf_init(); +int is_elf(char *data); +uint32_t load_elf(char *elf_data); -#endif \ No newline at end of file +#endif -- cgit v1.2.3