forked from Imagelibrary/rtems
rtems/*.c: Remove use of register keyword
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-1999.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -33,7 +33,7 @@ rtems_status_code rtems_port_create(
|
|||||||
rtems_id *id
|
rtems_id *id
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Dual_ported_memory_Control *the_port;
|
Dual_ported_memory_Control *the_port;
|
||||||
|
|
||||||
if ( !rtems_is_name_valid( name ) )
|
if ( !rtems_is_name_valid( name ) )
|
||||||
return RTEMS_INVALID_NAME;
|
return RTEMS_INVALID_NAME;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -29,7 +29,7 @@ rtems_status_code rtems_port_delete(
|
|||||||
rtems_id id
|
rtems_id id
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Dual_ported_memory_Control *the_port;
|
Dual_ported_memory_Control *the_port;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
|
|
||||||
the_port = _Dual_ported_memory_Get( id, &location );
|
the_port = _Dual_ported_memory_Get( id, &location );
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -31,7 +31,7 @@ rtems_status_code rtems_port_external_to_internal(
|
|||||||
void **internal
|
void **internal
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Dual_ported_memory_Control *the_port;
|
Dual_ported_memory_Control *the_port;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
uint32_t ending;
|
uint32_t ending;
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -31,7 +31,7 @@ rtems_status_code rtems_port_internal_to_external(
|
|||||||
void **external
|
void **external
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Dual_ported_memory_Control *the_port;
|
Dual_ported_memory_Control *the_port;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
uint32_t ending;
|
uint32_t ending;
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -37,7 +37,7 @@ rtems_status_code rtems_message_queue_broadcast(
|
|||||||
uint32_t *count
|
uint32_t *count
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Message_queue_Control *the_message_queue;
|
Message_queue_Control *the_message_queue;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
CORE_message_queue_Status core_status;
|
CORE_message_queue_Status core_status;
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-1999.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -39,7 +39,7 @@ rtems_status_code rtems_message_queue_create(
|
|||||||
rtems_id *id
|
rtems_id *id
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Message_queue_Control *the_message_queue;
|
Message_queue_Control *the_message_queue;
|
||||||
CORE_message_queue_Attributes the_msgq_attributes;
|
CORE_message_queue_Attributes the_msgq_attributes;
|
||||||
#if defined(RTEMS_MULTIPROCESSING)
|
#if defined(RTEMS_MULTIPROCESSING)
|
||||||
bool is_global;
|
bool is_global;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -34,7 +34,7 @@ rtems_status_code rtems_message_queue_delete(
|
|||||||
rtems_id id
|
rtems_id id
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Message_queue_Control *the_message_queue;
|
Message_queue_Control *the_message_queue;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
|
|
||||||
the_message_queue = _Message_queue_Get( id, &location );
|
the_message_queue = _Message_queue_Get( id, &location );
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -52,7 +52,7 @@ rtems_status_code rtems_message_queue_flush(
|
|||||||
uint32_t *count
|
uint32_t *count
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Message_queue_Control *the_message_queue;
|
Message_queue_Control *the_message_queue;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
|
|
||||||
if ( !count )
|
if ( !count )
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -50,7 +50,7 @@ rtems_status_code rtems_message_queue_get_number_pending(
|
|||||||
uint32_t *count
|
uint32_t *count
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Message_queue_Control *the_message_queue;
|
Message_queue_Control *the_message_queue;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
|
|
||||||
if ( !count )
|
if ( !count )
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -38,7 +38,7 @@ rtems_status_code rtems_message_queue_receive(
|
|||||||
rtems_interval timeout
|
rtems_interval timeout
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Message_queue_Control *the_message_queue;
|
Message_queue_Control *the_message_queue;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
bool wait;
|
bool wait;
|
||||||
Thread_Control *executing;
|
Thread_Control *executing;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -59,7 +59,7 @@ rtems_status_code rtems_message_queue_send(
|
|||||||
size_t size
|
size_t size
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Message_queue_Control *the_message_queue;
|
Message_queue_Control *the_message_queue;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
CORE_message_queue_Status status;
|
CORE_message_queue_Status status;
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -42,7 +42,7 @@ rtems_status_code rtems_message_queue_urgent(
|
|||||||
size_t size
|
size_t size
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Message_queue_Control *the_message_queue;
|
Message_queue_Control *the_message_queue;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
CORE_message_queue_Status status;
|
CORE_message_queue_Status status;
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-1999.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -53,7 +53,7 @@ rtems_status_code rtems_partition_create(
|
|||||||
rtems_id *id
|
rtems_id *id
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Partition_Control *the_partition;
|
Partition_Control *the_partition;
|
||||||
|
|
||||||
if ( !rtems_is_name_valid( name ) )
|
if ( !rtems_is_name_valid( name ) )
|
||||||
return RTEMS_INVALID_NAME;
|
return RTEMS_INVALID_NAME;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -26,7 +26,7 @@ rtems_status_code rtems_partition_delete(
|
|||||||
rtems_id id
|
rtems_id id
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Partition_Control *the_partition;
|
Partition_Control *the_partition;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
|
|
||||||
the_partition = _Partition_Get( id, &location );
|
the_partition = _Partition_Get( id, &location );
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -30,7 +30,7 @@ rtems_status_code rtems_partition_get_buffer(
|
|||||||
void **buffer
|
void **buffer
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Partition_Control *the_partition;
|
Partition_Control *the_partition;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
void *the_buffer;
|
void *the_buffer;
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* Partition Manager
|
* Partition Manager
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -41,7 +41,7 @@ rtems_status_code rtems_partition_return_buffer(
|
|||||||
void *buffer
|
void *buffer
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Partition_Control *the_partition;
|
Partition_Control *the_partition;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
|
|
||||||
the_partition = _Partition_Get( id, &location );
|
the_partition = _Partition_Get( id, &location );
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -33,7 +33,7 @@ rtems_status_code rtems_region_get_free_information(
|
|||||||
{
|
{
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
rtems_status_code return_status;
|
rtems_status_code return_status;
|
||||||
register Region_Control *the_region;
|
Region_Control *the_region;
|
||||||
|
|
||||||
if ( !the_info )
|
if ( !the_info )
|
||||||
return RTEMS_INVALID_ADDRESS;
|
return RTEMS_INVALID_ADDRESS;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -33,7 +33,7 @@ rtems_status_code rtems_region_get_information(
|
|||||||
{
|
{
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
rtems_status_code return_status;
|
rtems_status_code return_status;
|
||||||
register Region_Control *the_region;
|
Region_Control *the_region;
|
||||||
|
|
||||||
if ( !the_info )
|
if ( !the_info )
|
||||||
return RTEMS_INVALID_ADDRESS;
|
return RTEMS_INVALID_ADDRESS;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -33,7 +33,7 @@ rtems_status_code rtems_region_get_segment_size(
|
|||||||
{
|
{
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
rtems_status_code return_status = RTEMS_SUCCESSFUL;
|
rtems_status_code return_status = RTEMS_SUCCESSFUL;
|
||||||
register Region_Control *the_region;
|
Region_Control *the_region;
|
||||||
|
|
||||||
if ( !segment )
|
if ( !segment )
|
||||||
return RTEMS_INVALID_ADDRESS;
|
return RTEMS_INVALID_ADDRESS;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -38,7 +38,7 @@ rtems_status_code rtems_region_resize_segment(
|
|||||||
uintptr_t osize;
|
uintptr_t osize;
|
||||||
rtems_status_code return_status;
|
rtems_status_code return_status;
|
||||||
Heap_Resize_status status;
|
Heap_Resize_status status;
|
||||||
register Region_Control *the_region;
|
Region_Control *the_region;
|
||||||
|
|
||||||
if ( !old_size )
|
if ( !old_size )
|
||||||
return RTEMS_INVALID_ADDRESS;
|
return RTEMS_INVALID_ADDRESS;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -45,7 +45,7 @@ rtems_status_code rtems_region_return_segment(
|
|||||||
uint32_t size;
|
uint32_t size;
|
||||||
#endif
|
#endif
|
||||||
int status;
|
int status;
|
||||||
register Region_Control *the_region;
|
Region_Control *the_region;
|
||||||
|
|
||||||
_RTEMS_Lock_allocator();
|
_RTEMS_Lock_allocator();
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2009.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -60,7 +60,7 @@ rtems_status_code rtems_semaphore_create(
|
|||||||
rtems_id *id
|
rtems_id *id
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Semaphore_Control *the_semaphore;
|
Semaphore_Control *the_semaphore;
|
||||||
CORE_mutex_Attributes the_mutex_attr;
|
CORE_mutex_Attributes the_mutex_attr;
|
||||||
CORE_semaphore_Attributes the_semaphore_attr;
|
CORE_semaphore_Attributes the_semaphore_attr;
|
||||||
CORE_mutex_Status mutex_status;
|
CORE_mutex_Status mutex_status;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -41,7 +41,7 @@ rtems_status_code rtems_semaphore_delete(
|
|||||||
rtems_id id
|
rtems_id id
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Semaphore_Control *the_semaphore;
|
Semaphore_Control *the_semaphore;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
|
|
||||||
the_semaphore = _Semaphore_Get( id, &location );
|
the_semaphore = _Semaphore_Get( id, &location );
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -41,7 +41,7 @@ rtems_status_code rtems_semaphore_flush(
|
|||||||
rtems_id id
|
rtems_id id
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Semaphore_Control *the_semaphore;
|
Semaphore_Control *the_semaphore;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
|
|
||||||
the_semaphore = _Semaphore_Get( id, &location );
|
the_semaphore = _Semaphore_Get( id, &location );
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2008.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -37,7 +37,7 @@ rtems_status_code rtems_semaphore_obtain(
|
|||||||
rtems_interval timeout
|
rtems_interval timeout
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Semaphore_Control *the_semaphore;
|
Semaphore_Control *the_semaphore;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
ISR_Level level;
|
ISR_Level level;
|
||||||
Thread_Control *executing;
|
Thread_Control *executing;
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -69,7 +69,7 @@ rtems_status_code rtems_semaphore_release(
|
|||||||
rtems_id id
|
rtems_id id
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Semaphore_Control *the_semaphore;
|
Semaphore_Control *the_semaphore;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
CORE_mutex_Status mutex_status;
|
CORE_mutex_Status mutex_status;
|
||||||
CORE_semaphore_Status semaphore_status;
|
CORE_semaphore_Status semaphore_status;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -29,7 +29,7 @@ rtems_status_code rtems_signal_send(
|
|||||||
rtems_signal_set signal_set
|
rtems_signal_set signal_set
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Thread_Control *the_thread;
|
Thread_Control *the_thread;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
RTEMS_API_Control *api;
|
RTEMS_API_Control *api;
|
||||||
ASR_Information *asr;
|
ASR_Information *asr;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2008.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -35,7 +35,7 @@ rtems_status_code rtems_task_create(
|
|||||||
rtems_id *id
|
rtems_id *id
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Thread_Control *the_thread;
|
Thread_Control *the_thread;
|
||||||
bool is_fp;
|
bool is_fp;
|
||||||
#if defined(RTEMS_MULTIPROCESSING)
|
#if defined(RTEMS_MULTIPROCESSING)
|
||||||
Objects_MP_Control *the_global_object = NULL;
|
Objects_MP_Control *the_global_object = NULL;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2008.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -27,7 +27,7 @@ rtems_status_code rtems_task_delete(
|
|||||||
rtems_id id
|
rtems_id id
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Thread_Control *the_thread;
|
Thread_Control *the_thread;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
Objects_Information *the_information;
|
Objects_Information *the_information;
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -28,7 +28,7 @@ rtems_status_code rtems_task_get_note(
|
|||||||
uint32_t *note
|
uint32_t *note
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Thread_Control *the_thread;
|
Thread_Control *the_thread;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
RTEMS_API_Control *api;
|
RTEMS_API_Control *api;
|
||||||
Thread_Control *executing;
|
Thread_Control *executing;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -40,7 +40,7 @@ rtems_status_code rtems_task_is_suspended(
|
|||||||
rtems_id id
|
rtems_id id
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Thread_Control *the_thread;
|
Thread_Control *the_thread;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
|
|
||||||
the_thread = _Thread_Get( id, &location );
|
the_thread = _Thread_Get( id, &location );
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -26,7 +26,7 @@ rtems_status_code rtems_task_restart(
|
|||||||
uint32_t argument
|
uint32_t argument
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Thread_Control *the_thread;
|
Thread_Control *the_thread;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
|
|
||||||
the_thread = _Thread_Get( id, &location );
|
the_thread = _Thread_Get( id, &location );
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -25,7 +25,7 @@ rtems_status_code rtems_task_resume(
|
|||||||
rtems_id id
|
rtems_id id
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Thread_Control *the_thread;
|
Thread_Control *the_thread;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
|
|
||||||
the_thread = _Thread_Get( id, &location );
|
the_thread = _Thread_Get( id, &location );
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2009.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -28,7 +28,7 @@ rtems_status_code rtems_task_set_note(
|
|||||||
uint32_t note
|
uint32_t note
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Thread_Control *the_thread;
|
Thread_Control *the_thread;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
RTEMS_API_Control *api;
|
RTEMS_API_Control *api;
|
||||||
Thread_Control *executing;
|
Thread_Control *executing;
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ rtems_status_code rtems_task_set_priority(
|
|||||||
rtems_task_priority *old_priority
|
rtems_task_priority *old_priority
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Thread_Control *the_thread;
|
Thread_Control *the_thread;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
|
|
||||||
if ( new_priority != RTEMS_CURRENT_PRIORITY &&
|
if ( new_priority != RTEMS_CURRENT_PRIORITY &&
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -44,7 +44,7 @@ rtems_status_code rtems_task_start(
|
|||||||
rtems_task_argument argument
|
rtems_task_argument argument
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Thread_Control *the_thread;
|
Thread_Control *the_thread;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
bool successfully_started;
|
bool successfully_started;
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2014.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -25,7 +25,7 @@ rtems_status_code rtems_task_suspend(
|
|||||||
rtems_id id
|
rtems_id id
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
register Thread_Control *the_thread;
|
Thread_Control *the_thread;
|
||||||
Objects_Locations location;
|
Objects_Locations location;
|
||||||
|
|
||||||
the_thread = _Thread_Get( id, &location );
|
the_thread = _Thread_Get( id, &location );
|
||||||
|
|||||||
Reference in New Issue
Block a user