From af9c555446161016fdd76c1cdff96ce76bb6cba2 Mon Sep 17 00:00:00 2001 From: bernie Date: Mon, 11 Apr 2005 19:10:28 +0000 Subject: [PATCH] Include top-level headers from cfg/ subdir. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@401 38d2e660-2303-0410-9eaa-f027e97ec537 --- cfg/compiler.h | 5 ++++- cfg/config_kern.h | 5 ++++- cfg/cpu.h | 5 ++++- cfg/debug.h | 9 ++++++--- cfg/macros.h | 5 ++++- drv/buzzer.c | 9 ++++++--- drv/buzzer.h | 5 ++++- drv/buzzerled.h | 5 ++++- drv/buzzerled_dsp56k.h | 5 ++++- drv/eeprom.c | 9 ++++++--- drv/eeprom.h | 7 +++++-- drv/kdebug.c | 11 +++++++---- drv/ser.c | 7 +++++-- drv/ser.h | 9 ++++++--- drv/ser_avr.c | 7 +++++-- drv/ser_dsp56k.c | 5 ++++- drv/ser_emul.c | 7 +++++-- drv/timer.c | 9 ++++++--- drv/timer.h | 9 ++++++--- drv/timer_avr.h | 7 +++++-- drv/timer_dsp56k.h | 5 ++++- drv/twi.c | 11 +++++++---- drv/twi.h | 5 ++++- drv/wdt.h | 11 +++++++---- kern/event.h | 7 +++++-- kern/file.h | 5 ++++- kern/monitor.c | 7 +++++-- kern/monitor.h | 7 +++++-- kern/proc.c | 11 +++++++---- kern/proc.h | 9 ++++++--- kern/proc_p.h | 11 +++++++---- kern/sem.c | 5 ++++- kern/sem.h | 5 ++++- kern/signal.c | 5 ++++- kern/signal.h | 5 ++++- mware/byteorder.h | 7 +++++-- mware/charts.h | 5 ++++- mware/crc.h | 5 ++++- mware/fifobuf.h | 7 +++++-- mware/font.h | 5 ++++- mware/formatwr.c | 7 +++++-- mware/formatwr.h | 7 +++++-- mware/gfx.c | 11 +++++++---- mware/gfx.h | 9 ++++++--- mware/hashtable.c | 7 +++++-- mware/hashtable.h | 9 ++++++--- mware/heap.c | 7 +++++-- mware/heap.h | 7 +++++-- mware/kfile.h | 5 ++++- mware/list.h | 5 ++++- mware/pgm.h | 2 +- mware/pool.h | 5 ++++- mware/sprintf.c | 5 ++++- mware/strtol10.h | 5 ++++- mware/text.c | 5 ++++- mware/text.h | 9 ++++++--- verstag.h | 2 +- 57 files changed, 275 insertions(+), 110 deletions(-) diff --git a/cfg/compiler.h b/cfg/compiler.h index 45f4d92d..79a8d27a 100755 --- a/cfg/compiler.h +++ b/cfg/compiler.h @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.2 2005/04/11 19:10:27 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.1 2005/04/11 19:04:13 bernie *#* Move top-level headers to cfg/ subdir. *#* @@ -35,7 +38,7 @@ #ifndef DEVLIB_COMPILER_H #define DEVLIB_COMPILER_H -#include "cpu_detect.h" +#include #if defined __GNUC__ && defined __GNUC_MINOR__ diff --git a/cfg/config_kern.h b/cfg/config_kern.h index 1dc1c8f9..47bf985e 100755 --- a/cfg/config_kern.h +++ b/cfg/config_kern.h @@ -15,6 +15,9 @@ /*#* *#* $Log$ + *#* Revision 1.2 2005/04/11 19:10:27 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.1 2005/04/11 19:04:13 bernie *#* Move top-level headers to cfg/ subdir. *#* @@ -38,7 +41,7 @@ #ifndef CONFIG_KERN_H #define CONFIG_KERN_H -#include /* ARCH_EMUL */ +#include /* ARCH_EMUL */ /*! * \name Modules activation diff --git a/cfg/cpu.h b/cfg/cpu.h index 6afa3fa0..e7bcc7ab 100755 --- a/cfg/cpu.h +++ b/cfg/cpu.h @@ -17,6 +17,9 @@ /*#* *#* $Log$ + *#* Revision 1.2 2005/04/11 19:10:27 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.1 2005/04/11 19:04:13 bernie *#* Move top-level headers to cfg/ subdir. *#* @@ -41,7 +44,7 @@ #ifndef DEVLIB_CPU_H #define DEVLIB_CPU_H -#include "compiler.h" /* for uintXX_t */ +#include /* for uintXX_t */ /*! diff --git a/cfg/debug.h b/cfg/debug.h index af5f4f8a..d8406bb0 100755 --- a/cfg/debug.h +++ b/cfg/debug.h @@ -17,6 +17,9 @@ /*#* *#* $Log$ + *#* Revision 1.2 2005/04/11 19:10:27 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.1 2005/04/11 19:04:13 bernie *#* Move top-level headers to cfg/ subdir. *#* @@ -76,7 +79,7 @@ #endif #endif #else /* !OS_HOSTED */ - #include + #include #endif /* !OS_HOSTED */ @@ -185,8 +188,8 @@ #define ASSERT_VALID_PTR_OR_NULL(p) ASSERT((((p) == NULL) || ((unsigned long)(p) >= 0x200))) #else /* !OS_HOSTED */ - #include /* CONFIG_KDEBUG_ASSERT_NO_TEXT */ - #include /* CPU_HARVARD */ + #include /* CONFIG_KDEBUG_ASSERT_NO_TEXT */ + #include /* CPU_HARVARD */ /* These are implemented in drv/kdebug.c */ void kdbg_init(void); diff --git a/cfg/macros.h b/cfg/macros.h index 85fb97af..6dd62487 100755 --- a/cfg/macros.h +++ b/cfg/macros.h @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.2 2005/04/11 19:10:27 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.1 2005/04/11 19:04:13 bernie *#* Move top-level headers to cfg/ subdir. *#* @@ -67,7 +70,7 @@ #ifndef MACROS_H #define MACROS_H -#include +#include /* avr-gcc does not seem to support libstdc++ */ #if defined(__cplusplus) && !CPU_AVR diff --git a/drv/buzzer.c b/drv/buzzer.c index 6f91a7e7..d0c0264f 100755 --- a/drv/buzzer.c +++ b/drv/buzzer.c @@ -16,6 +16,9 @@ /*#* *#* $Log$ + *#* Revision 1.14 2005/04/11 19:10:27 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.13 2005/02/18 11:20:15 bernie *#* Use mware/event.h; Update copyright info. *#* @@ -37,10 +40,10 @@ #include #include -#include /* BV() */ -#include +#include /* BV() */ +#include #include -#include +#include #if (ARCH & ARCH_EMUL) diff --git a/drv/buzzer.h b/drv/buzzer.h index b94d25a6..02bc1e8b 100755 --- a/drv/buzzer.h +++ b/drv/buzzer.h @@ -15,6 +15,9 @@ /*#* *#* $Log$ + *#* Revision 1.7 2005/04/11 19:10:27 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.6 2004/12/08 09:11:53 bernie *#* Rename time_t to mtime_t. *#* @@ -34,7 +37,7 @@ #ifndef DRV_BUZZER_H #define DRV_BUZZER_H -#include +#include extern void buz_init(void); extern void buz_beep(mtime_t time); diff --git a/drv/buzzerled.h b/drv/buzzerled.h index bd1a04f9..d361444d 100755 --- a/drv/buzzerled.h +++ b/drv/buzzerled.h @@ -15,6 +15,9 @@ /*#* *#* $Log$ + *#* Revision 1.6 2005/04/11 19:10:27 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.5 2004/08/25 14:12:08 rasky *#* Aggiornato il comment block dei log RCS *#* @@ -35,7 +38,7 @@ #ifndef DRV_BUZZERLED_H #define DRV_BUZZERLED_H -#include +#include /*! Include hw.h. We expect hw.h to define enum BLD_DEVICE, which must contain * an enumarator for each device, plus a special symbol NUM_BLDS containing the diff --git a/drv/buzzerled_dsp56k.h b/drv/buzzerled_dsp56k.h index e2a01de1..2ae2c3db 100755 --- a/drv/buzzerled_dsp56k.h +++ b/drv/buzzerled_dsp56k.h @@ -15,6 +15,9 @@ /*#* *#* $Log$ + *#* Revision 1.5 2005/04/11 19:10:27 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.4 2004/11/16 21:54:43 bernie *#* Changes for SC Monoboard support. *#* @@ -32,7 +35,7 @@ #ifndef DRV_BUZZERLED_DSP56K_H #define DRV_BUZZERLED_DSP56K_H -#include +#include #include #include "pwm.h" diff --git a/drv/eeprom.c b/drv/eeprom.c index 9a52e5cd..6a136e75 100755 --- a/drv/eeprom.c +++ b/drv/eeprom.c @@ -16,6 +16,9 @@ /*#* *#* $Log$ + *#* Revision 1.17 2005/04/11 19:10:27 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.16 2005/03/01 23:25:09 bernie *#* Prune CVS log. *#* @@ -31,9 +34,9 @@ #include "eeprom.h" -#include -#include // CONFIG_EEPROM_VERIFY -#include // MIN() +#include +#include // CONFIG_EEPROM_VERIFY +#include // MIN() #include #include #include // cpu_to_be16() diff --git a/drv/eeprom.h b/drv/eeprom.h index cec8bbd7..ffc971ce 100755 --- a/drv/eeprom.h +++ b/drv/eeprom.h @@ -15,6 +15,9 @@ /*#* *#* $Log$ + *#* Revision 1.6 2005/04/11 19:10:27 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.5 2004/11/02 17:50:02 bernie *#* CONFIG_EEPROM_VERIFY: New config option. *#* @@ -34,8 +37,8 @@ #ifndef DRV_EEPROM_H #define DRV_EEPROM_H -#include -#include +#include +#include /*! * \name Values for CONFIG_EEPROM_TYPE diff --git a/drv/kdebug.c b/drv/kdebug.c index ee09a747..d80be756 100755 --- a/drv/kdebug.c +++ b/drv/kdebug.c @@ -15,6 +15,9 @@ /*#* *#* $Log$ + *#* Revision 1.23 2005/04/11 19:10:27 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.22 2005/02/18 11:18:33 bernie *#* Fixes for Harvard processors from project_ks. *#* @@ -28,10 +31,10 @@ *#* Rename UNUSED() to UNUSED_ARG(). *#*/ -#include -#include -#include /* for BV() */ -#include +#include +#include +#include /* for BV() */ +#include #include #include /* for _formatted_write() */ diff --git a/drv/ser.c b/drv/ser.c index dbde1aa0..59ab1fea 100755 --- a/drv/ser.c +++ b/drv/ser.c @@ -28,6 +28,9 @@ /*#* *#* $Log$ + *#* Revision 1.25 2005/04/11 19:10:27 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.24 2005/01/21 20:13:15 aleph *#* Fix drain at ser_close() *#* @@ -102,9 +105,9 @@ #include "ser.h" #include "ser_p.h" #include -#include +#include #include -#include +#include /* * Sanity check for config parameters required by this module. diff --git a/drv/ser.h b/drv/ser.h index 0b5632d8..3b3edd5c 100755 --- a/drv/ser.h +++ b/drv/ser.h @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.21 2005/04/11 19:10:27 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.20 2005/01/22 04:20:01 bernie *#* Reformat. *#* @@ -76,9 +79,9 @@ #define DRV_SER_H #include -#include -#include -#include /* BV() */ +#include +#include +#include /* BV() */ /*! \name Serial Error/status flags. */ /*\{*/ diff --git a/drv/ser_avr.c b/drv/ser_avr.c index 05c93943..646f3fe8 100755 --- a/drv/ser_avr.c +++ b/drv/ser_avr.c @@ -38,6 +38,9 @@ /*#* *#* $Log$ + *#* Revision 1.26 2005/04/11 19:10:27 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.25 2005/01/25 08:37:26 bernie *#* CONFIG_SER_HWHANDSHAKE fixes. *#* @@ -111,10 +114,10 @@ #include "ser.h" #include "ser_p.h" -#include "config.h" +#include #include "hw.h" /* Required for bus macros overrides */ -#include +#include #include #include diff --git a/drv/ser_dsp56k.c b/drv/ser_dsp56k.c index db299ba2..01767f7e 100755 --- a/drv/ser_dsp56k.c +++ b/drv/ser_dsp56k.c @@ -15,6 +15,9 @@ /*#* *#* $Log$ + *#* Revision 1.12 2005/04/11 19:10:27 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.11 2005/01/25 07:42:04 bernie *#* Simplify. *#* @@ -46,7 +49,7 @@ #include "ser.h" #include "ser_p.h" #include -#include +#include #include #include diff --git a/drv/ser_emul.c b/drv/ser_emul.c index 53298672..5bd03169 100755 --- a/drv/ser_emul.c +++ b/drv/ser_emul.c @@ -13,6 +13,9 @@ /*#* *#* $Log$ + *#* Revision 1.2 2005/04/11 19:10:27 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.1 2004/12/31 17:40:00 bernie *#* Add a simple serial emulation driver. *#* @@ -20,9 +23,9 @@ #include "ser.h" #include "ser_p.h" -#include "config.h" +#include -#include +#include #include #include diff --git a/drv/timer.c b/drv/timer.c index e0208b88..c1f16145 100755 --- a/drv/timer.c +++ b/drv/timer.c @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.24 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.23 2004/12/13 12:07:06 bernie *#* DISABLE_IRQSAVE/ENABLE_IRQRESTORE: Convert to IRQ_SAVE_DISABLE/IRQ_RESTORE. *#* @@ -83,11 +86,11 @@ *#*/ #include "timer.h" -#include +#include #include #include CPU_HEADER(timer) -#include -#include +#include +#include /* * Sanity check for config parameters required by this module. diff --git a/drv/timer.h b/drv/timer.h index 81880d40..bd7b1f7e 100755 --- a/drv/timer.h +++ b/drv/timer.h @@ -15,6 +15,9 @@ /*#* *#* $Log$ + *#* Revision 1.24 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.23 2005/03/01 23:25:46 bernie *#* Move event.h to mware/. *#* @@ -84,9 +87,9 @@ #define DRV_TIMER_H #include -#include -#include -#include +#include +#include +#include /*! Number of timer ticks per second. */ #define TICKS_PER_SEC ((mtime_t)1000) diff --git a/drv/timer_avr.h b/drv/timer_avr.h index fe5ba9b8..d308608a 100755 --- a/drv/timer_avr.h +++ b/drv/timer_avr.h @@ -15,6 +15,9 @@ /*#* *#* $Log$ + *#* Revision 1.24 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.23 2005/03/01 23:24:51 bernie *#* Tweaks for avr-libc 1.2.x. *#* @@ -60,8 +63,8 @@ #ifndef DRV_TIMER_AVR_H #define DRV_TIMER_AVR_H -#include // ARCH_BOARD_KC -#include // BV() +#include // ARCH_BOARD_KC +#include // BV() #include #include diff --git a/drv/timer_dsp56k.h b/drv/timer_dsp56k.h index 42bd4b5f..7cf68f8f 100755 --- a/drv/timer_dsp56k.h +++ b/drv/timer_dsp56k.h @@ -15,6 +15,9 @@ /*#* *#* $Log$ + *#* Revision 1.7 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.6 2004/11/16 22:37:14 bernie *#* Replace IPTR with iptr_t. *#* @@ -40,7 +43,7 @@ #include "timer.h" #include -#include +#include #include #include diff --git a/drv/twi.c b/drv/twi.c index e4866368..69f0d88d 100755 --- a/drv/twi.c +++ b/drv/twi.c @@ -15,6 +15,9 @@ /*#* *#* $Log$ + *#* Revision 1.4 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.3 2005/03/01 23:26:00 bernie *#* Header fix. *#* @@ -27,11 +30,11 @@ *#*/ #include "twi.h" -#include "config.h" -#include +#include +#include #include -#include -#include // BV() +#include +#include // BV() #include diff --git a/drv/twi.h b/drv/twi.h index cffabdd8..ac8c46f2 100755 --- a/drv/twi.h +++ b/drv/twi.h @@ -15,6 +15,9 @@ /*#* *#* $Log$ + *#* Revision 1.3 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.2 2005/02/18 11:19:52 bernie *#* Update copyright info. *#* @@ -22,7 +25,7 @@ #ifndef DRV_TWI_H #define DRV_TWI_H -#include +#include bool twi_start_w(uint8_t slave_addr); bool twi_start_r(uint8_t slave_addr); diff --git a/drv/wdt.h b/drv/wdt.h index 3f356cbb..a0982950 100755 --- a/drv/wdt.h +++ b/drv/wdt.h @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.3 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.2 2004/11/16 21:02:07 bernie *#* Make driver optional; mark AVR specific parts as such. *#* @@ -24,8 +27,8 @@ #ifndef DRV_WDT_H #define DRV_WDT_H -#include -#include // INLINE +#include +#include // INLINE /* Configury sanity check */ #if !defined(CONFIG_WATCHDOG) || (CONFIG_WATCHDOG != 0 && CONFIG_WATCHDOG != 1) @@ -33,11 +36,11 @@ #endif #if CONFIG_WATCHDOG - #include + #include #if CPU_AVR #include - #include // BV() + #include // BV() #else #error unknown CPU #endif diff --git a/kern/event.h b/kern/event.h index 6f6d839b..743d2583 100755 --- a/kern/event.h +++ b/kern/event.h @@ -18,6 +18,9 @@ /*#* *#* $Log$ + *#* Revision 1.11 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.10 2005/01/24 04:22:02 bernie *#* Update copyright information. *#* @@ -53,10 +56,10 @@ #ifndef KERN_EVENT_H #define KERN_EVENT_H -#include +#include #if CONFIG_KERNEL - #include "config_kern.h" + #include #if defined(CONFIG_KERN_SIGNALS) && CONFIG_KERN_SIGNALS #include "signal.h" #endif diff --git a/kern/file.h b/kern/file.h index 46e9cdd3..be0d928c 100755 --- a/kern/file.h +++ b/kern/file.h @@ -15,6 +15,9 @@ /*#* *#* $Log$ + *#* Revision 1.5 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.4 2004/08/25 14:12:09 rasky *#* Aggiornato il comment block dei log RCS *#* @@ -31,7 +34,7 @@ #define KERN_KFILE_H #ifndef COMPILER_H -#include +#include #endif struct _KFile; diff --git a/kern/monitor.c b/kern/monitor.c index 907487b1..b4a133d8 100755 --- a/kern/monitor.c +++ b/kern/monitor.c @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.4 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.3 2004/11/28 23:20:25 bernie *#* Remove obsolete INITLIST macro. *#* @@ -39,8 +42,8 @@ #include #include #include -#include -#include +#include +#include static List MonitorProcs; diff --git a/kern/monitor.h b/kern/monitor.h index 3e544752..23d083d1 100755 --- a/kern/monitor.h +++ b/kern/monitor.h @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.2 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.1 2004/10/03 20:39:03 bernie *#* Import in DevLib. *#* @@ -26,8 +29,8 @@ #ifndef KERN_MONITOR_H #define KERN_MONITOR_H -#include -#include +#include +#include #if CONFIG_KERN_MONITOR diff --git a/kern/proc.c b/kern/proc.c index 2abe730c..2fdc9a17 100755 --- a/kern/proc.c +++ b/kern/proc.c @@ -17,6 +17,9 @@ /*#* *#* $Log$ + *#* Revision 1.26 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.25 2005/03/15 00:20:54 bernie *#* proc_schedule(): New sanity check. *#* @@ -94,12 +97,12 @@ #include "proc_p.h" #include "proc.h" -#include "cpu.h" +#include #include "event.h" #include "hw.h" -#include -#include /* ARCH_EMUL */ -#include /* ABS() */ +#include +#include /* ARCH_EMUL */ +#include /* ABS() */ #include /* memset() */ diff --git a/kern/proc.h b/kern/proc.h index 22942d4c..25bfbae8 100755 --- a/kern/proc.h +++ b/kern/proc.h @@ -15,6 +15,9 @@ /*#* *#* $Log$ + *#* Revision 1.9 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.8 2004/11/16 22:37:14 bernie *#* Replace IPTR with iptr_t. *#* @@ -35,9 +38,9 @@ #ifndef KERN_PROC_H #define KERN_PROC_H -#include "compiler.h" -#include "cpu.h" -#include "config_kern.h" +#include +#include +#include /* Fwd decl */ struct Process; diff --git a/kern/proc_p.h b/kern/proc_p.h index 746cb050..a9553d81 100755 --- a/kern/proc_p.h +++ b/kern/proc_p.h @@ -15,6 +15,9 @@ /*#* *#* $Log$ + *#* Revision 1.13 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.12 2004/12/08 08:57:35 bernie *#* Rename sigset_t to sigmask_t. *#* @@ -68,10 +71,10 @@ #ifndef KERN_PROC_P_H #define KERN_PROC_P_H -#include "compiler.h" -#include "cpu.h" /* for cpu_stack_t */ -#include "config.h" -#include "config_kern.h" +#include +#include /* for cpu_stack_t */ +#include +#include #include typedef struct Process diff --git a/kern/sem.c b/kern/sem.c index eab3e5db..65c07bd1 100755 --- a/kern/sem.c +++ b/kern/sem.c @@ -15,6 +15,9 @@ /*#* *#* $Log$ + *#* Revision 1.9 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.8 2005/01/22 04:20:42 bernie *#* Add integrity checks. *#* @@ -45,7 +48,7 @@ #include "proc_p.h" #include "signal.h" #include "hw.h" -#include +#include INLINE void sem_verify(struct Semaphore *s) { diff --git a/kern/sem.h b/kern/sem.h index 84a4811d..f3dead0e 100755 --- a/kern/sem.h +++ b/kern/sem.h @@ -16,6 +16,9 @@ /*#* *#* $Log$ + *#* Revision 1.5 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.4 2005/01/22 04:21:20 bernie *#* Add handy typedef for struct Semaphore. *#* @@ -33,7 +36,7 @@ #ifndef KERN_SEM_H #define KERN_SEM_H -#include "compiler.h" +#include #include /* Fwd decl */ diff --git a/kern/signal.c b/kern/signal.c index 692cd44b..e64272b0 100755 --- a/kern/signal.c +++ b/kern/signal.c @@ -66,6 +66,9 @@ /*#* *#* $Log$ + *#* Revision 1.11 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.10 2004/12/13 12:07:06 bernie *#* DISABLE_IRQSAVE/ENABLE_IRQRESTORE: Convert to IRQ_SAVE_DISABLE/IRQ_RESTORE. *#* @@ -104,7 +107,7 @@ #include "proc.h" #include "proc_p.h" #include "hw.h" -#include +#include #if CONFIG_KERN_SIGNALS diff --git a/kern/signal.h b/kern/signal.h index 5d3d261e..167c9de1 100755 --- a/kern/signal.h +++ b/kern/signal.h @@ -15,6 +15,9 @@ /*#* *#* $Log$ + *#* Revision 1.6 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.5 2004/12/08 08:57:35 bernie *#* Rename sigset_t to sigmask_t. *#* @@ -35,7 +38,7 @@ #ifndef KERN_SIGNAL_H #define KERN_SIGNAL_H -#include "compiler.h" +#include /* Fwd decl */ diff --git a/mware/byteorder.h b/mware/byteorder.h index 4730eb5b..dc5e74ee 100755 --- a/mware/byteorder.h +++ b/mware/byteorder.h @@ -15,6 +15,9 @@ /*#* *#* $Log$ + *#* Revision 1.6 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.5 2004/08/25 14:12:09 rasky *#* Aggiornato il comment block dei log RCS *#* @@ -35,8 +38,8 @@ #ifndef MWARE_BYTEORDER_H #define MWARE_BYTEORDER_H -#include -#include +#include +#include /*! * \brief Swap upper and lower bytes in a 16-bit value. diff --git a/mware/charts.h b/mware/charts.h index ca55259c..d659ccfb 100755 --- a/mware/charts.h +++ b/mware/charts.h @@ -18,6 +18,9 @@ /*#* *#* $Log$ + *#* Revision 1.6 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.5 2004/09/14 20:56:39 bernie *#* Make more generic and adapt to new gfx functions. *#* @@ -32,7 +35,7 @@ #define MWARE_CHARTS_H #include /* vcoord_t */ -#include /* CONFIG_ stuff */ +#include /* CONFIG_ stuff */ /*! * \name Width/height of the small ticks drawn over the axes diff --git a/mware/crc.h b/mware/crc.h index 5ad39c00..79f814d3 100755 --- a/mware/crc.h +++ b/mware/crc.h @@ -24,6 +24,9 @@ /*#* *#* $Log$ + *#* Revision 1.5 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.4 2004/08/25 14:12:09 rasky *#* Aggiornato il comment block dei log RCS *#* @@ -40,7 +43,7 @@ #ifndef CRC_H #define CRC_H -#include +#include #ifdef __cplusplus extern "C" { diff --git a/mware/fifobuf.h b/mware/fifobuf.h index e8eb6d94..7edfa7bd 100755 --- a/mware/fifobuf.h +++ b/mware/fifobuf.h @@ -43,6 +43,9 @@ /*#* *#* $Log$ + *#* Revision 1.20 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.19 2004/12/08 08:30:12 bernie *#* Add missing header. *#* @@ -96,8 +99,8 @@ #ifndef MWARE_FIFO_H #define MWARE_FIFO_H -#include -#include +#include +#include typedef struct FIFOBuffer { diff --git a/mware/font.h b/mware/font.h index cdc0142a..829c263f 100755 --- a/mware/font.h +++ b/mware/font.h @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.6 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.5 2005/03/01 23:26:45 bernie *#* Use new CPU-neutral program-memory API. *#* @@ -39,7 +42,7 @@ #ifndef MWARE_FONT_H #define MWARE_FONT_H -#include /* uint8_t */ +#include /* uint8_t */ #include /* PROGMEM */ /*! diff --git a/mware/formatwr.c b/mware/formatwr.c index 54d06408..1e4ae0c9 100755 --- a/mware/formatwr.c +++ b/mware/formatwr.c @@ -53,6 +53,9 @@ /*#* *#* $Log$ + *#* Revision 1.15 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.14 2005/03/01 23:26:22 bernie *#* Use shared hextab. *#* @@ -78,8 +81,8 @@ #include "formatwr.h" #include #include -#include /* CONFIG_ macros */ -#include /* ASSERT */ +#include /* CONFIG_ macros */ +#include /* ASSERT */ #ifndef CONFIG_PRINTF_N_FORMATTER /*! Disable the arcane %n formatter. */ diff --git a/mware/formatwr.h b/mware/formatwr.h index 3be5896f..001b86a6 100755 --- a/mware/formatwr.h +++ b/mware/formatwr.h @@ -12,6 +12,9 @@ /*#* *#* $Log$ + *#* Revision 1.8 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.7 2005/02/16 20:28:03 bernie *#* Add %S formatter. *#* @@ -38,8 +41,8 @@ #define MWARE_FORMATWR_H #include /* va_list */ -#include -#include /* CPU_HARVARD */ +#include +#include /* CPU_HARVARD */ /*! * \name _formatted_write() configuration diff --git a/mware/gfx.c b/mware/gfx.c index 6d164f18..8f117452 100755 --- a/mware/gfx.c +++ b/mware/gfx.c @@ -16,6 +16,9 @@ /*#* *#* $Log$ + *#* Revision 1.13 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.12 2005/03/01 23:26:45 bernie *#* Use new CPU-neutral program-memory API. *#* @@ -45,10 +48,10 @@ *#*/ #include "gfx.h" -#include "config.h" /* CONFIG_GFX_CLIPPING */ -#include -#include /* CPU_HARVARD */ -#include /* SWAP() */ +#include /* CONFIG_GFX_CLIPPING */ +#include +#include /* CPU_HARVARD */ +#include /* SWAP() */ #include diff --git a/mware/gfx.h b/mware/gfx.h index ab10712a..b0a3a2f1 100755 --- a/mware/gfx.h +++ b/mware/gfx.h @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.11 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.10 2005/03/01 23:26:45 bernie *#* Use new CPU-neutral program-memory API. *#* @@ -45,9 +48,9 @@ #ifndef MWARE_GFX_H #define MWARE_GFX_H -#include -#include -#include +#include +#include +#include /*! Common type for coordinates expressed in pixel units */ diff --git a/mware/hashtable.c b/mware/hashtable.c index 72aae36d..bfc8bc0e 100755 --- a/mware/hashtable.c +++ b/mware/hashtable.c @@ -61,6 +61,9 @@ /*#* *#* $Log$ + *#* Revision 1.5 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.4 2004/12/08 09:42:30 bernie *#* Suppress warning. *#* @@ -95,8 +98,8 @@ *#*/ #include "hashtable.h" -#include -#include +#include +#include #include diff --git a/mware/hashtable.h b/mware/hashtable.h index a55b3f7a..c6da451a 100755 --- a/mware/hashtable.h +++ b/mware/hashtable.h @@ -31,6 +31,9 @@ /*#* *#* $Log$ + *#* Revision 1.6 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.5 2004/10/03 20:43:22 bernie *#* Import changes from sc/firmware. *#* @@ -57,9 +60,9 @@ #ifndef MWARE_HASHTABLE_H #define MWARE_HASHTABLE_H -#include -#include -#include +#include +#include +#include /*! * Enable/disable support to declare special hash tables which maintain a copy of diff --git a/mware/heap.c b/mware/heap.c index f1315505..14f7c3b7 100755 --- a/mware/heap.c +++ b/mware/heap.c @@ -15,6 +15,9 @@ /*#* *#* $Log$ + *#* Revision 1.7 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.6 2004/10/26 09:02:13 bernie *#* heap_free(): Handle NULL pointers like free(), write documentation. *#* @@ -34,8 +37,8 @@ #include "heap.h" #include // memset() -#include // IS_POW2() -#include // ASSERT() +#include // IS_POW2() +#include // ASSERT() /* NOTE: struct size must be a 2's power! */ typedef struct _MemChunk diff --git a/mware/heap.h b/mware/heap.h index 2635dff1..ccc02654 100755 --- a/mware/heap.h +++ b/mware/heap.h @@ -20,6 +20,9 @@ /*#* *#* $Log$ + *#* Revision 1.4 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.3 2004/08/25 14:12:09 rasky *#* Aggiornato il comment block dei log RCS *#* @@ -40,8 +43,8 @@ #ifndef MWARE_HEAP_H #define MWARE_HEAP_H -#include -#include +#include +#include struct _MemChunk; diff --git a/mware/kfile.h b/mware/kfile.h index e2830054..7b848211 100755 --- a/mware/kfile.h +++ b/mware/kfile.h @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.4 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.3 2004/12/31 16:43:23 bernie *#* Move seek function last in VT. *#* @@ -27,7 +30,7 @@ #ifndef MWARE_KFILE_H #define MWARE_KFILE_H -#include +#include /* fwd decl */ struct _KFile; diff --git a/mware/list.h b/mware/list.h index e28abb43..5b0accde 100755 --- a/mware/list.h +++ b/mware/list.h @@ -15,6 +15,9 @@ /*#* *#* $Log$ + *#* Revision 1.13 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.12 2005/01/22 04:21:32 bernie *#* Add integrity checks. *#* @@ -56,7 +59,7 @@ #ifndef MWARE_LIST_H #define MWARE_LIST_H -#include // INLINE +#include // INLINE /*! * This structure represents a node for bidirectional lists. diff --git a/mware/pgm.h b/mware/pgm.h index 20bb416e..87b46b28 100755 --- a/mware/pgm.h +++ b/mware/pgm.h @@ -22,7 +22,7 @@ #ifndef MWARE_PGM_H #define MWARE_PGM_H -#include +#include #if CPU_AVR diff --git a/mware/pool.h b/mware/pool.h index 739be28d..b33098cc 100755 --- a/mware/pool.h +++ b/mware/pool.h @@ -13,6 +13,9 @@ /*#* *#* $Log$ + *#* Revision 1.4 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.3 2004/12/08 08:09:01 bernie *#* Add missing header. *#* @@ -20,7 +23,7 @@ #ifndef MWARE_POOL_H #define MWARE_POOL_H -#include +#include #include #define EXTERN_POOL(name) \ diff --git a/mware/sprintf.c b/mware/sprintf.c index b756fb1d..6ce8e0da 100755 --- a/mware/sprintf.c +++ b/mware/sprintf.c @@ -13,6 +13,9 @@ /*#* *#* $Log$ + *#* Revision 1.10 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.9 2005/02/18 12:48:01 bernie *#* Fix bug with NULL buffers (caught with unit test). *#* @@ -42,7 +45,7 @@ #include #include -#include "compiler.h" +#include #include diff --git a/mware/strtol10.h b/mware/strtol10.h index e41a98e8..ab44f5c7 100755 --- a/mware/strtol10.h +++ b/mware/strtol10.h @@ -13,6 +13,9 @@ /*#* *#* $Log$ + *#* Revision 1.2 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.1 2005/03/15 00:06:30 bernie *#* Simpler, smaller, faster. *#* @@ -21,7 +24,7 @@ #ifndef MWARE_STRTOL10_H #define MWARE_STRTOL10_H -#include /* bool */ +#include /* bool */ bool strtoul10(const char *first, const char *last, unsigned long *val); bool strtol10(const char *first, const char *last, long *val); diff --git a/mware/text.c b/mware/text.c index 69211911..f84fe222 100755 --- a/mware/text.c +++ b/mware/text.c @@ -15,6 +15,9 @@ /*#* *#* $Log$ + *#* Revision 1.12 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.11 2005/01/20 18:46:31 aleph *#* Fix progmem includes. *#* @@ -68,7 +71,7 @@ #include "font.h" #include "text.h" -#include +#include /*! diff --git a/mware/text.h b/mware/text.h index 1f8bd894..433a88ab 100755 --- a/mware/text.h +++ b/mware/text.h @@ -15,6 +15,9 @@ /*#* *#* $Log$ + *#* Revision 1.11 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* *#* Revision 1.10 2005/03/01 23:26:46 bernie *#* Use new CPU-neutral program-memory API. *#* @@ -47,9 +50,9 @@ #ifndef MWARE_TEXT_H #define MWARE_TEXT_H -#include -#include /* BV() */ -#include /* CPU_HARVARD */ +#include +#include /* BV() */ +#include /* CPU_HARVARD */ #include diff --git a/verstag.h b/verstag.h index 8c01a5b3..20423fba 100755 --- a/verstag.h +++ b/verstag.h @@ -16,7 +16,7 @@ #define DEVLIB_VERSTAG_H #ifndef ARCH_CONFIG_H - #include "arch_config.h" + #include #endif #define APP_NAME "Appname" -- 2.25.1