From 56408064595fa034bea6545732fddbc50236975d Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Mon, 20 Apr 2015 22:37:46 +0100 Subject: [PATCH] z80pack: update config.h for new style swap --- Kernel/platform-z80pack/config.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Kernel/platform-z80pack/config.h b/Kernel/platform-z80pack/config.h index 4bb0a5fa..b56d2164 100644 --- a/Kernel/platform-z80pack/config.h +++ b/Kernel/platform-z80pack/config.h @@ -32,6 +32,8 @@ #define SWAPTOP 0xF000 /* vectors so its a round number of sectors */ #define MAX_SWAPS 64 /* The full drive would actually be 85! */ +#define swap_map(x) ((uint8_t *)(x)) /* Simple zero based mapping */ + #define BOOT_TTY (512 + 1)/* Set this to default device for stdio, stderr */ /* In this case, the default is the first TTY device */ -- 2.34.1