GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCM / V1-5-0
Constituent: lcm_siu     Tag: sun-gcc
#include "IMM/FPM_pubdefs.h"
#include "IMM/RBM_pubdefs.h"
#include "ITC/ITC_pubdefs.h"
#include "LCM_DB/LCM_DB_schema.h"
#include "PBS/FORK.h"
#include "PBS/MTX.h"
#include "PBS/RW.h"
#include "PBS/SEM.h"
#include "PBS/WUT.h"
#include "PBS/WCT.h"
#include "LCM/LCM_cmddefs.h"
Include dependency graph for LCM_prvdefs.h:
This graph shows which files directly or indirectly include this file:
Data Structures | |
struct | _CPUStatus |
struct | _LCM_ScrubStatus |
Status of the memory scrubbing machine. More... | |
struct | _LCM_ConfigPID_bf |
Structure to capture PID bits (only on rad750). More... | |
union | _LCM_ConfigPID |
Union of representations of PID bits. More... | |
struct | _LCM_ConfigTHS_bf |
Structure to capture THS simulation status bits. More... | |
union | _LCM_ConfigTHS |
Union of representations of THS simulation bits. More... | |
struct | _LCM_FileStatus |
Status of the file upload state machine. More... | |
struct | _LCM_MemoryStatus |
Status of the memory load/dump state machines. More... | |
struct | _LCM_Record |
Structure to put a standard header on CPU to CPU records. More... | |
struct | _LCM_Packet |
An anonymous housekeeping packet (nearly). More... | |
struct | _LHK_LpaCfgSiu_Tlm |
A single capture packet for an LPA (filter) configuration record. More... | |
struct | _LCM_Database |
Database in which to prepare housekeeping packets. More... | |
struct | _LCM_Tickle |
A wake-up message for capturing assorted CPU records/packets. More... | |
struct | _LCM_Control |
Structure to hold the LCM control block. More... | |
Defines | |
#define | LCM_HW_CONFIG_CMD_APID (0x694) |
#define | LCM_SW_CONFIG_CMD_APID (0x695) |
#define | LCM_INTERNAL_CMD_APID (0x696) |
#define | LCM_TASK_LIST_SIZE (64) |
#define | LCM_MSG_SSR_TEXT_SIZE (2048) |
#define | LCM_SCRUB_INITIAL_PERIOD (5) |
#define | LCM_TELEM_PKT_SIZE (512) |
#define | LCM_L_RECORD_TYPES (3) |
Typedefs | |
typedef enum _LCM_ControlState | LCM_ControlState |
Typedef for enum _LCM_ControlState. | |
typedef enum _LCM_RecordType | LCM_RecordType |
Typedef for enum _LCM_RecordType. | |
typedef _CPUStatus | LCM_CPUStatus |
Typedef for telemetry structure _LCM_CPUStatus. | |
typedef _LCM_ScrubStatus | LCM_ScrubStatus |
Typedef for telemetry structure _LCM_ScrubStatus. | |
typedef _LCM_ConfigPID_bf | LCM_ConfigPID_bf |
Typedef for struct _LCM_ConfigPID_bf. | |
typedef _LCM_ConfigPID | LCM_ConfigPID |
Typedef for union _LCM_ConfigPID. | |
typedef _LCM_ConfigTHS_bf | LCM_ConfigTHS_bf |
Typedef for struct _LCM_ConfigTHS_bf. | |
typedef _LCM_ConfigTHS | LCM_ConfigTHS |
Typedef for union _LCM_ConfigTHS. | |
typedef _LCM_FileStatus | LCM_FileStatus |
Typedef for telemetry structure _LCM_FileStatus. | |
typedef _LCM_MemoryStatus | LCM_MemoryStatus |
Typedef for telemetry structure _LCM_MemoryStatus. | |
typedef _LCM_Record | LCM_Record |
Typedef for struct _LCM_Record. | |
typedef _LCM_Packet | LCM_Packet |
Typedef for struct _LCM_Packet. | |
typedef _LHK_LpaCfgSiu_Tlm | LHK_LpaCfgSiu_Tlm |
Typedef for struct _LHK_LpaCfgSiu_Tlm. | |
typedef _LCM_Database | LCM_Database |
Typedef for struct _LCM_Database_CPU. | |
typedef _LCM_Tickle | LCM_Tickle |
Typedef for struct _LCM_Tickle. | |
typedef _LCM_Control | LCM_Control |
Typedef for struct _LCM_Control. | |
Enumerations | |
enum | _LCM_ControlState { LCM_CTL_UNKNOWN = -1, LCM_CTL_UNINITIALIZED = 0, LCM_CTL_PARTIAL = 1, LCM_CTL_INITIALIZED = 2, LCM_CTL_STARTING = 3, LCM_CTL_RUNNING = 4, LCM_CTL_STOPPING = 5, LCM_CTL_BROKEN = 6 } |
Enumeration of LCM control states. More... | |
enum | _LCM_RecordType { LCM_HSK_RECORD_CPU = 0, LCM_HSK_RECORD_ITC = 1, LCM_HSK_RECORD_LPA = 2 } |
Number of records types Enumeration of housekeeping record types. More... | |
Functions | |
unsigned int | LCM_CmdResponse_common (void *prm, const ITC_QueueItem *qitem, void *pay, unsigned int len) |
void | LCM_freeTelem (ITC_QueueItem *qitem, unsigned int status, LCM_Control *ctl, void *prm1, void *prm2) |
Free memory after sending ITC telemetry packets. | |
unsigned int | LCM_houseInitialize (LCM_Control *ctl) |
Initialize the housekeeping function (common to all CPUs). | |
unsigned int | LCM_houseInitializeSIU (LCM_Control *ctl) |
Initialize the housekeeping function (specific to SIU). | |
unsigned int | LCM_houseSendCPU (unsigned int report) |
Acquire and send CPU metric information. | |
unsigned int | LCM_houseSendITC (unsigned int report) |
Acquire and send ITC configuration information. | |
unsigned int | LCM_houseSendLPA (unsigned int report) |
Acquire and send LPA (filter) configuration information. | |
unsigned int | LCM_houseTaskInitialize (LCM_Control *ctl) |
One-time call in LCM task context to start housekeeping sub-function. | |
unsigned int | LCM_imageInitializeEPU (LCM_Control *ctl) |
unsigned int | LCM_imageInitializeSIU (LCM_Control *ctl) |
Initialize the LCM module/task image dump subsystem (SIU specific). | |
unsigned int | LCM_messageInitialize (LCM_Control *ctl) |
Initialize the LCM message handling subsystem. | |
unsigned int | LCM_messageInitializeEPU (LCM_Control *ctl) |
unsigned int | LCM_messageInitializeSIU (LCM_Control *ctl) |
Initialize the LCM message handling subsystem. | |
unsigned int | LCM_MsgOutCfg_common (void *prm, const ITC_QueueItem *qitem, void *pay, unsigned int len) |
unsigned int | LCM_MsgResponse_common (void *prm, const ITC_QueueItem *qitem, void *pay, unsigned int len) |
unsigned int | LCM_Noop_common (void *prm, const ITC_QueueItem *qitem, void *pay, unsigned int len) |
unsigned int | LCM_scrubInitialize (LCM_Control *ctl) |
Initialize the LCM memory scrubbing subsystem. | |
void | LCM_scrubMemAuto (LCM_Control *ctl) |
Architecture specific implementation of LLCMSCRUBRUN command. | |
unsigned int | LCM_scrubTaskInitialize (LCM_Control *ctl) |
One-time call in LCM task context to start the scrub sub-function. | |
WUT_cb_status | LCM_scrubTimer (LCM_Control *ctl, WUT_tmr *timer) |
Callback for the memory scrub timer. | |
unsigned int | LCM_SMONInitialize (LCM_Control *ctl) |
Initialize the LCM SMON subsystem. | |
unsigned int | LCM_SMONTaskInitialize (LCM_Control *ctl) |
One-time call in LCM task context to start SMON sub-function. | |
unsigned int | LCM_Stats_common (void *prm, const ITC_QueueItem *qitem, void *pay, unsigned int len) |
unsigned int | LCM_taskInitialize (LCM_Control *ctl) |
Initialize the LCM task (elements common to all CPUs). | |
unsigned int | LCM_taskTaskInitialize (LCM_Control *ctl) |
One-time call in LCM task context to start the task. | |
Variables | |
LCM_Control * | LCM_lcb |
Control block for LCM facility. |
CVS $Id: LCM_prvdefs.h,v 1.29 2008/01/31 23:11:06 apw Exp $
|
The CCSDS APID for LCM package HW configuration telecommands. |
|
The CCSDS APID for LCM package internal telecommands. |
|
The maximum size in bytes of a SSR MSG output text string. |
|
The initial period in minutes for the RAD750 memory scrubber. |
|
The CCSDS APID for LCM package SW configuration telecommands. |
|
The number of task ID's allowed for LLCMTASKDUMP telecommand. |
|
Enumeration of LCM control states.
|
|
Number of records types Enumeration of housekeeping record types.
|
|
Free memory after sending ITC telemetry packets.
|
|
Initialize the housekeeping function (common to all CPUs).
|
|
Initialize the housekeeping function (specific to SIU).
|
|
Acquire and send CPU metric information.
|
|
Acquire and send ITC configuration information.
|
|
Acquire and send LPA (filter) configuration information.
|
|
One-time call in LCM task context to start housekeeping sub-function.
|
|
Initialize the LCM module/task image dump subsystem (SIU specific).
|
|
Initialize the LCM message handling subsystem.
|
|
Initialize the LCM message handling subsystem.
|
|
Initialize the LCM memory scrubbing subsystem.
|
|
Architecture specific implementation of LLCMSCRUBRUN command. LCM_scrubMemAuto() implements the LLCMSCRUBRUN command for non-rad750. |
|
One-time call in LCM task context to start the scrub sub-function.
|
|
Callback for the memory scrub timer.
|
|
Initialize the LCM SMON subsystem.
|
|
One-time call in LCM task context to start SMON sub-function.
|
|
Initialize the LCM task (elements common to all CPUs).
|
|
One-time call in LCM task context to start the task.
|