public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
889f7ea
)
New COMMON_MEMORY macro to put code into COMMONMEM segment
author
Will Sowerbutts
<will@sowerbutts.com>
Sun, 25 Jan 2015 21:52:34 +0000
(21:52 +0000)
committer
Will Sowerbutts
<will@sowerbutts.com>
Sun, 25 Jan 2015 21:52:34 +0000
(21:52 +0000)
Kernel/cpu-z80/cpu.h
patch
|
blob
|
history
diff --git
a/Kernel/cpu-z80/cpu.h
b/Kernel/cpu-z80/cpu.h
index
c2646ca
..
505911a
100644
(file)
--- a/
Kernel/cpu-z80/cpu.h
+++ b/
Kernel/cpu-z80/cpu.h
@@
-66,5
+66,6
@@
typedef union { /* this structure is endian dependent */
#define cpu_to_le32(x) (x)
#define le32_to_cpu(x) (x)
-#define DISCARDABLE static void DISCARDSEG(void) __naked { __asm .area _DISCARD __endasm; }
+#define DISCARDABLE static void DISCARDSEG(void) __naked { __asm .area _DISCARD __endasm; }
+#define COMMON_MEMORY static void COMMONSEG(void) __naked { __asm .area _COMMONMEM __endasm; }
#endif