mirror of
https://github.com/tailix/kernel.git
synced 2025-04-14 17:33:13 -04:00
Push Multiboot info pointer
This commit is contained in:
parent
9bc52f2f66
commit
fe3686cc2d
2 changed files with 3 additions and 2 deletions
|
@ -34,7 +34,8 @@ stack_top:
|
|||
.type _start, @function
|
||||
_start:
|
||||
mov $stack_top, %esp
|
||||
push %eax // uint32_t multiboot_magic
|
||||
push %ebx // unsigned long multiboot_info
|
||||
push %eax // unsigned int multiboot_magic
|
||||
call main
|
||||
cli
|
||||
1:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include "gdt.h"
|
||||
#include "idt.h"
|
||||
|
||||
void main(unsigned int multiboot_magic)
|
||||
void main(unsigned int multiboot_magic, unsigned long multiboot_info)
|
||||
{
|
||||
logger_initialize();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue