Actually, let's just put <stdint.h> at the top of config.h instead of moving
authorDavid Given <dg@cowlark.com>
Tue, 20 Oct 2015 17:23:12 +0000 (19:23 +0200)
committerDavid Given <dg@cowlark.com>
Tue, 20 Oct 2015 17:23:12 +0000 (19:23 +0200)
the queue stuff to cpu.h. (A hypothetical device with more memory wouldn't
want it.)

Kernel/cpu-msp430x/cpu.h
Kernel/platform-msp430fr5969/config.h

index b5856fb..51d7aee 100644 (file)
@@ -121,10 +121,3 @@ typedef union {            /* this structure is endian dependent */
 #define EMAGIC   0x08
 #define EMAGIC_2 0x3c
 
-/* To save space, queues go in high memory. */
-#define CONFIG_INDIRECT_QUEUES
-typedef uint16_t queueptr_t;
-#define GETQ(p) __read_hidata(p)
-#define PUTQ(p, v) __write_hidata((p), (v))
-
-
index 19cf6c5..c10a3d8 100644 (file)
@@ -1,3 +1,5 @@
+#include <stdint.h>
+
 /* Enable to make ^Z dump the inode table for debug */
 #undef CONFIG_IDUMP
 /* Enable to make ^A drop back into the monitor */
 /* Video terminal, not a serial tty */
 #undef CONFIG_VT
 
+/* To save space, queues go in high memory. */
+#define CONFIG_INDIRECT_QUEUES
+typedef uint16_t queueptr_t;
+#define GETQ(p) __read_hidata(p)
+#define PUTQ(p, v) __write_hidata((p), (v))
+
 extern int __user_base;
 extern int __user_top;