Use debug macros
This commit is contained in:
@@ -8,14 +8,14 @@ void kmain(uint64_t multiboot_magic, void *multiboot_data)
|
||||
{
|
||||
serial_init(PORT_COM1);
|
||||
vga_init();
|
||||
debug_printf("kernel loaded\n");
|
||||
debug_info("kernel loaded\n");
|
||||
|
||||
|
||||
parse_multiboot(multiboot_magic, P2V(multiboot_data));
|
||||
|
||||
debug_printf("Kernel was loaded with command line \"%s\", by <%s>\n", kernel_boot_data.commandline, kernel_boot_data.bootloader);
|
||||
debug_info("Kernel was loaded with command line \"%s\", by <%s>\n", kernel_boot_data.commandline, kernel_boot_data.bootloader);
|
||||
|
||||
debug_printf("Boot \"Complete\"\n");
|
||||
debug_ok("Boot \"Complete\"\n");
|
||||
|
||||
PANIC("Reached end of kernel main function\n");
|
||||
for(;;);
|
||||
|
||||
Reference in New Issue
Block a user