z80pack: update config.h for new style swap
authorAlan Cox <alan@linux.intel.com>
Mon, 20 Apr 2015 21:37:46 +0000 (22:37 +0100)
committerAlan Cox <alan@linux.intel.com>
Mon, 20 Apr 2015 21:37:46 +0000 (22:37 +0100)
Kernel/platform-z80pack/config.h

index 4bb0a5f..b56d216 100644 (file)
@@ -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 */