From f3732406f450d8351103baed085ec34fe724db5a Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 22 Nov 2014 22:50:21 +0000 Subject: [PATCH] pcw8256: fix swap defines --- Kernel/platform-pcw8256/config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) -- 2.34.1