From c742be9c738c91703a7be787639cad167de3a6b1 Mon Sep 17 00:00:00 2001 From: Miguel Date: Fri, 17 Aug 2018 02:28:02 +0200 Subject: started reviving my fool os --- fs/elf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fs') diff --git a/fs/elf.c b/fs/elf.c index 73570d9..b4e4ad6 100644 --- a/fs/elf.c +++ b/fs/elf.c @@ -77,7 +77,8 @@ uint32_t load_elf(char *name, uint32_t *alloc) //TODO: load ELF binary and move this to own compilation unit //load binary - uint32_t vaddr=0x08000000; + //uint32_t vaddr=0x08000000; + uint32_t vaddr=0x08048000; log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"loading %s",name); ext2_check(ext2_ramimage); @@ -170,5 +171,4 @@ uint32_t load_elf(char *name, uint32_t *alloc) log(FOOLOS_MODULE_NAME,FOOLOS_LOG_DEBUG,"heap starts at: 0x%08X",*alloc); return elf->e_entry; - } -- cgit v1.2.3