* \brief Set system configuration
*/
-/*
- * $Log$
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 17:48:35 bernie
- * Add top-level files.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.3 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 17:48:35 bernie
+ *#* Add top-level files.
+ *#*
+ *#*/
#ifndef ARCH_CONFIG_H
#define ARCH_CONFIG_H
* \brief Additional support macros for compiler independance
*/
-/*
- * $Log$
- * Revision 1.18 2004/08/24 16:32:37 bernie
- * Document custom types.
- *
- * Revision 1.17 2004/08/24 13:32:14 bernie
- * PP_CAT(), PP_STRINGIZE(): Move back to compiler.h to break circular dependency between cpu.h/compiler.h/macros.h;
- * offsetof(), countof(): Move back to compiler.h to avoid including macros.h almost everywhere;
- * Trim CVS log;
- * Rename header guards;
- * Don't include arch_config.h in compiler.h as it's not needed there.
- *
- * Revision 1.16 2004/08/14 19:37:57 rasky
- * Merge da SC: macros.h, pool.h, BIT_CHANGE, nome dei processi, etc.
- *
- * Revision 1.15 2004/08/13 03:23:26 bernie
- * Adjust a few MSVC tweaks from older projects.
- *
- * Revision 1.14 2004/08/10 06:56:29 bernie
- * RESTRICT: New C99-like macro; STATIC_ASSERT: Fix warning for multiple invocation in one file.
- *
- * Revision 1.13 2004/08/02 20:20:29 aleph
- * Merge from project_ks
- *
- * Revision 1.12 2004/08/01 01:21:17 bernie
- * LIKELY(), UNLIKELY(): New compiler-specific macros.
- *
- * Revision 1.11 2004/07/30 14:34:10 rasky
- * Vari fix per documentazione e commenti
- * Aggiunte PP_CATn e STATIC_ASSERT
- *
- * Revision 1.10 2004/07/30 14:15:53 rasky
- * Nuovo supporto unificato per detect della CPU
- *
- * Revision 1.9 2004/07/29 22:57:09 bernie
- * vsprintf(): Remove prototype for backwards compatibility with GCC 3.4; ssize_t: Add definition for inferior compilers.
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.19 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.18 2004/08/24 16:32:37 bernie
+ *#* Document custom types.
+ *#*
+ *#* Revision 1.17 2004/08/24 13:32:14 bernie
+ *#* PP_CAT(), PP_STRINGIZE(): Move back to compiler.h to break circular dependency between cpu.h/compiler.h/macros.h;
+ *#* offsetof(), countof(): Move back to compiler.h to avoid including macros.h almost everywhere;
+ *#* Trim CVS log;
+ *#* Rename header guards;
+ *#* Don't include arch_config.h in compiler.h as it's not needed there.
+ *#*
+ *#* Revision 1.16 2004/08/14 19:37:57 rasky
+ *#* Merge da SC: macros.h, pool.h, BIT_CHANGE, nome dei processi, etc.
+ *#*
+ *#* Revision 1.15 2004/08/13 03:23:26 bernie
+ *#* Adjust a few MSVC tweaks from older projects.
+ *#*
+ *#* Revision 1.14 2004/08/10 06:56:29 bernie
+ *#* RESTRICT: New C99-like macro; STATIC_ASSERT: Fix warning for multiple invocation in one file.
+ *#*
+ *#* Revision 1.13 2004/08/02 20:20:29 aleph
+ *#* Merge from project_ks
+ *#*
+ *#* Revision 1.12 2004/08/01 01:21:17 bernie
+ *#* LIKELY(), UNLIKELY(): New compiler-specific macros.
+ *#*
+ *#* Revision 1.11 2004/07/30 14:34:10 rasky
+ *#* Vari fix per documentazione e commenti
+ *#* Aggiunte PP_CATn e STATIC_ASSERT
+ *#*
+ *#* Revision 1.10 2004/07/30 14:15:53 rasky
+ *#* Nuovo supporto unificato per detect della CPU
+ *#*
+ *#* Revision 1.9 2004/07/29 22:57:09 bernie
+ *#* vsprintf(): Remove prototype for backwards compatibility with GCC 3.4; ssize_t: Add definition for inferior compilers.
+ *#*/
#ifndef DEVLIB_COMPILER_H
#define DEVLIB_COMPILER_H
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.4 2004/08/24 16:19:38 bernie
- * Add missing header.
- *
- * Revision 1.3 2004/07/30 14:24:16 rasky
- * Task switching con salvataggio perfetto stato di interrupt (SR)
- * Kernel monitor per dump informazioni su stack dei processi
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 17:48:35 bernie
- * Add top-level files.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.5 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.4 2004/08/24 16:19:38 bernie
+ *#* Add missing header.
+ *#*
+ *#* Revision 1.3 2004/07/30 14:24:16 rasky
+ *#* Task switching con salvataggio perfetto stato di interrupt (SR)
+ *#* Kernel monitor per dump informazioni su stack dei processi
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 17:48:35 bernie
+ *#* Add top-level files.
+ *#*
+ *#*/
#ifndef CONFIG_KERN_H
#define CONFIG_KERN_H
* \author Stefano Fedrigo <aleph@develer.com>
*/
-/*
- * $Log$
- * Revision 1.3 2004/08/24 14:30:11 bernie
- * Use new-style config macros for drv/timer.c
- *
- * Revision 1.2 2004/08/05 18:46:52 bernie
- * Documentation improvements.
- *
- * Revision 1.1 2004/07/29 23:34:32 bernie
- * Add template configuration file.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.4 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.3 2004/08/24 14:30:11 bernie
+ *#* Use new-style config macros for drv/timer.c
+ *#*
+ *#* Revision 1.2 2004/08/05 18:46:52 bernie
+ *#* Documentation improvements.
+ *#*
+ *#* Revision 1.1 2004/07/29 23:34:32 bernie
+ *#* Add template configuration file.
+ *#*
+ *#*/
#ifndef CONFIG_COMMON_H
#define CONFIG_COMMON_H
* \author Stefano Fedrigo <aleph@develer.com>
*/
-/*
- * $Log$
- * Revision 1.14 2004/08/24 13:29:28 bernie
- * Trim CVS log; Rename header guards.
- *
- * Revision 1.12 2004/08/14 19:37:57 rasky
- * Merge da SC: macros.h, pool.h, BIT_CHANGE, nome dei processi, etc.
- *
- * Revision 1.11 2004/08/05 17:39:56 bernie
- * Fix a Doxygen tag.
- *
- * Revision 1.10 2004/08/02 20:20:29 aleph
- * Merge from project_ks
- *
- * Revision 1.9 2004/07/30 14:24:16 rasky
- * Task switching con salvataggio perfetto stato di interrupt (SR)
- * Kernel monitor per dump informazioni su stack dei processi
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.15 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.14 2004/08/24 13:29:28 bernie
+ *#* Trim CVS log; Rename header guards.
+ *#*
+ *#* Revision 1.12 2004/08/14 19:37:57 rasky
+ *#* Merge da SC: macros.h, pool.h, BIT_CHANGE, nome dei processi, etc.
+ *#*
+ *#* Revision 1.11 2004/08/05 17:39:56 bernie
+ *#* Fix a Doxygen tag.
+ *#*
+ *#* Revision 1.10 2004/08/02 20:20:29 aleph
+ *#* Merge from project_ks
+ *#*
+ *#* Revision 1.9 2004/07/30 14:24:16 rasky
+ *#* Task switching con salvataggio perfetto stato di interrupt (SR)
+ *#* Kernel monitor per dump informazioni su stack dei processi
+ *#*/
#ifndef DEVLIB_CPU_H
#define DEVLIB_CPU_H
*
*/
-/*
- * $Log$
- * Revision 1.1 2004/07/30 17:14:49 rasky
- * File sfuggito al commit precedente (nuova gestione unificata del detect della CPU
- *
- * Revision 1.2 2004/07/30 10:31:07 rasky
- * Aggiunto detect per ATmega128
- *
- * Revision 1.1 2004/07/22 16:37:34 rasky
- * Nuovo file cpu_detect.h per il detect della CPU
- * Nuova macro CPU_HEADER per includere l'header cpu-specific di ogni modulo
- * Razionalizzazione dei principali #ifdef per piattaforma con le nuove macro
- * Nuove macro-utility PP_STRINGIZE e PP_CATn
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.2 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.1 2004/07/30 17:14:49 rasky
+ *#* File sfuggito al commit precedente (nuova gestione unificata del detect della CPU
+ *#*
+ *#* Revision 1.2 2004/07/30 10:31:07 rasky
+ *#* Aggiunto detect per ATmega128
+ *#*
+ *#* Revision 1.1 2004/07/22 16:37:34 rasky
+ *#* Nuovo file cpu_detect.h per il detect della CPU
+ *#* Nuova macro CPU_HEADER per includere l'header cpu-specific di ogni modulo
+ *#* Razionalizzazione dei principali #ifdef per piattaforma con le nuove macro
+ *#* Nuove macro-utility PP_STRINGIZE e PP_CATn
+ *#*
+ *#*/
#ifndef CPU_DETECT_H
#define CPU_DETECT_H
* \brief Buzzer driver
*/
-/*
- * $Log$
- * Revision 1.7 2004/08/24 16:53:43 bernie
- * Add missing headers.
- *
- * Revision 1.6 2004/06/07 18:10:06 aleph
- * Remove free pool of timers; use user-provided Timer structure instead
- *
- * Revision 1.5 2004/06/07 15:54:23 aleph
- * Update to new event.h naming
- *
- * Revision 1.4 2004/06/06 16:09:22 bernie
- * Reformat (from project_ks).
- *
- * Revision 1.3 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.2 2004/05/23 18:21:53 bernie
- * Trim CVS logs and cleanup header info.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.8 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.7 2004/08/24 16:53:43 bernie
+ *#* Add missing headers.
+ *#*
+ *#* Revision 1.6 2004/06/07 18:10:06 aleph
+ *#* Remove free pool of timers; use user-provided Timer structure instead
+ *#*
+ *#* Revision 1.5 2004/06/07 15:54:23 aleph
+ *#* Update to new event.h naming
+ *#*
+ *#* Revision 1.4 2004/06/06 16:09:22 bernie
+ *#* Reformat (from project_ks).
+ *#*
+ *#* Revision 1.3 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.2 2004/05/23 18:21:53 bernie
+ *#* Trim CVS logs and cleanup header info.
+ *#*
+ *#*/
#include "buzzer.h"
* \brief Buzzer driver
*/
-/*
- * $Log$
- * Revision 1.4 2004/08/24 16:53:43 bernie
- * Add missing headers.
- *
- * Revision 1.3 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.2 2004/05/23 18:21:53 bernie
- * Trim CVS logs and cleanup header info.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.5 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.4 2004/08/24 16:53:43 bernie
+ *#* Add missing headers.
+ *#*
+ *#* Revision 1.3 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.2 2004/05/23 18:21:53 bernie
+ *#* Trim CVS logs and cleanup header info.
+ *#*
+ *#*/
#ifndef DRV_BUZZER_H
#define DRV_BUZZER_H
* \author Giovanni Bajo <rasky@develer.com>
*/
-/*
- * $Log$
- * Revision 1.3 2004/07/14 14:04:29 rasky
- * Merge da SC: spostata bld_set inline perché si ottimizza parecchio tramite propagazione di costanti
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 18:36:05 bernie
- * Import buzzerled driver.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.4 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.3 2004/07/14 14:04:29 rasky
+ *#* Merge da SC: spostata bld_set inline perché si ottimizza parecchio tramite propagazione di costanti
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 18:36:05 bernie
+ *#* Import buzzerled driver.
+ *#*
+ *#*/
#include "buzzerled.h"
#include "timer.h"
* \author Giovanni Bajo <rasky@develer.com>
*/
-/*
- * $Log$
- * Revision 1.4 2004/07/30 14:15:53 rasky
- * Nuovo supporto unificato per detect della CPU
- *
- * Revision 1.3 2004/07/14 14:04:29 rasky
- * Merge da SC: spostata bld_set inline perché si ottimizza parecchio tramite propagazione di costanti
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 18:36:05 bernie
- * Import buzzerled driver.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.5 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.4 2004/07/30 14:15:53 rasky
+ *#* Nuovo supporto unificato per detect della CPU
+ *#*
+ *#* Revision 1.3 2004/07/14 14:04:29 rasky
+ *#* Merge da SC: spostata bld_set inline perché si ottimizza parecchio tramite propagazione di costanti
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 18:36:05 bernie
+ *#* Import buzzerled driver.
+ *#*
+ *#*/
#ifndef DRV_BUZZERLED_H
#define DRV_BUZZERLED_H
* \author Giovanni Bajo <rasky@develer.com>
*/
-/*
- * $Log$
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 18:36:05 bernie
- * Import buzzerled driver.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.3 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 18:36:05 bernie
+ *#* Import buzzerled driver.
+ *#*
+ *#*/
#include <compiler.h>
#include <hw.h>
* \note This implementation is AVR specific.
*/
-/*
- * $Log$
- * Revision 1.7 2004/08/24 16:48:40 bernie
- * Note reason for including <macros.h>
- *
- * Revision 1.6 2004/08/24 14:27:20 bernie
- * Doxygen fix.
- *
- * Revision 1.5 2004/08/24 13:46:48 bernie
- * Include <macros.h>.
- *
- * Revision 1.4 2004/08/10 06:57:22 bernie
- * eeprom_erase(): New function.
- *
- * Revision 1.3 2004/07/29 22:57:09 bernie
- * Add 24LC16 support.
- *
- * Revision 1.2 2004/07/22 01:24:43 bernie
- * Document AVR dependency.
- *
- * Revision 1.1 2004/07/20 17:11:18 bernie
- * Import into DevLib.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.8 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.7 2004/08/24 16:48:40 bernie
+ *#* Note reason for including <macros.h>
+ *#*
+ *#* Revision 1.6 2004/08/24 14:27:20 bernie
+ *#* Doxygen fix.
+ *#*
+ *#* Revision 1.5 2004/08/24 13:46:48 bernie
+ *#* Include <macros.h>.
+ *#*
+ *#* Revision 1.4 2004/08/10 06:57:22 bernie
+ *#* eeprom_erase(): New function.
+ *#*
+ *#* Revision 1.3 2004/07/29 22:57:09 bernie
+ *#* Add 24LC16 support.
+ *#*
+ *#* Revision 1.2 2004/07/22 01:24:43 bernie
+ *#* Document AVR dependency.
+ *#*
+ *#* Revision 1.1 2004/07/20 17:11:18 bernie
+ *#* Import into DevLib.
+ *#*
+ *#*/
#include "eeprom.h"
* \brief Driver for the 24xx16 and 24xx256 I2C EEPROMS (interface)
*/
-/*
- * $Log$
- * Revision 1.3 2004/08/10 06:57:22 bernie
- * eeprom_erase(): New function.
- *
- * Revision 1.2 2004/07/29 22:57:09 bernie
- * Add 24LC16 support.
- *
- * Revision 1.1 2004/07/20 17:11:18 bernie
- * Import into DevLib.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.4 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.3 2004/08/10 06:57:22 bernie
+ *#* eeprom_erase(): New function.
+ *#*
+ *#* Revision 1.2 2004/07/29 22:57:09 bernie
+ *#* Add 24LC16 support.
+ *#*
+ *#* Revision 1.1 2004/07/20 17:11:18 bernie
+ *#* Import into DevLib.
+ *#*
+ *#*/
#ifndef DRV_EEPROM_H
#define DRV_EEPROM_H
* \author Stefano Fedrigo <aleph@develer.com>
*/
-/*
- * $Log$
- * Revision 1.11 2004/08/24 16:19:08 bernie
- * kputchar(): New public function; Add missing dummy inlines for \!_DEBUG.
- *
- * Revision 1.10 2004/08/04 15:57:50 rasky
- * Cambiata la putchar per kdebug per DSP56k: la nuova funzione e' quella piu' a basso livello (assembly)
- *
- * Revision 1.9 2004/08/02 20:20:29 aleph
- * Merge from project_ks
- *
- * Revision 1.8 2004/07/30 14:26:33 rasky
- * Semplificato l'output dell'ASSERT
- * Aggiunta ASSERT2 con stringa di help opzionalmente disattivabile
- *
- * Revision 1.7 2004/07/30 14:15:53 rasky
- * Nuovo supporto unificato per detect della CPU
- *
- * Revision 1.6 2004/07/18 21:49:28 bernie
- * Add ATmega8 support.
- *
- * Revision 1.5 2004/06/27 15:20:26 aleph
- * Change UNUSED() macro to accept two arguments: type and name;
- * Add macro GNUC_PREREQ to detect GCC version during build;
- * Some spacing cleanups and typo fix
- *
- * Revision 1.4 2004/06/06 18:09:51 bernie
- * Import DSP56800 changes; Print broken wall bricks in hex.
- *
- * Revision 1.3 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.2 2004/05/23 18:21:53 bernie
- * Trim CVS logs and cleanup header info.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.12 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.11 2004/08/24 16:19:08 bernie
+ *#* kputchar(): New public function; Add missing dummy inlines for \!_DEBUG.
+ *#*
+ *#* Revision 1.10 2004/08/04 15:57:50 rasky
+ *#* Cambiata la putchar per kdebug per DSP56k: la nuova funzione e' quella piu' a basso livello (assembly)
+ *#*
+ *#* Revision 1.9 2004/08/02 20:20:29 aleph
+ *#* Merge from project_ks
+ *#*
+ *#* Revision 1.8 2004/07/30 14:26:33 rasky
+ *#* Semplificato l'output dell'ASSERT
+ *#* Aggiunta ASSERT2 con stringa di help opzionalmente disattivabile
+ *#*
+ *#* Revision 1.7 2004/07/30 14:15:53 rasky
+ *#* Nuovo supporto unificato per detect della CPU
+ *#*
+ *#* Revision 1.6 2004/07/18 21:49:28 bernie
+ *#* Add ATmega8 support.
+ *#*
+ *#* Revision 1.5 2004/06/27 15:20:26 aleph
+ *#* Change UNUSED() macro to accept two arguments: type and name;
+ *#* Add macro GNUC_PREREQ to detect GCC version during build;
+ *#* Some spacing cleanups and typo fix
+ *#*
+ *#* Revision 1.4 2004/06/06 18:09:51 bernie
+ *#* Import DSP56800 changes; Print broken wall bricks in hex.
+ *#*
+ *#* Revision 1.3 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.2 2004/05/23 18:21:53 bernie
+ *#* Trim CVS logs and cleanup header info.
+ *#*
+ *#*/
#include "kdebug.h"
#include "hw.h"
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.5 2004/08/24 16:19:08 bernie
- * kputchar(): New public function; Add missing dummy inlines for \!_DEBUG.
- *
- * Revision 1.4 2004/07/30 14:26:33 rasky
- * Semplificato l'output dell'ASSERT
- * Aggiunta ASSERT2 con stringa di help opzionalmente disattivabile
- *
- * Revision 1.3 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.2 2004/05/23 18:21:53 bernie
- * Trim CVS logs and cleanup header info.
- *
- * Revision 1.1 2004/05/23 18:10:11 bernie
- * Import drv/ modules.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.6 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.5 2004/08/24 16:19:08 bernie
+ *#* kputchar(): New public function; Add missing dummy inlines for \!_DEBUG.
+ *#*
+ *#* Revision 1.4 2004/07/30 14:26:33 rasky
+ *#* Semplificato l'output dell'ASSERT
+ *#* Aggiunta ASSERT2 con stringa di help opzionalmente disattivabile
+ *#*
+ *#* Revision 1.3 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.2 2004/05/23 18:21:53 bernie
+ *#* Trim CVS logs and cleanup header info.
+ *#*
+ *#* Revision 1.1 2004/05/23 18:10:11 bernie
+ *#* Import drv/ modules.
+ *#*
+ *#*/
#ifndef KDEBUG_H
#define KDEBUG_H
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.14 2004/08/24 16:22:57 bernie
- * Thinkos; Doxygen fixes
- *
- * Revision 1.13 2004/08/24 16:20:48 bernie
- * ser_read(): Make buffer argument void * for consistency with ANSI C and ser_write()
- *
- * Revision 1.12 2004/08/24 13:49:39 bernie
- * Fix thinko.
- *
- * Revision 1.11 2004/08/15 05:32:22 bernie
- * ser_resync(): New function.
- *
- * Revision 1.10 2004/08/10 06:29:50 bernie
- * Rename timer_gettick() to timer_ticks().
- *
- * Revision 1.9 2004/08/08 06:06:20 bernie
- * Use new-style CONFIG_ idiom; Fix module-wide documentation.
- *
- * Revision 1.8 2004/07/29 22:57:09 bernie
- * ser_drain(): New function; Make Serial::is_open a debug-only feature; Switch to new-style CONFIG_* macros.
- *
- * Revision 1.7 2004/07/18 21:49:03 bernie
- * Make CONFIG_SER_DEFBAUDRATE optional.
- *
- * Revision 1.6 2004/06/07 15:56:28 aleph
- * Remove cast-as-lvalue extension abuse
- *
- * Revision 1.5 2004/06/06 16:41:44 bernie
- * ser_putchar(): Use fifo_push_locked() to fix potential race on 8bit processors.
- *
- * Revision 1.4 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.3 2004/06/02 21:35:24 aleph
- * Serial enhancements: interruptible receive handler and 8 bit serial status for AVR; remove volatile attribute to FIFOBuffer, useless for new fifobuf routens
- *
- * Revision 1.2 2004/05/23 18:21:53 bernie
- * Trim CVS logs and cleanup header info.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.15 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.14 2004/08/24 16:22:57 bernie
+ *#* Thinkos; Doxygen fixes
+ *#*
+ *#* Revision 1.13 2004/08/24 16:20:48 bernie
+ *#* ser_read(): Make buffer argument void *#* for consistency with ANSI C and ser_write()
+ *#*
+ *#* Revision 1.12 2004/08/24 13:49:39 bernie
+ *#* Fix thinko.
+ *#*
+ *#* Revision 1.11 2004/08/15 05:32:22 bernie
+ *#* ser_resync(): New function.
+ *#*
+ *#* Revision 1.10 2004/08/10 06:29:50 bernie
+ *#* Rename timer_gettick() to timer_ticks().
+ *#*
+ *#* Revision 1.9 2004/08/08 06:06:20 bernie
+ *#* Use new-style CONFIG_ idiom; Fix module-wide documentation.
+ *#*
+ *#* Revision 1.8 2004/07/29 22:57:09 bernie
+ *#* ser_drain(): New function; Make Serial::is_open a debug-only feature; Switch to new-style CONFIG_* macros.
+ *#*
+ *#* Revision 1.7 2004/07/18 21:49:03 bernie
+ *#* Make CONFIG_SER_DEFBAUDRATE optional.
+ *#*
+ *#* Revision 1.6 2004/06/07 15:56:28 aleph
+ *#* Remove cast-as-lvalue extension abuse
+ *#*
+ *#* Revision 1.5 2004/06/06 16:41:44 bernie
+ *#* ser_putchar(): Use fifo_push_locked() to fix potential race on 8bit processors.
+ *#*
+ *#* Revision 1.4 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.3 2004/06/02 21:35:24 aleph
+ *#* Serial enhancements: interruptible receive handler and 8 bit serial status for AVR; remove volatile attribute to FIFOBuffer, useless for new fifobuf routens
+ *#*
+ *#* Revision 1.2 2004/05/23 18:21:53 bernie
+ *#* Trim CVS logs and cleanup header info.
+ *#*
+ *#*/
#include <mware/formatwr.h>
#include <drv/kdebug.h>
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.10 2004/08/24 16:20:48 bernie
- * ser_read(): Make buffer argument void * for consistency with ANSI C and ser_write()
- *
- * Revision 1.9 2004/08/15 05:32:22 bernie
- * ser_resync(): New function.
- *
- * Revision 1.8 2004/08/02 20:20:29 aleph
- * Merge from project_ks
- *
- * Revision 1.7 2004/07/30 14:15:53 rasky
- * Nuovo supporto unificato per detect della CPU
- *
- * Revision 1.6 2004/07/29 22:57:09 bernie
- * ser_drain(): New function; Make Serial::is_open a debug-only feature; Switch to new-style CONFIG_* macros.
- *
- * Revision 1.5 2004/07/18 21:54:23 bernie
- * Add ATmega8 support.
- *
- * Revision 1.4 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.3 2004/06/02 21:35:24 aleph
- * Serial enhancements: interruptible receive handler and 8 bit serial status for AVR; remove volatile attribute to FIFOBuffer, useless for new fifobuf routens
- *
- * Revision 1.2 2004/05/23 18:21:53 bernie
- * Trim CVS logs and cleanup header info.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.11 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.10 2004/08/24 16:20:48 bernie
+ *#* ser_read(): Make buffer argument void *#* for consistency with ANSI C and ser_write()
+ *#*
+ *#* Revision 1.9 2004/08/15 05:32:22 bernie
+ *#* ser_resync(): New function.
+ *#*
+ *#* Revision 1.8 2004/08/02 20:20:29 aleph
+ *#* Merge from project_ks
+ *#*
+ *#* Revision 1.7 2004/07/30 14:15:53 rasky
+ *#* Nuovo supporto unificato per detect della CPU
+ *#*
+ *#* Revision 1.6 2004/07/29 22:57:09 bernie
+ *#* ser_drain(): New function; Make Serial::is_open a debug-only feature; Switch to new-style CONFIG_* macros.
+ *#*
+ *#* Revision 1.5 2004/07/18 21:54:23 bernie
+ *#* Add ATmega8 support.
+ *#*
+ *#* Revision 1.4 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.3 2004/06/02 21:35:24 aleph
+ *#* Serial enhancements: interruptible receive handler and 8 bit serial status for AVR; remove volatile attribute to FIFOBuffer, useless for new fifobuf routens
+ *#*
+ *#* Revision 1.2 2004/05/23 18:21:53 bernie
+ *#* Trim CVS logs and cleanup header info.
+ *#*
+ *#*/
#ifndef DRV_SER_H
#define DRV_SER_H
* \author Stefano Fedrigo <aleph@develer.com>
*/
-/*
- * $Log$
- * Revision 1.10 2004/08/10 06:30:41 bernie
- * Major redesign of serial bus policy handling.
- *
- * Revision 1.9 2004/08/02 20:20:29 aleph
- * Merge from project_ks
- *
- * Revision 1.8 2004/07/29 22:57:09 bernie
- * Several tweaks to reduce code size on ATmega8.
- *
- * Revision 1.7 2004/07/18 21:54:23 bernie
- * Add ATmega8 support.
- *
- * Revision 1.5 2004/06/27 15:25:40 aleph
- * Add missing callbacks for SPI;
- * Change UNUSED() macro to new version with two args;
- * Use TX line filling only on the correct KBUS serial port;
- * Fix nasty IRQ disabling bug in recv complete hander for port 1.
- *
- * Revision 1.4 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.3 2004/06/02 21:35:24 aleph
- * Serial enhancements: interruptible receive handler and 8 bit serial status for AVR; remove volatile attribute to FIFOBuffer, useless for new fifobuf routens
- *
- * Revision 1.2 2004/05/23 18:21:53 bernie
- * Trim CVS logs and cleanup header info.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.11 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.10 2004/08/10 06:30:41 bernie
+ *#* Major redesign of serial bus policy handling.
+ *#*
+ *#* Revision 1.9 2004/08/02 20:20:29 aleph
+ *#* Merge from project_ks
+ *#*
+ *#* Revision 1.8 2004/07/29 22:57:09 bernie
+ *#* Several tweaks to reduce code size on ATmega8.
+ *#*
+ *#* Revision 1.7 2004/07/18 21:54:23 bernie
+ *#* Add ATmega8 support.
+ *#*
+ *#* Revision 1.5 2004/06/27 15:25:40 aleph
+ *#* Add missing callbacks for SPI;
+ *#* Change UNUSED() macro to new version with two args;
+ *#* Use TX line filling only on the correct KBUS serial port;
+ *#* Fix nasty IRQ disabling bug in recv complete hander for port 1.
+ *#*
+ *#* Revision 1.4 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.3 2004/06/02 21:35:24 aleph
+ *#* Serial enhancements: interruptible receive handler and 8 bit serial status for AVR; remove volatile attribute to FIFOBuffer, useless for new fifobuf routens
+ *#*
+ *#* Revision 1.2 2004/05/23 18:21:53 bernie
+ *#* Trim CVS logs and cleanup header info.
+ *#*
+ *#*/
#include "ser.h"
#include "ser_p.h"
* \brief DSP5680x CPU specific serial I/O driver
*/
-/*
- * $Log$
- * Revision 1.4 2004/07/30 14:27:49 rasky
- * Aggiornati alcuni file DSP56k per la nuova libreria di IRQ management
- *
- * Revision 1.3 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.2 2004/05/23 18:21:53 bernie
- * Trim CVS logs and cleanup header info.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.5 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.4 2004/07/30 14:27:49 rasky
+ *#* Aggiornati alcuni file DSP56k per la nuova libreria di IRQ management
+ *#*
+ *#* Revision 1.3 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.2 2004/05/23 18:21:53 bernie
+ *#* Trim CVS logs and cleanup header info.
+ *#*
+ *#*/
#include "ser.h"
#include "ser_p.h"
* \brief CPU specific serial I/O driver
*/
-/*
- * $Log$
- * Revision 1.3 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.2 2004/05/23 18:21:53 bernie
- * Trim CVS logs and cleanup header info.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.4 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.3 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.2 2004/05/23 18:21:53 bernie
+ *#* Trim CVS logs and cleanup header info.
+ *#*
+ *#*/
#include "hw.h"
#include "serhw.h"
* \author Giovanni Bajo <rasky@develer.com>
*/
-/*
- * $Log$
- * Revision 1.3 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.2 2004/05/23 18:21:53 bernie
- * Trim CVS logs and cleanup header info.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.4 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.3 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.2 2004/05/23 18:21:53 bernie
+ *#* Trim CVS logs and cleanup header info.
+ *#*
+ *#*/
#ifndef DRV_SER_P_H
#define DRV_SER_P_H
* \brief Hardware independent timer driver (implementation)
*/
-/*
- * $Log$
- * Revision 1.13 2004/08/10 06:59:09 bernie
- * timer_gettick(): Rename to timer_ticks() and add backwards compatibility inline.
- *
- * Revision 1.12 2004/08/08 05:59:37 bernie
- * Remove a few useless casts.
- *
- * Revision 1.11 2004/08/02 20:20:29 aleph
- * Merge from project_ks
- *
- * Revision 1.10 2004/07/30 14:15:53 rasky
- * Nuovo supporto unificato per detect della CPU
- *
- * Revision 1.9 2004/07/21 00:15:13 bernie
- * Put timer driver on diet.
- *
- * Revision 1.8 2004/07/18 21:57:07 bernie
- * Fix preprocessor warning with potentially undefined symbol.
- *
- * Revision 1.6 2004/06/07 18:10:06 aleph
- * Remove free pool of timers; use user-provided Timer structure instead
- *
- * Revision 1.5 2004/06/07 15:56:55 aleph
- * Some tabs cleanup and add timer strobe macros
- *
- * Revision 1.4 2004/06/06 18:25:44 bernie
- * Rename event macros to look like regular functions.
- *
- * Revision 1.3 2004/06/06 17:18:42 bernie
- * Fix \!CONFIG_KERN_SIGNALS code paths.
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 18:23:30 bernie
- * Import drv/timer module.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.14 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.13 2004/08/10 06:59:09 bernie
+ *#* timer_gettick(): Rename to timer_ticks() and add backwards compatibility inline.
+ *#*
+ *#* Revision 1.12 2004/08/08 05:59:37 bernie
+ *#* Remove a few useless casts.
+ *#*
+ *#* Revision 1.11 2004/08/02 20:20:29 aleph
+ *#* Merge from project_ks
+ *#*
+ *#* Revision 1.10 2004/07/30 14:15:53 rasky
+ *#* Nuovo supporto unificato per detect della CPU
+ *#*
+ *#* Revision 1.9 2004/07/21 00:15:13 bernie
+ *#* Put timer driver on diet.
+ *#*
+ *#* Revision 1.8 2004/07/18 21:57:07 bernie
+ *#* Fix preprocessor warning with potentially undefined symbol.
+ *#*
+ *#* Revision 1.6 2004/06/07 18:10:06 aleph
+ *#* Remove free pool of timers; use user-provided Timer structure instead
+ *#*
+ *#* Revision 1.5 2004/06/07 15:56:55 aleph
+ *#* Some tabs cleanup and add timer strobe macros
+ *#*
+ *#* Revision 1.4 2004/06/06 18:25:44 bernie
+ *#* Rename event macros to look like regular functions.
+ *#*
+ *#* Revision 1.3 2004/06/06 17:18:42 bernie
+ *#* Fix \!CONFIG_KERN_SIGNALS code paths.
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 18:23:30 bernie
+ *#* Import drv/timer module.
+ *#*
+ *#*/
#include "hw.h"
#include "kdebug.h"
* \brief Hardware independent timer driver (interface)
*/
-/*
- * $Log$
- * Revision 1.15 2004/08/10 06:59:09 bernie
- * timer_gettick(): Rename to timer_ticks() and add backwards compatibility inline.
- *
- * Revision 1.12 2004/07/30 14:34:10 rasky
- * Vari fix per documentazione e commenti
- * Aggiunte PP_CATn e STATIC_ASSERT
- *
- * Revision 1.11 2004/07/29 22:40:12 bernie
- * Spelling fix.
- *
- * Revision 1.10 2004/07/21 00:13:57 bernie
- * Put timer driver on diet.
- *
- * Revision 1.9 2004/07/20 23:45:01 bernie
- * Finally remove redundant protos.
- *
- * Revision 1.8 2004/07/18 21:57:32 bernie
- * timer_gettick(): Rename to timer_tick() and document better.
- *
- * Revision 1.7 2004/06/27 15:26:17 aleph
- * Declaration fix for build with GCC 3.4
- *
- * Revision 1.6 2004/06/07 18:10:06 aleph
- * Remove free pool of timers; use user-provided Timer structure instead
- *
- * Revision 1.5 2004/06/07 15:57:12 aleph
- * Add function prototypes
- *
- * Revision 1.4 2004/06/06 18:25:44 bernie
- * Rename event macros to look like regular functions.
- *
- * Revision 1.3 2004/06/06 16:57:18 bernie
- * Mark some functions INLINE instead of 'extern inline'.
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 18:23:30 bernie
- * Import drv/timer module.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.16 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.15 2004/08/10 06:59:09 bernie
+ *#* timer_gettick(): Rename to timer_ticks() and add backwards compatibility inline.
+ *#*
+ *#* Revision 1.12 2004/07/30 14:34:10 rasky
+ *#* Vari fix per documentazione e commenti
+ *#* Aggiunte PP_CATn e STATIC_ASSERT
+ *#*
+ *#* Revision 1.11 2004/07/29 22:40:12 bernie
+ *#* Spelling fix.
+ *#*
+ *#* Revision 1.10 2004/07/21 00:13:57 bernie
+ *#* Put timer driver on diet.
+ *#*
+ *#* Revision 1.9 2004/07/20 23:45:01 bernie
+ *#* Finally remove redundant protos.
+ *#*
+ *#* Revision 1.8 2004/07/18 21:57:32 bernie
+ *#* timer_gettick(): Rename to timer_tick() and document better.
+ *#*
+ *#* Revision 1.7 2004/06/27 15:26:17 aleph
+ *#* Declaration fix for build with GCC 3.4
+ *#*
+ *#* Revision 1.6 2004/06/07 18:10:06 aleph
+ *#* Remove free pool of timers; use user-provided Timer structure instead
+ *#*
+ *#* Revision 1.5 2004/06/07 15:57:12 aleph
+ *#* Add function prototypes
+ *#*
+ *#* Revision 1.4 2004/06/06 18:25:44 bernie
+ *#* Rename event macros to look like regular functions.
+ *#*
+ *#* Revision 1.3 2004/06/06 16:57:18 bernie
+ *#* Mark some functions INLINE instead of 'extern inline'.
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 18:23:30 bernie
+ *#* Import drv/timer module.
+ *#*
+ *#*/
#ifndef DRV_TIMER_H
#define DRV_TIMER_H
* \brief Low-level timer module for AVR
*/
-/*
- * $Log$
- * Revision 1.14 2004/08/24 16:27:01 bernie
- * Add missing headers.
- *
- * Revision 1.13 2004/08/24 14:30:11 bernie
- * Use new-style config macros for drv/timer.c
- *
- * Revision 1.12 2004/08/10 06:59:45 bernie
- * CONFIG_TIMER_STROBE: Define no-op default macros.
- *
- * Revision 1.11 2004/08/03 15:53:17 aleph
- * Fix spacing
- *
- * Revision 1.10 2004/08/02 20:20:29 aleph
- * Merge from project_ks
- *
- * Revision 1.9 2004/07/22 02:01:14 bernie
- * Use TIMER_PRESCALER consistently.
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.15 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.14 2004/08/24 16:27:01 bernie
+ *#* Add missing headers.
+ *#*
+ *#* Revision 1.13 2004/08/24 14:30:11 bernie
+ *#* Use new-style config macros for drv/timer.c
+ *#*
+ *#* Revision 1.12 2004/08/10 06:59:45 bernie
+ *#* CONFIG_TIMER_STROBE: Define no-op default macros.
+ *#*
+ *#* Revision 1.11 2004/08/03 15:53:17 aleph
+ *#* Fix spacing
+ *#*
+ *#* Revision 1.10 2004/08/02 20:20:29 aleph
+ *#* Merge from project_ks
+ *#*
+ *#* Revision 1.9 2004/07/22 02:01:14 bernie
+ *#* Use TIMER_PRESCALER consistently.
+ *#*/
#ifndef DRV_TIMER_AVR_H
#define DRV_TIMER_AVR_H
* \brief Driver module for DSP56K
*/
-/*
- * $Log$
- * Revision 1.4 2004/07/30 14:27:49 rasky
- * Aggiornati alcuni file DSP56k per la nuova libreria di IRQ management
- *
- * Revision 1.3 2004/06/06 18:30:34 bernie
- * Import DSP56800 changes from SC.
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 18:23:30 bernie
- * Import drv/timer module.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.5 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.4 2004/07/30 14:27:49 rasky
+ *#* Aggiornati alcuni file DSP56k per la nuova libreria di IRQ management
+ *#*
+ *#* Revision 1.3 2004/06/06 18:30:34 bernie
+ *#* Import DSP56800 changes from SC.
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 18:23:30 bernie
+ *#* Import drv/timer module.
+ *#*
+ *#*/
#ifndef DRV_TIMER_DSP56K_H
#define DRV_TIMER_DSP56K_H
* \brief Low-level timer module for AVR
*/
-/*
- * $Log$
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 18:23:30 bernie
- * Import drv/timer module.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.3 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 18:23:30 bernie
+ *#* Import drv/timer module.
+ *#*
+ *#*/
#ifndef TIMER_I196_H
#define TIMER_I196_H
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.6 2004/08/14 19:37:57 rasky
- * Merge da SC: macros.h, pool.h, BIT_CHANGE, nome dei processi, etc.
- *
- * Revision 1.5 2004/07/30 14:30:27 rasky
- * Resa la sig_signal interrupt safe (con il nuovo scheduler IRQ-safe)
- * Rimossa event_doIntr (ora inutile) e semplificata la logica delle macro con funzioni inline
- *
- * Revision 1.4 2004/06/07 15:58:00 aleph
- * Add function prototypes
- *
- * Revision 1.3 2004/06/06 18:25:44 bernie
- * Rename event macros to look like regular functions.
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 17:27:00 bernie
- * Import kern/ subdirectory.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.7 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.6 2004/08/14 19:37:57 rasky
+ *#* Merge da SC: macros.h, pool.h, BIT_CHANGE, nome dei processi, etc.
+ *#*
+ *#* Revision 1.5 2004/07/30 14:30:27 rasky
+ *#* Resa la sig_signal interrupt safe (con il nuovo scheduler IRQ-safe)
+ *#* Rimossa event_doIntr (ora inutile) e semplificata la logica delle macro con funzioni inline
+ *#*
+ *#* Revision 1.4 2004/06/07 15:58:00 aleph
+ *#* Add function prototypes
+ *#*
+ *#* Revision 1.3 2004/06/06 18:25:44 bernie
+ *#* Rename event macros to look like regular functions.
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 17:27:00 bernie
+ *#* Import kern/ subdirectory.
+ *#*
+ *#*/
#ifndef KERN_EVENT_H
#define KERN_EVENT_H
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.3 2004/06/06 15:11:38 bernie
- * Doxygenize.
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 17:27:00 bernie
- * Import kern/ subdirectory.
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.4 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.3 2004/06/06 15:11:38 bernie
+ *#* Doxygenize.
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 17:27:00 bernie
+ *#* Import kern/ subdirectory.
+ *#*/
#ifndef KERN_KFILE_H
#define KERN_KFILE_H
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.2 2004/08/14 19:37:57 rasky
- * Merge da SC: macros.h, pool.h, BIT_CHANGE, nome dei processi, etc.
- *
- * Revision 1.1 2004/06/06 15:11:08 bernie
- * Import into DevLib.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.3 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.2 2004/08/14 19:37:57 rasky
+ *#* Merge da SC: macros.h, pool.h, BIT_CHANGE, nome dei processi, etc.
+ *#*
+ *#* Revision 1.1 2004/06/06 15:11:08 bernie
+ *#* Import into DevLib.
+ *#*
+ *#*/
#ifndef KERN_MSG_H
#define KERN_MSG_H
* \author Stefano Fedrigo <aleph@develer.com>
*/
-/*
- * $Log$
- * Revision 1.11 2004/08/24 16:09:08 bernie
- * Add missing header.
- *
- * Revision 1.10 2004/08/24 16:07:01 bernie
- * Use kputs()/kputchar() when possible.
- *
- * Revision 1.9 2004/08/24 14:26:57 bernie
- * monitor_debug_stacks(): Conditionally compile on CONFIG_KERN_MONITOR.
- *
- * Revision 1.8 2004/08/14 19:37:57 rasky
- * Merge da SC: macros.h, pool.h, BIT_CHANGE, nome dei processi, etc.
- *
- * Revision 1.7 2004/08/02 20:20:29 aleph
- * Merge from project_ks
- *
- * Revision 1.6 2004/07/30 14:24:16 rasky
- * Task switching con salvataggio perfetto stato di interrupt (SR)
- * Kernel monitor per dump informazioni su stack dei processi
- *
- * Revision 1.5 2004/07/14 14:18:09 rasky
- * Merge da SC: Rimosso timer dentro il task, che è uno spreco di memoria per troppi task
- *
- * Revision 1.4 2004/07/13 19:21:28 aleph
- * Avoid warning for unused arg when compiled without some CONFIG_KERN_xx options
- *
- * Revision 1.3 2004/06/06 18:37:57 bernie
- * Rename event macros to look like regular functions.
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 17:27:00 bernie
- * Import kern/ subdirectory.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.12 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.11 2004/08/24 16:09:08 bernie
+ *#* Add missing header.
+ *#*
+ *#* Revision 1.10 2004/08/24 16:07:01 bernie
+ *#* Use kputs()/kputchar() when possible.
+ *#*
+ *#* Revision 1.9 2004/08/24 14:26:57 bernie
+ *#* monitor_debug_stacks(): Conditionally compile on CONFIG_KERN_MONITOR.
+ *#*
+ *#* Revision 1.8 2004/08/14 19:37:57 rasky
+ *#* Merge da SC: macros.h, pool.h, BIT_CHANGE, nome dei processi, etc.
+ *#*
+ *#* Revision 1.7 2004/08/02 20:20:29 aleph
+ *#* Merge from project_ks
+ *#*
+ *#* Revision 1.6 2004/07/30 14:24:16 rasky
+ *#* Task switching con salvataggio perfetto stato di interrupt (SR)
+ *#* Kernel monitor per dump informazioni su stack dei processi
+ *#*
+ *#* Revision 1.5 2004/07/14 14:18:09 rasky
+ *#* Merge da SC: Rimosso timer dentro il task, che è uno spreco di memoria per troppi task
+ *#*
+ *#* Revision 1.4 2004/07/13 19:21:28 aleph
+ *#* Avoid warning for unused arg when compiled without some CONFIG_KERN_xx options
+ *#*
+ *#* Revision 1.3 2004/06/06 18:37:57 bernie
+ *#* Rename event macros to look like regular functions.
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 17:27:00 bernie
+ *#* Import kern/ subdirectory.
+ *#*
+ *#*/
#include "cpu.h"
#include "proc_p.h"
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.4 2004/08/14 19:37:57 rasky
- * Merge da SC: macros.h, pool.h, BIT_CHANGE, nome dei processi, etc.
- *
- * Revision 1.3 2004/07/30 14:31:23 rasky
- * Hunk sfuggito al commit precedente (aggiornamento kernel)
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 17:27:00 bernie
- * Import kern/ subdirectory.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.5 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.4 2004/08/14 19:37:57 rasky
+ *#* Merge da SC: macros.h, pool.h, BIT_CHANGE, nome dei processi, etc.
+ *#*
+ *#* Revision 1.3 2004/07/30 14:31:23 rasky
+ *#* Hunk sfuggito al commit precedente (aggiornamento kernel)
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 17:27:00 bernie
+ *#* Import kern/ subdirectory.
+ *#*
+ *#*/
#ifndef KERN_PROC_H
#define KERN_PROC_H
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.6 2004/08/24 16:05:15 bernie
- * Add missing headers; Reformat.
- *
- * Revision 1.5 2004/08/14 19:37:57 rasky
- * Merge da SC: macros.h, pool.h, BIT_CHANGE, nome dei processi, etc.
- *
- * Revision 1.4 2004/07/30 14:24:16 rasky
- * Task switching con salvataggio perfetto stato di interrupt (SR)
- * Kernel monitor per dump informazioni su stack dei processi
- *
- * Revision 1.3 2004/07/14 14:18:09 rasky
- * Merge da SC: Rimosso timer dentro il task, che è uno spreco di memoria per troppi task
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 17:27:00 bernie
- * Import kern/ subdirectory.
- *
- * Revision 1.3 2004/05/14 12:52:13 rasky
- * Importato supporto kernel per AVR da Stefano
- *
- * Revision 1.2 2004/04/28 16:13:49 rasky
- * proc_schedule() is now semi-private (used only within the kernel)
- *
- * Revision 1.1 2004/04/26 18:02:40 rasky
- * Importato microkernel
- *
- * Revision 1.1 2004/04/04 17:40:26 aleph
- * Add multithreading kernel
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.7 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.6 2004/08/24 16:05:15 bernie
+ *#* Add missing headers; Reformat.
+ *#*
+ *#* Revision 1.5 2004/08/14 19:37:57 rasky
+ *#* Merge da SC: macros.h, pool.h, BIT_CHANGE, nome dei processi, etc.
+ *#*
+ *#* Revision 1.4 2004/07/30 14:24:16 rasky
+ *#* Task switching con salvataggio perfetto stato di interrupt (SR)
+ *#* Kernel monitor per dump informazioni su stack dei processi
+ *#*
+ *#* Revision 1.3 2004/07/14 14:18:09 rasky
+ *#* Merge da SC: Rimosso timer dentro il task, che è uno spreco di memoria per troppi task
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 17:27:00 bernie
+ *#* Import kern/ subdirectory.
+ *#*
+ *#* Revision 1.3 2004/05/14 12:52:13 rasky
+ *#* Importato supporto kernel per AVR da Stefano
+ *#*
+ *#* Revision 1.2 2004/04/28 16:13:49 rasky
+ *#* proc_schedule() is now semi-private (used only within the kernel)
+ *#*
+ *#* Revision 1.1 2004/04/26 18:02:40 rasky
+ *#* Importato microkernel
+ *#*
+ *#* Revision 1.1 2004/04/04 17:40:26 aleph
+ *#* Add multithreading kernel
+ *#*
+ *#*/
#ifndef KERN_PROC_P_H
#define KERN_PROC_P_H
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.3 2004/08/08 05:53:23 bernie
- * Use DISABLE_IRQSAVE/ENABLE_IRQRESTORE; Cleanup documentation.
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 17:27:00 bernie
- * Import kern/ subdirectory.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.4 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.3 2004/08/08 05:53:23 bernie
+ *#* Use DISABLE_IRQSAVE/ENABLE_IRQRESTORE; Cleanup documentation.
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 17:27:00 bernie
+ *#* Import kern/ subdirectory.
+ *#*
+ *#*/
#include "sem.h"
#include "proc.h"
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 17:27:00 bernie
- * Import kern/ subdirectory.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.3 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 17:27:00 bernie
+ *#* Import kern/ subdirectory.
+ *#*
+ *#*/
#ifndef KERN_SEM_H
#define KERN_SEM_H
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.6 2004/08/14 19:37:57 rasky
- * Merge da SC: macros.h, pool.h, BIT_CHANGE, nome dei processi, etc.
- *
- * Revision 1.5 2004/08/04 21:50:33 bernie
- * Add extensive documentation.
- *
- * Revision 1.4 2004/07/30 14:30:27 rasky
- * Resa la sig_signal interrupt safe (con il nuovo scheduler IRQ-safe)
- * Rimossa event_doIntr (ora inutile) e semplificata la logica delle macro con funzioni inline
- *
- * Revision 1.3 2004/07/30 14:24:16 rasky
- * Task switching con salvataggio perfetto stato di interrupt (SR)
- * Kernel monitor per dump informazioni su stack dei processi
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 17:27:00 bernie
- * Import kern/ subdirectory.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.7 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.6 2004/08/14 19:37:57 rasky
+ *#* Merge da SC: macros.h, pool.h, BIT_CHANGE, nome dei processi, etc.
+ *#*
+ *#* Revision 1.5 2004/08/04 21:50:33 bernie
+ *#* Add extensive documentation.
+ *#*
+ *#* Revision 1.4 2004/07/30 14:30:27 rasky
+ *#* Resa la sig_signal interrupt safe (con il nuovo scheduler IRQ-safe)
+ *#* Rimossa event_doIntr (ora inutile) e semplificata la logica delle macro con funzioni inline
+ *#*
+ *#* Revision 1.3 2004/07/30 14:24:16 rasky
+ *#* Task switching con salvataggio perfetto stato di interrupt (SR)
+ *#* Kernel monitor per dump informazioni su stack dei processi
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 17:27:00 bernie
+ *#* Import kern/ subdirectory.
+ *#*
+ *#*/
#include "signal.h"
#include "proc.h"
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.3 2004/07/30 14:30:27 rasky
- * Resa la sig_signal interrupt safe (con il nuovo scheduler IRQ-safe)
- * Rimossa event_doIntr (ora inutile) e semplificata la logica delle macro con funzioni inline
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 17:27:00 bernie
- * Import kern/ subdirectory.
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.4 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.3 2004/07/30 14:30:27 rasky
+ *#* Resa la sig_signal interrupt safe (con il nuovo scheduler IRQ-safe)
+ *#* Rimossa event_doIntr (ora inutile) e semplificata la logica delle macro con funzioni inline
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 17:27:00 bernie
+ *#* Import kern/ subdirectory.
+ *#*/
#ifndef KERN_SIGNAL_H
#define KERN_SIGNAL_H
* \brief DSP5680x task switching support
*/
-/*
- * $Log$
- * Revision 1.3 2004/07/30 14:24:16 rasky
- * Task switching con salvataggio perfetto stato di interrupt (SR)
- * Kernel monitor per dump informazioni su stack dei processi
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 17:27:00 bernie
- * Import kern/ subdirectory.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.4 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.3 2004/07/30 14:24:16 rasky
+ *#* Task switching con salvataggio perfetto stato di interrupt (SR)
+ *#* Kernel monitor per dump informazioni su stack dei processi
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 17:27:00 bernie
+ *#* Import kern/ subdirectory.
+ *#*
+ *#*/
void asm_switch_context(void ** new_sp/*R2*/, void ** save_sp/*R3*/);
asm void asm_switch_context(void ** new_sp, void ** save_sp)
* \brief Common and handy function macros
*/
-/*
- * $Log$
- * Revision 1.3 2004/08/24 14:13:48 bernie
- * Restore a few macros that were lost in the way.
- *
- * Revision 1.2 2004/08/24 13:32:14 bernie
- * PP_CAT(), PP_STRINGIZE(): Move back to compiler.h to break circular dependency between cpu.h/compiler.h/macros.h;
- * offsetof(), countof(): Move back to compiler.h to avoid including macros.h almost everywhere;
- * Trim CVS log;
- * Rename header guards;
- * Don't include arch_config.h in compiler.h as it's not needed there.
- *
- * Revision 1.1 2004/08/14 19:37:57 rasky
- * Merge da SC: macros.h, pool.h, BIT_CHANGE, nome dei processi, etc.
- *
- * Revision 1.4 2004/08/14 18:36:50 rasky
- * Doxygen fix e un livello di parentesi aggiuntivi per la macro
- *
- * Revision 1.3 2004/08/12 20:01:32 rasky
- * Aggiunte macro BIT_CHANGE e BIT_CHANGE_BV
- *
- * Revision 1.2 2004/08/10 21:36:14 rasky
- * Aggiunto include macros.h dove serve
- * Aggiunta dipendenza da compiler.h in macros.h
- *
- * Revision 1.1 2004/08/10 21:30:00 rasky
- * Estratte le funzioni macro in macros.h
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.4 2004/08/25 14:12:08 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.3 2004/08/24 14:13:48 bernie
+ *#* Restore a few macros that were lost in the way.
+ *#*
+ *#* Revision 1.2 2004/08/24 13:32:14 bernie
+ *#* PP_CAT(), PP_STRINGIZE(): Move back to compiler.h to break circular dependency between cpu.h/compiler.h/macros.h;
+ *#* offsetof(), countof(): Move back to compiler.h to avoid including macros.h almost everywhere;
+ *#* Trim CVS log;
+ *#* Rename header guards;
+ *#* Don't include arch_config.h in compiler.h as it's not needed there.
+ *#*
+ *#* Revision 1.1 2004/08/14 19:37:57 rasky
+ *#* Merge da SC: macros.h, pool.h, BIT_CHANGE, nome dei processi, etc.
+ *#*
+ *#* Revision 1.4 2004/08/14 18:36:50 rasky
+ *#* Doxygen fix e un livello di parentesi aggiuntivi per la macro
+ *#*
+ *#* Revision 1.3 2004/08/12 20:01:32 rasky
+ *#* Aggiunte macro BIT_CHANGE e BIT_CHANGE_BV
+ *#*
+ *#* Revision 1.2 2004/08/10 21:36:14 rasky
+ *#* Aggiunto include macros.h dove serve
+ *#* Aggiunta dipendenza da compiler.h in macros.h
+ *#*
+ *#* Revision 1.1 2004/08/10 21:30:00 rasky
+ *#* Estratte le funzioni macro in macros.h
+ *#*
+ *#*/
#ifndef MACROS_H
#define MACROS_H
* \author Stefano Fedrigo <aleph@develer.com>
*/
-/*
- * $Log$
- * Revision 1.4 2004/07/22 01:08:43 bernie
- * swab32(): Fix a very serious bug.
- *
- * Revision 1.3 2004/07/20 23:47:12 bernie
- * Finally remove redundant protos.
- *
- * Revision 1.2 2004/07/20 17:09:11 bernie
- * swab16(), swab32(), cpu_to_be32(), cpu_to_le32(): New functions.
- *
- * Revision 1.1 2004/07/20 16:26:15 bernie
- * Import byte-order macros into DevLib.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.5 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.4 2004/07/22 01:08:43 bernie
+ *#* swab32(): Fix a very serious bug.
+ *#*
+ *#* Revision 1.3 2004/07/20 23:47:12 bernie
+ *#* Finally remove redundant protos.
+ *#*
+ *#* Revision 1.2 2004/07/20 17:09:11 bernie
+ *#* swab16(), swab32(), cpu_to_be32(), cpu_to_le32(): New functions.
+ *#*
+ *#* Revision 1.1 2004/07/20 16:26:15 bernie
+ *#* Import byte-order macros into DevLib.
+ *#*
+ *#*/
#ifndef MWARE_BYTEORDER_H
#define MWARE_BYTEORDER_H
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.3 2004/08/11 19:39:12 bernie
- * Use chart_x_t and chart_y_t for the input dataset.
- *
- * Revision 1.1 2004/08/04 03:16:30 bernie
- * Import simple chart drawing code.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.4 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.3 2004/08/11 19:39:12 bernie
+ *#* Use chart_x_t and chart_y_t for the input dataset.
+ *#*
+ *#* Revision 1.1 2004/08/04 03:16:30 bernie
+ *#* Import simple chart drawing code.
+ *#*
+ *#*/
#include "charts.h"
#include <mware/gfx.h>
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.3 2004/08/11 19:39:12 bernie
- * Use chart_x_t and chart_y_t for the input dataset.
- *
- * Revision 1.1 2004/08/04 03:16:30 bernie
- * Import simple chart drawing code.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.4 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.3 2004/08/11 19:39:12 bernie
+ *#* Use chart_x_t and chart_y_t for the input dataset.
+ *#*
+ *#* Revision 1.1 2004/08/04 03:16:30 bernie
+ *#* Import simple chart drawing code.
+ *#*
+ *#*/
#ifndef MWARE_CHARTS_H
#define MWARE_CHARTS_H
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/06/03 08:58:16 bernie
- * Import into DevLib
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.3 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/06/03 08:58:16 bernie
+ *#* Import into DevLib
+ *#*
+ *#*/
#include "crc.h"
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.3 2004/08/15 05:47:26 bernie
- * updcrc16(): inline version of UPDCRC16(); Cleanup documentation.
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/06/03 08:58:16 bernie
- * Import into DevLib
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.4 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.3 2004/08/15 05:47:26 bernie
+ *#* updcrc16(): inline version of UPDCRC16(); Cleanup documentation.
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/06/03 08:58:16 bernie
+ *#* Import into DevLib
+ *#*
+ *#*/
#ifndef CRC_H
#define CRC_H
* \code head == begin && tail == end \endcode
*/
-/*
- * $Log$
- * Revision 1.13 2004/08/24 13:16:11 bernie
- * Add type-size definitions for preprocessor.
- *
- * Revision 1.12 2004/08/02 20:20:29 aleph
- * Merge from project_ks
- *
- * Revision 1.11 2004/07/30 14:15:53 rasky
- * Nuovo supporto unificato per detect della CPU
- *
- * Revision 1.10 2004/07/29 22:57:09 bernie
- * Doxygen fix.
- *
- * Revision 1.9 2004/07/20 23:54:27 bernie
- * fifo_flush_locked(): New function;
- * Revamp documentation.
- *
- * Revision 1.8 2004/07/20 23:47:39 bernie
- * Finally remove redundant protos.
- *
- * Revision 1.7 2004/07/20 23:46:29 bernie
- * Finally remove redundant protos.
- *
- * Revision 1.6 2004/06/06 17:18:04 bernie
- * Remove redundant declaration of fifo_isempty_locked().
- *
- * Revision 1.5 2004/06/06 16:50:35 bernie
- * Import fixes for race conditions from project_ks.
- *
- * Revision 1.4 2004/06/06 16:11:17 bernie
- * Protect MetroWerks specific pragmas with #ifdef's
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.14 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.13 2004/08/24 13:16:11 bernie
+ *#* Add type-size definitions for preprocessor.
+ *#*
+ *#* Revision 1.12 2004/08/02 20:20:29 aleph
+ *#* Merge from project_ks
+ *#*
+ *#* Revision 1.11 2004/07/30 14:15:53 rasky
+ *#* Nuovo supporto unificato per detect della CPU
+ *#*
+ *#* Revision 1.10 2004/07/29 22:57:09 bernie
+ *#* Doxygen fix.
+ *#*
+ *#* Revision 1.9 2004/07/20 23:54:27 bernie
+ *#* fifo_flush_locked(): New function;
+ *#* Revamp documentation.
+ *#*
+ *#* Revision 1.8 2004/07/20 23:47:39 bernie
+ *#* Finally remove redundant protos.
+ *#*
+ *#* Revision 1.7 2004/07/20 23:46:29 bernie
+ *#* Finally remove redundant protos.
+ *#*
+ *#* Revision 1.6 2004/06/06 17:18:04 bernie
+ *#* Remove redundant declaration of fifo_isempty_locked().
+ *#*
+ *#* Revision 1.5 2004/06/06 16:50:35 bernie
+ *#* Import fixes for race conditions from project_ks.
+ *#*
+ *#* Revision 1.4 2004/06/06 16:11:17 bernie
+ *#* Protect MetroWerks specific pragmas with #ifdef's
+ *#*/
#ifndef MWARE_FIFO_H
#define MWARE_FIFO_H
* \brief Font 8x6 IBM-PC 8bit
*/
-/*
- * $Log$
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 15:43:16 bernie
- * Import mware modules.
- *
- * Revision 1.5 2004/03/24 15:48:53 bernie
- * Remove Copyright messages from Doxygen output
- *
- * Revision 1.4 2004/03/03 18:30:17 bernie
- * Substitute left triangle glyph with left arrow
- *
- * Revision 1.3 2004/02/28 14:48:33 aleph
- * Improve arrow glyphs
- *
- * Revision 1.2 2004/01/13 12:15:28 aleph
- * Move font table in program memory; add font.h
- *
- * Revision 1.1 2004/01/07 23:31:54 aleph
- * Add text routines
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.3 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 15:43:16 bernie
+ *#* Import mware modules.
+ *#*
+ *#* Revision 1.5 2004/03/24 15:48:53 bernie
+ *#* Remove Copyright messages from Doxygen output
+ *#*
+ *#* Revision 1.4 2004/03/03 18:30:17 bernie
+ *#* Substitute left triangle glyph with left arrow
+ *#*
+ *#* Revision 1.3 2004/02/28 14:48:33 aleph
+ *#* Improve arrow glyphs
+ *#*
+ *#* Revision 1.2 2004/01/13 12:15:28 aleph
+ *#* Move font table in program memory; add font.h
+ *#*
+ *#* Revision 1.1 2004/01/07 23:31:54 aleph
+ *#* Add text routines
+ *#*
+ *#*/
#include "font.h"
* \brief Font 8x6 IBM-PC 8bit
*/
-/*
- * $Log$
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 15:43:16 bernie
- * Import mware modules.
- *
- * Revision 1.2 2004/03/24 15:48:53 bernie
- * Remove Copyright messages from Doxygen output
- *
- * Revision 1.1 2004/01/13 12:15:28 aleph
- * Move font table in program memory; add font.h
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.3 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 15:43:16 bernie
+ *#* Import mware modules.
+ *#*
+ *#* Revision 1.2 2004/03/24 15:48:53 bernie
+ *#* Remove Copyright messages from Doxygen output
+ *#*
+ *#* Revision 1.1 2004/01/13 12:15:28 aleph
+ *#* Move font table in program memory; add font.h
+ *#*
+ *#*/
#ifndef FONT_H
#define FONT_H
* width and precision arguments.
*/
-/*
- * $Log$
- * Revision 1.7 2004/08/04 15:53:47 rasky
- * Nuove opzioni di configurazione per formatted_write e ridotto maggiormente l'utilizzo dellos tack
- *
- * Revision 1.6 2004/07/30 14:34:10 rasky
- * Vari fix per documentazione e commenti
- * Aggiunte PP_CATn e STATIC_ASSERT
- *
- * Revision 1.5 2004/07/29 22:57:09 bernie
- * Switch to new-style config handling.
- *
- * Revision 1.4 2004/07/21 00:20:20 bernie
- * Allow completely disabling printf()-like formatter.
- *
- * Revision 1.3 2004/07/18 22:00:15 bernie
- * Reorganize configuration parameters to match DevLib's convention.
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 15:43:16 bernie
- * Import mware modules.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.8 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.7 2004/08/04 15:53:47 rasky
+ *#* Nuove opzioni di configurazione per formatted_write e ridotto maggiormente l'utilizzo dellos tack
+ *#*
+ *#* Revision 1.6 2004/07/30 14:34:10 rasky
+ *#* Vari fix per documentazione e commenti
+ *#* Aggiunte PP_CATn e STATIC_ASSERT
+ *#*
+ *#* Revision 1.5 2004/07/29 22:57:09 bernie
+ *#* Switch to new-style config handling.
+ *#*
+ *#* Revision 1.4 2004/07/21 00:20:20 bernie
+ *#* Allow completely disabling printf()-like formatter.
+ *#*
+ *#* Revision 1.3 2004/07/18 22:00:15 bernie
+ *#* Reorganize configuration parameters to match DevLib's convention.
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 15:43:16 bernie
+ *#* Import mware modules.
+ *#*
+ *#*/
#include "formatwr.h"
#include <compiler.h> /* progmem macros */
* \brief Basic "printf", "sprintf" and "fprintf" formatter.
*/
-/*
- * $Log$
- * Revision 1.4 2004/08/04 15:53:47 rasky
- * Nuove opzioni di configurazione per formatted_write e ridotto maggiormente l'utilizzo dellos tack
- *
- * Revision 1.3 2004/07/29 22:57:09 bernie
- * Add values for new-style CONFIG_PRINTF option.
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 15:43:16 bernie
- * Import mware modules.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.5 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.4 2004/08/04 15:53:47 rasky
+ *#* Nuove opzioni di configurazione per formatted_write e ridotto maggiormente l'utilizzo dellos tack
+ *#*
+ *#* Revision 1.3 2004/07/29 22:57:09 bernie
+ *#* Add values for new-style CONFIG_PRINTF option.
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 15:43:16 bernie
+ *#* Import mware modules.
+ *#*
+ *#*/
#ifndef MWARE_FORMATWR_H
#define MWARE_FORMATWR_H
* \brief General pourpose graphics routines
*/
-/*
- * $Log$
- * Revision 1.4 2004/08/24 16:53:10 bernie
- * Use new-style config macros.
- *
- * Revision 1.3 2004/08/04 03:16:59 bernie
- * Switch to new DevLib CONFIG_ convention.
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.5 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.4 2004/08/24 16:53:10 bernie
+ *#* Use new-style config macros.
+ *#*
+ *#* Revision 1.3 2004/08/04 03:16:59 bernie
+ *#* Switch to new DevLib CONFIG_ convention.
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#*/
#include "gfx.h"
#include "config.h"
* \brief General pourpose graphics routines
*/
-/*
- * $Log$
- * Revision 1.4 2004/08/10 07:00:16 bernie
- * Add missing header.
- *
- * Revision 1.3 2004/08/04 03:16:59 bernie
- * Switch to new DevLib CONFIG_ convention.
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 15:43:16 bernie
- * Import mware modules.
- *
- * Revision 1.4 2004/02/09 00:21:28 aleph
- * Various gfx fixes
- *
- * Revision 1.3 2004/01/27 23:24:19 aleph
- * Add new graphics primitives
- *
- * Revision 1.2 2004/01/07 23:33:01 aleph
- * Change copyright email
- *
- * Revision 1.1 2004/01/07 19:05:31 aleph
- * Add graphics routines
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.5 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.4 2004/08/10 07:00:16 bernie
+ *#* Add missing header.
+ *#*
+ *#* Revision 1.3 2004/08/04 03:16:59 bernie
+ *#* Switch to new DevLib CONFIG_ convention.
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 15:43:16 bernie
+ *#* Import mware modules.
+ *#*
+ *#* Revision 1.4 2004/02/09 00:21:28 aleph
+ *#* Various gfx fixes
+ *#*
+ *#* Revision 1.3 2004/01/27 23:24:19 aleph
+ *#* Add new graphics primitives
+ *#*
+ *#* Revision 1.2 2004/01/07 23:33:01 aleph
+ *#* Change copyright email
+ *#*
+ *#* Revision 1.1 2004/01/07 19:05:31 aleph
+ *#* Add graphics routines
+ *#*
+ *#*/
#ifndef MWARE_GFX_H
#define MWARE_GFX_H
* \author Giovanni Bajo <rasky@develer.com>
*/
-/*
- * $Log$
- * Revision 1.1 2004/07/14 14:08:16 rasky
- * Implementazione di una tabella hash
- *
- * Revision 1.13 2004/07/12 16:33:36 rasky
- * Aggiunta nuova ASSERT2, con stringa di descrizione del problema (disabilitabile tramite una macro di configurazione)
- * Modificato il codice del firmware per utilizzare ASSERT2
- * Modificato il progetto in modo da disabilitare le stringhe di errore nel target xROM-xRAM
- *
- * Revision 1.12 2004/06/14 15:15:24 rasky
- * Cambiato key_data in un union invece di castare
- * Aggiunto un ASSERT sull'indice calcolata nella key_internal_get_ptr
- *
- * Revision 1.11 2004/06/14 15:09:04 rasky
- * Cambiati i messaggi di assert (è inutile citare il nome della funzione)
- *
- * Revision 1.10 2004/06/14 15:07:38 rasky
- * Convertito il loop di calc_hash a interi (per farlo ottimizzare maggiormente)
- *
- * Revision 1.9 2004/06/14 14:59:40 rasky
- * Rinominanta la macro di configurazione per rispettare il namespace, e aggiunta in un punto in cui mancava
- *
- * Revision 1.8 2004/06/12 15:18:05 rasky
- * Nuova hashtable con chiave esterna o interna a scelta, come discusso
- *
- * Revision 1.7 2004/06/04 17:16:31 rasky
- * Fixato un bug nel caso in cui la chiave ecceda la dimensione massima: il clamp non può essere fatto dentro la perform_lookup perché anche la ht_insert deve avere il valore clampato a disposizione per fare la memcpy
- *
- * Revision 1.6 2004/05/26 16:36:50 rasky
- * Aggiunto il rationale per l'interfaccia degli iteratori
- *
- * Revision 1.5 2004/05/24 15:28:20 rasky
- * Sistemata la documentazione, rimossa keycmp in favore della memcmp
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.2 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.1 2004/07/14 14:08:16 rasky
+ *#* Implementazione di una tabella hash
+ *#*
+ *#* Revision 1.13 2004/07/12 16:33:36 rasky
+ *#* Aggiunta nuova ASSERT2, con stringa di descrizione del problema (disabilitabile tramite una macro di configurazione)
+ *#* Modificato il codice del firmware per utilizzare ASSERT2
+ *#* Modificato il progetto in modo da disabilitare le stringhe di errore nel target xROM-xRAM
+ *#*
+ *#* Revision 1.12 2004/06/14 15:15:24 rasky
+ *#* Cambiato key_data in un union invece di castare
+ *#* Aggiunto un ASSERT sull'indice calcolata nella key_internal_get_ptr
+ *#*
+ *#* Revision 1.11 2004/06/14 15:09:04 rasky
+ *#* Cambiati i messaggi di assert (è inutile citare il nome della funzione)
+ *#*
+ *#* Revision 1.10 2004/06/14 15:07:38 rasky
+ *#* Convertito il loop di calc_hash a interi (per farlo ottimizzare maggiormente)
+ *#*
+ *#* Revision 1.9 2004/06/14 14:59:40 rasky
+ *#* Rinominanta la macro di configurazione per rispettare il namespace, e aggiunta in un punto in cui mancava
+ *#*
+ *#* Revision 1.8 2004/06/12 15:18:05 rasky
+ *#* Nuova hashtable con chiave esterna o interna a scelta, come discusso
+ *#*
+ *#* Revision 1.7 2004/06/04 17:16:31 rasky
+ *#* Fixato un bug nel caso in cui la chiave ecceda la dimensione massima: il clamp non può essere fatto dentro la perform_lookup perché anche la ht_insert deve avere il valore clampato a disposizione per fare la memcpy
+ *#*
+ *#* Revision 1.6 2004/05/26 16:36:50 rasky
+ *#* Aggiunto il rationale per l'interfaccia degli iteratori
+ *#*
+ *#* Revision 1.5 2004/05/24 15:28:20 rasky
+ *#* Sistemata la documentazione, rimossa keycmp in favore della memcmp
+ *#*
+ *#*/
#include "hashtable.h"
#include <drv/kdebug.h>
#include <compiler.h>
* \author Giovanni Bajo <rasky@develer.com>
*/
-/*
- * $Log$
- * Revision 1.3 2004/08/14 19:37:57 rasky
- * Merge da SC: macros.h, pool.h, BIT_CHANGE, nome dei processi, etc.
- *
- * Revision 1.2 2004/08/04 15:52:54 rasky
- * Merge da SC: fixato namespace dell'include guard
- *
- * Revision 1.1 2004/07/14 14:08:16 rasky
- * Implementazione di una tabella hash
- *
- * Revision 1.10 2004/06/14 15:17:15 rasky
- * Qualche fix alla documentazione Doxygen
- *
- * Revision 1.9 2004/06/14 15:15:24 rasky
- * Cambiato key_data in un union invece di castare
- * Aggiunto un ASSERT sull'indice calcolata nella key_internal_get_ptr
- *
- * Revision 1.8 2004/06/14 14:59:40 rasky
- * Rinominanta la macro di configurazione per rispettare il namespace, e aggiunta in un punto in cui mancava
- *
- * Revision 1.7 2004/06/12 15:18:05 rasky
- * Nuova hashtable con chiave esterna o interna a scelta, come discusso
- *
- * Revision 1.6 2004/05/26 16:33:31 rasky
- * Aggiunta interfaccia per visita della hashtable tramite iteratori
- *
- * Revision 1.5 2004/05/24 18:42:23 rasky
- * Fixato un commento doxygen
- *
- * Revision 1.4 2004/05/24 15:28:20 rasky
- * Sistemata la documentazione, rimossa keycmp in favore della memcmp
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.4 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.3 2004/08/14 19:37:57 rasky
+ *#* Merge da SC: macros.h, pool.h, BIT_CHANGE, nome dei processi, etc.
+ *#*
+ *#* Revision 1.2 2004/08/04 15:52:54 rasky
+ *#* Merge da SC: fixato namespace dell'include guard
+ *#*
+ *#* Revision 1.1 2004/07/14 14:08:16 rasky
+ *#* Implementazione di una tabella hash
+ *#*
+ *#* Revision 1.10 2004/06/14 15:17:15 rasky
+ *#* Qualche fix alla documentazione Doxygen
+ *#*
+ *#* Revision 1.9 2004/06/14 15:15:24 rasky
+ *#* Cambiato key_data in un union invece di castare
+ *#* Aggiunto un ASSERT sull'indice calcolata nella key_internal_get_ptr
+ *#*
+ *#* Revision 1.8 2004/06/14 14:59:40 rasky
+ *#* Rinominanta la macro di configurazione per rispettare il namespace, e aggiunta in un punto in cui mancava
+ *#*
+ *#* Revision 1.7 2004/06/12 15:18:05 rasky
+ *#* Nuova hashtable con chiave esterna o interna a scelta, come discusso
+ *#*
+ *#* Revision 1.6 2004/05/26 16:33:31 rasky
+ *#* Aggiunta interfaccia per visita della hashtable tramite iteratori
+ *#*
+ *#* Revision 1.5 2004/05/24 18:42:23 rasky
+ *#* Fixato un commento doxygen
+ *#*
+ *#* Revision 1.4 2004/05/24 15:28:20 rasky
+ *#* Sistemata la documentazione, rimossa keycmp in favore della memcmp
+ *#*
+ *#*/
#ifndef MWARE_HASHTABLE_H
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.3 2004/08/14 19:37:57 rasky
- * Merge da SC: macros.h, pool.h, BIT_CHANGE, nome dei processi, etc.
- *
- * Revision 1.2 2004/08/04 15:54:18 rasky
- * Merge da SC: prima versione veramente funzionante
- *
- * Revision 1.1 2004/07/31 16:33:58 rasky
- * Spostato lo heap da kern/ a mware/
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 17:27:00 bernie
- * Import kern/ subdirectory.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.4 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.3 2004/08/14 19:37:57 rasky
+ *#* Merge da SC: macros.h, pool.h, BIT_CHANGE, nome dei processi, etc.
+ *#*
+ *#* Revision 1.2 2004/08/04 15:54:18 rasky
+ *#* Merge da SC: prima versione veramente funzionante
+ *#*
+ *#* Revision 1.1 2004/07/31 16:33:58 rasky
+ *#* Spostato lo heap da kern/ a mware/
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 17:27:00 bernie
+ *#* Import kern/ subdirectory.
+ *#*
+ *#*/
#include "heap.h"
#include <string.h> // memset()
*
*/
-/*
- * $Log$
- * Revision 1.2 2004/08/04 15:54:18 rasky
- * Merge da SC: prima versione veramente funzionante
- *
- * Revision 1.1 2004/07/31 16:33:58 rasky
- * Spostato lo heap da kern/ a mware/
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 17:27:00 bernie
- * Import kern/ subdirectory.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.3 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.2 2004/08/04 15:54:18 rasky
+ *#* Merge da SC: prima versione veramente funzionante
+ *#*
+ *#* Revision 1.1 2004/07/31 16:33:58 rasky
+ *#* Spostato lo heap da kern/ a mware/
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 17:27:00 bernie
+ *#* Import kern/ subdirectory.
+ *#*
+ *#*/
#ifndef MWARE_HEAP_H
#define MWARE_HEAP_H
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.1 2004/08/04 02:40:25 bernie
- * Add virtual file I/O interface.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.2 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.1 2004/08/04 02:40:25 bernie
+ *#* Add virtual file I/O interface.
+ *#*
+ *#*/
#ifndef MWARE_KFILE_H
#define MWARE_KFILE_H
* \brief General pourpose double-linked lists
*/
-/*
- * $Log$
- * Revision 1.6 2004/07/30 14:34:10 rasky
- * Vari fix per documentazione e commenti
- * Aggiunte PP_CATn e STATIC_ASSERT
- *
- * Revision 1.5 2004/07/20 23:45:01 bernie
- * Finally remove redundant protos.
- *
- * Revision 1.4 2004/07/18 22:12:53 bernie
- * Fix warnings with GCC 3.3.2.
- *
- * Revision 1.3 2004/07/18 22:01:43 bernie
- * REMHEAD(), REMTAIL(): Move to list.h as inline functions.
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 15:43:16 bernie
- * Import mware modules.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.7 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.6 2004/07/30 14:34:10 rasky
+ *#* Vari fix per documentazione e commenti
+ *#* Aggiunte PP_CATn e STATIC_ASSERT
+ *#*
+ *#* Revision 1.5 2004/07/20 23:45:01 bernie
+ *#* Finally remove redundant protos.
+ *#*
+ *#* Revision 1.4 2004/07/18 22:12:53 bernie
+ *#* Fix warnings with GCC 3.3.2.
+ *#*
+ *#* Revision 1.3 2004/07/18 22:01:43 bernie
+ *#* REMHEAD(), REMTAIL(): Move to list.h as inline functions.
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 15:43:16 bernie
+ *#* Import mware modules.
+ *#*
+ *#*/
#ifndef MWARE_LIST_H
#define MWARE_LIST_H
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.1 2004/08/04 02:35:54 bernie
- * Import simple RLE algorithm.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.2 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.1 2004/08/04 02:35:54 bernie
+ *#* Import simple RLE algorithm.
+ *#*
+ *#*/
#include "rle.h"
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.1 2004/08/04 02:35:54 bernie
- * Import simple RLE algorithm.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.2 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.1 2004/08/04 02:35:54 bernie
+ *#* Import simple RLE algorithm.
+ *#*
+ *#*/
#ifndef RLE_H
#define RLE_H
* \brief Simple sprintf() implementation based on _formatted_write()
*/
-/*
- * $Log$
- * Revision 1.3 2004/06/27 15:20:26 aleph
- * Change UNUSED() macro to accept two arguments: type and name;
- * Add macro GNUC_PREREQ to detect GCC version during build;
- * Some spacing cleanups and typo fix
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 15:43:16 bernie
- * Import mware modules.
- *
- * Revision 1.4 2004/04/03 20:42:27 aleph
- * Remove duplicated defines
- *
- * Revision 1.3 2004/03/24 15:48:53 bernie
- * Remove Copyright messages from Doxygen output
- *
- * Revision 1.2 2004/03/19 16:51:30 bernie
- * Add PROGMEM kludge.
- *
- * Revision 1.1 2004/02/23 09:45:09 aleph
- * Add missing library functions.
- *
- * Revision 1.1 2003/11/13 16:56:37 aleph
- * Add first implementation of dsp firmware
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.4 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.3 2004/06/27 15:20:26 aleph
+ *#* Change UNUSED() macro to accept two arguments: type and name;
+ *#* Add macro GNUC_PREREQ to detect GCC version during build;
+ *#* Some spacing cleanups and typo fix
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 15:43:16 bernie
+ *#* Import mware modules.
+ *#*
+ *#* Revision 1.4 2004/04/03 20:42:27 aleph
+ *#* Remove duplicated defines
+ *#*
+ *#* Revision 1.3 2004/03/24 15:48:53 bernie
+ *#* Remove Copyright messages from Doxygen output
+ *#*
+ *#* Revision 1.2 2004/03/19 16:51:30 bernie
+ *#* Add PROGMEM kludge.
+ *#*
+ *#* Revision 1.1 2004/02/23 09:45:09 aleph
+ *#* Add missing library functions.
+ *#*
+ *#* Revision 1.1 2003/11/13 16:56:37 aleph
+ *#* Add first implementation of dsp firmware
+ *#*
+ *#*/
#include "compiler.h"
#include "formatwr.h"
* \brief Text graphic routines
*/
-/*
- * $Log$
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 15:43:16 bernie
- * Import mware modules.
- *
- * Revision 1.17 2004/05/15 16:57:01 aleph
- * Fixes for non-DEBUG build
- *
- * Revision 1.16 2004/04/03 20:42:49 aleph
- * Add text_clear()
- *
- * Revision 1.15 2004/03/24 15:03:45 bernie
- * Use explicit include paths; clean Doxygen comments
- *
- * Revision 1.14 2004/03/19 16:52:28 bernie
- * Move printf() like functions from text.c to text_format.c and add PROGMEM versions.
- *
- * Revision 1.13 2004/03/17 18:23:32 bernie
- * Oops.
- *
- * Revision 1.12 2004/03/17 18:03:22 bernie
- * Make diagnostic message shorter
- *
- * Revision 1.11 2004/03/13 22:52:54 aleph
- * documentation fixes
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.3 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 15:43:16 bernie
+ *#* Import mware modules.
+ *#*
+ *#* Revision 1.17 2004/05/15 16:57:01 aleph
+ *#* Fixes for non-DEBUG build
+ *#*
+ *#* Revision 1.16 2004/04/03 20:42:49 aleph
+ *#* Add text_clear()
+ *#*
+ *#* Revision 1.15 2004/03/24 15:03:45 bernie
+ *#* Use explicit include paths; clean Doxygen comments
+ *#*
+ *#* Revision 1.14 2004/03/19 16:52:28 bernie
+ *#* Move printf() like functions from text.c to text_format.c and add PROGMEM versions.
+ *#*
+ *#* Revision 1.13 2004/03/17 18:23:32 bernie
+ *#* Oops.
+ *#*
+ *#* Revision 1.12 2004/03/17 18:03:22 bernie
+ *#* Make diagnostic message shorter
+ *#*
+ *#* Revision 1.11 2004/03/13 22:52:54 aleph
+ *#* documentation fixes
+ *#*/
#include "gfx.h"
#include "font.h"
* \brief Text graphic routines
*/
-/*
- * $Log$
- * Revision 1.3 2004/08/05 18:46:44 bernie
- * Documentation improvements.
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.4 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.3 2004/08/05 18:46:44 bernie
+ *#* Documentation improvements.
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#*/
#ifndef TEXT_H
#define TEXT_H
* \brief printf-family routines for text output
*/
-/*
- * $Log$
- * Revision 1.4 2004/08/05 18:46:44 bernie
- * Documentation improvements.
- *
- * Revision 1.3 2004/08/03 15:57:18 aleph
- * Add include to fix warning for vsprintf()
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/05/23 15:43:16 bernie
- * Import mware modules.
- *
- * Revision 1.2 2004/03/26 18:50:50 bernie
- * Move _PROGMEM stuff to compiler.h
- *
- * Revision 1.1 2004/03/19 16:52:28 bernie
- * Move printf() like functions from text.c to text_format.c and add PROGMEM versions.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.5 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.4 2004/08/05 18:46:44 bernie
+ *#* Documentation improvements.
+ *#*
+ *#* Revision 1.3 2004/08/03 15:57:18 aleph
+ *#* Add include to fix warning for vsprintf()
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/05/23 15:43:16 bernie
+ *#* Import mware modules.
+ *#*
+ *#* Revision 1.2 2004/03/26 18:50:50 bernie
+ *#* Move _PROGMEM stuff to compiler.h
+ *#*
+ *#* Revision 1.1 2004/03/19 16:52:28 bernie
+ *#* Move printf() like functions from text.c to text_format.c and add PROGMEM versions.
+ *#*
+ *#*/
#include "text.h"
#include "formatwr.h" /* _formatted_write() */
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.7 2004/08/15 06:30:06 bernie
- * Make the buffer a local variable, as documented.
- *
- * Revision 1.6 2004/08/15 05:31:46 bernie
- * Add an #error to spread some FUD about the quality of this module;
- * Add a few TODOs from Rasky's review;
- * Update to the new drv/ser.c API;
- * Move FlushSerial() to drv/ser.c and generalize.
- *
- * Revision 1.5 2004/08/12 23:46:21 bernie
- * Remove extra indentation level in switch statements.
- *
- * Revision 1.4 2004/08/12 23:35:50 bernie
- * Replace a handmade loop with memset().
- *
- * Revision 1.3 2004/08/12 23:34:36 bernie
- * Replace if/else with continue to reduce indentation level.
- *
- * Revision 1.2 2004/08/12 23:24:07 bernie
- * Rename UPDCRC() to UPDCRC16().
- *
- * Revision 1.1 2004/08/11 19:54:22 bernie
- * Import XModem protocol into DevLib.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.8 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.7 2004/08/15 06:30:06 bernie
+ *#* Make the buffer a local variable, as documented.
+ *#*
+ *#* Revision 1.6 2004/08/15 05:31:46 bernie
+ *#* Add an #error to spread some FUD about the quality of this module;
+ *#* Add a few TODOs from Rasky's review;
+ *#* Update to the new drv/ser.c API;
+ *#* Move FlushSerial() to drv/ser.c and generalize.
+ *#*
+ *#* Revision 1.5 2004/08/12 23:46:21 bernie
+ *#* Remove extra indentation level in switch statements.
+ *#*
+ *#* Revision 1.4 2004/08/12 23:35:50 bernie
+ *#* Replace a handmade loop with memset().
+ *#*
+ *#* Revision 1.3 2004/08/12 23:34:36 bernie
+ *#* Replace if/else with continue to reduce indentation level.
+ *#*
+ *#* Revision 1.2 2004/08/12 23:24:07 bernie
+ *#* Rename UPDCRC() to UPDCRC16().
+ *#*
+ *#* Revision 1.1 2004/08/11 19:54:22 bernie
+ *#* Import XModem protocol into DevLib.
+ *#*
+ *#*/
#include "xmodem.h"
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.2 2004/08/15 05:31:46 bernie
- * Add an #error to spread some FUD about the quality of this module;
- * Add a few TODOs from Rasky's review;
- * Update to the new drv/ser.c API;
- * Move FlushSerial() to drv/ser.c and generalize.
- *
- * Revision 1.1 2004/08/11 19:54:22 bernie
- * Import XModem protocol into DevLib.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.3 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.2 2004/08/15 05:31:46 bernie
+ *#* Add an #error to spread some FUD about the quality of this module;
+ *#* Add a few TODOs from Rasky's review;
+ *#* Update to the new drv/ser.c API;
+ *#* Move FlushSerial() to drv/ser.c and generalize.
+ *#*
+ *#* Revision 1.1 2004/08/11 19:54:22 bernie
+ *#* Import XModem protocol into DevLib.
+ *#*
+ *#*/
#ifndef MWARE_XMODEM_H
#define MWARE_XMODEM_H
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.3 2004/08/10 05:45:04 bernie
- * Fix spacing in header.
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/06/03 09:01:06 bernie
- * Import into DevLib.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.4 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.3 2004/08/10 05:45:04 bernie
+ *#* Fix spacing in header.
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/06/03 09:01:06 bernie
+ *#* Import into DevLib.
+ *#*
+ *#*/
#include "hptime.h"
* \author Bernardo Innocenti <bernie@develer.com>
*/
-/*
- * $Log$
- * Revision 1.3 2004/08/10 05:45:04 bernie
- * Fix spacing in header.
- *
- * Revision 1.2 2004/06/03 11:27:09 bernie
- * Add dual-license information.
- *
- * Revision 1.1 2004/06/03 09:01:06 bernie
- * Import into DevLib.
- *
- */
+/*#*
+ *#* $Log$
+ *#* Revision 1.4 2004/08/25 14:12:09 rasky
+ *#* Aggiornato il comment block dei log RCS
+ *#*
+ *#* Revision 1.3 2004/08/10 05:45:04 bernie
+ *#* Fix spacing in header.
+ *#*
+ *#* Revision 1.2 2004/06/03 11:27:09 bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1 2004/06/03 09:01:06 bernie
+ *#* Import into DevLib.
+ *#*
+ *#*/
#ifndef HPTIME_H
#define HPTIME_H