summaryrefslogtreecommitdiffhomepage
path: root/Kernel/Sources/PageManager.cxx
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-08-15 10:38:58 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-08-15 10:38:58 +0200
commit98403fe342c8c2795de34e922958ee8d02c94e04 (patch)
tree30624c77cb63fcfc1b606d6264205b415af8fea8 /Kernel/Sources/PageManager.cxx
parent7a43990192e13a7b32bc1f99a7dd02efe6f71e4e (diff)
[IMP] MHR-28:
+ Fixed VMH allocator, which was hanging because of a unitialized global field. + Working on fixing User save method for authorization purposes. + If .bss -> Zero memory region. Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Kernel/Sources/PageManager.cxx')
-rw-r--r--Kernel/Sources/PageManager.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/Sources/PageManager.cxx b/Kernel/Sources/PageManager.cxx
index 8e9e77cc..7e0ef67b 100644
--- a/Kernel/Sources/PageManager.cxx
+++ b/Kernel/Sources/PageManager.cxx
@@ -63,6 +63,8 @@ namespace Kernel
/// @return
PTEWrapper PageManager::Request(Boolean Rw, Boolean User, Boolean ExecDisable, SizeT Sz)
{
+ kcout << "newoskrnl: Allocating VMH page from PageManager...\r";
+
// Store PTE wrapper right after PTE.
VoidPtr ptr = Kernel::HAL::hal_alloc_page(Rw, User, Sz);