summaryrefslogtreecommitdiff
path: root/fs/elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/elf.c')
-rw-r--r--fs/elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/elf.c b/fs/elf.c
index f9f479c..dc5f472 100644
--- a/fs/elf.c
+++ b/fs/elf.c
@@ -77,12 +77,12 @@ 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=0x08048000;
uint32_t vaddr=0x08000000;
log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"loading %s",name);
ext2_check(ext2_ramimage);
ext2_inode_content(ext2_ramimage,inode_nr,vaddr,0x100000); // load 1mb;
+
log(FOOLOS_MODULE_NAME,FOOLOS_LOG_DEBUG,"ELF File loaded to final destination.");
Elf32_Ehdr *elf;