summaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
Diffstat (limited to 'asm')
-rw-r--r--asm/start.h1
-rw-r--r--asm/start.s4
2 files changed, 4 insertions, 1 deletions
diff --git a/asm/start.h b/asm/start.h
index 7b31b76..4b2db16 100644
--- a/asm/start.h
+++ b/asm/start.h
@@ -4,6 +4,7 @@
* specific addresses in the final ELF kernel binary.
* This is specified in the _linker.ld_ file.
*
+ * TODO: THIS IS NOT TRUE ANYMORE (SINCE IT KILLED THE MEMORY IN BETWEEN PROABBLY)
* * 0x007000 .smp - entry point for application processors (16bit code)
* * 0x100000 .multiboot - the multiboot header
*
diff --git a/asm/start.s b/asm/start.s
index 26464a7..ca99c20 100644
--- a/asm/start.s
+++ b/asm/start.s
@@ -15,12 +15,14 @@
.set MAGIC, 0x1BADB002 # 'magic number' lets bootloader find the header
.set CHECKSUM, -(MAGIC + FLAGS) # checksum of above, to prove we are multiboot
-# entry point for application processors at 0x7000
+# entry point for application processors we will copy this to 0x7000 later
+
.section .smp
.code16
_start_smp:
call smp_start # TODO: align later before going C
+
# Declare a header as in the Multiboot Standard. We put this into a special
# section so we can force the header to be in the start of the final program.
# You don't need to understand all these details as it is just magic values that