diff options
| author | Michal Idziorek <m.i@gmx.at> | 2015-05-13 23:58:39 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2015-05-13 23:58:39 +0200 |
| commit | b74c5c8fb4de3b2847bc942e57dcf8f0dea705be (patch) | |
| tree | fa0a9001cffa64c9193689066bf296dc3df7f844 /fs | |
| parent | 9a60edf72a3112adae4a914134da1adaf472ad5d (diff) | |
fixed libc and 'userspace'
Diffstat (limited to 'fs')
| -rw-r--r-- | fs/elf.c | 3 | ||||
| -rw-r--r-- | fs/fs.h | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -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); @@ -4,7 +4,7 @@ #include <stdint.h> -#define EXT2_RAM_ADDRESS 0x120000 // here the bootloader puts our image +#define EXT2_RAM_ADDRESS 0x124000 // here the bootloader puts our image enum FS_FILE_TYPE{ |
