feature: functional shell with help and merdella commands
TOOD: reboot, poweroff, echo, color
This commit is contained in:
12
src/kernel.c
12
src/kernel.c
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user