1
0
mirror of https://gitlab.os-k.eu/os-k-team/os-k.git synced 2023-08-25 14:03:10 +02:00
This commit is contained in:
Julian Barathieu 2019-05-05 21:42:11 +02:00
parent c58f5d236a
commit edcbbf966c

View File

@ -79,6 +79,7 @@ noreturn void BtStartKern(multiboot_info_t *mbInfo, uint mbMagic, void *codeSeg)
// Interrupts launching // Interrupts launching
IdtSetup(); IdtSetup();
KeEnableIRQs(); KeEnableIRQs();
// Drivers enabling // Drivers enabling
IoEnableRtc(); IoEnableRtc();
IoEnableKeyb(); IoEnableKeyb();
@ -93,18 +94,15 @@ noreturn void BtStartKern(multiboot_info_t *mbInfo, uint mbMagic, void *codeSeg)
/* i++; */ /* i++; */
/* } */ /* } */
char *cc = ""; char cc[255];
IoGetRtcTimeChar(cc); IoGetRtcTimeChar(cc);
BStdOut->flusher(BStdOut);
KernLog("\nTEST 1:\n"); KernLog("\nTEST 1:\n");
KernLog("%s\n", cc); KernLog("%s\n", cc);
BStdOut->flusher(BStdOut);
KernLog("\nTEST 2:\n"); KernLog("\nTEST 2:\n");
KernLog("[test] %s\n", cc); KernLog("[test] %s\n", cc);
BStdOut->flusher(BStdOut);
KernLog("\nTEST 3:\n"); KernLog("\nTEST 3:\n");
KernLog("[test] %s [fin du test]\n", cc); KernLog("[test] %s [fin du test]\n", cc);