summaryrefslogtreecommitdiffhomepage
path: root/Private/Source
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-19 21:01:12 +0100
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-19 21:01:12 +0100
commitde413aa50bac1342e4ac8c7a66697ea3b551c2e4 (patch)
treeeef86262346e556f276727da3d8175ead9c6ff1d /Private/Source
parentaf7bb25934e8f6781cb7b34ef345ef9af723a2ff (diff)
Kernel(Secret): Major commit.
- Extensive cleanup of the code, and kernel improvements. - The System API has been reworked to be better designed. What is needed now: - AHCI disk driver. - HCFS/NewFS driver. - EPM layout implementation. - Separate bootloader and kernel.
Diffstat (limited to 'Private/Source')
-rw-r--r--Private/Source/PageManager.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Private/Source/PageManager.cxx b/Private/Source/PageManager.cxx
index 572effae..843aa66c 100644
--- a/Private/Source/PageManager.cxx
+++ b/Private/Source/PageManager.cxx
@@ -11,8 +11,8 @@
#include <HALKit/AMD64/HalPageAlloc.hpp>
#endif // ifdef __x86_64__
-//! null deref will throw (Page Zero detected, aborting program!)
-#define kProtectedRegionEnd 512
+//! null deref will throw (Page Zero detected, aborting app!)
+#define kProtectedRegionEnd (512)
namespace HCore {
PTEWrapper::PTEWrapper(Boolean Rw, Boolean User, Boolean ExecDisable,