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
commit dc35b1d647
Notes: sideshowbarker 2024-07-19 11:27:01 +09:00

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