From: Alan Cox Date: Sat, 22 Nov 2014 22:50:21 +0000 (+0000) Subject: pcw8256: fix swap defines X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=f3732406f450d8351103baed085ec34fe724db5a;p=FUZIX.git pcw8256: fix swap defines --- diff --git a/Kernel/platform-pcw8256/config.h b/Kernel/platform-pcw8256/config.h index e652afa2..1bd92880 100644 --- a/Kernel/platform-pcw8256/config.h +++ b/Kernel/platform-pcw8256/config.h @@ -33,11 +33,11 @@ #define PROGBASE 0x0000 /* memory base of program */ #define PROGLOAD 0x0100 /* load base of program */ #define PROGTOP 0xF000 /* Top of program, base of U_DATA */ -#define PROC_SIZE 64 /* Memory needed per process */ -#define SWAP_SIZE 0x80 /* 64K in blocks (we actually don't need the low 256) */ +#define SWAP_SIZE 0x80 /* 64K in blocks (we actually don't need all of it FIXME) */ #define SWAPBASE 0x0000 /* We swap the lot in one, include the */ -#define SWAPTOP 0xF000 /* vectors so its a round number of sectors */ +#define SWAPTOP 0xF400 /* vectors. We have to swap 256 bytes of + common as well */ #define BOOT_TTY (512 + 1)