From 18dd70b1398c1b9b3ee996eac7618719ba314096 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 2 Mar 2023 02:30:42 +0200 Subject: [PATCH] Print on screen if HPET is missing --- Core/Timer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Core/Timer.cpp b/Core/Timer.cpp index fb42b752..001535c8 100644 --- a/Core/Timer.cpp +++ b/Core/Timer.cpp @@ -10,6 +10,8 @@ #elif defined(__aarch64__) #endif +#include "../kernel.h" + namespace Time { void time::Sleep(uint64_t Milliseconds) @@ -71,6 +73,7 @@ namespace Time { // For now, we need HPET. error("HPET not found"); + KPrint("\eFF2200HPET not found"); CPU::Stop(); } #elif defined(__i386__)