From 375d0210dcb2070a12d916523f4a1dafff28360c Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Tue, 2 Jul 2024 22:00:35 +0200 Subject: MHR-36: Change namespace name, got out of the codename stage. Signed-off-by: Amlal EL Mahrouss --- Kernel/HALKit/AMD64/HalDescriptorLoader.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Kernel/HALKit/AMD64/HalDescriptorLoader.cpp') diff --git a/Kernel/HALKit/AMD64/HalDescriptorLoader.cpp b/Kernel/HALKit/AMD64/HalDescriptorLoader.cpp index 48f57cc0..964b402a 100644 --- a/Kernel/HALKit/AMD64/HalDescriptorLoader.cpp +++ b/Kernel/HALKit/AMD64/HalDescriptorLoader.cpp @@ -6,14 +6,14 @@ #include -namespace NewOS::HAL +namespace Kernel::HAL { namespace Detail { STATIC RegisterGDT kRegGdt; STATIC HAL::Register64 kRegIdt; - STATIC ::NewOS::Detail::AMD64::InterruptDescriptorAMD64 + STATIC ::Kernel::Detail::AMD64::InterruptDescriptorAMD64 kInterruptVectorTable[kKernelIdtSize]; STATIC Void RemapPIC(Void) noexcept @@ -51,7 +51,7 @@ namespace NewOS::HAL Void IDTLoader::Load(Register64& idt) { - volatile ::NewOS::UIntPtr** baseIdt = (volatile ::NewOS::UIntPtr**)idt.Base; + volatile ::Kernel::UIntPtr** baseIdt = (volatile ::Kernel::UIntPtr**)idt.Base; MUST_PASS(baseIdt); @@ -72,7 +72,7 @@ namespace NewOS::HAL } Detail::kRegIdt.Base = reinterpret_cast(Detail::kInterruptVectorTable); - Detail::kRegIdt.Limit = sizeof(::NewOS::Detail::AMD64::InterruptDescriptorAMD64) * + Detail::kRegIdt.Limit = sizeof(::Kernel::Detail::AMD64::InterruptDescriptorAMD64) * (kKernelIdtSize - 1); hal_load_idt(Detail::kRegIdt); @@ -87,4 +87,4 @@ namespace NewOS::HAL { IDTLoader::Load(idt.Leak()); } -} // namespace NewOS::HAL +} // namespace Kernel::HAL -- cgit v1.2.3