From f84c55f194df088c291fc4359ccec1305be456ce Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 17 Jul 2021 19:03:45 +0200 Subject: 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. --- src/arch/i386/boot.s | 1 + 1 file changed, 1 insertion(+) (limited to 'src/arch/i386/boot.s') 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 -- cgit v1.2.3