add: gdt (peut etre y'a un gdt on sait pas)

This commit is contained in:
2024-09-09 18:00:17 +02:00
parent e287578c46
commit 0787b1a1fc
4 changed files with 102 additions and 1 deletions

View File

@ -22,8 +22,9 @@ void kernel_main(void)
terminal_initialize();
/* Newline support is left as an exercise. */
for (int i = 1001; i; i--)
for (int i = 100; i; i--)
kprintf(0, "%d\n", i);
void initGdt();
kprintf(0, "mange ta mere avec ton argument a kprintf fdp\n");
while (true)
terminal_getkey();