From 775b8b4ae55e8794ad2fcadb58cea6e469201631 Mon Sep 17 00:00:00 2001 From: nvt-se Date: Tue, 14 Oct 2008 12:46:39 +0000 Subject: [PATCH] fixed documentation typos. --- core/sys/dsc.h | 4 ++-- core/sys/energest.h | 4 ++-- core/sys/lc-switch.h | 6 +++--- core/sys/loader.h | 4 ++-- core/sys/mt.h | 12 ++++++------ core/sys/process.h | 8 ++++---- core/sys/pt-sem.h | 4 ++-- core/sys/pt.h | 4 ++-- core/sys/rtimer.h | 6 +++--- 9 files changed, 26 insertions(+), 26 deletions(-) diff --git a/core/sys/dsc.h b/core/sys/dsc.h index 3a688709d..29892343e 100644 --- a/core/sys/dsc.h +++ b/core/sys/dsc.h @@ -56,7 +56,7 @@ * * This file is part of the Contiki desktop environment * - * $Id: dsc.h,v 1.3 2007/08/30 14:39:17 matsutsuka Exp $ + * $Id: dsc.h,v 1.4 2008/10/14 12:46:39 nvt-se Exp $ * */ #ifndef __DSC_H__ @@ -96,7 +96,7 @@ struct dsc { }; /** - * Intantiating macro for the DSC structure. + * Instantiating macro for the DSC structure. * * \param dscname The name of the C variable which is to contain the * DSC. diff --git a/core/sys/energest.h b/core/sys/energest.h index 9b207974c..ff0339887 100644 --- a/core/sys/energest.h +++ b/core/sys/energest.h @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: energest.h,v 1.2 2008/09/29 11:44:37 joxe Exp $ + * $Id: energest.h,v 1.3 2008/10/14 12:46:39 nvt-se Exp $ */ /** @@ -44,7 +44,7 @@ #include "sys/rtimer.h" typedef struct { - /* unsigned long cummulative[2];*/ + /* unsigned long cumulative[2];*/ unsigned long current; } energest_t; diff --git a/core/sys/lc-switch.h b/core/sys/lc-switch.h index f9542c0f5..6939004af 100644 --- a/core/sys/lc-switch.h +++ b/core/sys/lc-switch.h @@ -30,7 +30,7 @@ * * Author: Adam Dunkels * - * $Id: lc-switch.h,v 1.2 2007/03/28 19:52:50 adamdunkels Exp $ + * $Id: lc-switch.h,v 1.3 2008/10/14 12:46:39 nvt-se Exp $ */ /** @@ -40,14 +40,14 @@ /** * \file - * Implementation of local continuations based on switch() statment + * Implementation of local continuations based on switch() statement * \author Adam Dunkels * * This implementation of local continuations uses the C switch() * statement to resume execution of a function somewhere inside the * function's body. The implementation is based on the fact that * switch() statements are able to jump directly into the bodies of - * control structures such as if() or while() statmenets. + * control structures such as if() or while() statements. * * This implementation borrows heavily from Simon Tatham's coroutines * implementation in C: diff --git a/core/sys/loader.h b/core/sys/loader.h index cff06e849..88e4762b0 100644 --- a/core/sys/loader.h +++ b/core/sys/loader.h @@ -49,7 +49,7 @@ * * This file is part of the Contiki desktop OS * - * $Id: loader.h,v 1.1 2006/06/17 22:41:20 adamdunkels Exp $ + * $Id: loader.h,v 1.2 2008/10/14 12:46:39 nvt-se Exp $ * */ #ifndef __LOADER_H__ @@ -76,7 +76,7 @@ * Load and execute a program. * * This macro is used for loading and executing a program, and - * requires support from the architecture dependant code. The actual + * requires support from the architecture dependent code. The actual * program loading is made by architecture specific functions. * * \note A program loaded with LOADER_LOAD() must call the diff --git a/core/sys/mt.h b/core/sys/mt.h index 2724adeed..29dbe6ef4 100644 --- a/core/sys/mt.h +++ b/core/sys/mt.h @@ -30,7 +30,7 @@ * * Author: Adam Dunkels * - * $Id: mt.h,v 1.5 2008/05/27 14:00:09 adamdunkels Exp $ + * $Id: mt.h,v 1.6 2008/10/14 12:46:39 nvt-se Exp $ */ /** \addtogroup sys @@ -43,7 +43,7 @@ * The event driven Contiki kernel does not provide multi-threading * by itself - instead, preemptive multi-threading is implemented * as a library that optionally can be linked with applications. This - * library constists of two parts: a platform independent part, which is + * library consists of two parts: a platform independent part, which is * the same for all platforms on which Contiki runs, and a platform * specific part, which must be implemented specifically for the * platform that the multi-threading library should run. @@ -56,7 +56,7 @@ * @{ * * The Contiki multi-threading library requires some architecture - * specific support for seting up and switching stacks. This support + * specific support for setting up and switching stacks. This support * requires four stack manipulation functions to be implemented: * mtarch_start(), which sets up the stack frame for a new thread, * mtarch_exec(), which switches in the stack of a thread, @@ -66,9 +66,9 @@ * (if any) must be implemented: mtarch_pstart() and mtarch_pstop(). * If no preemption is used, these functions can be implemented as * empty functions. Finally, the function mtarch_init() is called by - * mt_init(), and can be used for initalization of timer interrupts, + * mt_init(), and can be used for initialization of timer interrupts, * or any other mechanisms required for correct operation of the - * architecture specific support funcions while mtarch_remove() is + * architecture specific support functions while mtarch_remove() is * called by mt_remove() to clean up those resources. * */ @@ -101,7 +101,7 @@ struct mtarch_thread; * This function is implemented by the architecture specific functions * for the multi-thread library and is called by the mt_init() * function as part of the initialization of the library. The - * mtarch_init() function can be used for, e.g., starting preemtion + * mtarch_init() function can be used for, e.g., starting preemption * timers or other architecture specific mechanisms required for the * operation of the library. */ diff --git a/core/sys/process.h b/core/sys/process.h index 0d2639b46..f1bea6aaf 100644 --- a/core/sys/process.h +++ b/core/sys/process.h @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * @(#)$Id: process.h,v 1.15 2008/02/07 23:04:35 oliverschmidt Exp $ + * @(#)$Id: process.h,v 1.16 2008/10/14 12:46:39 nvt-se Exp $ */ /** @@ -257,7 +257,7 @@ typedef unsigned char process_num_events_t; /** @} */ /** - * \name Process declaration and definion + * \name Process declaration and definition * @{ */ @@ -294,7 +294,7 @@ static PT_THREAD(process_thread_##name(struct pt *process_pt, \ * and a human readable string name, which is used when debugging. * * \param name The variable name of the process structure. - * \param strname The string repressentation of the process' name. + * \param strname The string representation of the process' name. * * \hideinitializer */ @@ -340,7 +340,7 @@ CCIF void process_start(struct process *p, const char *arg); * * \param ev The event to be posted. * - * \param data The auxillary data to be sent with the event + * \param data The auxiliary data to be sent with the event * * \param p The process to which the event should be posted, or * PROCESS_BROADCAST if the event should be posted to all processes. diff --git a/core/sys/pt-sem.h b/core/sys/pt-sem.h index 042c54b1d..01234ff36 100644 --- a/core/sys/pt-sem.h +++ b/core/sys/pt-sem.h @@ -30,7 +30,7 @@ * * Author: Adam Dunkels * - * $Id: pt-sem.h,v 1.1 2006/06/17 22:41:20 adamdunkels Exp $ + * $Id: pt-sem.h,v 1.2 2008/10/14 12:46:39 nvt-se Exp $ */ /** @@ -48,7 +48,7 @@ * checks the semaphore counter and blocks the thread if the counter * is zero. The "signal" operation increases the semaphore counter but * does not block. If another thread has blocked waiting for the - * semaphore that is signalled, the blocked thread will become + * semaphore that is signaled, the blocked thread will become * runnable again. * * Semaphores can be used to implement other, more structured, diff --git a/core/sys/pt.h b/core/sys/pt.h index 1c3efa275..3f1467c62 100644 --- a/core/sys/pt.h +++ b/core/sys/pt.h @@ -30,7 +30,7 @@ * * Author: Adam Dunkels * - * $Id: pt.h,v 1.2 2006/09/26 20:57:58 adamdunkels Exp $ + * $Id: pt.h,v 1.3 2008/10/14 12:46:39 nvt-se Exp $ */ /** @@ -259,7 +259,7 @@ struct pt { /** * Schedule a protothread. * - * This function shedules a protothread. The return value of the + * This function schedules a protothread. The return value of the * function is non-zero if the protothread is running or zero if the * protothread has exited. * diff --git a/core/sys/rtimer.h b/core/sys/rtimer.h index 5223da260..366cef210 100644 --- a/core/sys/rtimer.h +++ b/core/sys/rtimer.h @@ -2,7 +2,7 @@ * \defgroup rt Real-time task scheduling * * The real-time module handles the scheduling and execution of - * real-time tasks (with predictible execution times). + * real-time tasks (with predictable execution times). * * @{ */ @@ -45,7 +45,7 @@ * * This file is part of the Contiki operating system. * - * @(#)$Id: rtimer.h,v 1.6 2007/10/23 20:33:19 adamdunkels Exp $ + * @(#)$Id: rtimer.h,v 1.7 2008/10/14 12:46:39 nvt-se Exp $ */ #ifndef __RTIMER_H__ #define __RTIMER_H__ @@ -66,7 +66,7 @@ struct rtimer; typedef void (* rtimer_callback_t)(struct rtimer *t, void *ptr); /** - * \brief Repressentation of a real-time task + * \brief Representation of a real-time task * * This structure represents a real-time task and is used * by the real-time module and the architecture specific