forked from Imagelibrary/rtems
2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/mpci.h, score/inline/rtems/score/threadmp.inl, score/src/mpci.c: Eliminate dependencies between MP .h files.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
|
* score/include/rtems/score/mpci.h,
|
||||||
|
score/inline/rtems/score/threadmp.inl, score/src/mpci.c: Eliminate
|
||||||
|
dependencies between MP .h files.
|
||||||
|
|
||||||
2008-09-05 Eric Norum <norume@aps.anl.gov>
|
2008-09-05 Eric Norum <norume@aps.anl.gov>
|
||||||
|
|
||||||
* libfs/src/nfsclient/src/rpcio.c: Correct breakage introduced by Joel
|
* libfs/src/nfsclient/src/rpcio.c: Correct breakage introduced by Joel
|
||||||
|
|||||||
@@ -40,7 +40,6 @@ extern "C" {
|
|||||||
#include <rtems/score/threadq.h>
|
#include <rtems/score/threadq.h>
|
||||||
#include <rtems/score/tqdata.h>
|
#include <rtems/score/tqdata.h>
|
||||||
#include <rtems/score/watchdog.h>
|
#include <rtems/score/watchdog.h>
|
||||||
#include <rtems/score/coresem.h>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The following defines the node number used when a broadcast is desired.
|
* The following defines the node number used when a broadcast is desired.
|
||||||
@@ -168,11 +167,6 @@ typedef struct {
|
|||||||
uint32_t maximum_global_objects;
|
uint32_t maximum_global_objects;
|
||||||
} MPCI_Internal_packet;
|
} MPCI_Internal_packet;
|
||||||
|
|
||||||
/**
|
|
||||||
* This is the core semaphore which the MPCI Receive Server blocks on.
|
|
||||||
*/
|
|
||||||
SCORE_EXTERN CORE_semaphore_Control _MPCI_Semaphore;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The following thread queue is used to maintain a list of tasks
|
* The following thread queue is used to maintain a list of tasks
|
||||||
* which currently have outstanding remote requests.
|
* which currently have outstanding remote requests.
|
||||||
|
|||||||
@@ -33,14 +33,12 @@
|
|||||||
/**
|
/**
|
||||||
* This function returns true if the thread in question is the
|
* This function returns true if the thread in question is the
|
||||||
* multiprocessing receive thread.
|
* multiprocessing receive thread.
|
||||||
|
*
|
||||||
|
* @note This is a macro to avoid needing a prototype for
|
||||||
|
* _MPCI_Receive_server_tcb until it is used.
|
||||||
*/
|
*/
|
||||||
|
#define _Thread_MP_Is_receive(_the_thread) \
|
||||||
RTEMS_INLINE_ROUTINE bool _Thread_MP_Is_receive (
|
(_the_thread == _MPCI_Receive_server_tcb)
|
||||||
Thread_Control *the_thread
|
|
||||||
)
|
|
||||||
{
|
|
||||||
return the_thread == _MPCI_Receive_server_tcb;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This routine frees a proxy control block to the
|
* This routine frees a proxy control block to the
|
||||||
|
|||||||
@@ -33,6 +33,11 @@
|
|||||||
#include <rtems/score/coresem.h>
|
#include <rtems/score/coresem.h>
|
||||||
#include <rtems/config.h>
|
#include <rtems/config.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This is the core semaphore which the MPCI Receive Server blocks on.
|
||||||
|
*/
|
||||||
|
CORE_semaphore_Control _MPCI_Semaphore;
|
||||||
|
|
||||||
/*PAGE
|
/*PAGE
|
||||||
*
|
*
|
||||||
* _MPCI_Handler_initialization
|
* _MPCI_Handler_initialization
|
||||||
|
|||||||
Reference in New Issue
Block a user