GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> ITC / V3-9-1 > itc / linux-gcc
#include <string.h>
#include "CPU_DB/CPU_DB_pubdefs.h"
#include "PBS/FFS.ih"
#include "PBS/FPA.h"
#include "PBS/MBA.h"
#include "PBS/MTX.h"
#include "PBS/RW.ih"
#include "MSG/MSG_pubdefs.h"
#include "ITC/ITC_msgs.h"
#include "ITC_prvdefs.h"
Functions | |
unsigned int | ITC_initialize (ITC_NodeID deprecated) |
Initialize the ITC control block. | |
unsigned int | ITC_insertMap (unsigned int nim, ITC_TaskID tid) |
Insert entries into the ITC node map. | |
unsigned int | ITC_removeMap (unsigned int nim) |
Remove entries from the ITC node map. | |
unsigned int | ITC_shutdown () |
Shut down the ITC system. | |
Variables | |
ITC_Control * | ITC_icb |
Control block for the inter-task communications system. | |
ITC_Task * | ITC_tpl [ITC_L_TASKS] |
Application/service/lightweight task pointer list. | |
ITC_Queue * | ITC_qpl [ITC_L_TASKS][ITC_L_QUEUES] |
Queue pointer list. | |
ITC_Apid * | ITC_apl [ITC_L_APIDS] |
APID pointer list. | |
const char * | ITC_ctl_states [ITC_L_CTL_STATES] |
String constants for ITC control block states. |
CVS $Id: ITC_control.c,v 1.9 2009/07/30 23:42:39 apw Exp $
unsigned int ITC_initialize | ( | ITC_NodeID | deprecated | ) |
Initialize the ITC control block.
deprecated | Parameter no longer used ... it is ignored |
ITC_ALOCFAIL | Memory allocation failure | |
ITC_CTLSTAT | ITC control block not in state uninitialized | |
ITC_MUALOCFL | Cannot allocate a mutex | |
ITC_TYPENID | Cannot identify the type of node (SIU, EPU, SC) | |
ITC_SUCCESS | Success |
unsigned int ITC_insertMap | ( | unsigned int | nim, | |
ITC_TaskID | tid | |||
) |
Insert entries into the ITC node map.
nim | (in) Mask of nodes to be mapped to the given task ID | |
tid | (in) Task ID that will serve as proxy for the listed nodes |
ITC_CTLSTAT | ITC control block not in state initialized | |
ITC_NOTINIT | ITC system not initialized | |
ITC_SUCCESS | Success |
unsigned int ITC_removeMap | ( | unsigned int | nim | ) |
Remove entries from the ITC node map.
nim | (in) Mask of nodes to be mapped |
ITC_CTLSTAT | ITC control block not in state initialized | |
ITC_NOTINIT | ITC system not initialized | |
ITC_SUCCESS | Success |
unsigned int ITC_shutdown | ( | void | ) |
Shut down the ITC system.
ITC_CTLACTIV | ITC control block still managing >0 tasks | |
ITC_CTLSTAT | ITC control block not in state initialized | |
ITC_NOTINIT | ITC system not initialized | |
ITC_SUCCESS | Success |
APID pointer list.
A mapping table to go from APID/function code to task/queue/callback. This is global, so care must be taken when writing elements of this table that the code is properly protected.
const char* ITC_ctl_states[ITC_L_CTL_STATES] |
Initial value:
{ "uninitialized", "initialized" }
Control block for the inter-task communications system.
Control block for the inter-task communications system. This is global, so care must be taken when writing elements of this block that the code is properly protected.
Queue pointer list.
Per queue control block for the inter-task communications system. These are global, so care must be taken when writing elements of these blocks that the code is properly protected.
Application/service/lightweight task pointer list.
Per task control block for the inter-task communications system. These are global, so care must be taken when writing elements of these blocks that the code is properly protected.