From 3475d42a65169b5cccf6ab42bd64ed71a938b3b5 Mon Sep 17 00:00:00 2001 From: David Given Date: Mon, 19 Oct 2015 23:24:01 +0200 Subject: [PATCH] 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). --- Kernel/cpu-msp430x/cpu.h | 7 +++++++ Kernel/platform-msp430fr5969/config.h | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) 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; -- 2.34.1