diff --git a/kaleid/kernel/init/init.c b/kaleid/kernel/init/init.c index 0ac5b29..02609d9 100644 --- a/kaleid/kernel/init/init.c +++ b/kaleid/kernel/init/init.c @@ -79,6 +79,7 @@ noreturn void BtStartKern(multiboot_info_t *mbInfo, uint mbMagic, void *codeSeg) // Interrupts launching IdtSetup(); KeEnableIRQs(); + // Drivers enabling IoEnableRtc(); IoEnableKeyb(); @@ -93,18 +94,15 @@ noreturn void BtStartKern(multiboot_info_t *mbInfo, uint mbMagic, void *codeSeg) /* i++; */ /* } */ - char *cc = ""; + char cc[255]; IoGetRtcTimeChar(cc); - BStdOut->flusher(BStdOut); KernLog("\nTEST 1:\n"); KernLog("%s\n", cc); - BStdOut->flusher(BStdOut); KernLog("\nTEST 2:\n"); KernLog("[test] %s\n", cc); - BStdOut->flusher(BStdOut); KernLog("\nTEST 3:\n"); KernLog("[test] %s [fin du test]\n", cc);