summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKA/NewKit
diff options
context:
space:
mode:
authorAmlal <amlal@el-mahrouss-logic.com>2024-09-10 10:33:39 +0200
committerAmlal <amlal@el-mahrouss-logic.com>2024-09-10 10:34:53 +0200
commit5aef44da0ce752e7ac6bd9c95489942b1a0319ae (patch)
treef3c6f613048ab091def7afc726f0227f552df519 /dev/ZKA/NewKit
parentb11bf31c59d447e62e6ba9b3d8455f9b2828703f (diff)
Fix: See below.
- Fixing PML4 mapping and getting it to work. - Don't update cr4, instead do lidt to triple fault. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'dev/ZKA/NewKit')
-rw-r--r--dev/ZKA/NewKit/PageAllocator.hxx19
-rw-r--r--dev/ZKA/NewKit/PageMgr.hxx1
2 files changed, 0 insertions, 20 deletions
diff --git a/dev/ZKA/NewKit/PageAllocator.hxx b/dev/ZKA/NewKit/PageAllocator.hxx
deleted file mode 100644
index 5b19c0c2..00000000
--- a/dev/ZKA/NewKit/PageAllocator.hxx
+++ /dev/null
@@ -1,19 +0,0 @@
-/* -------------------------------------------
-
- Copyright ZKA Technologies.
-
-------------------------------------------- */
-
-#pragma once
-
-#include <NewKit/Defines.hxx>
-#include <NewKit/PageMgr.hxx>
-
-namespace Kernel
-{
- namespace Detail
- {
- void exec_disable(UIntPtr addr);
- bool page_disable(UIntPtr addr);
- } // namespace Detail
-} // namespace Kernel
diff --git a/dev/ZKA/NewKit/PageMgr.hxx b/dev/ZKA/NewKit/PageMgr.hxx
index 1f6b5021..1f470382 100644
--- a/dev/ZKA/NewKit/PageMgr.hxx
+++ b/dev/ZKA/NewKit/PageMgr.hxx
@@ -10,7 +10,6 @@
#pragma once
#include <NewKit/Defines.hxx>
-#include <NewKit/PageAllocator.hxx>
#include <NewKit/Ref.hxx>
namespace Kernel