From 778f77a64b9030c8d15f1d664e0096e098eb91b6 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 15 Feb 2023 07:30:42 +0200 Subject: [PATCH] Stop if HPET is not found --- Core/Timer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Core/Timer.cpp b/Core/Timer.cpp index bf8a6a8..fb42b75 100644 --- a/Core/Timer.cpp +++ b/Core/Timer.cpp @@ -69,7 +69,9 @@ namespace Time } else { - trace("HPET not found"); + // For now, we need HPET. + error("HPET not found"); + CPU::Stop(); } #elif defined(__i386__) #elif defined(__aarch64__)