From: Alan Cox Date: Thu, 27 Nov 2014 01:05:28 +0000 (+0000) Subject: dragon: remove dead bits, add vt mapper function X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=3af6f76d12d30183fa872c73084a6ce354906a6b;p=FUZIX.git dragon: remove dead bits, add vt mapper function --- diff --git a/Kernel/platform-dragon/main.c b/Kernel/platform-dragon/main.c index 994c6207..cc85d917 100644 --- a/Kernel/platform-dragon/main.c +++ b/Kernel/platform-dragon/main.c @@ -4,22 +4,6 @@ #include #include -/* 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; -} - void platform_idle(void) { } @@ -40,3 +24,11 @@ void pagemap_init(void) void map_init(void) { } + +unsigned char vt_mangle_6847(unsigned char c) +{ + if (c >= 96) + c -= 32; + c &= 0x3F; + return c; +}