GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LSW / V1-0-0
Constituent: lsw     Tag: mv2304
#include <string.h>
#include "PBS/FORK.h"
#include "PBS/MBA.h"
#include "PBS/MTX.h"
#include "PBS/RW.ih"
#include "LSF/LSF.h"
#include "LSF/LSF_ids.h"
#include "CCSDS/CCSDS_pkt.h"
#include "ITC/ITC_drvdefs.h"
#include "ITC/ITC_pubdefs.h"
#include "MDB/MDB_pubdefs.h"
#include "TRC/TRC_pubdefs.h"
#include "LSW/LSW_cmdxtrn.h"
#include "LSW/LSW_msgs.h"
#include "LSW_prvdefs.h"
Include dependency graph for LSW_control.c:
Functions | |
static FORK_cb_status | forkTickle (FORK_cb_prm *prm, FORK_msg_hdr *hdr) |
Task level target of the cyclic interrupt timer. | |
static WUT_cb_status | expireTimer (void *prm, WUT_tmr *wut) |
Timer callback used to force a task switch. | |
static void | snapInit (void *prm) |
One-time call to reset priority and snapshot the start line. | |
unsigned int | LSW_initialize (unsigned int rate) |
Initialize the LSW tracing facility. | |
unsigned int | LSW_start () |
Start the mLSW task. | |
Variables | |
LSW_Control * | LSW_lcb |
Control block for LSW facility. |
CVS $Id: LSW_control.c,v 1.1 2006/12/20 01:25:27 apw Exp $
|
Timer callback used to force a task switch. LSW_expireTimer() is a timer callback routine. It simply wakes up a high priority task (by sending a message to one of the task's fork queues), updates the watchdog timer, then resets itself. |
|
Task level target of the cyclic interrupt timer. This routine does nothing. Well not quite. It's woken up by a message sent from the cyclic timer. The act of waking this task up has already forced a task switch and it's in the task switch routine that all the hard work is done. The only thing this routine does is free the message that was used to wake it up, and then go back to sleep. |
|
Initialize the LSW tracing facility.
|
|
Start the mLSW task. LSW_start() starts the mLSW task |