From b8c15ebdd227ecc44ce3f594bd1fc188e1984dfd Mon Sep 17 00:00:00 2001 From: David Given Date: Tue, 20 Oct 2015 19:23:12 +0200 Subject: [PATCH] Actually, let's just put at the top of config.h instead of moving the queue stuff to cpu.h. (A hypothetical device with more memory wouldn't want it.) --- Kernel/cpu-msp430x/cpu.h | 7 ------- Kernel/platform-msp430fr5969/config.h | 8 ++++++++ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Kernel/cpu-msp430x/cpu.h b/Kernel/cpu-msp430x/cpu.h index b5856fbc..51d7aeed 100644 --- a/Kernel/cpu-msp430x/cpu.h +++ b/Kernel/cpu-msp430x/cpu.h @@ -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)) - - diff --git a/Kernel/platform-msp430fr5969/config.h b/Kernel/platform-msp430fr5969/config.h index 19cf6c5e..c10a3d81 100644 --- a/Kernel/platform-msp430fr5969/config.h +++ b/Kernel/platform-msp430fr5969/config.h @@ -1,3 +1,5 @@ +#include + /* Enable to make ^Z dump the inode table for debug */ #undef CONFIG_IDUMP /* Enable to make ^A drop back into the monitor */ @@ -28,6 +30,12 @@ /* 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