z80pack: kill dead code
authorAlan Cox <alan@etchedpixels.co.uk>
Sun, 23 Nov 2014 22:43:57 +0000 (22:43 +0000)
committerAlan Cox <alan@etchedpixels.co.uk>
Sun, 23 Nov 2014 22:43:57 +0000 (22:43 +0000)
Kernel/platform-z80pack/config.h
Kernel/platform-z80pack/main.c

index e66238d..fbe9784 100644 (file)
@@ -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 */
 
index 79c9de0..eb6b778 100644 (file)
@@ -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)