Change kernel arg type

This commit is contained in:
Victor Timofei 2022-05-04 01:29:13 +03:00
parent 2a45bc4b20
commit 47a80204a5
Signed by: vtimofei
GPG Key ID: B790DCEBE281403A
1 changed files with 2 additions and 2 deletions

View File

@ -202,9 +202,9 @@ void kprintf(char *format, ...)
va_end(arg);
}
void kernel_main (uint32_t multiboot_struct_addr)
void kernel_main (multiboot_info_t *multiboot_struct_addr)
{
mbi = (multiboot_info_t *)multiboot_struct_addr;
mbi = multiboot_struct_addr;
fb = (char *)mbi->framebuffer_addr;
scanline = mbi->framebuffer_pitch;