Add: cursor & verbose output

This commit is contained in:
xamidev
2024-08-23 15:22:19 +02:00
parent 6d0c9ac62b
commit a029218acd
10 changed files with 40 additions and 30 deletions

View File

@@ -1,4 +1,5 @@
#include "gdt.h"
#include "../libc/stdio.h"
struct gdt_entry
{
@@ -50,4 +51,5 @@ void gdt_install()
gdt_set_gate(4, 0, 0xFFFFFFFF, 0xF2, 0xCF);
gdt_flush();
printf("[kernel] GDT gates set (ring 0 and 3), gdt=0x%x\n", &gdt);
}