summaryrefslogtreecommitdiff
path: root/asm/start.s
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-09-03 03:08:43 +0200
committerMiguel <m.i@gmx.at>2018-09-03 03:08:43 +0200
commit76b3da6022310dd8edbbbfdf4f73f1696a559853 (patch)
tree30e29ac753be8d6b11ce9773f3c4be49734309a9 /asm/start.s
parent38b1273c7e3a52ae929f36fe07e29bc68ef95102 (diff)
thinking about memory layout
Diffstat (limited to 'asm/start.s')
-rw-r--r--asm/start.s4
1 files changed, 3 insertions, 1 deletions
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