From: Alan Cox Date: Thu, 27 Nov 2014 23:35:52 +0000 (+0000) Subject: z80: Add bits ready for any endian fixing we have to do X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=5f83ccd9d3699228570ecca729e506a8eb47aceb;p=FUZIX.git z80: Add bits ready for any endian fixing we have to do --- diff --git a/Kernel/cpu-z80/cpu.h b/Kernel/cpu-z80/cpu.h index e7774d59..849bd258 100644 --- a/Kernel/cpu-z80/cpu.h +++ b/Kernel/cpu-z80/cpu.h @@ -40,4 +40,7 @@ typedef unsigned long long time_t; #define VIDEO #define DISCARD +#define cpu_to_le16(x) (x) +#define le16_to_cpu(x) (x) + #endif