diff options
| author | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-21 22:22:54 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-21 22:22:54 +0100 |
| commit | 223aad0fd3f8af6f69eb6429e5514bc888afe0d9 (patch) | |
| tree | 7de1e607423f3af6791d659a8f72556ecc798f72 /Private/HALKit/AMD64/HalHardwareInit.cpp | |
| parent | 44b7347157830e17fdb376d27a5d1cd402d2bd6f (diff) | |
Kernel: fixes and improvements.
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/HALKit/AMD64/HalHardwareInit.cpp')
| -rw-r--r-- | Private/HALKit/AMD64/HalHardwareInit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Private/HALKit/AMD64/HalHardwareInit.cpp b/Private/HALKit/AMD64/HalHardwareInit.cpp index 2a44f696..1c857ff7 100644 --- a/Private/HALKit/AMD64/HalHardwareInit.cpp +++ b/Private/HALKit/AMD64/HalHardwareInit.cpp @@ -18,7 +18,7 @@ bool ke_init_hal() { HCore::HAL::Register64 kIdtRegister; kIdtRegister.Base = (UIntPtr)__EXEC_IVT; - kIdtRegister.Limit = sizeof(HAL::Register64) * 256; + kIdtRegister.Limit = sizeof(HAL::Register64) * 255; HAL::IDTLoader idt; idt.Load(kIdtRegister); |
