Print on screen if HPET is missing

This commit is contained in:
Alex 2023-03-02 02:30:42 +02:00
parent 3ec416b215
commit 18dd70b139
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -10,6 +10,8 @@
#elif defined(__aarch64__) #elif defined(__aarch64__)
#endif #endif
#include "../kernel.h"
namespace Time namespace Time
{ {
void time::Sleep(uint64_t Milliseconds) void time::Sleep(uint64_t Milliseconds)
@ -71,6 +73,7 @@ namespace Time
{ {
// For now, we need HPET. // For now, we need HPET.
error("HPET not found"); error("HPET not found");
KPrint("\eFF2200HPET not found");
CPU::Stop(); CPU::Stop();
} }
#elif defined(__i386__) #elif defined(__i386__)