From: Alan Cox Date: Tue, 16 Dec 2014 23:12:02 +0000 (+0000) Subject: mtx: correct pagemap loading X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=2b47c6cef92dec6be370a5757fd9783cfb2b3df6;p=FUZIX.git mtx: correct pagemap loading --- diff --git a/Kernel/platform-mtx/main.c b/Kernel/platform-mtx/main.c index 0c1a7fda..6917be87 100644 --- a/Kernel/platform-mtx/main.c +++ b/Kernel/platform-mtx/main.c @@ -12,7 +12,7 @@ void pagemap_init(void) { int i; /* Up to ten banks */ - for (i = 0x81; i <= membanks; i++) + for (i = 0x81; i < 0x80 + membanks; i++) pagemap_add(i); }