From: Alan Cox Date: Sun, 23 Nov 2014 22:43:57 +0000 (+0000) Subject: z80pack: kill dead code X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=51e578d534995b206363996a21755a6ac1f7e676;p=FUZIX.git z80pack: kill dead code --- diff --git a/Kernel/platform-z80pack/config.h b/Kernel/platform-z80pack/config.h index e66238d1..fbe97840 100644 --- a/Kernel/platform-z80pack/config.h +++ b/Kernel/platform-z80pack/config.h @@ -30,9 +30,6 @@ #define SWAPTOP 0xF000 /* vectors so its a round number of sectors */ #define MAX_SWAPS 64 /* The full drive would actually be 85! */ -#define UDATA_BLOCKS 0 /* We swap the stash not the uarea */ -#define UDATA_SWAPSIZE 0 - #define BOOT_TTY (512 + 1)/* Set this to default device for stdio, stderr */ /* In this case, the default is the first TTY device */ diff --git a/Kernel/platform-z80pack/main.c b/Kernel/platform-z80pack/main.c index 79c9de0b..eb6b778c 100644 --- a/Kernel/platform-z80pack/main.c +++ b/Kernel/platform-z80pack/main.c @@ -14,22 +14,6 @@ void pagemap_init(void) pagemap_add(i); } -/* The uarea is already synched to the stash which is written with the - process */ -uint8_t *swapout_prepare_uarea(ptptr p) -{ - p; - return NULL; -} - -/* The switchin code will move the uarea into the process itself, we just - need to fix up the u_page pointer */ -uint8_t *swapin_prepare_uarea(ptptr p) -{ - p; - return NULL; -} - /* On idle we spin checking for the terminals. Gives us more responsiveness for the polled ports */ void platform_idle(void)