1
0
Fork 0
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:
Braiden Vasco 2017-11-01 11:43:52 +00:00
parent 9bc52f2f66
commit fe3686cc2d
2 changed files with 3 additions and 2 deletions

View file

@ -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:

View file

@ -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();