GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > MEM / V5-0-0
Constituent: mem     Tag: rad750
#include <string.h>
#include "ITC/ITC_pubdefs.h"
#include "MSG/MSG_pubdefs.h"
#include "PBS/MBA.h"
#include "PBS/RW.ih"
#include "MEM/MEM_cmdxtrn.h"
#include "MEM/MEM_dump.h"
#include "MEM/MEM_load.h"
#include "MEM/MEM_map.h"
#include "MEM/MEM_msgs.h"
#include "MEM/MEM_pubdefs.h"
#include "MEM_control.h"
#include "Memmap.h"
Include dependency graph for MEM_control.c:
Functions | |
unsigned int | mem_map_init (void) |
Init the memory map for dumps and loads. | |
unsigned int | MEM_initialize (ITC_Task *task_p, ITC_TaskID tid) |
Initialize the MEM application-level functions. | |
unsigned int | MEM_shutdown (void) |
Shut down the MEM application-level functions. | |
unsigned int | MEM_updateStats (MEM_Control *mem_p, unsigned int status, unsigned int fcode) |
Common routine to update MEM command statistics. | |
unsigned int | MEM_getInfo (MEM_Info *info_p) |
Get current state of the MEM application-level functions. | |
Variables | |
MEM_Control * | Mem_p = NULL |
Control block for MEM. | |
unsigned char | mem_sim_ram_buf [1024] |
Buffer of simulated RAM buffer for memory dumps and loads. |
CVS $Id: MEM_control.c,v 1.13 2005/02/28 21:23:30 dmay Exp $
Control functions for the application-level portion of the MEM package. These functions are used within the context of another task, so they do not actually start and configure a task of their own.
|
Get current state of the MEM application-level functions.
|
|
Initialize the MEM application-level functions. This function initializes the application-level portion of the MEM package. At the application level, there is no MEM task. Instead, the handlers for the MEM telecommands are attached to another task. If a valid value is provided for either the task_p or the tid parameter, then this function will attach the MEM command handlers to the corresponding task. If neither parameter is specified (by setting task_p to NULL and tid to -1), then it is assumed that the controlling task is responsible for attaching the MEM command handlers.
|
Here is the call graph for this function:
|
Init the memory map for dumps and loads.
|
Here is the call graph for this function:
|
Shut down the MEM application-level functions.
|
|
Common routine to update MEM command statistics.
|
Here is the call graph for this function:
|
Control block for MEM. Pointer to the control block (state) for the MEM application-level functions. |
|
Initial value: { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 } This buffer simulates the RAD750 RAM in a non-RAD750 environment. |