aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-11 11:04:05 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-11 11:04:05 +0000
commit009e8d28c38ef6b6797318aee29ca90910753988 (patch)
tree19403e97445d93cb92d219b7f066e3a070a3547a /os/kernel
parenta7b039fae4798eb96b28a8cb59267d26fb9261a9 (diff)
downloadChibiOS-009e8d28c38ef6b6797318aee29ca90910753988.tar.gz
ChibiOS-009e8d28c38ef6b6797318aee29ca90910753988.tar.bz2
ChibiOS-009e8d28c38ef6b6797318aee29ca90910753988.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2346 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel')
-rw-r--r--os/kernel/include/chsys.h2
-rw-r--r--os/kernel/src/chregistry.c2
-rw-r--r--os/kernel/src/chsem.c2
-rw-r--r--os/kernel/templates/chcore.c4
-rw-r--r--os/kernel/templates/chtypes.h2
5 files changed, 6 insertions, 6 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 @@
* - <b>Next</b>, 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.<br>
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.<br>
+ * also have other uses, queues guards and counters for example.<br>
* 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