Now that kernel.h no longer includes <stdint.h>, we need to move the queue
authorDavid Given <dg@cowlark.com>
Mon, 19 Oct 2015 21:24:01 +0000 (23:24 +0200)
committerDavid Given <dg@cowlark.com>
Mon, 19 Oct 2015 21:24:01 +0000 (23:24 +0200)
definitions to cpu.h (because we haven't seen stdint.h when config.h is
included).

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

index 1ba1759..cf192e7 100644 (file)
@@ -122,3 +122,10 @@ typedef union {            /* this structure is endian dependent */
 #define EMAGIC   (*p)
 #define EMAGIC_2 (*p)
 
+/* 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 479f78c..19cf6c5 100644 (file)
 /* 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;