summaryrefslogtreecommitdiff
path: root/src/arch/generic.h
diff options
context:
space:
mode:
authordzwdz2021-07-17 19:58:02 +0200
committerdzwdz2021-07-17 19:58:02 +0200
commit6200bd2d95ad6ff9a65f8b97b9335353e3a52c5e (patch)
treea4d0d718f42e918f9dafc6b01e66e436cb3db713 /src/arch/generic.h
parentf66140abab48d3c3c7910d1842b1daf3571d73ad (diff)
detect the highest used memory address, and only allocate pages above it
Diffstat (limited to 'src/arch/generic.h')
-rw-r--r--src/arch/generic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/generic.h b/src/arch/generic.h
index f9617ab..4bed2fe 100644
--- a/src/arch/generic.h
+++ b/src/arch/generic.h
@@ -3,6 +3,7 @@
#include <arch/log.h>
// i have no idea where else to put it
+// some code assumes that it's a power of 2
#define PAGE_SIZE 4096
// src/arch/i386/boot.s