diff options
| author | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-07-02 22:00:35 +0200 |
|---|---|---|
| committer | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-07-02 22:00:49 +0200 |
| commit | 375d0210dcb2070a12d916523f4a1dafff28360c (patch) | |
| tree | d0c217f529b8069ea659778c2ee9ca20aeba33a4 /Kernel/HALKit/ARM64 | |
| parent | f1d3744829a661d1600c2f3bbdbdf679ee0bd0e1 (diff) | |
MHR-36: Change namespace name, got out of the codename stage.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
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) |
