summaryrefslogtreecommitdiffhomepage
path: root/Private/NewKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-16 21:46:29 +0100
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-16 21:46:29 +0100
commita4d4de6913fb7dd54847b0e5a004c3100bc02459 (patch)
tree4b7eba7d0bcc282f96db8725466ee403f95e35ec /Private/NewKit
parente8d46c98880ed3f33fc1760e8f3a99577fa31eb3 (diff)
HCR-14: Reworked page allocator for AMD64.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/NewKit')
-rw-r--r--Private/NewKit/CxxAbi.hpp2
-rw-r--r--Private/NewKit/PageManager.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Private/NewKit/CxxAbi.hpp b/Private/NewKit/CxxAbi.hpp
index b82da51a..d210bf18 100644
--- a/Private/NewKit/CxxAbi.hpp
+++ b/Private/NewKit/CxxAbi.hpp
@@ -9,7 +9,7 @@
#ifdef __GNUC__
-#define DSO_MAX_OBJECTS (128)
+#define kDSOMaxObjects (128)
struct atexit_func_entry_t
{
diff --git a/Private/NewKit/PageManager.hpp b/Private/NewKit/PageManager.hpp
index 21c34abf..ace13233 100644
--- a/Private/NewKit/PageManager.hpp
+++ b/Private/NewKit/PageManager.hpp
@@ -32,7 +32,7 @@ class PTEWrapper final {
public:
void FlushTLB(Ref<PageManager> &pm);
- const UIntPtr &VirtualAddress();
+ const UIntPtr VirtualAddress();
void NoExecute(const bool enable = false);
const bool &NoExecute();