This commit is contained in:
Julian Barathieu 2019-05-05 21:42:11 +02:00
parent c58f5d236a
commit edcbbf966c
1 changed files with 2 additions and 4 deletions

View File

@ -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);