From: David Given Date: Tue, 20 Oct 2015 17:23:12 +0000 (+0200) Subject: Actually, let's just put at the top of config.h instead of moving X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=b8c15ebdd227ecc44ce3f594bd1fc188e1984dfd;p=FUZIX.git 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.) --- 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;