From: David Given Date: Mon, 19 Oct 2015 21:24:01 +0000 (+0200) Subject: Now that kernel.h no longer includes , we need to move the queue X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=3475d42a65169b5cccf6ab42bd64ed71a938b3b5;p=FUZIX.git Now that kernel.h no longer includes , we need to move the queue definitions to cpu.h (because we haven't seen stdint.h when config.h is included). --- diff --git a/Kernel/cpu-msp430x/cpu.h b/Kernel/cpu-msp430x/cpu.h index 1ba1759c..cf192e7e 100644 --- a/Kernel/cpu-msp430x/cpu.h +++ b/Kernel/cpu-msp430x/cpu.h @@ -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)) + + diff --git a/Kernel/platform-msp430fr5969/config.h b/Kernel/platform-msp430fr5969/config.h index 479f78c1..19cf6c5e 100644 --- a/Kernel/platform-msp430fr5969/config.h +++ b/Kernel/platform-msp430fr5969/config.h @@ -28,12 +28,6 @@ /* 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;