summaryrefslogtreecommitdiff
path: root/fs/elf.c
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2015-05-13 23:58:39 +0200
committerMichal Idziorek <m.i@gmx.at>2015-05-13 23:58:39 +0200
commitb74c5c8fb4de3b2847bc942e57dcf8f0dea705be (patch)
treefa0a9001cffa64c9193689066bf296dc3df7f844 /fs/elf.c
parent9a60edf72a3112adae4a914134da1adaf472ad5d (diff)
fixed libc and 'userspace'
Diffstat (limited to 'fs/elf.c')
-rw-r--r--fs/elf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/elf.c b/fs/elf.c
index f5262dd..241b3ae 100644
--- a/fs/elf.c
+++ b/fs/elf.c
@@ -76,7 +76,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=0x08048000;
+// uint32_t vaddr=0x08048000;
+ uint32_t vaddr=0x08000000;
log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"loading %s",name);
ext2_check(EXT2_RAM_ADDRESS);