public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d669738
)
pcw8256: work around sdcc 3.5 bug
author
Alan Cox
<alan@linux.intel.com>
Thu, 1 Oct 2015 20:40:43 +0000
(21:40 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Thu, 1 Oct 2015 20:40:43 +0000
(21:40 +0100)
Kernel/platform-pcw8256/config.h
patch
|
blob
|
history
diff --git
a/Kernel/platform-pcw8256/config.h
b/Kernel/platform-pcw8256/config.h
index
b71d1e3
..
57f06e0
100644
(file)
--- a/
Kernel/platform-pcw8256/config.h
+++ b/
Kernel/platform-pcw8256/config.h
@@
-37,7
+37,7
@@
#define PROGTOP 0xF000 /* Top of program, base of U_DATA */
#define SWAP_SIZE 0x80 /* 64K in blocks (we actually don't need all of it FIXME) */
-#define SWAPBASE
0x0000
/* We swap the lot in one, include the */
+#define SWAPBASE
((uint16_t)0x0000)
/* We swap the lot in one, include the */
#define SWAPTOP 0xF400 /* vectors. We have to swap 256 bytes of
common as well */
@@
-56,3
+56,5
@@
#define swap_map(x) ((uint8_t *)(x)) /* For now */
+
+#define platform_discard()