From a4d4de6913fb7dd54847b0e5a004c3100bc02459 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 16 Mar 2024 21:46:29 +0100 Subject: HCR-14: Reworked page allocator for AMD64. Signed-off-by: Amlal El Mahrouss --- Private/NewKit/CxxAbi.hpp | 2 +- Private/NewKit/PageManager.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Private/NewKit') 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 &pm); - const UIntPtr &VirtualAddress(); + const UIntPtr VirtualAddress(); void NoExecute(const bool enable = false); const bool &NoExecute(); -- cgit v1.2.3