GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > MEM / V3-1-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 "SIB/SIB.h"
#include "Memmap.h"
#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_control.h"
Include dependency graph for MEM_control.c:
Functions | |
ITC_NodeID | my_node_ID (void) |
Return the ID of the node on which we are running. | |
void * | mem_fake_read (void *dest_p, const void *offset, const size_t nbytes, void *context_p, size_t *bytes_read_p) |
Memory dump callback to read from simulated RAM. | |
void * | mem_fake_write (void *offset, const void *src_p, const size_t nbytes, void *context_p, size_t *bytes_written_p) |
Memory dump callback to write from simulated RAM. | |
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. | |
Variables | |
MEM_Control * | mem |
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.3 2004/11/19 21:38:02 dmay Exp $
Control functions for the application-level portion of the MEM package. These functions are used within the context of the LCM task, so they do not actually start and configure a task of their own.
|
Memory dump callback to read from simulated RAM. This is a callback function for reading values from a simulated RAM buffer.
|
|
Memory dump callback to write from simulated RAM. This is a callback function for writing values to a simulated RAM buffer.
|
|
Initialize the MEM application-level functions.
|
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.
|
|
Return the ID of the node on which we are running.
|
|
Control block for MEM. Pointer to the control block (state) for the MEM application-level functions. The actual control block buffer is allocated during MEM_initialize(). |
|
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. |