mirror of
https://gitlab.os-k.eu/os-k-team/os-k.git
synced 2023-08-25 14:03:10 +02:00
OS/K works on real hw
This commit is contained in:
parent
404f1ab20c
commit
426c07f30b
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user