public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3475d42
)
Figure out the proper magic numbers for the header.
author
David Given
<dg@cowlark.com>
Mon, 19 Oct 2015 21:27:39 +0000
(23:27 +0200)
committer
David Given
<dg@cowlark.com>
Mon, 19 Oct 2015 21:27:39 +0000
(23:27 +0200)
Kernel/cpu-msp430x/cpu.h
patch
|
blob
|
history
diff --git
a/Kernel/cpu-msp430x/cpu.h
b/Kernel/cpu-msp430x/cpu.h
index
cf192e7
..
b5856fb
100644
(file)
--- a/
Kernel/cpu-msp430x/cpu.h
+++ b/
Kernel/cpu-msp430x/cpu.h
@@
-117,10
+117,9
@@
typedef union { /* this structure is endian dependent */
#define VIDEO
#define DISCARD
-/* Really we should check for the jmp I imagine but gcc will figure the below
- out for us and keep this oddness out of the core code ! */
-#define EMAGIC (*p)
-#define EMAGIC_2 (*p)
+/* jmp over the Fuzix header. Will need updating if the header size changes */
+#define EMAGIC 0x08
+#define EMAGIC_2 0x3c
/* To save space, queues go in high memory. */
#define CONFIG_INDIRECT_QUEUES