diff options
Diffstat (limited to 'Kernel/HALKit/ARM64')
| -rw-r--r-- | Kernel/HALKit/ARM64/HalPageAlloc.hpp | 8 | ||||
| -rw-r--r-- | Kernel/HALKit/ARM64/Processor.hxx | 10 | ||||
| -rw-r--r-- | Kernel/HALKit/ARM64/Storage/HalFlash.cxx | 4 |
3 files changed, 11 insertions, 11 deletions
diff --git a/Kernel/HALKit/ARM64/HalPageAlloc.hpp b/Kernel/HALKit/ARM64/HalPageAlloc.hpp index fbdbfea8..8286b5cd 100644 --- a/Kernel/HALKit/ARM64/HalPageAlloc.hpp +++ b/Kernel/HALKit/ARM64/HalPageAlloc.hpp @@ -56,7 +56,7 @@ M, N \ } -namespace NewOS::HAL +namespace Kernel::HAL { struct PACKED LongDescLevel3 final { @@ -97,12 +97,12 @@ namespace NewOS::HAL }; VoidPtr hal_alloc_page(Boolean rw, Boolean user, SizeT size); -} // namespace NewOS::HAL +} // namespace Kernel::HAL -namespace NewOS +namespace Kernel { typedef HAL::LongDescLevel3 PTE; typedef HAL::PageDirectory64 PDE; -} // namespace NewOS +} // namespace Kernel EXTERN_C void hal_flush_tlb(); diff --git a/Kernel/HALKit/ARM64/Processor.hxx b/Kernel/HALKit/ARM64/Processor.hxx index d9a86270..631ecdf0 100644 --- a/Kernel/HALKit/ARM64/Processor.hxx +++ b/Kernel/HALKit/ARM64/Processor.hxx @@ -25,7 +25,7 @@ #error !!! please provide that macro. !!! #endif -namespace NewOS::HAL +namespace Kernel::HAL { struct PACKED Register64 final { @@ -45,11 +45,11 @@ namespace NewOS::HAL }; typedef StackFrame* StackFramePtr; -} // namespace NewOS::HAL +} // namespace Kernel::HAL -inline NewOS::VoidPtr kKernelVirtualStart = (NewOS::VoidPtr)cHeapStartOffset; -inline NewOS::UIntPtr kKernelVirtualSize = 0UL; +inline Kernel::VoidPtr kKernelVirtualStart = (Kernel::VoidPtr)cHeapStartOffset; +inline Kernel::UIntPtr kKernelVirtualSize = 0UL; -inline NewOS::VoidPtr kKernelPhysicalStart = nullptr; +inline Kernel::VoidPtr kKernelPhysicalStart = nullptr; #include <HALKit/ARM64/HalPageAlloc.hpp> diff --git a/Kernel/HALKit/ARM64/Storage/HalFlash.cxx b/Kernel/HALKit/ARM64/Storage/HalFlash.cxx index 4466963e..20c2836d 100644 --- a/Kernel/HALKit/ARM64/Storage/HalFlash.cxx +++ b/Kernel/HALKit/ARM64/Storage/HalFlash.cxx @@ -14,7 +14,7 @@ #define cMaxFlash (4U) -namespace NewOS +namespace Kernel { /// /:\\BRIDGE\\FLSH\\1 constexpr auto cFlashBridgeMagic = "FLSH"; @@ -61,6 +61,6 @@ namespace NewOS { kcout << "newoskrnl: disabled hardware.\r"; } -} // namespace NewOS +} // namespace Kernel #endif // if __FLASH_MEM__ (Bridge) |
