diff options
Diffstat (limited to 'src/kernel/kernel.c')
-rw-r--r-- | src/kernel/kernel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/kernel.c b/src/kernel/kernel.c index 82937f2..bd22dfc 100644 --- a/src/kernel/kernel.c +++ b/src/kernel/kernel.c @@ -22,8 +22,9 @@ u32 stack_hold; -void kernel_main(u32 magic, u32 multiboot_address, u32 esp) +void kernel_main(u32 magic, u32 addr, u32 esp) { + multiboot_address = addr; stack_hold = esp; if (magic != MULTIBOOT_BOOTLOADER_MAGIC) { |