summaryrefslogtreecommitdiff
path: root/kernel/link.ld
diff options
context:
space:
mode:
authorJake Mannens <jake72360@gmail.com>2018-06-20 04:39:25 +1000
committerJake Mannens <jake72360@gmail.com>2018-06-20 04:39:25 +1000
commita4ea0b14840ef5946408a3893f3f1c92ed57ae80 (patch)
tree0290ff480f8d9156b6bfcd35d009028e08cb5041 /kernel/link.ld
parentf6858b7333139441215e83e070e098bf09056762 (diff)
Added a very basic types.h header file that defines NULL, size_t and
time_t. Moved the kernel's loading point down to address 0 in conventional memory and updated linker scripts accordingly. Began to experiment with loading a binary blob into extended memory (0x100000), switching to userspace mode, and executing it.
Diffstat (limited to 'kernel/link.ld')
-rw-r--r--kernel/link.ld3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/link.ld b/kernel/link.ld
index 67ae357..a97b27f 100644
--- a/kernel/link.ld
+++ b/kernel/link.ld
@@ -3,7 +3,8 @@ OUTPUT_FORMAT(elf32-i386)
ENTRY(kboot)
SECTIONS
{
- . = 0x100000;
+ /* . = 0x100000; */
+ . = 0;
.mboothdr : { *(.mboothdr) }
.text : { *(.text) }
.data : { *(.data) }