From 9be51d883414584db0926ab854d6026e1785048b Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 25 Feb 2024 08:06:38 +0100 Subject: Kernel: Morning bump. Signed-off-by: Amlal El Mahrouss --- Private/HALKit/AMD64/HalHardwareInit.cpp | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'Private/HALKit/AMD64/HalHardwareInit.cpp') diff --git a/Private/HALKit/AMD64/HalHardwareInit.cpp b/Private/HALKit/AMD64/HalHardwareInit.cpp index 1c857ff7..43b15169 100644 --- a/Private/HALKit/AMD64/HalHardwareInit.cpp +++ b/Private/HALKit/AMD64/HalHardwareInit.cpp @@ -11,18 +11,10 @@ // bugs = 0 -extern "C" HCore::VoidPtr __EXEC_IVT; +extern "C" HCore::UIntPtr* __EXEC_IVT; -namespace HCore { -bool ke_init_hal() { - HCore::HAL::Register64 kIdtRegister; - - kIdtRegister.Base = (UIntPtr)__EXEC_IVT; - kIdtRegister.Limit = sizeof(HAL::Register64) * 255; +extern void rt_wait_for_io(void); - HAL::IDTLoader idt; - idt.Load(kIdtRegister); - - return true; -} +namespace HCore { +bool ke_init_hal() { return true; } } // namespace HCore -- cgit v1.2.3