mirror of
https://gitlab.os-k.eu/os-k-team/os-k.git
synced 2023-08-25 14:03:10 +02:00
Bugfix
This commit is contained in:
parent
c58f5d236a
commit
edcbbf966c
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user