summaryrefslogtreecommitdiffhomepage
path: root/Private/Source/PageManager.cxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-30 08:46:09 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-30 08:46:09 +0100
commitd7112cd6909640afd7609b3a142bc6ecf921ee25 (patch)
tree55033ad28d58d536c4b3bad715d8635f00773bfd /Private/Source/PageManager.cxx
parentf22e69b8837b84548f79e0b8ca7bef24605c6611 (diff)
Kernel: Breaking changes, see source code.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/Source/PageManager.cxx')
-rw-r--r--Private/Source/PageManager.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Private/Source/PageManager.cxx b/Private/Source/PageManager.cxx
index 32c1f22a..95300bd9 100644
--- a/Private/Source/PageManager.cxx
+++ b/Private/Source/PageManager.cxx
@@ -1,7 +1,7 @@
/*
* ========================================================
*
- * hCore
+ * HCore
* Copyright 2024 Mahrouss Logic, all rights reserved.
*
* ========================================================
@@ -10,7 +10,7 @@
#include <KernelKit/DebugOutput.hpp>
#include <NewKit/PageManager.hpp>
-namespace hCore {
+namespace HCore {
PTEWrapper::PTEWrapper(Boolean Rw, Boolean User, Boolean ExecDisable,
UIntPtr VirtAddr)
: m_Rw(Rw),
@@ -62,7 +62,7 @@ bool PTEWrapper::Reclaim() {
PTEWrapper *PageManager::Request(Boolean Rw, Boolean User,
Boolean ExecDisable) {
PTEWrapper *PageTableEntry = reinterpret_cast<PTEWrapper *>(
- hCore::HAL::hal_alloc_page(sizeof(PTEWrapper), Rw, User));
+ HCore::HAL::hal_alloc_page(sizeof(PTEWrapper), Rw, User));
if (PageTableEntry == nullptr) {
kcout << "PTEWrapper : Page table is nullptr!, kernel_new_ptr failed!";
@@ -120,4 +120,4 @@ bool PTEWrapper::Access() {
return m_Accessed;
}
-} // namespace hCore
+} // namespace HCore