mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-30 00:08:03 +00:00
Print on screen if HPET is missing
This commit is contained in:
parent
3ec416b215
commit
18dd70b139
@ -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__)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user