summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-11-29 13:51:53 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-11-29 13:51:53 +0000
commit28352faecf8b000b71f734cd728f38aa212b9669 (patch)
treec8e773b36bf32ba725cc1548e515f2fa9f8ebe96 /cpukit
parentWhitespace removal. (diff)
downloadrtems-28352faecf8b000b71f734cd728f38aa212b9669.tar.bz2
Whitespace removal.
Diffstat (limited to '')
-rw-r--r--cpukit/sapi/include/confdefs.h40
-rw-r--r--cpukit/sapi/include/rtems/chain.h2
-rw-r--r--cpukit/sapi/include/rtems/config.h10
-rw-r--r--cpukit/sapi/include/rtems/extension.h8
-rw-r--r--cpukit/sapi/include/rtems/fatal.h2
-rw-r--r--cpukit/sapi/include/rtems/init.h2
-rw-r--r--cpukit/sapi/include/rtems/io.h2
-rw-r--r--cpukit/sapi/include/rtems/sptables.h2
-rw-r--r--cpukit/sapi/src/extensioncreate.c2
-rw-r--r--cpukit/sapi/src/extensiondelete.c2
-rw-r--r--cpukit/sapi/src/extensionident.c2
-rw-r--r--cpukit/sapi/src/io.c2
-rw-r--r--cpukit/sapi/src/ioregisterdriver.c4
-rw-r--r--cpukit/score/cpu/c4x/cpu.c6
-rw-r--r--cpukit/score/cpu/c4x/rtems/score/c4x.h42
-rw-r--r--cpukit/score/cpu/c4x/rtems/score/cpu.h42
-rw-r--r--cpukit/score/cpu/c4x/rtems/tic4x/c4xio.h2
-rw-r--r--cpukit/score/cpu/m32c/context_init.c2
-rw-r--r--cpukit/score/cpu/m32c/cpu.c4
-rw-r--r--cpukit/score/cpu/m32c/cpu_asm.c2
-rw-r--r--cpukit/score/cpu/m32c/rtems/score/cpu.h34
-rw-r--r--cpukit/score/cpu/m32c/rtems/score/m32c.h16
-rw-r--r--cpukit/score/cpu/m32c/varvects.h18
-rw-r--r--cpukit/score/include/rtems/debug.h2
-rw-r--r--cpukit/score/include/rtems/system.h12
-rw-r--r--cpukit/score/src/apimutexlock.c2
-rw-r--r--cpukit/score/src/corebarrierwait.c4
-rw-r--r--cpukit/score/src/coremsg.c20
-rw-r--r--cpukit/score/src/coremsgseize.c6
-rw-r--r--cpukit/score/src/coremsgsubmit.c2
-rw-r--r--cpukit/score/src/coremutex.c4
-rw-r--r--cpukit/score/src/coremutexsurrender.c2
-rw-r--r--cpukit/score/src/corerwlockobtainread.c2
-rw-r--r--cpukit/score/src/corerwlockobtainwrite.c2
-rw-r--r--cpukit/score/src/corerwlockrelease.c6
-rw-r--r--cpukit/score/src/coresemseize.c2
-rw-r--r--cpukit/score/src/corespinlockrelease.c6
-rw-r--r--cpukit/score/src/corespinlockwait.c12
-rw-r--r--cpukit/score/src/heapwalk.c10
-rw-r--r--cpukit/score/src/mpci.c2
-rw-r--r--cpukit/score/src/objectextendinformation.c6
-rw-r--r--cpukit/score/src/objectget.c2
-rw-r--r--cpukit/score/src/pheapresizeblock.c2
-rw-r--r--cpukit/score/src/pheapwalk.c2
-rw-r--r--cpukit/score/src/threadclearstate.c2
-rw-r--r--cpukit/score/src/threadget.c12
-rw-r--r--cpukit/score/src/threadhandler.c2
-rw-r--r--cpukit/score/src/threadinitialize.c4
-rw-r--r--cpukit/score/src/threadqenqueue.c4
-rw-r--r--cpukit/score/src/threadqenqueuefifo.c2
-rw-r--r--cpukit/score/src/timespecaddto.c2
-rw-r--r--cpukit/score/src/timespecdivide.c2
-rw-r--r--cpukit/score/src/timespecdividebyinteger.c2
-rw-r--r--cpukit/score/src/timespecgreaterthan.c4
-rw-r--r--cpukit/score/src/timespecisvalid.c2
-rw-r--r--cpukit/score/src/timespeclessthan.c4
-rw-r--r--cpukit/score/src/timespecsubtract.c4
-rw-r--r--cpukit/score/src/timespectoticks.c4
-rw-r--r--cpukit/score/src/ts64divide.c2
-rw-r--r--cpukit/score/src/ts64getnanoseconds.c2
-rw-r--r--cpukit/score/src/ts64toticks.c2
-rw-r--r--cpukit/score/src/userext.c4
-rw-r--r--cpukit/score/src/userextaddapiset.c2
-rw-r--r--cpukit/score/src/userextremoveset.c2
-rw-r--r--cpukit/score/src/userextthreadswitch.c2
-rw-r--r--cpukit/score/src/watchdogadjusttochain.c8
-rw-r--r--cpukit/score/src/watchdogreport.c4
-rw-r--r--cpukit/score/src/watchdogtickle.c24
68 files changed, 229 insertions, 229 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 9d1bee2674..5b6ecadfa6 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -24,8 +24,8 @@
* support the RTEMS Test Suites into something that can be
* used remarkably reliably by most applications.
*/
-
-/*
+
+/*
* COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
@@ -76,21 +76,21 @@ extern rtems_configuration_table Configuration;
#include <rtems/libio.h>
#ifdef CONFIGURE_INIT
-rtems_libio_init_functions_t rtems_libio_init_helper =
+rtems_libio_init_functions_t rtems_libio_init_helper =
#ifdef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
NULL;
#else
rtems_libio_init;
#endif
-rtems_libio_supp_functions_t rtems_libio_supp_helper =
+rtems_libio_supp_functions_t rtems_libio_supp_helper =
#ifdef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
NULL;
#else
open_dev_console;
#endif
-rtems_fs_init_functions_t rtems_fs_init_helper =
+rtems_fs_init_functions_t rtems_fs_init_helper =
#ifdef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
NULL;
#else
@@ -109,7 +109,7 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
#endif
/**
- * This macro defines the number of POSIX file descriptors allocated
+ * This macro defines the number of POSIX file descriptors allocated
* and managed by libio. These are the "integer" file descriptors that
* are used by calls like open(2) and read(2).
*/
@@ -258,7 +258,7 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
#define CONFIGURE_STACK_CHECKER_ENABLED
#warning "STACK_CHECKER_ON deprecated -- use CONFIGURE_STACK_CHECKER_ENABLED"
#endif
-
+
/**
* This configures the stack checker user extension.
*/
@@ -467,7 +467,7 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
/**
* This configures the malloc family plugin which dirties memory
* allocated. This is helpful for finding unitialized data structure
- * problems.
+ * problems.
*/
rtems_malloc_dirtier_t *rtems_malloc_dirty_helper =
#if defined(CONFIGURE_MALLOC_DIRTY)
@@ -494,8 +494,8 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
((_max) & ~RTEMS_UNLIMITED_OBJECTS)
/**
- * This macro accounts for how memory for a set of configured objects is
- * allocated from the Executive Workspace.
+ * This macro accounts for how memory for a set of configured objects is
+ * allocated from the Executive Workspace.
*
* NOTE: It does NOT attempt to address the more complex case of unlimited
* objects.
@@ -771,7 +771,7 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
RTEMS_BDBUF_BUFFER_MAX_SIZE_DEFAULT
#endif
#ifdef CONFIGURE_INIT
- const rtems_bdbuf_config rtems_bdbuf_configuration = {
+ const rtems_bdbuf_config rtems_bdbuf_configuration = {
CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS,
CONFIGURE_BDBUF_MAX_WRITE_BLOCKS,
CONFIGURE_SWAPOUT_TASK_PRIORITY,
@@ -1253,7 +1253,7 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
/**
* This is the maximum number of Ada tasks which can be concurrently
- * in existence. Twenty (20) are required to run all tests in the
+ * in existence. Twenty (20) are required to run all tests in the
* ACATS (formerly ACVC).
*/
#ifndef CONFIGURE_MAXIMUM_ADA_TASKS
@@ -1665,7 +1665,7 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
(CONFIGURE_MAXIMUM_TASKS + \
CONFIGURE_MAXIMUM_POSIX_THREADS + CONFIGURE_MAXIMUM_ADA_TASKS + \
CONFIGURE_MAXIMUM_ITRON_TASKS \
- )
+ )
/**
* This macro reserves the memory required by the statically configured
@@ -1815,7 +1815,7 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
CONFIGURE_MEMORY_FOR_ITRON_MESSAGE_BUFFERS(
CONFIGURE_MAXIMUM_ITRON_MESSAGE_BUFFERS ),
CONFIGURE_MEMORY_FOR_ITRON_PORTS( CONFIGURE_MAXIMUM_ITRON_PORTS ),
- CONFIGURE_MEMORY_FOR_ITRON_MEMORY_POOLS(
+ CONFIGURE_MEMORY_FOR_ITRON_MEMORY_POOLS(
CONFIGURE_MAXIMUM_ITRON_MEMORY_POOLS ),
CONFIGURE_MEMORY_FOR_ITRON_FIXED_MEMORY_POOLS(
CONFIGURE_MAXIMUM_ITRON_FIXED_MEMORY_POOLS ),
@@ -1914,7 +1914,7 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
* needed without requring being high enough logical to
* include the full configuration table.
*/
- uint32_t rtems_minimum_stack_size =
+ uint32_t rtems_minimum_stack_size =
CONFIGURE_MINIMUM_TASK_STACK_SIZE;
/** This variable specifies the maximum priority value that
@@ -1980,7 +1980,7 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
#if defined(CONFIGURE_POSIX_INIT_THREAD_TABLE) || \
defined(CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE)
void _POSIX_Threads_Initialize_user_threads_body(void);
- void (*_POSIX_Threads_Initialize_user_threads_p)(void) =
+ void (*_POSIX_Threads_Initialize_user_threads_p)(void) =
_POSIX_Threads_Initialize_user_threads_body;
#else
void (*_POSIX_Threads_Initialize_user_threads_p)(void) = NULL;
@@ -1997,7 +1997,7 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
#if defined(CONFIGURE_ITRON_INIT_TASK_TABLE) || \
defined(CONFIGURE_ITRON_HAS_OWN_INIT_TASK_TABLE)
void _ITRON_Task_Initialize_user_tasks_body(void);
- void (*_ITRON_Initialize_user_tasks_p)(void) =
+ void (*_ITRON_Initialize_user_tasks_p)(void) =
_ITRON_Task_Initialize_user_tasks_body;
#else
void (*_ITRON_Initialize_user_tasks_p)(void) = NULL;
@@ -2099,8 +2099,8 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
* You must either explicity include or exclude the clock driver.
* It is such a common newbie error to leave it out. Maybe this
* will put an end to it.
- *
- * NOTE: If you are using the timer driver, it is considered
+ *
+ * NOTE: If you are using the timer driver, it is considered
* mutually exclusive with the clock driver because the
* drivers are assumed to use the same "timer" hardware
* on many boards.
@@ -2136,7 +2136,7 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
(CONFIGURE_MAXIMUM_PRIORITY != 255))
#error "Maximum priority is not 1 less than a power of 2 between 4 and 256"
#endif
-
+
#if (CONFIGURE_MAXIMUM_PRIORITY > PRIORITY_DEFAULT_MAXIMUM)
#error "Maximum priority configured higher than supported by target."
#endif
diff --git a/cpukit/sapi/include/rtems/chain.h b/cpukit/sapi/include/rtems/chain.h
index 77ff4fceac..6050da3dfa 100644
--- a/cpukit/sapi/include/rtems/chain.h
+++ b/cpukit/sapi/include/rtems/chain.h
@@ -7,7 +7,7 @@
* code.
*
*/
-
+
/*
* COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
diff --git a/cpukit/sapi/include/rtems/config.h b/cpukit/sapi/include/rtems/config.h
index 1b18addfad..7667794ec5 100644
--- a/cpukit/sapi/include/rtems/config.h
+++ b/cpukit/sapi/include/rtems/config.h
@@ -1,7 +1,7 @@
/**
* @file rtems/config.h
*/
-
+
/*
* This include file contains the table of user defined configuration
* parameters.
@@ -80,7 +80,7 @@ typedef struct {
/** This is the maximum number of proxies. */
uint32_t maximum_proxies;
- /** The MPCI Receive server is assumed to have a stack of at least
+ /** The MPCI Receive server is assumed to have a stack of at least
* minimum stack size. This field specifies the amount of extra
* stack this task will be given in bytes.
*/
@@ -154,7 +154,7 @@ typedef struct {
/** If this element is TRUE, then RTEMS will zero the Executive Workspace.
* When this element is FALSE, it is assumed that the BSP or invoking
- * environment has ensured that memory was cleared before RTEMS was
+ * environment has ensured that memory was cleared before RTEMS was
* invoked.
*/
bool do_zero_of_workspace;
@@ -225,7 +225,7 @@ extern rtems_configuration_table Configuration;
#define rtems_configuration_get_idle_task_stack_size() \
(Configuration.idle_task_stack_size)
-/* XXX We need to get this from the generated table
+/* XXX We need to get this from the generated table
* since BSPs need it before the pointer is set.
* Eventually all should be done this way.
*/
@@ -239,7 +239,7 @@ extern rtems_configuration_table Configuration;
#define rtems_configuration_get_stack_free_hook() \
(Configuration.stack_free_hook)
-
+
/**
* This macro assists in accessing the field which indicates whether
* RTEMS is responsible for zeroing the Executive Workspace.
diff --git a/cpukit/sapi/include/rtems/extension.h b/cpukit/sapi/include/rtems/extension.h
index b7b09126a5..ed29f72f74 100644
--- a/cpukit/sapi/include/rtems/extension.h
+++ b/cpukit/sapi/include/rtems/extension.h
@@ -5,7 +5,7 @@
*
* @brief User Extensions API.
*/
-
+
/*
* COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
@@ -52,7 +52,7 @@ typedef User_extensions_routine
*
* @brief The User Extensions Manager allows the application developer to
* augment the executive by allowing them to supply extension routines which
- * are invoked at critical system events.
+ * are invoked at critical system events.
*
* @section ClassicUserExtensionsSets Extension Sets
*
@@ -152,12 +152,12 @@ typedef User_extensions_routine
* - Task deletion
* - Task context switch
* - Post task context switch
- * - Task begins to execute
+ * - Task begins to execute
*
* At the following system events, the extensions are invoked in reverse order:
*
* - Task deletion
- * - Fatal error detection
+ * - Fatal error detection
*
* At these system events, the extensions are invoked in reverse order to
* insure that if an extension set is built upon another, the more complicated
diff --git a/cpukit/sapi/include/rtems/fatal.h b/cpukit/sapi/include/rtems/fatal.h
index 8185726ebe..413b0f5df0 100644
--- a/cpukit/sapi/include/rtems/fatal.h
+++ b/cpukit/sapi/include/rtems/fatal.h
@@ -1,7 +1,7 @@
/**
* @file rtems/fatal.h
*/
-
+
/*
* This include file contains constants and prototypes related
* to the Fatal Error Manager. This manager processes all fatal or
diff --git a/cpukit/sapi/include/rtems/init.h b/cpukit/sapi/include/rtems/init.h
index 77d3e0885a..2a6a01f601 100644
--- a/cpukit/sapi/include/rtems/init.h
+++ b/cpukit/sapi/include/rtems/init.h
@@ -13,7 +13,7 @@
* + initialize the RTEMS executive
* + shutdown the RTEMS executive
*/
-
+
/*
* COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
diff --git a/cpukit/sapi/include/rtems/io.h b/cpukit/sapi/include/rtems/io.h
index bf0057e5e6..e47d66556d 100644
--- a/cpukit/sapi/include/rtems/io.h
+++ b/cpukit/sapi/include/rtems/io.h
@@ -5,7 +5,7 @@
*
* @brief Classic Input/Output Manager API.
*/
-
+
/*
* COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
diff --git a/cpukit/sapi/include/rtems/sptables.h b/cpukit/sapi/include/rtems/sptables.h
index f9204164d1..e4fbd226bf 100644
--- a/cpukit/sapi/include/rtems/sptables.h
+++ b/cpukit/sapi/include/rtems/sptables.h
@@ -4,7 +4,7 @@
* This include file contains the executive's pre-initialized tables
* used when in a single processor configuration.
*/
-
+
/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
diff --git a/cpukit/sapi/src/extensioncreate.c b/cpukit/sapi/src/extensioncreate.c
index 9e939f57af..ae9c98010b 100644
--- a/cpukit/sapi/src/extensioncreate.c
+++ b/cpukit/sapi/src/extensioncreate.c
@@ -5,7 +5,7 @@
*
* @brief User Extensions Implementation.
*/
-
+
/*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
diff --git a/cpukit/sapi/src/extensiondelete.c b/cpukit/sapi/src/extensiondelete.c
index 02e08767fd..4f5be6337b 100644
--- a/cpukit/sapi/src/extensiondelete.c
+++ b/cpukit/sapi/src/extensiondelete.c
@@ -5,7 +5,7 @@
*
* @brief User Extensions Implementation.
*/
-
+
/*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
diff --git a/cpukit/sapi/src/extensionident.c b/cpukit/sapi/src/extensionident.c
index 626c106b0b..e59f39d7dc 100644
--- a/cpukit/sapi/src/extensionident.c
+++ b/cpukit/sapi/src/extensionident.c
@@ -5,7 +5,7 @@
*
* @brief User Extensions Implementation.
*/
-
+
/*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
diff --git a/cpukit/sapi/src/io.c b/cpukit/sapi/src/io.c
index c3cdf6ea7f..65cb43d568 100644
--- a/cpukit/sapi/src/io.c
+++ b/cpukit/sapi/src/io.c
@@ -67,7 +67,7 @@ void _IO_Manager_initialization(void)
* have to allocate a new driver table and copy theirs to it.
*/
- _IO_Driver_address_table = (rtems_driver_address_table *)
+ _IO_Driver_address_table = (rtems_driver_address_table *)
_Workspace_Allocate_or_fatal_error(
sizeof( rtems_driver_address_table ) * ( number_of_drivers )
);
diff --git a/cpukit/sapi/src/ioregisterdriver.c b/cpukit/sapi/src/ioregisterdriver.c
index 8a81e5c0ee..30d10eb808 100644
--- a/cpukit/sapi/src/ioregisterdriver.c
+++ b/cpukit/sapi/src/ioregisterdriver.c
@@ -5,7 +5,7 @@
*
* @brief Classic Input/Output Manager implementation.
*/
-
+
/*
* COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
@@ -41,7 +41,7 @@ static rtems_status_code rtems_io_obtain_major_number(
{
rtems_device_major_number n = _IO_Number_of_drivers;
rtems_device_major_number m = 0;
-
+
/* major is error checked by caller */
for ( m = 0; m < n; ++m ) {
diff --git a/cpukit/score/cpu/c4x/cpu.c b/cpukit/score/cpu/c4x/cpu.c
index 582765f111..67331c1a2b 100644
--- a/cpukit/score/cpu/c4x/cpu.c
+++ b/cpukit/score/cpu/c4x/cpu.c
@@ -48,7 +48,7 @@ void _CPU_Initialize(void)
* C4x Specific Information:
*
*/
-
+
void _CPU_ISR_install_raw_handler(
uint32_t vector,
proc_ptr new_handler,
@@ -61,7 +61,7 @@ void _CPU_ISR_install_raw_handler(
* This is where we install the interrupt handler into the "raw" interrupt
* table used by the CPU to dispatch interrupt handlers.
*/
-
+
ittp = c4x_get_ittp();
*old_handler = ittp[ vector ];
ittp[ vector ] = new_handler;
@@ -70,7 +70,7 @@ void _CPU_ISR_install_raw_handler(
/*XXX */
#define C4X_CACHE 1
-#define C4X_BASE_ST (C4X_CACHE==1) ? 0x4800 : 0x4000
+#define C4X_BASE_ST (C4X_CACHE==1) ? 0x4800 : 0x4000
void _CPU_Context_Initialize(
Context_Control *_the_context,
diff --git a/cpukit/score/cpu/c4x/rtems/score/c4x.h b/cpukit/score/cpu/c4x/rtems/score/c4x.h
index c7b8f75c58..13559b29e5 100644
--- a/cpukit/score/cpu/c4x/rtems/score/c4x.h
+++ b/cpukit/score/cpu/c4x/rtems/score/c4x.h
@@ -33,29 +33,29 @@ extern "C" {
* dependent features are present in a particular member
* of the family.
*/
-
+
#if defined(_C30)
#define CPU_MODEL_NAME "C30"
#elif defined(_C31)
#define CPU_MODEL_NAME "C31"
-
+
#elif defined(_C32)
#define CPU_MODEL_NAME "C32"
-
+
#elif defined(_C33)
#define CPU_MODEL_NAME "C33"
-
+
#elif defined(_C40)
#define CPU_MODEL_NAME "C40"
-
+
#elif defined(_C44)
#define CPU_MODEL_NAME "C44"
-
+
#else
-
+
#error "Unsupported CPU Model"
-
+
#endif
/*
@@ -69,7 +69,7 @@ extern "C" {
* point registers", the notion of floating point is very inherent to
* applications. In addition, the calling conventions require that
* only a few extended registers be preserved across subroutine calls.
- * The overhead of including these few registers in the basic
+ * The overhead of including these few registers in the basic
* context is small compared to the overhead of managing the notion
* of separate floating point contexts. So we decided to pretend that
* there is no FPU on the C3x or C4x.
@@ -156,7 +156,7 @@ static inline unsigned int cpu_st_get(void)
#define c4x_global_interrupts_get() \
(cpu_st_get() & C4X_ST_GIE)
-
+
#define c4x_global_interrupts_disable() \
cpu_st_bit_clear(C4X_ST_GIE)
@@ -191,7 +191,7 @@ static inline unsigned int c3x_get_if(void)
static inline void c3x_set_if(unsigned int _if_value)
{
- __asm__( "ldi %0, if" : : "g" (_if_value) : "if", "cc");
+ __asm__( "ldi %0, if" : : "g" (_if_value) : "if", "cc");
}
/*
@@ -211,7 +211,7 @@ static inline unsigned int c3x_get_ie(void)
static inline void c3x_set_ie(unsigned int _ie_value)
{
- __asm__ volatile ( "ldi %0, ie" : : "g" (_ie_value) : "ie", "cc");
+ __asm__ volatile ( "ldi %0, ie" : : "g" (_ie_value) : "ie", "cc");
}
/*
@@ -222,7 +222,7 @@ static inline void c3x_set_ie(unsigned int _ie_value)
* c3x_ie_mask_flash - temporarily restores previous IE mask
* c3x_ie_mask_set - sets a specific set of the IE mask
*/
-
+
#define c3x_ie_mask_all( _isr_cookie ) \
do { \
__asm__("ldi ie,%0\n" \
@@ -280,7 +280,7 @@ static inline unsigned int c4x_get_iif(void)
static inline void c4x_set_iif(unsigned int _iif_value)
{
- __asm__( "ldi %0, iif" : : "g" (_iif_value) : "iif", "cc");
+ __asm__( "ldi %0, iif" : : "g" (_iif_value) : "iif", "cc");
}
/*
@@ -300,7 +300,7 @@ static inline unsigned int c4x_get_iie(void)
static inline void c4x_set_iie(unsigned int _iie_value)
{
- __asm__( "ldi %0, iie" : : "g" (_iie_value) : "iie", "cc");
+ __asm__( "ldi %0, iie" : : "g" (_iie_value) : "iie", "cc");
}
/*
@@ -331,15 +331,15 @@ static inline void c4x_set_iie(unsigned int _iie_value)
*/
static inline void * c4x_get_ittp(void)
-{
+{
register unsigned int _if_value;
-
+
__asm__( "ldi if, %0" : "=r" (_if_value) );
- return (void *)((_if_value & 0xffff0000) >> 8);
-}
+ return (void *)((_if_value & 0xffff0000) >> 8);
+}
static inline void c4x_set_ittp(void *_ittp_value)
-{
+{
unsigned int _if_value;
unsigned int _ittp_field;
@@ -356,7 +356,7 @@ static inline void c4x_set_ittp(void *_ittp_value)
#else
c3x_set_if( _if_value );
#endif
-}
+}
#endif /* ifndef ASM */
diff --git a/cpukit/score/cpu/c4x/rtems/score/cpu.h b/cpukit/score/cpu/c4x/rtems/score/cpu.h
index 8c15ec6f52..fb30a04b5d 100644
--- a/cpukit/score/cpu/c4x/rtems/score/cpu.h
+++ b/cpukit/score/cpu/c4x/rtems/score/cpu.h
@@ -48,7 +48,7 @@ extern "C" {
*
* C4x Specific Information:
*
- * We might as well try to inline this code until there is a
+ * We might as well try to inline this code until there is a
* code space problem.
*/
@@ -164,7 +164,7 @@ extern "C" {
/*
* Does the RTEMS invoke the user's ISR with the vector number and
- * a pointer to the saved interrupt frame (1) or just the vector
+ * a pointer to the saved interrupt frame (1) or just the vector
* number (0)?
*
* C4x Specific Information:
@@ -194,7 +194,7 @@ extern "C" {
*
* C4x Specific Information:
*
- * See c4x.h for more details but the bottom line is that the
+ * See c4x.h for more details but the bottom line is that the
* few extended registers required to be preserved across subroutines
* calls are considered part of the integer context. This eliminates
* overhead.
@@ -242,7 +242,7 @@ extern "C" {
*
* C4x Specific Information:
*
- * There is no known reason to make the IDLE task floating point and
+ * There is no known reason to make the IDLE task floating point and
* no point in wasting the memory or increasing the context switch
* time for the IDLE task.
*/
@@ -276,7 +276,7 @@ extern "C" {
*
* C4x Specific Information:
*
- * There is no reason to avoid the deferred FP switch logic on this
+ * There is no reason to avoid the deferred FP switch logic on this
* CPU family.
*/
@@ -434,27 +434,27 @@ extern "C" {
*
* From email with Michael Hayes:
* > > But what are the rules for what is passed in what registers?
- *
+ *
* Args are passed in the following registers (in order):
- *
+ *
* AR2, R2, R3, RC, RS, RE
- *
+ *
* However, the first and second floating point values are always in R2
* and R3 (and all other floats are on the stack). Structs are always
* passed on the stack. If the last argument is an ellipsis, the
* previous argument is passed on the stack so that its address can be
* taken for the stdargs macros.
- *
+ *
* > > What is assumed to be preserved across calls?
- *
- * AR3, AR4, AR5, AR6, AR7
+ *
+ * AR3, AR4, AR5, AR6, AR7
* R4, R5, R8 (using STI/LDI)
* R6, R7 (using STF/LDF)
- *
+ *
* > > What is assumed to be scratch registers?
- *
+ *
* R0, R1, R2, R3, AR0, AR1, AR2, IR0, IR1, BK, RS, RE, RC, R9, R10, R11
- *
+ *
* Based on this information, the task specific context is quite small
* but the interrupt context is much larger. In fact, it could
* easily be argued that there is no point in distinguishing between
@@ -627,7 +627,7 @@ SCORE_EXTERN void *_CPU_Interrupt_stack_high;
*
* C4x Specific Information:
*
- * Based on the information provided in section 7.6.1 (p. 7-26)
+ * Based on the information provided in section 7.6.1 (p. 7-26)
* titled "TMS320C30 and TMS320C31 Interrupt Vector Table" and section
* 7.6.2 "TMS320C32 Interrupt Vector Table" of the TMS32C3x User's
* Guide (rev L, July 1997), vectors are numbered 0x00 - 0x3F. Thus
@@ -993,7 +993,7 @@ void _CPU_Context_Initialize(
* There does not appear to be a simple way to do this on this
* processor family that is better than the generic algorithm.
* Almost certainly, a hand-optimized assembly version of the
- * generic algorithm could be written although it is not
+ * generic algorithm could be written although it is not
* worth the development effort at this time.
*/
@@ -1065,14 +1065,14 @@ void _CPU_Initialize(void);
/*
* _CPU_ISR_install_raw_handler
*
- * This routine installs a "raw" interrupt handler directly into the
+ * This routine installs a "raw" interrupt handler directly into the
* processor's vector table.
*
* C4x Specific Information:
*
* XXXanswer
*/
-
+
void _CPU_ISR_install_raw_handler(
uint32_t vector,
proc_ptr new_handler,
@@ -1199,18 +1199,18 @@ void _CPU_Context_restore_fp(
*
* XXXanswer
*/
-
+
static inline uint32_t CPU_swap_u32(
uint32_t value
)
{
uint32_t byte1, byte2, byte3, byte4, swapped;
-
+
byte4 = (value >> 24) & 0xff;
byte3 = (value >> 16) & 0xff;
byte2 = (value >> 8) & 0xff;
byte1 = value & 0xff;
-
+
swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;
return( swapped );
}
diff --git a/cpukit/score/cpu/c4x/rtems/tic4x/c4xio.h b/cpukit/score/cpu/c4x/rtems/tic4x/c4xio.h
index 9d2548ebac..87a20ee91d 100644
--- a/cpukit/score/cpu/c4x/rtems/tic4x/c4xio.h
+++ b/cpukit/score/cpu/c4x/rtems/tic4x/c4xio.h
@@ -90,7 +90,7 @@ struct c4x_timer {
/*
* IO Flags
*
- * NOTE: iof on c3x, iiof on c4x
+ * NOTE: iof on c3x, iiof on c4x
*/
#ifdef _TMS320C40
diff --git a/cpukit/score/cpu/m32c/context_init.c b/cpukit/score/cpu/m32c/context_init.c
index d888f3f4a0..bff3eec0d9 100644
--- a/cpukit/score/cpu/m32c/context_init.c
+++ b/cpukit/score/cpu/m32c/context_init.c
@@ -56,7 +56,7 @@ void _CPU_Context_Initialize(
if ( !new_level ) /* interrupt level 0 --> enabled */
frame->flg |= 0x40;
frame->a0 = 0x01020304;
- frame->a1 =0xa1a2a3a4;
+ frame->a1 =0xa1a2a3a4;
frame->r0r2 = 0;
frame->r1r3 = 0;
frame->frameLow = ((uint32_t)frame) & 0xffff;
diff --git a/cpukit/score/cpu/m32c/cpu.c b/cpukit/score/cpu/m32c/cpu.c
index 834cec047e..e39ff23b86 100644
--- a/cpukit/score/cpu/m32c/cpu.c
+++ b/cpukit/score/cpu/m32c/cpu.c
@@ -38,7 +38,7 @@ void _CPU_Initialize(void)
*
* XXX document implementation including references if appropriate
*/
-
+
uint32_t _CPU_ISR_Get_level( void )
{
int flag;
@@ -55,7 +55,7 @@ uint32_t _CPU_ISR_Get_level( void )
*
* XXX document implementation including references if appropriate
*/
-
+
void _CPU_ISR_install_raw_handler(
uint32_t vector,
proc_ptr new_handler,
diff --git a/cpukit/score/cpu/m32c/cpu_asm.c b/cpukit/score/cpu/m32c/cpu_asm.c
index dfab402aa9..60671d312e 100644
--- a/cpukit/score/cpu/m32c/cpu_asm.c
+++ b/cpukit/score/cpu/m32c/cpu_asm.c
@@ -94,7 +94,7 @@ void _ISR_Handler(void)
*
* LABEL "exit interrupt (simple case):
* #if ( CPU_HAS_SOFTWARE_INTERRUPT_STACK == TRUE )
- * if outermost interrupt
+ * if outermost interrupt
* restore stack
* #endif
* prepare to get out of interrupt
diff --git a/cpukit/score/cpu/m32c/rtems/score/cpu.h b/cpukit/score/cpu/m32c/rtems/score/cpu.h
index 3f8057f922..a6c8bdd274 100644
--- a/cpukit/score/cpu/m32c/rtems/score/cpu.h
+++ b/cpukit/score/cpu/m32c/rtems/score/cpu.h
@@ -13,7 +13,7 @@
*
* + Anywhere there is an XXX, it should be replaced
* with information about the CPU family being ported to.
- *
+ *
* + At the end of each comment section, there is a heading which
* says "Port Specific Information:". When porting to RTEMS,
* add CPU family specific information in this section
@@ -170,7 +170,7 @@ extern "C" {
/**
* Does the RTEMS invoke the user's ISR with the vector number and
- * a pointer to the saved interrupt frame (1) or just the vector
+ * a pointer to the saved interrupt frame (1) or just the vector
* number (0)?
*
* Port Specific Information:
@@ -197,7 +197,7 @@ extern "C" {
* an i387 and wish to leave floating point support out of RTEMS.
*/
-/**
+/**
* @def CPU_SOFTWARE_FP
*
* Does the CPU have no hardware floating point and GCC provides a
@@ -205,7 +205,7 @@ extern "C" {
* switched?
*
* This feature conditional is used to indicate whether or not there
- * is software implemented floating point that must be context
+ * is software implemented floating point that must be context
* switched. The determination of whether or not this applies
* is very tool specific and the state saved/restored is also
* compiler specific.
@@ -483,7 +483,7 @@ typedef struct {
* This macro returns the stack pointer associated with @a _context.
*
* @param[in] _context is the thread context area to access
- *
+ *
* @return This method returns the stack pointer.
*/
#define _CPU_Context_Get_SP( _context ) \
@@ -496,7 +496,7 @@ typedef struct {
* in @ref Context_Control.
*/
typedef struct {
- /** This field is a hint that a port will have a number of integer
+ /** This field is a hint that a port will have a number of integer
* registers that need to be saved when an interrupt occurs or
* when a context switch occurs at the end of an ISR.
*/
@@ -524,14 +524,14 @@ typedef struct {
/**
* @ingroup CPUInterrupt
- * This variable points to the lowest physical address of the interrupt
+ * This variable points to the lowest physical address of the interrupt
* stack.
*/
SCORE_EXTERN void *_CPU_Interrupt_stack_low;
/**
* @ingroup CPUInterrupt
- * This variable points to the lowest physical address of the interrupt
+ * This variable points to the lowest physical address of the interrupt
* stack.
*/
SCORE_EXTERN void *_CPU_Interrupt_stack_high;
@@ -612,7 +612,7 @@ SCORE_EXTERN void *_CPU_Interrupt_stack_high;
*
* @note This does not have to be a power of 2 although it should be
* a multiple of 2 greater than or equal to 2. The requirement
- * to be a multiple of 2 is because the heap uses the least
+ * to be a multiple of 2 is because the heap uses the least
* significant field of the front and back flags to indicate
* that a block is in use or free. So you do not want any odd
* length blocks really putting length data in that bit.
@@ -902,7 +902,7 @@ void _CPU_Context_Restart_self(
/**
* @defgroup CPUBitfield Processor Dependent Bitfield Manipulation
*
- * This set of routines are used to implement fast searches for
+ * This set of routines are used to implement fast searches for
* the most important ready task.
*/
@@ -927,7 +927,7 @@ void _CPU_Context_Restart_self(
/**
* @ingroup CPUBitfield
* This routine sets @a _output to the bit number of the first bit
- * set in @a _value. @a _value is of CPU dependent type
+ * set in @a _value. @a _value is of CPU dependent type
* @a Priority_Bit_map_control. This type may be either 16 or 32 bits
* wide although only the 16 least significant bits will be used.
*
@@ -970,14 +970,14 @@ void _CPU_Context_Restart_self(
if _value > 0x00ff
_value >>=8
_number = 8;
-
+
if _value > 0x0000f
_value >=8
_number += 4
-
+
_number += bit_set_table[ _value ]
@endverbatim
-
+
* where bit_set_table[ 16 ] has values which indicate the first
* bit set
*
@@ -1049,7 +1049,7 @@ void _CPU_Initialize(void);
/**
* @ingroup CPUInterrupt
- * This routine installs a "raw" interrupt handler directly into the
+ * This routine installs a "raw" interrupt handler directly into the
* processor's vector table.
*
* @param[in] vector is the vector number
@@ -1175,12 +1175,12 @@ static inline uint32_t CPU_swap_u32(
)
{
uint32_t byte1, byte2, byte3, byte4, swapped;
-
+
byte4 = (value >> 24) & 0xff;
byte3 = (value >> 16) & 0xff;
byte2 = (value >> 8) & 0xff;
byte1 = value & 0xff;
-
+
swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;
return swapped;
}
diff --git a/cpukit/score/cpu/m32c/rtems/score/m32c.h b/cpukit/score/cpu/m32c/rtems/score/m32c.h
index 7f377d2280..827898eb4a 100644
--- a/cpukit/score/cpu/m32c/rtems/score/m32c.h
+++ b/cpukit/score/cpu/m32c/rtems/score/m32c.h
@@ -1,5 +1,5 @@
/*
- * This file sets up basic CPU dependency settings based on
+ * This file sets up basic CPU dependency settings based on
* compiler settings. For example, it can determine if
* floating point is available. This particular implementation
* is specified to the NO CPU port.
@@ -32,25 +32,25 @@ extern "C" {
* that this port supports and which RTEMS CPU model they correspond
* to.
*/
-
+
#if defined(rtems_multilib)
/*
- * Figure out all CPU Model Feature Flags based upon compiler
- * predefines.
+ * Figure out all CPU Model Feature Flags based upon compiler
+ * predefines.
*/
#define CPU_MODEL_NAME "rtems_multilib"
#define NOCPU_HAS_FPU 1
#elif defined(__m32c__)
-
+
#define CPU_MODEL_NAME "m32c"
#define M32C_HAS_FPU 0
-
+
#else
-
+
#error "Unsupported CPU Model"
-
+
#endif
/*
diff --git a/cpukit/score/cpu/m32c/varvects.h b/cpukit/score/cpu/m32c/varvects.h
index ae24b006f8..655f9b148d 100644
--- a/cpukit/score/cpu/m32c/varvects.h
+++ b/cpukit/score/cpu/m32c/varvects.h
@@ -3,30 +3,30 @@
Copyright (c) 2008 Red Hat Incorporated.
All rights reserved.
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright
+ Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
- The name of Red Hat Incorporated may not be used to endorse
- or promote products derived from this software without specific
+ The name of Red Hat Incorporated may not be used to endorse
+ or promote products derived from this software without specific
prior written permission.
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
diff --git a/cpukit/score/include/rtems/debug.h b/cpukit/score/include/rtems/debug.h
index 544f5a97a2..b2ec9ea3da 100644
--- a/cpukit/score/include/rtems/debug.h
+++ b/cpukit/score/include/rtems/debug.h
@@ -1,4 +1,4 @@
-/**
+/**
* @file rtems/debug.h
*
* This include file contains the information pertaining to the debug
diff --git a/cpukit/score/include/rtems/system.h b/cpukit/score/include/rtems/system.h
index e807276d21..11dac214d7 100644
--- a/cpukit/score/include/rtems/system.h
+++ b/cpukit/score/include/rtems/system.h
@@ -1,4 +1,4 @@
-/**
+/**
* @file rtems/system.h
*
* This include file contains information that is included in every
@@ -45,7 +45,7 @@ extern "C" {
#define SCORE_EXTERN extern
#endif
-/**
+/**
* The following ensures that all data is declared in the space
* of the initialization routine for either the Initialization Manager
* or the initialization file for the appropriate API. It is
@@ -59,7 +59,7 @@ extern "C" {
#define SAPI_EXTERN extern
#endif
-/**
+/**
* The following ensures that all data is declared in the space
* of the initialization routine for either the Initialization Manager
* or the initialization file for the appropriate API. It is
@@ -73,7 +73,7 @@ extern "C" {
#define RTEMS_EXTERN extern
#endif
-/**
+/**
* The following ensures that all data is declared in the space
* of the initialization routine for either the Initialization Manager
* or the initialization file for the appropriate API. It is
@@ -87,7 +87,7 @@ extern "C" {
#define POSIX_EXTERN extern
#endif
-/**
+/**
* The following ensures that all data is declared in the space
* of the initialization routine for either the Initialization Manager
* or the initialization file for the appropriate API. It is
@@ -180,7 +180,7 @@ typedef void * proc_ptr;
#include <stdint.h>
#include <rtems/score/cpu.h> /* processor specific information */
-/**
+/**
* This macro is used to obtain the offset of a field in a structure.
*/
#define RTEMS_offsetof(type, field) \
diff --git a/cpukit/score/src/apimutexlock.c b/cpukit/score/src/apimutexlock.c
index ee74816100..6729478ae4 100644
--- a/cpukit/score/src/apimutexlock.c
+++ b/cpukit/score/src/apimutexlock.c
@@ -20,7 +20,7 @@ void _API_Mutex_Lock(
API_Mutex_Control *the_mutex
)
{
- ISR_Level level;
+ ISR_Level level;
_ISR_Disable( level );
diff --git a/cpukit/score/src/corebarrierwait.c b/cpukit/score/src/corebarrierwait.c
index 9e71a8ac9a..4db276f1ce 100644
--- a/cpukit/score/src/corebarrierwait.c
+++ b/cpukit/score/src/corebarrierwait.c
@@ -60,14 +60,14 @@ void _CORE_barrier_Wait(
_ISR_Disable( level );
the_barrier->number_of_waiting_threads++;
if ( _CORE_barrier_Is_automatic( &the_barrier->Attributes ) ) {
- if ( the_barrier->number_of_waiting_threads ==
+ if ( the_barrier->number_of_waiting_threads ==
the_barrier->Attributes.maximum_count) {
executing->Wait.return_code = CORE_BARRIER_STATUS_AUTOMATICALLY_RELEASED;
_ISR_Enable( level );
_CORE_barrier_Release( the_barrier, id, api_barrier_mp_support );
return;
}
- }
+ }
_Thread_queue_Enter_critical_section( &the_barrier->Wait_queue );
executing->Wait.queue = &the_barrier->Wait_queue;
diff --git a/cpukit/score/src/coremsg.c b/cpukit/score/src/coremsg.c
index ca5dfcfbeb..4e3b9545e1 100644
--- a/cpukit/score/src/coremsg.c
+++ b/cpukit/score/src/coremsg.c
@@ -62,9 +62,9 @@ bool _CORE_message_queue_Initialize(
the_message_queue->number_of_pending_messages = 0;
the_message_queue->maximum_message_size = maximum_message_size;
_CORE_message_queue_Set_notify( the_message_queue, NULL, NULL );
-
+
/*
- * Round size up to multiple of a pointer for chain init and
+ * Round size up to multiple of a pointer for chain init and
* check for overflow on adding overhead to each message.
*/
allocated_message_size = maximum_message_size;
@@ -72,29 +72,29 @@ bool _CORE_message_queue_Initialize(
allocated_message_size += sizeof(uint32_t);
allocated_message_size &= ~(sizeof(uint32_t) - 1);
}
-
+
if (allocated_message_size < maximum_message_size)
return false;
/*
* Calculate how much total memory is required for message buffering and
- * check for overflow on the multiplication.
+ * check for overflow on the multiplication.
*/
message_buffering_required = (size_t) maximum_pending_messages *
(allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
-
+
if (message_buffering_required < allocated_message_size)
return false;
/*
* Attempt to allocate the message memory
*/
- the_message_queue->message_buffers = (CORE_message_queue_Buffer *)
+ the_message_queue->message_buffers = (CORE_message_queue_Buffer *)
_Workspace_Allocate( message_buffering_required );
-
+
if (the_message_queue->message_buffers == 0)
return false;
-
+
/*
* Initialize the pool of inactive messages, pending messages,
* and set of waiting threads.
@@ -105,9 +105,9 @@ bool _CORE_message_queue_Initialize(
(size_t) maximum_pending_messages,
allocated_message_size + sizeof( CORE_message_queue_Buffer_control )
);
-
+
_Chain_Initialize_empty( &the_message_queue->Pending_messages );
-
+
_Thread_queue_Initialize(
&the_message_queue->Wait_queue,
_CORE_message_queue_Is_priority( the_message_queue_attributes ) ?
diff --git a/cpukit/score/src/coremsgseize.c b/cpukit/score/src/coremsgseize.c
index 7b2294cb72..9a9fd75567 100644
--- a/cpukit/score/src/coremsgseize.c
+++ b/cpukit/score/src/coremsgseize.c
@@ -78,7 +78,7 @@ void _CORE_message_queue_Seize(
_ISR_Enable( level );
*size_p = the_message->Contents.size;
- _Thread_Executing->Wait.count =
+ _Thread_Executing->Wait.count =
_CORE_message_queue_Get_message_priority( the_message );
_CORE_message_queue_Copy_buffer(
the_message->Contents.buffer,
@@ -88,7 +88,7 @@ void _CORE_message_queue_Seize(
#if !defined(RTEMS_SCORE_COREMSG_ENABLE_BLOCKING_SEND)
/*
- * There is not an API with blocking sends enabled.
+ * There is not an API with blocking sends enabled.
* So return immediately.
*/
_CORE_message_queue_Free_message_buffer(the_message_queue, the_message);
@@ -119,7 +119,7 @@ void _CORE_message_queue_Seize(
* waiting task.
*/
_CORE_message_queue_Set_message_priority(
- the_message,
+ the_message,
the_thread->Wait.count
);
the_message->Contents.size = (size_t) the_thread->Wait.option;
diff --git a/cpukit/score/src/coremsgsubmit.c b/cpukit/score/src/coremsgsubmit.c
index a1cdae84ea..c67157dc44 100644
--- a/cpukit/score/src/coremsgsubmit.c
+++ b/cpukit/score/src/coremsgsubmit.c
@@ -108,7 +108,7 @@ CORE_message_queue_Status _CORE_message_queue_Submit(
the_message =
_CORE_message_queue_Allocate_message_buffer( the_message_queue );
- #if defined(RTEMS_DEBUG)
+ #if defined(RTEMS_DEBUG)
/*
* NOTE: If the system is consistent, this error should never occur.
*/
diff --git a/cpukit/score/src/coremutex.c b/cpukit/score/src/coremutex.c
index 6d8a64e75d..dcd2e778fe 100644
--- a/cpukit/score/src/coremutex.c
+++ b/cpukit/score/src/coremutex.c
@@ -64,8 +64,8 @@ CORE_mutex_Status _CORE_mutex_Initialize(
the_mutex->holder_id = _Thread_Executing->Object.id;
if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) ||
_CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
-
- if ( _Thread_Executing->current_priority <
+
+ if ( _Thread_Executing->current_priority <
the_mutex->Attributes.priority_ceiling )
return CORE_MUTEX_STATUS_CEILING_VIOLATED;
#ifdef __RTEMS_STRICT_ORDER_MUTEX__
diff --git a/cpukit/score/src/coremutexsurrender.c b/cpukit/score/src/coremutexsurrender.c
index 28d4b5d876..4d215bb2d1 100644
--- a/cpukit/score/src/coremutexsurrender.c
+++ b/cpukit/score/src/coremutexsurrender.c
@@ -84,7 +84,7 @@ CORE_mutex_Status _CORE_mutex_Surrender(
the_mutex->nest_count--;
- if ( the_mutex->nest_count != 0 ) {
+ if ( the_mutex->nest_count != 0 ) {
/*
* All error checking is on the locking side, so if the lock was
* allowed to acquired multiple times, then we should just deal with
diff --git a/cpukit/score/src/corerwlockobtainread.c b/cpukit/score/src/corerwlockobtainread.c
index 59d984907c..78b6ebc187 100644
--- a/cpukit/score/src/corerwlockobtainread.c
+++ b/cpukit/score/src/corerwlockobtainread.c
@@ -26,7 +26,7 @@
* _CORE_rwlock_Obtain_for_reading
*
* This function waits for the rwlock to become available. Optionally,
- * a limit may be placed on the duration of the spin.
+ * a limit may be placed on the duration of the spin.
*
* Input parameters:
* the_rwlock - the rwlock control block to initialize
diff --git a/cpukit/score/src/corerwlockobtainwrite.c b/cpukit/score/src/corerwlockobtainwrite.c
index 339f257397..c3aae6e34c 100644
--- a/cpukit/score/src/corerwlockobtainwrite.c
+++ b/cpukit/score/src/corerwlockobtainwrite.c
@@ -26,7 +26,7 @@
* _CORE_rwlock_Obtain_for_writing
*
* This function waits for the rwlock to become available. Optionally,
- * a limit may be placed on the duration of the spin.
+ * a limit may be placed on the duration of the spin.
*
* Input parameters:
* the_rwlock - the rwlock control block to initialize
diff --git a/cpukit/score/src/corerwlockrelease.c b/cpukit/score/src/corerwlockrelease.c
index 98aa973580..379fdebdec 100644
--- a/cpukit/score/src/corerwlockrelease.c
+++ b/cpukit/score/src/corerwlockrelease.c
@@ -61,7 +61,7 @@ CORE_RWLock_Status _CORE_RWLock_Release(
_ISR_Enable( level );
return CORE_RWLOCK_SUCCESSFUL;
}
- }
+ }
/* CORE_RWLOCK_LOCKED_FOR_WRITING or READING with readers */
executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;
@@ -74,7 +74,7 @@ CORE_RWLock_Status _CORE_RWLock_Release(
_ISR_Enable( level );
next = _Thread_queue_Dequeue( &the_rwlock->Wait_queue );
-
+
if ( next ) {
if ( next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE ) {
the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_WRITING;
@@ -92,7 +92,7 @@ CORE_RWLock_Status _CORE_RWLock_Release(
*/
while ( 1 ) {
next = _Thread_queue_First( &the_rwlock->Wait_queue );
- if ( !next ||
+ if ( !next ||
next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE )
return CORE_RWLOCK_SUCCESSFUL;
the_rwlock->number_of_readers += 1;
diff --git a/cpukit/score/src/coresemseize.c b/cpukit/score/src/coresemseize.c
index 17f21a43c1..a66690e148 100644
--- a/cpukit/score/src/coresemseize.c
+++ b/cpukit/score/src/coresemseize.c
@@ -64,7 +64,7 @@ void _CORE_semaphore_Seize(
return;
}
- /*
+ /*
* If the semaphore was not available and the caller was not willing
* to block, then return immediately with a status indicating that
* the semaphore was not available and the caller never blocked.
diff --git a/cpukit/score/src/corespinlockrelease.c b/cpukit/score/src/corespinlockrelease.c
index 46aa7c1105..fe027448c1 100644
--- a/cpukit/score/src/corespinlockrelease.c
+++ b/cpukit/score/src/corespinlockrelease.c
@@ -50,7 +50,7 @@ CORE_spinlock_Status _CORE_spinlock_Release(
if ( the_spinlock->lock == CORE_SPINLOCK_UNLOCKED ) {
_ISR_Enable( level );
return CORE_SPINLOCK_NOT_LOCKED;
- }
+ }
/*
* It must locked by the current thread before it can be unlocked.
@@ -58,8 +58,8 @@ CORE_spinlock_Status _CORE_spinlock_Release(
if ( the_spinlock->holder != _Thread_Executing->Object.id ) {
_ISR_Enable( level );
return CORE_SPINLOCK_NOT_HOLDER;
- }
-
+ }
+
/*
* Let it be unlocked.
*/
diff --git a/cpukit/score/src/corespinlockwait.c b/cpukit/score/src/corespinlockwait.c
index 4fb49badd7..cf15163977 100644
--- a/cpukit/score/src/corespinlockwait.c
+++ b/cpukit/score/src/corespinlockwait.c
@@ -26,7 +26,7 @@
* _CORE_spinlock_Wait
*
* This function waits for the spinlock to become available. Optionally,
- * a limit may be placed on the duration of the spin.
+ * a limit may be placed on the duration of the spin.
*
* Input parameters:
* the_spinlock - the spinlock control block to initialize
@@ -48,7 +48,7 @@ CORE_spinlock_Status _CORE_spinlock_Wait(
#endif
_ISR_Disable( level );
- if ( (the_spinlock->lock == CORE_SPINLOCK_LOCKED) &&
+ if ( (the_spinlock->lock == CORE_SPINLOCK_LOCKED) &&
(the_spinlock->holder == _Thread_Executing->Object.id) ) {
_ISR_Enable( level );
return CORE_SPINLOCK_HOLDER_RELOCKING;
@@ -89,12 +89,12 @@ CORE_spinlock_Status _CORE_spinlock_Wait(
* POSIX does not say anything about ISRs, that implies that
* another thread must be able to run while spinning. We are
* not blocking so that implies we are at least preemptible
- * and possibly time-sliced.
- *
+ * and possibly time-sliced.
+ *
* So first, we will enable interrpts to allow for them to happen.
* Then we will "flash" the thread dispatching critical section
* so other threads have a chance to run.
- *
+ *
* A spinlock cannot be deleted while it is being used so we are
* safe from deletion.
*/
@@ -104,7 +104,7 @@ CORE_spinlock_Status _CORE_spinlock_Wait(
_Thread_Enable_dispatch();
/* Another thread could get dispatched here */
-
+
/* Reenter the critical sections so we can attempt the lock again. */
_Thread_Disable_dispatch();
diff --git a/cpukit/score/src/heapwalk.c b/cpukit/score/src/heapwalk.c
index ee2ba0181f..f7043c0c41 100644
--- a/cpukit/score/src/heapwalk.c
+++ b/cpukit/score/src/heapwalk.c
@@ -366,7 +366,7 @@ bool _Heap_Walk(
block,
next_block
);
-
+
return false;
}
@@ -378,7 +378,7 @@ bool _Heap_Walk(
block,
block_size
);
-
+
return false;
}
@@ -391,7 +391,7 @@ bool _Heap_Walk(
block_size,
min_block_size
);
-
+
return false;
}
@@ -403,10 +403,10 @@ bool _Heap_Walk(
block,
next_block
);
-
+
return false;
}
-
+
if ( !_Heap_Is_prev_used( next_block ) ) {
if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
return false;
diff --git a/cpukit/score/src/mpci.c b/cpukit/score/src/mpci.c
index 74ed371df5..d8f68ebc89 100644
--- a/cpukit/score/src/mpci.c
+++ b/cpukit/score/src/mpci.c
@@ -122,7 +122,7 @@ void _MPCI_Create_server( void )
&_Thread_Internal_information,
_MPCI_Receive_server_tcb,
NULL, /* allocate the stack */
- _Stack_Minimum() +
+ _Stack_Minimum() +
CPU_MPCI_RECEIVE_SERVER_EXTRA_STACK +
_Configuration_MP_table->extra_mpci_receive_server_stack,
CPU_ALL_TASKS_ARE_FP,
diff --git a/cpukit/score/src/objectextendinformation.c b/cpukit/score/src/objectextendinformation.c
index bafdc58fda..f8e19cf130 100644
--- a/cpukit/score/src/objectextendinformation.c
+++ b/cpukit/score/src/objectextendinformation.c
@@ -94,7 +94,7 @@ void _Objects_Extend_information(
* Allocate the name table, and the objects and if it fails either return or
* generate a fatal error depending on auto-extending being active.
*/
-
+
block_size = information->allocation_size * information->size;
if ( information->auto_extend ) {
new_object_block = _Workspace_Allocate( block_size );
@@ -103,7 +103,7 @@ void _Objects_Extend_information(
} else {
new_object_block = _Workspace_Allocate_or_fatal_error( block_size );
}
-
+
/*
* If the index_base is the maximum we need to grow the tables.
*/
@@ -152,7 +152,7 @@ void _Objects_Extend_information(
_Workspace_Free( new_object_block );
return;
}
-
+
/*
* Break the block into the various sections.
*/
diff --git a/cpukit/score/src/objectget.c b/cpukit/score/src/objectget.c
index a0aa3465b2..2abcc389fb 100644
--- a/cpukit/score/src/objectget.c
+++ b/cpukit/score/src/objectget.c
@@ -63,7 +63,7 @@ Objects_Control *_Objects_Get(
* outside this class.
*
* If the Id matches the api, class, and node but index portion is 0,
- * then the subtraction will underflow and the addition of 1 will
+ * then the subtraction will underflow and the addition of 1 will
* result in a 0 index. The zeroth element in the local_table is
* always NULL.
*
diff --git a/cpukit/score/src/pheapresizeblock.c b/cpukit/score/src/pheapresizeblock.c
index c229f31731..14dc522cff 100644
--- a/cpukit/score/src/pheapresizeblock.c
+++ b/cpukit/score/src/pheapresizeblock.c
@@ -35,7 +35,7 @@ bool _Protected_heap_Resize_block(
uintptr_t avail_mem_size;
_RTEMS_Lock_allocator();
- status = _Heap_Resize_block(
+ status = _Heap_Resize_block(
the_heap, starting_address, size, &old_mem_size, &avail_mem_size );
_RTEMS_Unlock_allocator();
return (status == HEAP_RESIZE_SUCCESSFUL);
diff --git a/cpukit/score/src/pheapwalk.c b/cpukit/score/src/pheapwalk.c
index e86874192f..4aa2279902 100644
--- a/cpukit/score/src/pheapwalk.c
+++ b/cpukit/score/src/pheapwalk.c
@@ -36,7 +36,7 @@ bool _Protected_heap_Walk(
* If we are called from within a dispatching critical section,
* then it is forbidden to lock a mutex. But since we are inside
* a critical section, it should be safe to walk it unlocked.
- *
+ *
* NOTE: Dispatching is also disabled during initialization.
*/
if ( !_Thread_Dispatch_disable_level ) {
diff --git a/cpukit/score/src/threadclearstate.c b/cpukit/score/src/threadclearstate.c
index 9049c8bbee..872d57cc66 100644
--- a/cpukit/score/src/threadclearstate.c
+++ b/cpukit/score/src/threadclearstate.c
@@ -78,7 +78,7 @@ void _Thread_Clear_state(
* then we have a new heir. This may or may not result in a
* context switch.
*
- * Normal case:
+ * Normal case:
* If the current thread is preemptible, then we need to do
* a context switch.
* Pseudo-ISR case:
diff --git a/cpukit/score/src/threadget.c b/cpukit/score/src/threadget.c
index d7d9106998..c531fd9bf0 100644
--- a/cpukit/score/src/threadget.c
+++ b/cpukit/score/src/threadget.c
@@ -56,26 +56,26 @@ Thread_Control *_Thread_Get (
Objects_Information **api_information;
Objects_Information *information;
Thread_Control *tp = (Thread_Control *) 0;
-
+
if ( _Objects_Are_ids_equal( id, OBJECTS_ID_OF_SELF ) ) {
_Thread_Disable_dispatch();
*location = OBJECTS_LOCAL;
tp = _Thread_Executing;
goto done;
}
-
+
the_api = _Objects_Get_API( id );
if ( !_Objects_Is_api_valid( the_api ) ) {
*location = OBJECTS_ERROR;
goto done;
}
-
+
the_class = _Objects_Get_class( id );
if ( the_class != 1 ) { /* threads are always first class :) */
*location = OBJECTS_ERROR;
goto done;
}
-
+
api_information = _Objects_Information_table[ the_api ];
if ( !api_information ) {
*location = OBJECTS_ERROR;
@@ -87,9 +87,9 @@ Thread_Control *_Thread_Get (
*location = OBJECTS_ERROR;
goto done;
}
-
+
tp = (Thread_Control *) _Objects_Get( information, id, location );
-
+
done:
return tp;
}
diff --git a/cpukit/score/src/threadhandler.c b/cpukit/score/src/threadhandler.c
index be073700a0..3fffd8fb83 100644
--- a/cpukit/score/src/threadhandler.c
+++ b/cpukit/score/src/threadhandler.c
@@ -88,7 +88,7 @@ void _Thread_Handler( void )
executing = _Thread_Executing;
/*
- * Some CPUs need to tinker with the call frame or registers when the
+ * Some CPUs need to tinker with the call frame or registers when the
* thread actually begins to execute for the first time. This is a
* hook point where the port gets a shot at doing whatever it requires.
*/
diff --git a/cpukit/score/src/threadinitialize.c b/cpukit/score/src/threadinitialize.c
index 2f7cf370be..fe9a5c3dea 100644
--- a/cpukit/score/src/threadinitialize.c
+++ b/cpukit/score/src/threadinitialize.c
@@ -214,7 +214,7 @@ bool _Thread_Initialize(
/*
* We assume the Allocator Mutex is locked and dispatching is
* enabled when we get here. We want to be able to run the
- * user extensions with dispatching enabled. The Allocator
+ * user extensions with dispatching enabled. The Allocator
* Mutex provides sufficient protection to let the user extensions
* run safely.
*/
@@ -229,7 +229,7 @@ failed:
for ( i=0 ; i <= THREAD_API_LAST ; i++ )
if ( the_thread->API_Extensions[i] )
_Workspace_Free( the_thread->API_Extensions[i] );
-
+
if ( extensions_area )
(void) _Workspace_Free( extensions_area );
diff --git a/cpukit/score/src/threadqenqueue.c b/cpukit/score/src/threadqenqueue.c
index b517cc1090..dbb1661feb 100644
--- a/cpukit/score/src/threadqenqueue.c
+++ b/cpukit/score/src/threadqenqueue.c
@@ -71,7 +71,7 @@ void _Thread_queue_Enqueue_with_handler(
/*
* If the thread wants to timeout, then schedule its timer.
- */
+ */
if ( timeout ) {
_Watchdog_Initialize(
&the_thread->Timer,
@@ -85,7 +85,7 @@ void _Thread_queue_Enqueue_with_handler(
/*
* Now enqueue the thread per the discipline for this thread queue.
- */
+ */
if ( the_thread_queue->discipline == THREAD_QUEUE_DISCIPLINE_PRIORITY )
enqueue_p = _Thread_queue_Enqueue_priority;
else /* must be THREAD_QUEUE_DISCIPLINE_FIFO */
diff --git a/cpukit/score/src/threadqenqueuefifo.c b/cpukit/score/src/threadqenqueuefifo.c
index 229261efad..da3c809212 100644
--- a/cpukit/score/src/threadqenqueuefifo.c
+++ b/cpukit/score/src/threadqenqueuefifo.c
@@ -65,7 +65,7 @@ Thread_blocking_operation_States _Thread_queue_Enqueue_fifo (
_ISR_Enable( level );
return THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;
}
-
+
/*
* An interrupt completed the thread's blocking request.
* For example, the blocking thread could have been given
diff --git a/cpukit/score/src/timespecaddto.c b/cpukit/score/src/timespecaddto.c
index e45e1e1d7b..ac764b83c1 100644
--- a/cpukit/score/src/timespecaddto.c
+++ b/cpukit/score/src/timespecaddto.c
@@ -1,4 +1,4 @@
-/**
+/**
* @file score/src/timespecaddto.c
*/
diff --git a/cpukit/score/src/timespecdivide.c b/cpukit/score/src/timespecdivide.c
index 68b284909d..5e2cd2a65a 100644
--- a/cpukit/score/src/timespecdivide.c
+++ b/cpukit/score/src/timespecdivide.c
@@ -1,4 +1,4 @@
-/**
+/**
* @file score/src/timespecdivide.c
*/
diff --git a/cpukit/score/src/timespecdividebyinteger.c b/cpukit/score/src/timespecdividebyinteger.c
index 34a719a577..118fd24ee3 100644
--- a/cpukit/score/src/timespecdividebyinteger.c
+++ b/cpukit/score/src/timespecdividebyinteger.c
@@ -1,4 +1,4 @@
-/**
+/**
* @file score/src/timespecdividebyinteger.c
*/
diff --git a/cpukit/score/src/timespecgreaterthan.c b/cpukit/score/src/timespecgreaterthan.c
index 3db4c7c877..b0e7870ac6 100644
--- a/cpukit/score/src/timespecgreaterthan.c
+++ b/cpukit/score/src/timespecgreaterthan.c
@@ -1,4 +1,4 @@
-/**
+/**
* @file score/src/timespecgreaterthan.c
*/
@@ -36,7 +36,7 @@ bool _Timespec_Greater_than(
/* ASSERT: lhs->tv_sec == rhs->tv_sec */
if ( lhs->tv_nsec > rhs->tv_nsec )
- return true;
+ return true;
return false;
}
diff --git a/cpukit/score/src/timespecisvalid.c b/cpukit/score/src/timespecisvalid.c
index c02e8917ca..3347052ba9 100644
--- a/cpukit/score/src/timespecisvalid.c
+++ b/cpukit/score/src/timespecisvalid.c
@@ -1,4 +1,4 @@
-/**
+/**
* @file score/src/timespecisvalid.c
*/
diff --git a/cpukit/score/src/timespeclessthan.c b/cpukit/score/src/timespeclessthan.c
index 9b9000bdbb..fb54e69dc9 100644
--- a/cpukit/score/src/timespeclessthan.c
+++ b/cpukit/score/src/timespeclessthan.c
@@ -1,4 +1,4 @@
-/**
+/**
* @file score/src/timespeclessthan.c
*/
@@ -36,7 +36,7 @@ bool _Timespec_Less_than(
/* ASSERT: lhs->tv_sec == rhs->tv_sec */
if ( lhs->tv_nsec < rhs->tv_nsec )
- return true;
+ return true;
return false;
}
diff --git a/cpukit/score/src/timespecsubtract.c b/cpukit/score/src/timespecsubtract.c
index d17107fcc0..44e9f21c25 100644
--- a/cpukit/score/src/timespecsubtract.c
+++ b/cpukit/score/src/timespecsubtract.c
@@ -1,4 +1,4 @@
-/**
+/**
* @file score/src/timespecsubtract.c
*/
@@ -32,7 +32,7 @@ void _Timespec_Subtract(
if (end->tv_nsec < start->tv_nsec) {
result->tv_sec = end->tv_sec - start->tv_sec - 1;
- result->tv_nsec =
+ result->tv_nsec =
(TOD_NANOSECONDS_PER_SECOND - start->tv_nsec) + end->tv_nsec;
} else {
result->tv_sec = end->tv_sec - start->tv_sec;
diff --git a/cpukit/score/src/timespectoticks.c b/cpukit/score/src/timespectoticks.c
index 51ad0e07f3..ddd82e67a7 100644
--- a/cpukit/score/src/timespectoticks.c
+++ b/cpukit/score/src/timespectoticks.c
@@ -1,4 +1,4 @@
-/**
+/**
* @file score/src/timespectoticks.c
*/
@@ -36,7 +36,7 @@ uint32_t _Timespec_To_ticks(
{
uint32_t ticks;
- if ( (time->tv_sec == 0) && (time->tv_nsec == 0) )
+ if ( (time->tv_sec == 0) && (time->tv_nsec == 0) )
return 0;
ticks = time->tv_sec * TOD_TICKS_PER_SECOND;
diff --git a/cpukit/score/src/ts64divide.c b/cpukit/score/src/ts64divide.c
index 0bf410664b..01e2661ac4 100644
--- a/cpukit/score/src/ts64divide.c
+++ b/cpukit/score/src/ts64divide.c
@@ -1,4 +1,4 @@
-/**
+/**
* @file score/src/ts64divide.c
*/
diff --git a/cpukit/score/src/ts64getnanoseconds.c b/cpukit/score/src/ts64getnanoseconds.c
index 86ba1c1b75..f9d57a9ab1 100644
--- a/cpukit/score/src/ts64getnanoseconds.c
+++ b/cpukit/score/src/ts64getnanoseconds.c
@@ -1,4 +1,4 @@
-/**
+/**
* @file score/src/ts64toticks.c
*/
diff --git a/cpukit/score/src/ts64toticks.c b/cpukit/score/src/ts64toticks.c
index d751a109a1..273bcc15b4 100644
--- a/cpukit/score/src/ts64toticks.c
+++ b/cpukit/score/src/ts64toticks.c
@@ -1,4 +1,4 @@
-/**
+/**
* @file score/src/ts64toticks.c
*/
diff --git a/cpukit/score/src/userext.c b/cpukit/score/src/userext.c
index 9b778b6300..d0e8efc6c9 100644
--- a/cpukit/score/src/userext.c
+++ b/cpukit/score/src/userext.c
@@ -45,13 +45,13 @@ void _User_extensions_Handler_initialization(void)
_Workspace_Allocate_or_fatal_error(
number_of_extensions * sizeof( User_extensions_Control )
);
-
+
memset (
extension,
0,
number_of_extensions * sizeof( User_extensions_Control )
);
-
+
for ( i = 0 ; i < number_of_extensions ; i++ ) {
_User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
extension++;
diff --git a/cpukit/score/src/userextaddapiset.c b/cpukit/score/src/userextaddapiset.c
index 5b54e19069..954571f8af 100644
--- a/cpukit/score/src/userextaddapiset.c
+++ b/cpukit/score/src/userextaddapiset.c
@@ -36,7 +36,7 @@ void _User_extensions_Add_API_set (
#endif
{
the_extension->Switch.thread_switch = the_extension->Callouts.thread_switch;
- _Chain_Append(
+ _Chain_Append(
&_User_extensions_Switches_list, &the_extension->Switch.Node );
}
}
diff --git a/cpukit/score/src/userextremoveset.c b/cpukit/score/src/userextremoveset.c
index 4466007c25..a7f23da536 100644
--- a/cpukit/score/src/userextremoveset.c
+++ b/cpukit/score/src/userextremoveset.c
@@ -29,7 +29,7 @@ void _User_extensions_Remove_set (
)
{
_Chain_Extract( &the_extension->Node );
-
+
/*
* If a switch handler is present, remove it.
*/
diff --git a/cpukit/score/src/userextthreadswitch.c b/cpukit/score/src/userextthreadswitch.c
index e7896e79a0..10ab6b6583 100644
--- a/cpukit/score/src/userextthreadswitch.c
+++ b/cpukit/score/src/userextthreadswitch.c
@@ -31,7 +31,7 @@ void _User_extensions_Thread_switch (
{
Chain_Node *the_node;
User_extensions_Switch_control *the_extension_switch;
-
+
for ( the_node = _User_extensions_Switches_list.first ;
!_Chain_Is_tail( &_User_extensions_Switches_list, the_node ) ;
the_node = the_node->next ) {
diff --git a/cpukit/score/src/watchdogadjusttochain.c b/cpukit/score/src/watchdogadjusttochain.c
index 0578276429..569a9364f7 100644
--- a/cpukit/score/src/watchdogadjusttochain.c
+++ b/cpukit/score/src/watchdogadjusttochain.c
@@ -31,12 +31,12 @@ void _Watchdog_Adjust_to_chain(
{
Watchdog_Interval units = units_arg;
ISR_Level level;
- Watchdog_Control *first;
-
+ Watchdog_Control *first;
+
if ( units <= 0 ) {
return;
}
-
+
_ISR_Disable( level );
while ( 1 ) {
@@ -69,7 +69,7 @@ void _Watchdog_Adjust_to_chain(
_Chain_Append_unprotected( to_fire, &first->Node );
_ISR_Flash( level );
-
+
if ( _Chain_Is_empty( header ) )
break;
first = _Watchdog_First( header );
diff --git a/cpukit/score/src/watchdogreport.c b/cpukit/score/src/watchdogreport.c
index fb1885aa4e..58bce56959 100644
--- a/cpukit/score/src/watchdogreport.c
+++ b/cpukit/score/src/watchdogreport.c
@@ -31,8 +31,8 @@ void _Watchdog_Report(
"%s%s%4d %5d %p %p 0x%08x %p\n",
((name) ? name : ""),
((name) ? " " : ""),
- watch->delta_interval,
- watch->initial,
+ watch->delta_interval,
+ watch->initial,
watch,
watch->routine,
watch->id,
diff --git a/cpukit/score/src/watchdogtickle.c b/cpukit/score/src/watchdogtickle.c
index e5482e7ca2..09b3c7bf09 100644
--- a/cpukit/score/src/watchdogtickle.c
+++ b/cpukit/score/src/watchdogtickle.c
@@ -53,37 +53,37 @@ void _Watchdog_Tickle(
goto leave;
the_watchdog = _Watchdog_First( header );
-
+
/*
* For some reason, on rare occasions the_watchdog->delta_interval
* of the head of the watchdog chain is 0. Before this test was
* added, on these occasions an event (which usually was supposed
* to have a timeout of 1 tick would have a delta_interval of 0, which
- * would be decremented to 0xFFFFFFFF by the unprotected
+ * would be decremented to 0xFFFFFFFF by the unprotected
* "the_watchdog->delta_interval--;" operation.
* This would mean the event would not timeout, and also the chain would
* be blocked, because a timeout with a very high number would be at the
* head, rather than at the end.
* The test "if (the_watchdog->delta_interval != 0)"
- * here prevents this from occuring.
- *
- * We were not able to categorically identify the situation that causes
- * this, but proved it to be true empirically. So this check causes
+ * here prevents this from occuring.
+ *
+ * We were not able to categorically identify the situation that causes
+ * this, but proved it to be true empirically. So this check causes
* correct behaviour in this circumstance.
- *
+ *
* The belief is that a race condition exists whereby an event at the head
* of the chain is removed (by a pending ISR or higher priority task)
- * during the _ISR_Flash( level ); in _Watchdog_Insert, but the watchdog
- * to be inserted has already had its delta_interval adjusted to 0, and
- * so is added to the head of the chain with a delta_interval of 0.
- *
+ * during the _ISR_Flash( level ); in _Watchdog_Insert, but the watchdog
+ * to be inserted has already had its delta_interval adjusted to 0, and
+ * so is added to the head of the chain with a delta_interval of 0.
+ *
* Steven Johnson - 12/2005 (gcc-3.2.3 -O3 on powerpc)
*/
if (the_watchdog->delta_interval != 0) {
the_watchdog->delta_interval--;
if ( the_watchdog->delta_interval != 0 )
goto leave;
- }
+ }
do {
watchdog_state = _Watchdog_Remove( the_watchdog );