From fa07a0f3310858c7000762d10778e42ace256a40 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Wed, 23 Mar 2022 10:23:00 +0100 Subject: Added a better way to select 16K pages, and added M1 paragraph in COMPILE.md --- src/custommem.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/custommem.c b/src/custommem.c index ede78b6f..c11e1557 100644 --- a/src/custommem.c +++ b/src/custommem.c @@ -42,7 +42,7 @@ static uintptr_t* box64_jmptbldefault1[1<begin = 0x0; mapmem->end = (uintptr_t)LOWEST - 1; loadProtectionFromMap(); + // check if PageSize is correctly defined + if(box64_pagesize != (1<