1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:17:34 +00:00

Kernel: Remove nonsense in bootstrap code

This code was not doing anything important. Since we're building the
kernel with -mregparm=3, the first function argument goes in %eax.
This commit is contained in:
Andreas Kling 2019-11-03 14:40:28 +01:00
parent 7e56cf1800
commit dc35b1d647

View file

@ -50,15 +50,11 @@ start:
and $-16, %esp
pushl %esp
pushl %eax /* Multiboot header magic */
pushl %ebx /* Multiboot header pointer */
mov %ebx, multiboot_info_ptr
call init
pushl $exit_message
mov $exit_message, %eax
call kprintf
cli