diff --git a/kaleid/kernel/init/init.c b/kaleid/kernel/init/init.c index 5db0b5e..3778576 100644 --- a/kaleid/kernel/init/init.c +++ b/kaleid/kernel/init/init.c @@ -88,7 +88,7 @@ noreturn void BtStartKern(multiboot_info_t *mbInfo, uint mbMagic, void *codeSeg) KernLog("There was %d ticks\n", IoGetRtcTicks()); uint i = 0; while (1) { - if (!(i % 2048)) IoPrintRtcTime(); + if (!(i % (2048*5))) IoPrintRtcTime(); KePauseCPU(); i++; } @@ -100,11 +100,3 @@ noreturn void BtStartKern(multiboot_info_t *mbInfo, uint mbMagic, void *codeSeg) BFlushBuf(BStdOut); KeCrashSystem(); } - -void label0(void) -{ - KernLog("Goodbye after %d ticks\n", IoGetRtcTicks()); - // End this machine's suffering - BFlushBuf(BStdOut); - KeCrashSystem(); -}