summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-17 13:32:13 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-17 13:32:13 +0000
commit05279b84b4a0f798b43ce1731784b7db577e772f (patch)
tree4079787381b3993b1f1ea00e4d9083563f8e1252 /cpukit/score/include
parent2004-04-17 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-05279b84b4a0f798b43ce1731784b7db577e772f.tar.bz2
Remove stray white spaces.
Diffstat (limited to 'cpukit/score/include')
-rw-r--r--cpukit/score/include/rtems/debug.h4
-rw-r--r--cpukit/score/include/rtems/score/apiext.h14
-rw-r--r--cpukit/score/include/rtems/score/apimutex.h2
-rw-r--r--cpukit/score/include/rtems/score/bitfield.h2
-rw-r--r--cpukit/score/include/rtems/score/chain.h2
-rw-r--r--cpukit/score/include/rtems/score/coremsg.h38
-rw-r--r--cpukit/score/include/rtems/score/coremutex.h26
-rw-r--r--cpukit/score/include/rtems/score/coresem.h22
-rw-r--r--cpukit/score/include/rtems/score/heap.h2
-rw-r--r--cpukit/score/include/rtems/score/interr.h2
-rw-r--r--cpukit/score/include/rtems/score/isr.h6
-rw-r--r--cpukit/score/include/rtems/score/mpci.h42
-rw-r--r--cpukit/score/include/rtems/score/object.h2
-rw-r--r--cpukit/score/include/rtems/score/objectmp.h2
-rw-r--r--cpukit/score/include/rtems/score/priority.h6
-rw-r--r--cpukit/score/include/rtems/score/sysstate.h2
-rw-r--r--cpukit/score/include/rtems/score/thread.h30
-rw-r--r--cpukit/score/include/rtems/score/threadq.h6
-rw-r--r--cpukit/score/include/rtems/score/tqdata.h2
-rw-r--r--cpukit/score/include/rtems/score/userext.h22
-rw-r--r--cpukit/score/include/rtems/score/wkspace.h2
-rw-r--r--cpukit/score/include/rtems/seterr.h4
22 files changed, 120 insertions, 120 deletions
diff --git a/cpukit/score/include/rtems/debug.h b/cpukit/score/include/rtems/debug.h
index 4a4def3d8b..0dedf89ce9 100644
--- a/cpukit/score/include/rtems/debug.h
+++ b/cpukit/score/include/rtems/debug.h
@@ -70,11 +70,11 @@ void rtems_debug_enable (
*
* This routine disables the specified types of debug checks.
*/
-
+
void rtems_debug_disable (
rtems_debug_control to_be_disabled
);
-
+
/*
*
* _Debug_Is_enabled
diff --git a/cpukit/score/include/rtems/score/apiext.h b/cpukit/score/include/rtems/score/apiext.h
index 3d2d8b8edb..31206d4f83 100644
--- a/cpukit/score/include/rtems/score/apiext.h
+++ b/cpukit/score/include/rtems/score/apiext.h
@@ -23,13 +23,13 @@
* The control structure which defines the points at which an API
* can add an extension to the system initialization thread.
*/
-
+
typedef void (*API_extensions_Predriver_hook)(void);
typedef void (*API_extensions_Postdriver_hook)(void);
typedef void (*API_extensions_Postswitch_hook)(
Thread_Control *
);
-
+
typedef struct {
Chain_Node Node;
@@ -41,7 +41,7 @@ typedef struct {
/*
* This is the list of API extensions to the system initialization.
*/
-
+
SCORE_EXTERN Chain_Control _API_extensions_List;
/*
@@ -52,9 +52,9 @@ SCORE_EXTERN Chain_Control _API_extensions_List;
* This routine initializes the API extension handler.
*
*/
-
+
void _API_extensions_Initialization( void );
-
+
/*
* _API_extensions_Add
*
@@ -62,7 +62,7 @@ void _API_extensions_Initialization( void );
*
* XXX
*/
-
+
void _API_extensions_Add(
API_extensions_Control *the_extension
);
@@ -74,7 +74,7 @@ void _API_extensions_Add(
*
* XXX
*/
-
+
void _API_extensions_Run_predriver( void );
/*
diff --git a/cpukit/score/include/rtems/score/apimutex.h b/cpukit/score/include/rtems/score/apimutex.h
index 0df6b05c77..65ebb5ec0a 100644
--- a/cpukit/score/include/rtems/score/apimutex.h
+++ b/cpukit/score/include/rtems/score/apimutex.h
@@ -109,7 +109,7 @@ SCORE_EXTERN Objects_Information _API_Mutex_Information;
_CORE_mutex_Seize( \
&(_the_mutex)->Mutex, (_the_mutex)->Object.id, TRUE, 0, (_level) ); \
} while (0)
-
+
/*
* _API_Mutex_Unlock
*
diff --git a/cpukit/score/include/rtems/score/bitfield.h b/cpukit/score/include/rtems/score/bitfield.h
index a30e691a74..5b4c678457 100644
--- a/cpukit/score/include/rtems/score/bitfield.h
+++ b/cpukit/score/include/rtems/score/bitfield.h
@@ -61,7 +61,7 @@ const unsigned char __log2table[256] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
};
#endif
-
+
#endif
#if ( CPU_USE_GENERIC_BITFIELD_CODE == FALSE )
diff --git a/cpukit/score/include/rtems/score/chain.h b/cpukit/score/include/rtems/score/chain.h
index 28d4f4f474..5e70652f43 100644
--- a/cpukit/score/include/rtems/score/chain.h
+++ b/cpukit/score/include/rtems/score/chain.h
@@ -85,7 +85,7 @@ void _Chain_Initialize(
/*
* _Chain_Get_first_unprotected
*/
-
+
#ifndef RTEMS_INLINES
Chain_Node *_Chain_Get_first_unprotected(
Chain_Control *the_chain
diff --git a/cpukit/score/include/rtems/score/coremsg.h b/cpukit/score/include/rtems/score/coremsg.h
index 4bb71f62a8..d11383ba0a 100644
--- a/cpukit/score/include/rtems/score/coremsg.h
+++ b/cpukit/score/include/rtems/score/coremsg.h
@@ -12,10 +12,10 @@
*
* $Id$
*/
-
+
#ifndef __RTEMS_CORE_MESSAGE_QUEUE_h
#define __RTEMS_CORE_MESSAGE_QUEUE_h
-
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -25,12 +25,12 @@ extern "C" {
#include <rtems/score/threadq.h>
#include <rtems/score/priority.h>
#include <rtems/score/watchdog.h>
-
+
/*
* The following type defines the callout which the API provides
* to support global/multiprocessor operations on message_queues.
*/
-
+
typedef void ( *CORE_message_queue_API_mp_support_callout )(
Thread_Control *,
Objects_Id
@@ -43,17 +43,17 @@ typedef void ( *CORE_message_queue_API_mp_support_callout )(
* NOTE: The buffer field is normally longer than a single uint32_t .
* but since messages are variable length we just make a ptr to 1.
*/
-
+
typedef struct {
uint32_t size;
uint32_t buffer[1];
} CORE_message_queue_Buffer;
-
+
/*
* The following records define the organization of a message
* buffer.
*/
-
+
typedef struct {
Chain_Node Node;
int priority;
@@ -81,13 +81,13 @@ typedef enum {
#define CORE_MESSAGE_QUEUE_SEND_REQUEST INT_MAX
#define CORE_MESSAGE_QUEUE_URGENT_REQUEST INT_MIN
-
+
typedef int CORE_message_queue_Submit_types;
/*
* Core Message queue handler return statuses.
*/
-
+
typedef enum {
CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL,
CORE_MESSAGE_QUEUE_STATUS_INVALID_SIZE,
@@ -107,7 +107,7 @@ typedef enum {
typedef struct {
CORE_message_queue_Disciplines discipline;
} CORE_message_queue_Attributes;
-
+
/*
* The following defines the type for a Notification handler. A notification
* handler is invoked when the message queue makes a 0->1 transition on
@@ -120,7 +120,7 @@ typedef void (*CORE_message_queue_Notify_Handler)( void * );
* The following defines the control block used to manage each
* counting message_queue.
*/
-
+
typedef struct {
Thread_queue_Control Wait_queue;
CORE_message_queue_Attributes Attributes;
@@ -148,7 +148,7 @@ boolean _CORE_message_queue_Initialize(
uint32_t maximum_pending_messages,
uint32_t maximum_message_size
);
-
+
/*
* _CORE_message_queue_Close
*
@@ -157,7 +157,7 @@ boolean _CORE_message_queue_Initialize(
* This function closes a message by returning all allocated space and
* flushing the message_queue's task wait queue.
*/
-
+
void _CORE_message_queue_Close(
CORE_message_queue_Control *the_message_queue,
Thread_queue_Flush_callout remote_extract_callout,
@@ -186,11 +186,11 @@ uint32_t _CORE_message_queue_Flush(
* This routine flushes all outstanding messages and returns
* them to the inactive message chain.
*/
-
+
uint32_t _CORE_message_queue_Flush_support(
CORE_message_queue_Control *the_message_queue
);
-
+
/*
* _CORE_message_queue_Flush_waiting_threads
*
@@ -214,7 +214,7 @@ void _CORE_message_queue_Flush_waiting_threads(
* returns the number of threads made ready by the message.
*
*/
-
+
CORE_message_queue_Status _CORE_message_queue_Broadcast(
CORE_message_queue_Control *the_message_queue,
void *buffer,
@@ -237,7 +237,7 @@ CORE_message_queue_Status _CORE_message_queue_Broadcast(
* at the front of the queue.
*
*/
-
+
CORE_message_queue_Status _CORE_message_queue_Submit(
CORE_message_queue_Control *the_message_queue,
void *buffer,
@@ -261,7 +261,7 @@ CORE_message_queue_Status _CORE_message_queue_Submit(
*
* NOTE: Returns message priority via return are in TCB.
*/
-
+
void _CORE_message_queue_Seize(
CORE_message_queue_Control *the_message_queue,
Objects_Id id,
@@ -294,6 +294,6 @@ void _CORE_message_queue_Insert_message(
#ifdef __cplusplus
}
#endif
-
+
#endif
/* end of include file */
diff --git a/cpukit/score/include/rtems/score/coremutex.h b/cpukit/score/include/rtems/score/coremutex.h
index 72aafedef2..34baa420f0 100644
--- a/cpukit/score/include/rtems/score/coremutex.h
+++ b/cpukit/score/include/rtems/score/coremutex.h
@@ -14,10 +14,10 @@
*
* $Id$
*/
-
+
#ifndef __RTEMS_CORE_MUTEX_h
#define __RTEMS_CORE_MUTEX_h
-
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -28,12 +28,12 @@ extern "C" {
#include <rtems/score/watchdog.h>
#include <rtems/score/interr.h>
#include <rtems/score/sysstate.h>
-
+
/*
* The following type defines the callout which the API provides
* to support global/multiprocessor operations on mutexes.
*/
-
+
typedef void ( *CORE_mutex_API_mp_support_callout )(
Thread_Control *,
Objects_Id
@@ -53,7 +53,7 @@ typedef enum {
/*
* Mutex handler return statuses.
*/
-
+
typedef enum {
CORE_MUTEX_STATUS_SUCCESSFUL,
CORE_MUTEX_STATUS_UNSATISFIED_NOWAIT,
@@ -92,7 +92,7 @@ typedef enum {
CORE_MUTEX_NESTING_IS_ERROR,
CORE_MUTEX_NESTING_BLOCKS
} CORE_mutex_Nesting_behaviors;
-
+
/*
* Locked and unlocked values
*/
@@ -111,11 +111,11 @@ typedef struct {
CORE_mutex_Disciplines discipline;
Priority_Control priority_ceiling;
} CORE_mutex_Attributes;
-
+
/*
* The following defines the control block used to manage each mutex.
*/
-
+
typedef struct {
Thread_queue_Control Wait_queue;
CORE_mutex_Attributes Attributes;
@@ -139,7 +139,7 @@ void _CORE_mutex_Initialize(
CORE_mutex_Attributes *the_mutex_attributes,
uint32_t initial_lock
);
-
+
/*
* _CORE_mutex_Seize
*
@@ -209,7 +209,7 @@ CORE_mutex_Status _CORE_mutex_Surrender(
Objects_Id id,
CORE_mutex_API_mp_support_callout api_mutex_mp_support
);
-
+
/*
* _CORE_mutex_Flush
*
@@ -218,19 +218,19 @@ CORE_mutex_Status _CORE_mutex_Surrender(
* This routine assists in the deletion of a mutex by flushing the associated
* wait queue.
*/
-
+
void _CORE_mutex_Flush(
CORE_mutex_Control *the_mutex,
Thread_queue_Flush_callout remote_extract_callout,
uint32_t status
);
-
+
#include <rtems/score/coremutex.inl>
#endif
#ifdef __cplusplus
}
#endif
-
+
#endif
/* end of include file */
diff --git a/cpukit/score/include/rtems/score/coresem.h b/cpukit/score/include/rtems/score/coresem.h
index 41ff08d25a..12ef3ca7ee 100644
--- a/cpukit/score/include/rtems/score/coresem.h
+++ b/cpukit/score/include/rtems/score/coresem.h
@@ -14,10 +14,10 @@
*
* $Id$
*/
-
+
#ifndef __RTEMS_CORE_COUNTING_SEMAPHORE_h
#define __RTEMS_CORE_COUNTING_SEMAPHORE_h
-
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -26,12 +26,12 @@ extern "C" {
#include <rtems/score/threadq.h>
#include <rtems/score/priority.h>
#include <rtems/score/watchdog.h>
-
+
/*
* The following type defines the callout which the API provides
* to support global/multiprocessor operations on semaphores.
*/
-
+
typedef void ( *CORE_semaphore_API_mp_support_callout )(
Thread_Control *,
Objects_Id
@@ -49,7 +49,7 @@ typedef enum {
/*
* Core Semaphore handler return statuses.
*/
-
+
typedef enum {
CORE_SEMAPHORE_STATUS_SUCCESSFUL,
CORE_SEMAPHORE_STATUS_UNSATISFIED_NOWAIT,
@@ -67,12 +67,12 @@ typedef struct {
uint32_t maximum_count;
CORE_semaphore_Disciplines discipline;
} CORE_semaphore_Attributes;
-
+
/*
* The following defines the control block used to manage each
* counting semaphore.
*/
-
+
typedef struct {
Thread_queue_Control Wait_queue;
CORE_semaphore_Attributes Attributes;
@@ -92,7 +92,7 @@ void _CORE_semaphore_Initialize(
CORE_semaphore_Attributes *the_semaphore_attributes,
uint32_t initial_value
);
-
+
/*
* _CORE_semaphore_Seize
*
@@ -110,7 +110,7 @@ void _CORE_semaphore_Seize(
boolean wait,
Watchdog_Interval timeout
);
-
+
/*
* _CORE_semaphore_Surrender
*
@@ -126,7 +126,7 @@ CORE_semaphore_Status _CORE_semaphore_Surrender(
Objects_Id id,
CORE_semaphore_API_mp_support_callout api_semaphore_mp_support
);
-
+
/*
* _CORE_semaphore_Flush
*
@@ -149,6 +149,6 @@ void _CORE_semaphore_Flush(
#ifdef __cplusplus
}
#endif
-
+
#endif
/* end of include file */
diff --git a/cpukit/score/include/rtems/score/heap.h b/cpukit/score/include/rtems/score/heap.h
index 20231b31ad..906e620988 100644
--- a/cpukit/score/include/rtems/score/heap.h
+++ b/cpukit/score/include/rtems/score/heap.h
@@ -44,7 +44,7 @@ typedef enum {
HEAP_GET_INFORMATION_SYSTEM_STATE_ERROR,
HEAP_GET_INFORMATION_BLOCK_ERROR
} Heap_Get_information_status;
-
+
/*
* Information block returned by _Heap_Get_information
*/
diff --git a/cpukit/score/include/rtems/score/interr.h b/cpukit/score/include/rtems/score/interr.h
index 63a0c02b4c..334c36fae4 100644
--- a/cpukit/score/include/rtems/score/interr.h
+++ b/cpukit/score/include/rtems/score/interr.h
@@ -60,7 +60,7 @@ typedef enum {
/*
* This type holds the fatal error information.
*/
-
+
typedef struct {
Internal_errors_Source the_source;
boolean is_internal;
diff --git a/cpukit/score/include/rtems/score/isr.h b/cpukit/score/include/rtems/score/isr.h
index 14e0edd7f1..6064d1ed1e 100644
--- a/cpukit/score/include/rtems/score/isr.h
+++ b/cpukit/score/include/rtems/score/isr.h
@@ -60,7 +60,7 @@ typedef ISR_Handler ( *ISR_Handler_entry )(
* the current CPU being used. This is usually the number of distinct vectors
* the cpu can vector.
*/
-
+
#define ISR_NUMBER_OF_VECTORS CPU_INTERRUPT_NUMBER_OF_VECTORS
/*
@@ -166,10 +166,10 @@ void _ISR_Handler_initialization ( void );
*
* This routine returns the current interrupt level.
*/
-
+
#define _ISR_Get_level() \
_CPU_ISR_Get_level()
-
+
/*
* _ISR_Set_level
*
diff --git a/cpukit/score/include/rtems/score/mpci.h b/cpukit/score/include/rtems/score/mpci.h
index dae9345076..7ad9b40f29 100644
--- a/cpukit/score/include/rtems/score/mpci.h
+++ b/cpukit/score/include/rtems/score/mpci.h
@@ -32,7 +32,7 @@ extern "C" {
* The following constants define the stack size requirements for
* the system threads.
*/
-
+
#define MPCI_RECEIVE_SERVER_STACK_SIZE \
( STACK_MINIMUM_SIZE + \
CPU_MPCI_RECEIVE_SERVER_EXTRA_STACK + \
@@ -100,21 +100,21 @@ typedef struct {
*/
typedef void (*MPCI_Packet_processor)( MP_packet_Prefix * );
-
+
/*
* The following enumerated type defines the list of
* internal MP operations.
*/
-
+
typedef enum {
MPCI_PACKETS_SYSTEM_VERIFY = 0
} MPCI_Internal_Remote_operations;
-
+
/*
* The following data structure defines the packet used to perform
* remote event operations.
*/
-
+
typedef struct {
MP_packet_Prefix Prefix;
MPCI_Internal_Remote_operations operation;
@@ -138,13 +138,13 @@ SCORE_EXTERN Thread_queue_Control _MPCI_Remote_blocked_threads;
* The following define the internal pointers to the user's
* configuration information.
*/
-
+
SCORE_EXTERN MPCI_Control *_MPCI_table;
/*
* The following points to the MPCI Receive Server.
*/
-
+
SCORE_EXTERN Thread_Control *_MPCI_Receive_server_tcb;
/*
@@ -197,13 +197,13 @@ void _MPCI_Initialization ( void );
* This routine registers the MPCI packet processor for the
* designated object class.
*/
-
+
void _MPCI_Register_packet_processor(
MP_packet_Classes the_class,
MPCI_Packet_processor the_packet_processor
-
+
);
-
+
/*
* _MPCI_Get_packet
*
@@ -300,7 +300,7 @@ Thread_Control *_MPCI_Process_response (
* _MPCI_Receive_server
*
*/
-
+
Thread _MPCI_Receive_server(
uint32_t ignored
);
@@ -313,7 +313,7 @@ Thread _MPCI_Receive_server(
*
* XXX
*/
-
+
void _MPCI_Announce ( void );
/*
@@ -324,11 +324,11 @@ void _MPCI_Announce ( void );
* This routine performs a remote procedure call so that a
* process operation can be performed on another node.
*/
-
+
void _MPCI_Internal_packets_Send_process_packet (
MPCI_Internal_Remote_operations operation
);
-
+
/*
* _MPCI_Internal_packets_Send_request_packet
*
@@ -340,7 +340,7 @@ void _MPCI_Internal_packets_Send_process_packet (
* This routine is not needed since there are no request
* packets to be sent by this manager.
*/
-
+
/*
* _MPCI_Internal_packets_Send_response_packet
*
@@ -352,7 +352,7 @@ void _MPCI_Internal_packets_Send_process_packet (
* This routine is not needed since there are no response
* packets to be sent by this manager.
*/
-
+
/*
*
* _MPCI_Internal_packets_Process_packet
@@ -362,11 +362,11 @@ void _MPCI_Internal_packets_Send_process_packet (
* This routine performs the actions specific to this package for
* the request from another node.
*/
-
+
void _MPCI_Internal_packets_Process_packet (
MP_packet_Prefix *the_packet_prefix
);
-
+
/*
* _MPCI_Internal_packets_Send_object_was_deleted
*
@@ -379,7 +379,7 @@ void _MPCI_Internal_packets_Process_packet (
* This routine is not needed since there are no objects
* deleted by this manager.
*/
-
+
/*
* _MPCI_Internal_packets_Send_extract_proxy
*
@@ -392,7 +392,7 @@ void _MPCI_Internal_packets_Process_packet (
* This routine is not needed since there are no objects
* deleted by this manager.
*/
-
+
/*
* _MPCI_Internal_packets_Get_packet
*
@@ -400,7 +400,7 @@ void _MPCI_Internal_packets_Process_packet (
*
* This routine is used to obtain a internal threads mp packet.
*/
-
+
MPCI_Internal_packet *_MPCI_Internal_packets_Get_packet ( void );
#ifdef __cplusplus
diff --git a/cpukit/score/include/rtems/score/object.h b/cpukit/score/include/rtems/score/object.h
index 1ecd7ae9b9..4c61e3a4c0 100644
--- a/cpukit/score/include/rtems/score/object.h
+++ b/cpukit/score/include/rtems/score/object.h
@@ -377,7 +377,7 @@ void _Objects_Free(
*
* This method zeroes out the name.
*/
-
+
void _Objects_Clear_name(
void *name,
uint32_t length
diff --git a/cpukit/score/include/rtems/score/objectmp.h b/cpukit/score/include/rtems/score/objectmp.h
index 4d6cfdaaa6..331d22fed1 100644
--- a/cpukit/score/include/rtems/score/objectmp.h
+++ b/cpukit/score/include/rtems/score/objectmp.h
@@ -55,7 +55,7 @@ void _Objects_MP_Handler_initialization (
* This routine place the specified global object in the
* specified information table.
*/
-
+
void _Objects_MP_Open (
Objects_Information *information,
Objects_MP_Control *the_global_object,
diff --git a/cpukit/score/include/rtems/score/priority.h b/cpukit/score/include/rtems/score/priority.h
index b321fe6d14..0f2df0d252 100644
--- a/cpukit/score/include/rtems/score/priority.h
+++ b/cpukit/score/include/rtems/score/priority.h
@@ -73,17 +73,17 @@ SCORE_EXTERN Priority_Bit_map_control
*
* These may simply be pass throughs to CPU dependent routines.
*/
-
+
#if ( CPU_USE_GENERIC_BITFIELD_CODE == FALSE )
#define _Priority_Mask( _bit_number ) \
_CPU_Priority_Mask( _bit_number )
-
+
#define _Priority_Bits_index( _priority ) \
_CPU_Priority_bits_index( _priority )
#endif
-
+
#ifndef __RTEMS_APPLICATION__
#include <rtems/score/priority.inl>
#endif
diff --git a/cpukit/score/include/rtems/score/sysstate.h b/cpukit/score/include/rtems/score/sysstate.h
index d082a02bd3..655d303db8 100644
--- a/cpukit/score/include/rtems/score/sysstate.h
+++ b/cpukit/score/include/rtems/score/sysstate.h
@@ -43,7 +43,7 @@ typedef enum {
* The following variable indicates whether or not this is
* an multiprocessing system.
*/
-
+
SCORE_EXTERN boolean _System_state_Is_multiprocessing;
/*
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h
index 78e8b82864..f73f43dd7a 100644
--- a/cpukit/score/include/rtems/score/thread.h
+++ b/cpukit/score/include/rtems/score/thread.h
@@ -231,19 +231,19 @@ struct Thread_Control_struct {
*/
SCORE_EXTERN void *rtems_ada_self;
-
+
/*
* The following defines the information control block used to
* manage this class of objects.
*/
-
+
SCORE_EXTERN Objects_Information _Thread_Internal_information;
-
+
/*
* The following define the thread control pointers used to access
* and manipulate the idle thread.
*/
-
+
SCORE_EXTERN Thread_Control *_Thread_Idle;
/*
@@ -253,9 +253,9 @@ SCORE_EXTERN Thread_Control *_Thread_Idle;
* control of the processor can be returned to the environment
* which initiated the system.
*/
-
+
SCORE_EXTERN Context_Control _Thread_BSP_context;
-
+
/*
* The following declares the dispatch critical section nesting
* counter which is used to prevent context switches at inopportune
@@ -348,7 +348,7 @@ void _Thread_Handler_initialization (
*
* WARNING!! No thread should be created before this one.
*/
-
+
void _Thread_Create_idle( void );
/*
@@ -453,7 +453,7 @@ boolean _Thread_Initialize(
* and makes it ready to execute. After this routine executes, the
* thread competes with all other threads for CPU time.
*/
-
+
boolean _Thread_Start(
Thread_Control *the_thread,
Thread_Start_types the_prototype,
@@ -471,9 +471,9 @@ boolean _Thread_Start(
* next time this thread executes, it will begin execution at its
* original starting point.
*/
-
+
/* XXX multiple task arg profiles */
-
+
boolean _Thread_Restart(
Thread_Control *the_thread,
void *pointer_argument,
@@ -488,7 +488,7 @@ boolean _Thread_Restart(
* This routine resets a thread to its initial state but does
* not restart it.
*/
-
+
void _Thread_Reset(
Thread_Control *the_thread,
void *pointer_argument,
@@ -504,7 +504,7 @@ void _Thread_Reset(
* thread and removes it from the local object table so no further
* operations on this thread are allowed.
*/
-
+
void _Thread_Close(
Objects_Information *information,
Thread_Control *the_thread
@@ -740,7 +740,7 @@ boolean _Thread_Evaluate_mode( void );
* NOTE: If we are not using static inlines, this must be a real
* subroutine call.
*/
-
+
#ifndef RTEMS_INLINES
Thread_Control *_Thread_Get (
Objects_Id id,
@@ -755,7 +755,7 @@ Thread_Control *_Thread_Get (
*
* This routine is the body of the system idle thread.
*/
-
+
#if (CPU_PROVIDES_IDLE_THREAD_BODY == FALSE)
Thread _Thread_Idle_body(
uint32_t ignored
@@ -770,7 +770,7 @@ Thread _Thread_Idle_body(
* This routine iterates over all threads regardless of API and
* invokes the specified routine.
*/
-
+
typedef void (*rtems_per_thread_routine)( Thread_Control * );
void rtems_iterate_over_all_threads(
diff --git a/cpukit/score/include/rtems/score/threadq.h b/cpukit/score/include/rtems/score/threadq.h
index 9b2b1a9b83..f8a5342513 100644
--- a/cpukit/score/include/rtems/score/threadq.h
+++ b/cpukit/score/include/rtems/score/threadq.h
@@ -29,7 +29,7 @@ extern "C" {
/*
* Constant for indefinite wait.
*/
-
+
#define THREAD_QUEUE_WAIT_FOREVER WATCHDOG_NO_TIMEOUT
/*
@@ -46,7 +46,7 @@ typedef void ( *Thread_queue_Flush_callout )(
* is extracted from a remote thread queue (i.e. it's proxy must
* extracted from the remote queue).
*/
-
+
#if 0
typedef void ( *Thread_queue_Extract_callout )(
Thread_Control *
@@ -108,7 +108,7 @@ void _Thread_queue_Extract(
* and ensures that if there is a proxy for this task on
* another node, it is also dealt with.
*/
-
+
boolean _Thread_queue_Extract_with_proxy(
Thread_Control *the_thread
);
diff --git a/cpukit/score/include/rtems/score/tqdata.h b/cpukit/score/include/rtems/score/tqdata.h
index d0984a1810..ed1d52c1ee 100644
--- a/cpukit/score/include/rtems/score/tqdata.h
+++ b/cpukit/score/include/rtems/score/tqdata.h
@@ -38,7 +38,7 @@ typedef enum {
* The following enumerated types indicate what happened while the thread
* queue was in the synchronization window.
*/
-
+
typedef enum {
THREAD_QUEUE_SYNCHRONIZED,
THREAD_QUEUE_NOTHING_HAPPENED,
diff --git a/cpukit/score/include/rtems/score/userext.h b/cpukit/score/include/rtems/score/userext.h
index ba7734e940..c0f5a4b0a8 100644
--- a/cpukit/score/include/rtems/score/userext.h
+++ b/cpukit/score/include/rtems/score/userext.h
@@ -31,54 +31,54 @@ extern "C" {
* are invoked at critical points in the life of each thread and
* the system as a whole.
*/
-
+
typedef void User_extensions_routine;
-
+
typedef boolean ( *User_extensions_thread_create_extension )(
Thread_Control *,
Thread_Control *
);
-
+
typedef User_extensions_routine ( *User_extensions_thread_delete_extension )(
Thread_Control *,
Thread_Control *
);
-
+
typedef User_extensions_routine ( *User_extensions_thread_start_extension )(
Thread_Control *,
Thread_Control *
);
-
+
typedef User_extensions_routine ( *User_extensions_thread_restart_extension )(
Thread_Control *,
Thread_Control *
);
-
+
typedef User_extensions_routine ( *User_extensions_thread_switch_extension )(
Thread_Control *,
Thread_Control *
);
-
+
typedef User_extensions_routine (
*User_extensions_thread_post_switch_extension )(
Thread_Control *
);
-
+
typedef User_extensions_routine ( *User_extensions_thread_begin_extension )(
Thread_Control *
);
-
+
typedef User_extensions_routine ( *User_extensions_thread_exitted_extension )(
Thread_Control *
);
-
+
typedef User_extensions_routine ( *User_extensions_fatal_extension )(
Internal_errors_Source /* the_source */,
boolean /* is_internal */,
uint32_t /* the_error */
);
-
+
typedef struct {
User_extensions_thread_create_extension thread_create;
User_extensions_thread_start_extension thread_start;
diff --git a/cpukit/score/include/rtems/score/wkspace.h b/cpukit/score/include/rtems/score/wkspace.h
index b6d6e73e59..da424cd899 100644
--- a/cpukit/score/include/rtems/score/wkspace.h
+++ b/cpukit/score/include/rtems/score/wkspace.h
@@ -38,7 +38,7 @@ SCORE_EXTERN Heap_Control _Workspace_Area; /* executive heap header */
*
* This routine performs the initialization necessary for this handler.
*/
-
+
void _Workspace_Handler_initialization(
void *starting_address,
uint32_t size
diff --git a/cpukit/score/include/rtems/seterr.h b/cpukit/score/include/rtems/seterr.h
index 3740f08c66..d45345ba6d 100644
--- a/cpukit/score/include/rtems/seterr.h
+++ b/cpukit/score/include/rtems/seterr.h
@@ -8,10 +8,10 @@
*
* $Id$
*/
-
+
#ifndef __RTEMS_SET_ERRNO_h
#define __RTEMS_SET_ERRNO_h
-
+
#define rtems_set_errno_and_return_minus_one( _error ) \
do { errno = (_error); return -1; } while(0)