GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCS / dev > lcs / rhel5-32
#include <stdio.h>
#include <string.h>
#include <CDM/CDM_pubdefs.h>
#include <PBS/TASK.h>
#include <CPU_DB/CPU_DB_pubdefs.h>
#include <LCS_DB/LCS_DB_schema.h>
#include <MSG/MSG_pubdefs.h>
#include <LCS/LCS_pubdefs.h>
#include <LCS/LCS_msgs.h>
#include <LCS_prvdefs.h>
Functions | |
unsigned int | LCS_configure () |
Configure the LCS system from a CDM configuration database. | |
unsigned int | LCS_rundown () |
Run down the LCS tasks/resources configured with LCS_configure(). | |
Variables | |
static const LCS_DB_Schema * | ldb |
Pointer to the database data structure. | |
static const LCS_DB_LTX_Service | compiled_siu_services [] |
List of LTX (CPU/CPU) service descriptions (SIU version). | |
static const LCS_DB_Schema | compiled_siu |
Configurable settings for the LCS system (SIU version). | |
static const LCS_DB_LTX_Service | compiled_epu_services [] |
List of LTX (CPU/CPU) service descriptions (EPU version). | |
static const LCS_DB_Schema | compiled_epu |
Configurable settings for the LCS system (EPU version). | |
static TASK_attr | LRXR_taskAttributes |
Internally compiled configuration defaults: LRX "result" task attributes. | |
static TASK_attr | LRXE_taskAttributes |
Internally compiled configuration defaults: LRX "event" task attributes. | |
static TASK_attr | STX_taskAttributes |
Internally compiled configuration defaults: STX task attributes. | |
static TASK_attr | LTX_taskAttributes |
Internally compiled configuration defaults: LTX task attributes. | |
static const char * | s_msg [3] |
Elements of an information message. |
CVS $Id: LCS_configure.c,v 1.3 2011/03/28 22:49:56 apw Exp $
unsigned int LCS_configure | ( | void | ) |
Configure the LCS system from a CDM configuration database.
LCS_SUCCESS | Success |
References ldb, LRX_createService(), LRX_startService(), LTX_createService(), and LTX_startService().
unsigned int LCS_rundown | ( | void | ) |
Run down the LCS tasks/resources configured with LCS_configure().
LCS_SUCCESS | Success |
References ldb, LRX_deleteService(), LRX_stopService(), LTX_deleteService(), and LTX_stopService().
static const LCS_DB_Schema compiled_epu [static] |
Initial value:
{ 7, sizeof( compiled_epu_services ) / sizeof( LCS_DB_LTX_Service ), compiled_epu_services }
static const LCS_DB_LTX_Service compiled_epu_services[] [static] |
Initial value:
{ { ITC_SID_LTX0 , ITC_NIM_SIU | ITC_NIM_EPU0 | ITC_NIM_EPU1 | ITC_NIM_EPU2 | ITC_NIM_EPU3 | ITC_NIM_SC , 7 , 100000 , NULL , 0 , 0 , NULL } }
static const LCS_DB_Schema compiled_siu [static] |
Initial value:
{ 7, sizeof( compiled_siu_services ) / sizeof( LCS_DB_LTX_Service ), compiled_siu_services }
static const LCS_DB_LTX_Service compiled_siu_services[] [static] |
Initial value:
{
{
ITC_SID_LTX0 ,
ITC_NIM_EPU0 |
ITC_NIM_EPU1 |
ITC_NIM_EPU2 |
ITC_NIM_EPU3 ,
7 ,
100000 ,
"rLTX0" ,
1024 ,
256 ,
NULL
}
}
static TASK_attr LRXE_taskAttributes [static] |
Initial value:
{
"dLRXevt", 67, 0, NULL, 0
}
static TASK_attr LRXR_taskAttributes [static] |
Initial value:
{
"dLRXrst", 65, 0, NULL, 0
}
static TASK_attr LTX_taskAttributes [static] |
Initial value:
{
"uLTX", 201, 0, NULL, 0
}
static const char * s_msg[3] [static] |
Initial value:
{ "name", "priority", "name, priority" }
static TASK_attr STX_taskAttributes [static] |
Initial value:
{
"uSTX", 210, 0, NULL, 0
}