From eb578e22969a9867573e5e6474379022c86e4dda Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 25 Oct 2015 21:26:59 +0000 Subject: [PATCH] micropack: use single process mode correctly, use David's direct uget/uput* Saves us about 700 bytes --- Kernel/platform-micropack/config.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Kernel/platform-micropack/config.h b/Kernel/platform-micropack/config.h index 2d696b1a..23f5ca30 100644 --- a/Kernel/platform-micropack/config.h +++ b/Kernel/platform-micropack/config.h @@ -5,7 +5,7 @@ /* Profil syscall support (not yet complete) */ #undef CONFIG_PROFIL /* Multiple processes in memory at once */ -#define CONFIG_MULTI +#undef CONFIG_MULTI /* Single tasking */ #undef CONFIG_SINGLETASK /* CP/M emulation */ @@ -15,9 +15,7 @@ /* Swap only */ #define CONFIG_SWAP_ONLY /* Simple user copies */ -#define CONFIG_USERMEM_C -#define BANK_KERNEL -#define BANK_PROCESS +#define CONFIG_USERMEM_DIRECT /* Banks as reported to user space */ #define CONFIG_BANKS 1 -- 2.34.1