From 009e8d28c38ef6b6797318aee29ca90910753988 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 11 Nov 2010 11:04:05 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2346 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/kernel/include/chsys.h | 2 +- os/kernel/src/chregistry.c | 2 +- os/kernel/src/chsem.c | 2 +- os/kernel/templates/chcore.c | 4 ++-- os/kernel/templates/chtypes.h | 2 +- os/ports/GCC/AVR/chcore.c | 2 +- os/ports/GCC/MSP430/chcore.c | 2 +- os/ports/GCC/PPC/chcore.c | 2 +- os/ports/RC/STM8/chcore.c | 2 +- os/ports/cosmic/STM8/chcore.c | 2 +- readme.txt | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/os/kernel/include/chsys.h b/os/kernel/include/chsys.h index 2a30ceabf..555c59126 100644 --- a/os/kernel/include/chsys.h +++ b/os/kernel/include/chsys.h @@ -43,7 +43,7 @@ /** * @brief Halts the system. * @details This function is invoked by the operating system when an - * unrecoverable error is detected, as example because a programming + * unrecoverable error is detected, for example because a programming * error in the application code that triggers an assertion while * in debug mode. * @note Can be invoked from any system state. diff --git a/os/kernel/src/chregistry.c b/os/kernel/src/chregistry.c index 95893de85..e95ad21a8 100644 --- a/os/kernel/src/chregistry.c +++ b/os/kernel/src/chregistry.c @@ -33,7 +33,7 @@ * - Next, returns the next, in creation order, active thread * in the system. * . - * The registry is meant to be mainly a debug feature, as example, + * The registry is meant to be mainly a debug feature, for example, * using the registry a debugger can enumerate the active threads * in any given moment or the shell can print the active threads * and their state.
diff --git a/os/kernel/src/chsem.c b/os/kernel/src/chsem.c index 58cd94808..3e1d2ce88 100644 --- a/os/kernel/src/chsem.c +++ b/os/kernel/src/chsem.c @@ -47,7 +47,7 @@ * . * Semaphores can be used as guards for mutual exclusion zones * (note that mutexes are recommended for this kind of use) but - * also have other uses, queues guards and counters as example.
+ * also have other uses, queues guards and counters for example.
* Semaphores usually use a FIFO queuing strategy but it is possible * to make them order threads by priority by enabling * @p CH_USE_SEMAPHORES_PRIORITY in @p chconf.h. diff --git a/os/kernel/templates/chcore.c b/os/kernel/templates/chcore.c index 9a989d183..c2737b04a 100644 --- a/os/kernel/templates/chcore.c +++ b/os/kernel/templates/chcore.c @@ -23,7 +23,7 @@ * @details This file is a template of the system driver functions provided by * a port. Some of the following functions may be implemented as * macros in chcore.h if the implementer decides that there is an - * advantage in doing so, as example because performance concerns. + * advantage in doing so, for example because performance concerns. * * @addtogroup core * @details Non portable code templates. @@ -106,7 +106,7 @@ void port_wait_for_interrupt(void) { /** * @brief Halts the system. * @details This function is invoked by the operating system when an - * unrecoverable error is detected (as example because a programming + * unrecoverable error is detected (for example because a programming * error in the application code that triggers an assertion while in * debug mode). */ diff --git a/os/kernel/templates/chtypes.h b/os/kernel/templates/chtypes.h index 164ccbe60..9be581d33 100644 --- a/os/kernel/templates/chtypes.h +++ b/os/kernel/templates/chtypes.h @@ -101,7 +101,7 @@ typedef int32_t cnt_t; * @note This is required because some compilers require a custom keyword, * usually this macro is just set to "const" for the GCC compiler. * @note This macro is not used to place constants in different address - * spaces (like AVR requires as example) because it is assumed that + * spaces (like AVR requires for example) because it is assumed that * a pointer to a ROMCONST constant is compatible with a pointer * to a normal variable. It is just like the "const" keyword but * requires that the constant is placed in ROM if the architecture diff --git a/os/ports/GCC/AVR/chcore.c b/os/ports/GCC/AVR/chcore.c index 32e48ce52..082b5fd79 100644 --- a/os/ports/GCC/AVR/chcore.c +++ b/os/ports/GCC/AVR/chcore.c @@ -103,7 +103,7 @@ void port_switch(Thread *ntp, Thread *otp) { /** * @brief Halts the system. * @details This function is invoked by the operating system when an - * unrecoverable error is detected (as example because a programming + * unrecoverable error is detected (for example because a programming * error in the application code that triggers an assertion while in * debug mode). * @note The function is declared as a weak symbol, it is possible to diff --git a/os/ports/GCC/MSP430/chcore.c b/os/ports/GCC/MSP430/chcore.c index cdb98a4c8..d8b1a63de 100644 --- a/os/ports/GCC/MSP430/chcore.c +++ b/os/ports/GCC/MSP430/chcore.c @@ -69,7 +69,7 @@ void port_switch(Thread *ntp, Thread *otp) { /** * @brief Halts the system. * @details This function is invoked by the operating system when an - * unrecoverable error is detected (as example because a programming + * unrecoverable error is detected (for example because a programming * error in the application code that triggers an assertion while in * debug mode). * @note The function is declared as a weak symbol, it is possible to diff --git a/os/ports/GCC/PPC/chcore.c b/os/ports/GCC/PPC/chcore.c index c09d353ad..907652e6c 100644 --- a/os/ports/GCC/PPC/chcore.c +++ b/os/ports/GCC/PPC/chcore.c @@ -30,7 +30,7 @@ /** * @brief Halts the system. * @details This function is invoked by the operating system when an - * unrecoverable error is detected (as example because a programming + * unrecoverable error is detected (for example because a programming * error in the application code that triggers an assertion while * in debug mode). */ diff --git a/os/ports/RC/STM8/chcore.c b/os/ports/RC/STM8/chcore.c index c09e9f864..ed0103049 100644 --- a/os/ports/RC/STM8/chcore.c +++ b/os/ports/RC/STM8/chcore.c @@ -62,7 +62,7 @@ void _port_thread_start(void) { /** * @brief Halts the system. * @details This function is invoked by the operating system when an - * unrecoverable error is detected (as example because a programming + * unrecoverable error is detected (for example because a programming * error in the application code that triggers an assertion while in * debug mode). */ diff --git a/os/ports/cosmic/STM8/chcore.c b/os/ports/cosmic/STM8/chcore.c index a9a340d4b..1c382cde6 100644 --- a/os/ports/cosmic/STM8/chcore.c +++ b/os/ports/cosmic/STM8/chcore.c @@ -56,7 +56,7 @@ void _port_thread_start(void) { /** * @brief Halts the system. * @details This function is invoked by the operating system when an - * unrecoverable error is detected (as example because a programming + * unrecoverable error is detected (for example because a programming * error in the application code that triggers an assertion while in * debug mode). */ diff --git a/readme.txt b/readme.txt index c73593b13..6c4ab58e3 100644 --- a/readme.txt +++ b/readme.txt @@ -903,7 +903,7 @@ semaphores. It is defaulted to off because usually semaphores are used for I/O related tasks without hard realtime requirements. - NEW: Now the all the options in chconf.h and the various driver headers - can be overridden externally, as example from within the Makefile. + can be overridden externally, for example from within the Makefile. The options are no mode a simple define but a define with an assigned TRUE/FALSE value within an #ifndef block. - NEW: Idle thread hook macro added to the configuration file. -- cgit v1.2.3