diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-30 08:46:09 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-30 08:46:09 +0100 |
| commit | d7112cd6909640afd7609b3a142bc6ecf921ee25 (patch) | |
| tree | 55033ad28d58d536c4b3bad715d8635f00773bfd /Private/HALKit/AMD64/HalPageAlloc.cpp | |
| parent | f22e69b8837b84548f79e0b8ca7bef24605c6611 (diff) | |
Kernel: Breaking changes, see source code.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/HALKit/AMD64/HalPageAlloc.cpp')
| -rw-r--r-- | Private/HALKit/AMD64/HalPageAlloc.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Private/HALKit/AMD64/HalPageAlloc.cpp b/Private/HALKit/AMD64/HalPageAlloc.cpp index 25757942..6c7bd69b 100644 --- a/Private/HALKit/AMD64/HalPageAlloc.cpp +++ b/Private/HALKit/AMD64/HalPageAlloc.cpp @@ -1,7 +1,7 @@ /* * ======================================================== * - * hCore + * HCore * Copyright 2024 Mahrouss Logic, all rights reserved. * * ======================================================== @@ -9,14 +9,14 @@ #include <HALKit/AMD64/HalPageAlloc.hpp> #include <NewKit/Defines.hpp> -#include <NewKit/Panic.hpp> +#include <NewKit/RuntimeCheck.hpp> // this files handles paging. -static hCore::UIntPtr kPagePtr = kPagePtrAddress; -static hCore::SizeT kPageCnt = 0UL; +static HCore::UIntPtr kPagePtr = kPagePtrAddress; +static HCore::SizeT kPageCnt = 0UL; -namespace hCore { +namespace HCore { namespace HAL { static auto hal_try_alloc_new_page(SizeT sz, Boolean rw, Boolean user) -> PageTable64 * { @@ -53,4 +53,4 @@ auto hal_create_page(Boolean rw, Boolean user) -> UIntPtr { return reinterpret_cast<UIntPtr>(new_pte); } } // namespace HAL -} // namespace hCore +} // namespace HCore |
