1
0
mirror of https://gitlab.os-k.eu/os-k-team/os-k.git synced 2023-08-25 14:03:10 +02:00

it works on real hw

This commit is contained in:
Adrien Bourmault 2019-04-28 11:25:03 +02:00
parent 3748dfbe33
commit 836d967eee

View File

@ -49,11 +49,6 @@ extern void pstest(void);
// interrupts tests
extern void divideByZero(void);
void test(void)
{
asm volatile ("hlt");
}
//
// Entry point of the Kaleid kernel
//
@ -91,10 +86,9 @@ noreturn void BtStartKern(multiboot_info_t *mbInfo, uint mbMagic, void *codeSeg)
IoPrintRtcTime();
KernLog("There was %d ticks\n", IoGetRtcTicks());
for (uint i = 1; i < 200 ; i++) {
while (IoGetRtcTicks() < i * 10000) {
}
IoPrintRtcTime();
for (uint i = 1; i < 2048*15 ; i++) {
//IoPrintRtcTime();
KePauseCPU();
}
//divideByZero();