public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d08ccf
)
z80: Add bits ready for any endian fixing we have to do
author
Alan Cox
<alan@etchedpixels.co.uk>
Thu, 27 Nov 2014 23:35:52 +0000
(23:35 +0000)
committer
Alan Cox
<alan@etchedpixels.co.uk>
Thu, 27 Nov 2014 23:35:52 +0000
(23:35 +0000)
Kernel/cpu-z80/cpu.h
patch
|
blob
|
history
diff --git
a/Kernel/cpu-z80/cpu.h
b/Kernel/cpu-z80/cpu.h
index
e7774d5
..
849bd25
100644
(file)
--- 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