From: Alan Cox Date: Sun, 26 Apr 2015 21:34:08 +0000 (+0100) Subject: mtx: add swap macros X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=62a166681b51e43c5735025ce67588dc16c7e591;p=FUZIX.git mtx: add swap macros --- diff --git a/Kernel/platform-mtx/config.h b/Kernel/platform-mtx/config.h index c6170d64..aae61cc4 100644 --- a/Kernel/platform-mtx/config.h +++ b/Kernel/platform-mtx/config.h @@ -56,3 +56,5 @@ #define VT_HEIGHT 24 #define VT_RIGHT vt_tright[curtty] #define VT_BOTTOM 23 + +#define swap_map(x) ((uint8_t *)(x))