GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > MEM / V5-8-0
Constituent: mem_scp     Tag: linux-gcc
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "PBI/Endianness.h"
#include "MSG/MSG_pubdefs.h"
#include "CCSDS/CCSDS_pkt.h"
#include "ITC/ITC_dump.h"
#include "ITC/ITC_pubdefs.h"
#include "MEM/MEM_dump_cmd.h"
#include "MEM/MEM_msgs.h"
#include "MEM/QMEM.h"
#include "PBS/BSWP.ih"
#include "PBS/BSWP.h"
#include "CLI/CLI_pubdefs.h"
Include dependency graph for MEM_dump_cmd.c:
Functions | |
int | MEM_setDumpDisplayLimit (int limit) |
Set the max number of words to display from a single dump. | |
static const char * | mem_interp_dest (unsigned int value) |
Interpret a destination value. | |
static const char * | mem_interp_unit (unsigned int value) |
Interpret a LAT unit identifier value. | |
static const char * | mem_interp_pool (unsigned int value) |
Interpret a Pool ID value. | |
static void | mem_dump_boilerplate (char *pkt_name) |
Dump some boilerplate header information. | |
static unsigned int | mem_dump_dest (unsigned char *pay, unsigned int offset) |
Dump the destination value from a packet. | |
static unsigned int | mem_dump_idents (unsigned char *pay, unsigned int offset) |
Dump the LAT unit and transaction ID values from a packet. | |
static unsigned int | mem_dump_padding (unsigned char *pay, unsigned int offset, unsigned int num_bytes) |
Dump the padding field from a packet. | |
static unsigned int | mem_dump_data_32 (unsigned char *pay, unsigned int offset, unsigned int num_words) |
Dump the 32-bit data fields from a packet. | |
static unsigned int | mem_dump_data_ascii (unsigned char *pay, unsigned int offset, unsigned int num_bytes, char *name) |
Dump the ASCII character data fields from a packet. | |
void | MEM_dumpHouse (char *pkt) |
Dump the MEM portion of the boot housekeeping telemetry. | |
void | MEM_dumpDumpTlm (char *pkt) |
Dump the Memory Dump telemetry. | |
void | MEM_dumpPoolData (char *pkt) |
Dump the Memory Pool Status telemetry. | |
void | MEM_dumpSymValData (char *pkt) |
Dump the Memory Symbol Lookup telemetry. | |
unsigned int | MEM_dispatchTlm (void *prm, unsigned char *pkt) |
Dispatch routine for arriving housekeeping telemetry. | |
unsigned int | MEM_dispatchDumpTlm (void *prm, unsigned char *pkt) |
Dispatch routine for arriving dump data telemetry. | |
unsigned int | MEM_dispatchPoolDataTlm (void *prm, unsigned char *pkt) |
Dispatch routine for arriving memory pool data telemetry. | |
unsigned int | MEM_dispatchSsrTlm (void *prm, unsigned char *pkt) |
Dispatch routine for arriving SSR telemetry. | |
unsigned int | MEM_dispatchSymValTlm (void *prm, unsigned char *pkt) |
Dispatch routine for arriving symbol value telemetry. | |
void | MEM_dumpCancel (char *pkt) |
Dump the Memory Dump Cancel command. | |
void | MEM_dumpDump (char *pkt) |
Dump the Memory Data Dump command. | |
void | MEM_dumpLoad (char *pkt) |
Dump the Memory Write command. | |
void | MEM_dumpPci (char *pkt) |
Dump the PCI Device Header Dump command. | |
void | MEM_dumpPciLoad (char *pkt) |
Dump the PCI Device Header Write command. | |
void | MEM_dumpPool (char *pkt) |
Dump the Memory Pool Status Dump command. | |
void | MEM_dumpReg (char *pkt) |
Dump the Processor Register Dump command. | |
void | MEM_dumpRegLoad (char *pkt) |
Dump the Processor Register Write command. | |
void | MEM_dumpSymRel (char *pkt) |
Dump the Memory Dump Symbol Relative command. | |
void | MEM_dumpSymVal (char *pkt) |
Dump the Memory Symbol Lookup command. | |
static unsigned int | MEM_setDumpDisplayLimit_cli (CLI_Control *cli, void *prm) |
CLI callback for the "MEM_setDumpDisplayLimit" command. | |
unsigned int | MEM_addDumpSyntax (CLI_Syntax *syntax) |
Add MEM dump commands to the command-line syntax. | |
Variables | |
int | MEM_dumpDisplayLimit = 256 |
The maximum number of words to display from a single dump. |
CVS $Id: MEM_dump_cmd.c,v 1.10 2005/09/21 16:47:08 dmay Exp $
|
Add MEM dump commands to the command-line syntax.
|
|
Dispatch routine for arriving dump data telemetry.
|
|
Dispatch routine for arriving memory pool data telemetry.
|
|
Dispatch routine for arriving SSR telemetry.
|
|
Dispatch routine for arriving symbol value telemetry.
|
|
Dispatch routine for arriving housekeeping telemetry.
|
|
Dump some boilerplate header information. Dumps a boilerplate header for the payload portion of a packet.
|
|
Dump the 32-bit data fields from a packet. Dumps the data fields from a packet as 32-bit values.
|
|
Dump the ASCII character data fields from a packet. Dumps the data fields from a packet as ASCII characters.
|
|
Dump the destination value from a packet.
|
|
Dump the LAT unit and transaction ID values from a packet. Dumps the LAT unit and transaction ID values from a packet.
|
|
Dump the padding field from a packet. Dumps the padding field from a packet.
|
|
Dump the Memory Dump Cancel command. Dumps the contents of a Memory Dump Cancel command packet. The fields of the payload are assumed to be in native byte order.
|
|
Dump the Memory Data Dump command. Dumps the contents of a Memory Data Dump command packet. The fields of the payload are assumed to be in native byte order.
|
|
Dump the Memory Dump telemetry. Dumps the contents of a Memory Dump telemetry packet. The fields of the payload are assumed to be in native byte order.
|
|
Dump the Memory Write command. Dumps the contents of a Memory Write command packet. The fields of the payload are assumed to be in native byte order.
|
|
Dump the PCI Device Header Dump command. Dumps the contents of a PCI Device Header Dump command packet. The fields of the payload are assumed to be in native byte order.
|
|
Dump the PCI Device Header Write command. Dumps the contents of a PCI Device Header Write command packet. The fields of the payload are assumed to be in native byte order.
|
|
Dump the Memory Pool Status Dump command. Dumps the contents of a Memory Pool Status Dump command packet. The fields of the payload are assumed to be in native byte order.
|
|
Dump the Memory Pool Status telemetry. Dumps the contents of a Memory Pool Status telemetry packet. The fields of the payload are assumed to be in native byte order.
|
|
Dump the Processor Register Dump command. Dumps the contents of a Processor Register Dump command packet. The fields of the payload are assumed to be in native byte order.
|
|
Dump the Processor Register Write command. Dumps the contents of a Processor Register Write command packet. The fields of the payload are assumed to be in native byte order.
|
|
Dump the Memory Dump Symbol Relative command. Dumps the contents of a Memory Dump Symbol Relative command packet. The fields of the payload are assumed to be in native byte order.
|
|
Dump the Memory Symbol Lookup command. Dumps the contents of a Memory Symbol Lookup command packet. The fields of the payload are assumed to be in native byte order.
|
|
Dump the Memory Symbol Lookup telemetry. Dumps the contents of a Memory Symbol Lookup telemetry packet. The fields of the payload are assumed to be in native byte order.
|
|
Interpret a destination value.
|
|
Interpret a Pool ID value.
|
|
Interpret a LAT unit identifier value.
|
|
Set the max number of words to display from a single dump.
|
|
CLI callback for the "MEM_setDumpDisplayLimit" command.
|