Efficient DEBUG logging system with __FILE__ and fctprintf
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include "gdt.h"
|
||||
#include <stdint.h>
|
||||
#include "../../io/serial/serial.h"
|
||||
#include <kernel.h>
|
||||
|
||||
// Descriptors are 8-byte wide (64bits)
|
||||
// So the selectors will be (in bytes): 0x0, 0x8, 0x10, 0x18, etc..
|
||||
@@ -78,5 +79,5 @@ void gdt_init()
|
||||
gdt_load();
|
||||
gdt_flush();
|
||||
|
||||
serial_kputs("kernel: gdt: Initialized GDT!\n");
|
||||
DEBUG("GDT initialized");
|
||||
}
|
||||
Reference in New Issue
Block a user