summaryrefslogtreecommitdiffhomepage
path: root/Private/HALKit/AMD64/HalPageAlloc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Private/HALKit/AMD64/HalPageAlloc.cpp')
-rw-r--r--Private/HALKit/AMD64/HalPageAlloc.cpp12
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