feature: functional shell with help and merdella commands

TOOD: reboot, poweroff, echo, color
This commit is contained in:
2024-09-10 20:03:33 +02:00
parent 232b19666a
commit 15bdb4743a
8 changed files with 232 additions and 19 deletions

View File

@ -1,4 +1,5 @@
#include "kprintf.h"
#include "gdt.h"
#include "shell.h"
#include "terminal.h"
#include <stdbool.h>
@ -21,11 +22,6 @@ void kernel_main(void)
/* Initialize terminal interface */
terminal_initialize();
/* Newline support is left as an exercise. */
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();
/* initGdt(); */
shell_init();
}