From edcbbf966c25f72ce3059a4bc315587b16e0918a Mon Sep 17 00:00:00 2001 From: Julian Barathieu Date: Sun, 5 May 2019 21:42:11 +0200 Subject: [PATCH] Bugfix --- kaleid/kernel/init/init.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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);