summaryrefslogtreecommitdiff
path: root/src/arch/i386/boot.s
diff options
context:
space:
mode:
authordzwdz2021-07-17 19:03:45 +0200
committerdzwdz2021-07-17 19:03:45 +0200
commitf84c55f194df088c291fc4359ccec1305be456ce (patch)
tree0476907b089c174adc6e72cfe780134cbd9cbe89 /src/arch/i386/boot.s
parent895108bbba356aa39920a42df1587211e424ef8b (diff)
basic boot module support
This loads a file from the boot disk into memory. Currently it just gets printed, but it's going to become a real executable soon.
Diffstat (limited to 'src/arch/i386/boot.s')
-rw-r--r--src/arch/i386/boot.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/i386/boot.s b/src/arch/i386/boot.s
index 2578e87..74de9b7 100644
--- a/src/arch/i386/boot.s
+++ b/src/arch/i386/boot.s
@@ -3,6 +3,7 @@
.type _start, @function
_start:
mov $stack_top, %esp
+ push %ebx // address of the Multiboot struct
call kmain_early
.global halt_cpu