mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:37:45 +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:
parent
7e56cf1800
commit
dc35b1d647
1 changed files with 1 additions and 5 deletions
|
@ -50,15 +50,11 @@ start:
|
||||||
|
|
||||||
and $-16, %esp
|
and $-16, %esp
|
||||||
|
|
||||||
pushl %esp
|
|
||||||
pushl %eax /* Multiboot header magic */
|
|
||||||
pushl %ebx /* Multiboot header pointer */
|
|
||||||
|
|
||||||
mov %ebx, multiboot_info_ptr
|
mov %ebx, multiboot_info_ptr
|
||||||
|
|
||||||
call init
|
call init
|
||||||
|
|
||||||
pushl $exit_message
|
mov $exit_message, %eax
|
||||||
call kprintf
|
call kprintf
|
||||||
|
|
||||||
cli
|
cli
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue