GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCM / dev > lcm_siu / mv2304


Interface   Data Structures   File List   Data Fields   Globals  

LCM_reset.c.vx-xxx-xxx File Reference

LCM reset functions (VxWorks versions). More...

#include <string.h>
#include <vxWorks.h>
#include <BootDiagnostics.h>
#include <sysLib.h>
#include <taskLib.h>
#include <FBS/FBS_pubrtos.h>
#include <ITC/ITC_msgs.h>
#include <ITC/ITC_pubdefs.h>
#include <LCM/LCM_msgs.h>
#include <LCM/LCM_pubdefs.h>
#include <LCM/LCM_tlmdefs.h>
#include <PBS/PBS.h>
#include <PBS/PTS.h>
#include <TRD/TRD_pubdefs.h>
#include <LCM_prvdefs.h>

Functions

unsigned int LCM_CpuReset (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len)
 Callback function for the CpuReset command.
unsigned int LCM_resetCPU (LCM_Control *ctl, LCM_LCMPRIMARY pbf, LCM_LCMSECONDARY sbf)
 Callback function for the CpuReset command.
unsigned int LCM_resetRestore ()
 Use turbo reset database to restore CPU global context.


Detailed Description

LCM reset functions (VxWorks versions).

CVS $Id: LCM_reset.c.vx-xxx-xxx,v 1.2 2011/03/29 21:59:34 apw Exp $
Author:
A.P.Waite

Function Documentation

unsigned int LCM_CpuReset ( void *  prm,
const struct _ITC_QueueItem qitem,
void *  pay,
unsigned int  len 
)

Callback function for the CpuReset command.

Parameters:
prm (in) User context parameter
qitem (in) Queue item
pay (in) Payload pointer
len (in) Payload length
Returns:

References _LCM_NODETRANID::bf, _LCM_CpuReset_Prm::flag, LCM_resetCPU(), _LCM_Control::node_id, _LCM_CpuReset_Pkt::pay, _LCM_CpuReset_Prm::primary, _LCM_CpuReset_Prm::secondary, _LCM_LCMSECONDARY::ui, and _LCM_LCMPRIMARY::ui.

Referenced by LCM_resetCPU().

unsigned int LCM_resetCPU ( LCM_Control ctl,
LCM_LCMPRIMARY  pbf,
LCM_LCMSECONDARY  sbf 
)

Callback function for the CpuReset command.

Parameters:
ctl (in) LCM control block
pbf (in) Primary boot flags
sbf (in) Secondary boot flags
Returns:

References _LCM_LCMSECONDARY::bf, LCM_CpuReset(), LCM_scrubSurom(), _LCM_LCMSECONDARY::ui, and _LCM_LCMPRIMARY::ui.

Referenced by LCM_CpuReset(), and turboForkSIU().

unsigned int LCM_resetRestore ( void   ) 

Use turbo reset database to restore CPU global context.

Return values:
LCM_GENINFO No such concept on a unix host

References _LCM_LCMSECONDARY::bf, and _LCM_LCMSECONDARY::ui.


Generated on Wed Mar 30 16:10:49 2011 by  doxygen 1.5.8