GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> MEM / V5-8-1 > mem / mv2304
#include <PBI/Endianness.h>
Classes | |
struct | _MEM_CADDR32_Bfl |
32-Bit Address/Offset Bitfield More... | |
union | _MEM_CADDR32 |
Union for command bitfield _MEM_CADDR32_Bfl. More... | |
struct | _MEM_CIDBF_Bfl |
LAT Unit and Transaction ID Bitfield. More... | |
union | _MEM_CIDBF |
Union for command bitfield _MEM_CIDBF_Bfl. More... | |
struct | _MEM_CPCIADDRBF_Bfl |
PCI Device Header Address Bitfield. More... | |
union | _MEM_CPCIADDRBF |
Union for command bitfield _MEM_CPCIADDRBF_Bfl. More... | |
struct | _MEM_CPCIFNADDRBF_Bfl |
PCI Device Header Function Address Bitfield. More... | |
union | _MEM_CPCIFNADDRBF |
Union for command bitfield _MEM_CPCIFNADDRBF_Bfl. More... | |
struct | _MEM_CSIZE32_Bfl |
32-Bit Word Count Bitfield More... | |
union | _MEM_CSIZE32 |
Union for command bitfield _MEM_CSIZE32_Bfl. More... | |
struct | _MEM_LMEMLOADMEM_Prm |
Memory Write \ APID 0x644 \ function code 4. More... | |
struct | _MEM_LMEMLOADPCI_Prm |
PCI Device Header Write \ APID 0x644 \ function code 5. More... | |
struct | _MEM_LMEMLOADREG_Prm |
Processor Register Write \ APID 0x644 \ function code 6. More... | |
struct | _MEM_LMEMDUMPMEM_Prm |
Memory Data Dump \ APID 0x644 \ function code 0. More... | |
struct | _MEM_LMEMDUMPCANCEL_Prm |
Memory Dump Cancel \ APID 0x644 \ function code 1. More... | |
struct | _MEM_LMEMDUMPPCI_Prm |
PCI Device Header Dump \ APID 0x644 \ function code 2. More... | |
struct | _MEM_LMEMDUMPREG_Prm |
Processor Register Dump \ APID 0x644 \ function code 3. More... | |
struct | _MEM_LMEMDUMPNEXT_Prm |
Send Next Dump Packet \ APID 0x644 \ function code 100. More... | |
struct | _MEM_LMEMDUMPPOOL_Prm |
Memory Pool Status Dump \ APID 0x644 \ function code 7. More... | |
struct | _MEM_LMEMDUMPSYMVAL_Prm |
Memory Symbol Lookup \ APID 0x644 \ function code 8. More... | |
struct | _MEM_LMEMDUMPSYMREL_Prm |
Memory Dump Symbol Relative \ APID 0x644 \ function code 9. More... | |
struct | _MEM_LMEMNOOP_Prm |
No-Op \ APID 0x644 \ function code 10. More... | |
struct | _MEM_LMEMLOADMEM_Pkt |
Memory Write \ APID 0x644 \ function code 4. More... | |
struct | _MEM_LMEMLOADPCI_Pkt |
PCI Device Header Write \ APID 0x644 \ function code 5. More... | |
struct | _MEM_LMEMLOADREG_Pkt |
Processor Register Write \ APID 0x644 \ function code 6. More... | |
struct | _MEM_LMEMDUMPMEM_Pkt |
Memory Data Dump \ APID 0x644 \ function code 0. More... | |
struct | _MEM_LMEMDUMPCANCEL_Pkt |
Memory Dump Cancel \ APID 0x644 \ function code 1. More... | |
struct | _MEM_LMEMDUMPPCI_Pkt |
PCI Device Header Dump \ APID 0x644 \ function code 2. More... | |
struct | _MEM_LMEMDUMPREG_Pkt |
Processor Register Dump \ APID 0x644 \ function code 3. More... | |
struct | _MEM_LMEMDUMPNEXT_Pkt |
Send Next Dump Packet \ APID 0x644 \ function code 100. More... | |
struct | _MEM_LMEMDUMPPOOL_Pkt |
Memory Pool Status Dump \ APID 0x644 \ function code 7. More... | |
struct | _MEM_LMEMDUMPSYMVAL_Pkt |
Memory Symbol Lookup \ APID 0x644 \ function code 8. More... | |
struct | _MEM_LMEMDUMPSYMREL_Pkt |
Memory Dump Symbol Relative \ APID 0x644 \ function code 9. More... | |
struct | _MEM_LMEMNOOP_Pkt |
No-Op \ APID 0x644 \ function code 10. More... | |
Typedefs | |
typedef struct _MEM_CADDR32_Bfl | MEM_CADDR32_Bfl |
Typedef for command bitfield structure _MEM_CADDR32_Bfl. | |
typedef union _MEM_CADDR32 | MEM_CADDR32 |
Typedef for union _MEM_CADDR32. | |
typedef struct _MEM_CIDBF_Bfl | MEM_CIDBF_Bfl |
Typedef for command bitfield structure _MEM_CIDBF_Bfl. | |
typedef union _MEM_CIDBF | MEM_CIDBF |
Typedef for union _MEM_CIDBF. | |
typedef struct _MEM_CPCIADDRBF_Bfl | MEM_CPCIADDRBF_Bfl |
Typedef for command bitfield structure _MEM_CPCIADDRBF_Bfl. | |
typedef union _MEM_CPCIADDRBF | MEM_CPCIADDRBF |
Typedef for union _MEM_CPCIADDRBF. | |
typedef struct _MEM_CPCIFNADDRBF_Bfl | MEM_CPCIFNADDRBF_Bfl |
Typedef for command bitfield structure _MEM_CPCIFNADDRBF_Bfl. | |
typedef union _MEM_CPCIFNADDRBF | MEM_CPCIFNADDRBF |
Typedef for union _MEM_CPCIFNADDRBF. | |
typedef struct _MEM_CSIZE32_Bfl | MEM_CSIZE32_Bfl |
Typedef for command bitfield structure _MEM_CSIZE32_Bfl. | |
typedef union _MEM_CSIZE32 | MEM_CSIZE32 |
Typedef for union _MEM_CSIZE32. | |
typedef struct _MEM_LMEMLOADMEM_Prm | MEM_LMEMLOADMEM_Prm |
Typedef for structure _MEM_LMEMLOADMEM_Prm. | |
typedef struct _MEM_LMEMLOADPCI_Prm | MEM_LMEMLOADPCI_Prm |
Typedef for structure _MEM_LMEMLOADPCI_Prm. | |
typedef struct _MEM_LMEMLOADREG_Prm | MEM_LMEMLOADREG_Prm |
Typedef for structure _MEM_LMEMLOADREG_Prm. | |
typedef struct _MEM_LMEMDUMPMEM_Prm | MEM_LMEMDUMPMEM_Prm |
Typedef for structure _MEM_LMEMDUMPMEM_Prm. | |
typedef struct _MEM_LMEMDUMPCANCEL_Prm | MEM_LMEMDUMPCANCEL_Prm |
Typedef for structure _MEM_LMEMDUMPCANCEL_Prm. | |
typedef struct _MEM_LMEMDUMPPCI_Prm | MEM_LMEMDUMPPCI_Prm |
Typedef for structure _MEM_LMEMDUMPPCI_Prm. | |
typedef struct _MEM_LMEMDUMPREG_Prm | MEM_LMEMDUMPREG_Prm |
Typedef for structure _MEM_LMEMDUMPREG_Prm. | |
typedef struct _MEM_LMEMDUMPNEXT_Prm | MEM_LMEMDUMPNEXT_Prm |
Typedef for structure _MEM_LMEMDUMPNEXT_Prm. | |
typedef struct _MEM_LMEMDUMPPOOL_Prm | MEM_LMEMDUMPPOOL_Prm |
Typedef for structure _MEM_LMEMDUMPPOOL_Prm. | |
typedef struct _MEM_LMEMDUMPSYMVAL_Prm | MEM_LMEMDUMPSYMVAL_Prm |
Typedef for structure _MEM_LMEMDUMPSYMVAL_Prm. | |
typedef struct _MEM_LMEMDUMPSYMREL_Prm | MEM_LMEMDUMPSYMREL_Prm |
Typedef for structure _MEM_LMEMDUMPSYMREL_Prm. | |
typedef struct _MEM_LMEMNOOP_Prm | MEM_LMEMNOOP_Prm |
Typedef for structure _MEM_LMEMNOOP_Prm. | |
typedef struct _MEM_LMEMLOADMEM_Pkt | MEM_LMEMLOADMEM_Pkt |
Typedef for packet _MEM_LMEMLOADMEM_Pkt. | |
typedef struct _MEM_LMEMLOADPCI_Pkt | MEM_LMEMLOADPCI_Pkt |
Typedef for packet _MEM_LMEMLOADPCI_Pkt. | |
typedef struct _MEM_LMEMLOADREG_Pkt | MEM_LMEMLOADREG_Pkt |
Typedef for packet _MEM_LMEMLOADREG_Pkt. | |
typedef struct _MEM_LMEMDUMPMEM_Pkt | MEM_LMEMDUMPMEM_Pkt |
Typedef for packet _MEM_LMEMDUMPMEM_Pkt. | |
typedef struct _MEM_LMEMDUMPCANCEL_Pkt | MEM_LMEMDUMPCANCEL_Pkt |
Typedef for packet _MEM_LMEMDUMPCANCEL_Pkt. | |
typedef struct _MEM_LMEMDUMPPCI_Pkt | MEM_LMEMDUMPPCI_Pkt |
Typedef for packet _MEM_LMEMDUMPPCI_Pkt. | |
typedef struct _MEM_LMEMDUMPREG_Pkt | MEM_LMEMDUMPREG_Pkt |
Typedef for packet _MEM_LMEMDUMPREG_Pkt. | |
typedef struct _MEM_LMEMDUMPNEXT_Pkt | MEM_LMEMDUMPNEXT_Pkt |
Typedef for packet _MEM_LMEMDUMPNEXT_Pkt. | |
typedef struct _MEM_LMEMDUMPPOOL_Pkt | MEM_LMEMDUMPPOOL_Pkt |
Typedef for packet _MEM_LMEMDUMPPOOL_Pkt. | |
typedef struct _MEM_LMEMDUMPSYMVAL_Pkt | MEM_LMEMDUMPSYMVAL_Pkt |
Typedef for packet _MEM_LMEMDUMPSYMVAL_Pkt. | |
typedef struct _MEM_LMEMDUMPSYMREL_Pkt | MEM_LMEMDUMPSYMREL_Pkt |
Typedef for packet _MEM_LMEMDUMPSYMREL_Pkt. | |
typedef struct _MEM_LMEMNOOP_Pkt | MEM_LMEMNOOP_Pkt |
Typedef for packet _MEM_LMEMNOOP_Pkt. | |
typedef enum _MEM_Apid644Fcodes | MEM_Apid644Fcodes |
Typedef for enumeration _MEM_Apid644Fcodes. | |
Enumerations | |
enum | _MEM_Apid644Fcodes { MEM_LMEMDUMPMEM_FCODE = 0, MEM_LMEMDUMPCANCEL_FCODE = 1, MEM_LMEMDUMPPCI_FCODE = 2, MEM_LMEMDUMPREG_FCODE = 3, MEM_LMEMLOADMEM_FCODE = 4, MEM_LMEMLOADPCI_FCODE = 5, MEM_LMEMLOADREG_FCODE = 6, MEM_LMEMDUMPPOOL_FCODE = 7, MEM_LMEMDUMPSYMVAL_FCODE = 8, MEM_LMEMDUMPSYMREL_FCODE = 9, MEM_LMEMNOOP_FCODE = 10, MEM_LMEMDUMPNEXT_FCODE = 100 } |
Function code enumerations for apid 0x644. More... | |
Functions | |
unsigned int | MEM_LMEMLOADMEM (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len) |
Handle the Memory Write command. | |
unsigned int | MEM_LMEMLOADPCI (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len) |
Handle the PCI Device Header Write telecommand. | |
unsigned int | MEM_LMEMLOADREG (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len) |
Handle the Processor Register Write telecommand. | |
unsigned int | MEM_LMEMDUMPMEM (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len) |
Handle the Memory Data Dump command. | |
unsigned int | MEM_LMEMDUMPCANCEL (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len) |
Handle the Memory Dump Cancel command. | |
unsigned int | MEM_LMEMDUMPPCI (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len) |
Handle the PCI Device Header Dump telecommand. | |
unsigned int | MEM_LMEMDUMPREG (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len) |
Handle the Processor Register Dump telecommand. | |
unsigned int | MEM_LMEMDUMPNEXT (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len) |
Handle the Dump-Next telecommand. | |
unsigned int | MEM_LMEMDUMPPOOL (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len) |
Handle the Memory Pool Status Dump telecommand. | |
unsigned int | MEM_LMEMDUMPSYMVAL (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len) |
Handle the Memory Symbol Lookup telecommand. | |
unsigned int | MEM_LMEMDUMPSYMREL (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len) |
Handle the Memory Dump Symbol Relative telecommand. | |
unsigned int | MEM_LMEMNOOP (void *prm, const struct _ITC_QueueItem *qitem, void *pay, unsigned int len) |
Handle the Memory No-Op command. |
enum _MEM_Apid644Fcodes |
Function code enumerations for apid 0x644.
unsigned int MEM_LMEMDUMPCANCEL | ( | void * | prm, | |
const struct _ITC_QueueItem * | qitem, | |||
void * | pay, | |||
unsigned int | len | |||
) |
Handle the Memory Dump Cancel command.
Callback function for ITC that handles the Memory Dump Cancel telecommand.
prm | Unused. | |
qitem | Pointer to queue item. | |
pay | Pointer to command payload. | |
len | Length of the command payload, in bytes. |
References _MEM_Control::dump_active, _MEM_Control::dump_handle, MEM_CancelDump(), mem_check_state(), Mem_control_p, mem_forward_cmd(), and MEM_updateStats().
unsigned int MEM_LMEMDUMPMEM | ( | void * | prm, | |
const struct _ITC_QueueItem * | qitem, | |||
void * | pay, | |||
unsigned int | len | |||
) |
Handle the Memory Data Dump command.
Callback function for ITC that handles the Memory Data Dump telecommand.
prm | Unused. | |
qitem | Pointer to queue item. | |
pay | Pointer to command payload. | |
len | Length of the command payload, in bytes. |
References _MEM_CIDBF::bf, _MEM_LMEMDUMPMEM_Prm::dest, _MEM_LMEMDUMPMEM_Prm::idents, Mem_control_p, mem_handle_dump(), and _MEM_LMEMDUMPMEM_Pkt::pay.
unsigned int MEM_LMEMDUMPNEXT | ( | void * | prm, | |
const struct _ITC_QueueItem * | qitem, | |||
void * | pay, | |||
unsigned int | len | |||
) |
Handle the Dump-Next telecommand.
Callback function for ITC that handles the Dump-Next telecommand.
prm | Unused. | |
qitem | Pointer to queue item from ITC. | |
pay | Pointer to CCSDS packet containing the command. | |
len | Length of the CCSDS packet, in bytes. |
References _MEM_Control::dump_active, _MEM_Control::max_dump_pkts, mem_build_dump_data(), mem_check_state(), Mem_control_p, mem_forward_cmd(), mem_send_dump_data(), MEM_updateStats(), _MEM_Control::num_dump_pkts, _MEM_Control::poll_enabled, _MEM_Control::retries, and _MEM_Control::retry_qitem_p.
unsigned int MEM_LMEMDUMPPCI | ( | void * | prm, | |
const struct _ITC_QueueItem * | qitem, | |||
void * | pay, | |||
unsigned int | len | |||
) |
Handle the PCI Device Header Dump telecommand.
Callback function for ITC that handles the PCI Device Header Dump telecommand.
prm | Unused. | |
qitem | Pointer to queue item from ITC. | |
pay | Pointer to CCSDS packet containing the command. | |
len | Length of the CCSDS packet, in bytes. |
References _MEM_CIDBF::bf, _MEM_LMEMDUMPPCI_Prm::idents, Mem_control_p, mem_handle_dump(), and _MEM_LMEMDUMPPCI_Pkt::pay.
unsigned int MEM_LMEMDUMPPOOL | ( | void * | prm, | |
const struct _ITC_QueueItem * | qitem, | |||
void * | pay, | |||
unsigned int | len | |||
) |
Handle the Memory Pool Status Dump telecommand.
Callback function for ITC that handles the Memory Pool Status Dump telecommand.
prm | Unused. | |
qitem | Pointer to queue item from ITC. | |
pay | Pointer to CCSDS packet containing the command. | |
len | Length of the CCSDS packet, in bytes. |
References _MEM_CIDBF::bf, _MEM_LMEMDUMPPOOL_Prm::idents, mem_check_state(), Mem_control_p, mem_forward_cmd(), mem_send_pool_data(), MEM_updateStats(), _MEM_LMEMDUMPPOOL_Pkt::pay, and _MEM_LMEMDUMPPOOL_Prm::poolID.
unsigned int MEM_LMEMDUMPREG | ( | void * | prm, | |
const struct _ITC_QueueItem * | qitem, | |||
void * | pay, | |||
unsigned int | len | |||
) |
Handle the Processor Register Dump telecommand.
Callback function for ITC that handles the Processor Register Dump telecommand.
prm | Unused. | |
qitem | Pointer to queue item from ITC. | |
pay | Pointer to CCSDS packet containing the command. | |
len | Length of the CCSDS packet, in bytes. |
References _MEM_CIDBF::bf, _MEM_LMEMDUMPREG_Prm::idents, Mem_control_p, mem_handle_dump(), and _MEM_LMEMDUMPREG_Pkt::pay.
unsigned int MEM_LMEMDUMPSYMREL | ( | void * | prm, | |
const struct _ITC_QueueItem * | qitem, | |||
void * | pay, | |||
unsigned int | len | |||
) |
Handle the Memory Dump Symbol Relative telecommand.
Callback function for ITC that handles the Memory Dump Symbol Relative telecommand.
prm | Unused. | |
qitem | Pointer to queue item from ITC. | |
pay | Pointer to CCSDS packet containing the command. | |
len | Length of the CCSDS packet, in bytes. |
References _MEM_LMEMDUMPMEM_Prm::addr, _MEM_CIDBF::bf, _MEM_LMEMDUMPSYMREL_Prm::dest, _MEM_LMEMDUMPSYMREL_Prm::idents, mem_check_state(), Mem_control_p, mem_forward_cmd(), mem_handle_dump(), MEM_LMEMDUMPMEM_FCODE, MEM_updateStats(), _MEM_LMEMDUMPSYMREL_Prm::name, _MEM_LMEMDUMPSYMREL_Prm::nameSize, _MEM_LMEMDUMPSYMREL_Prm::offset, _MEM_LMEMDUMPMEM_Pkt::pay, _MEM_LMEMDUMPSYMREL_Pkt::pay, _MEM_LMEMDUMPMEM_Prm::size, _MEM_LMEMDUMPSYMREL_Prm::size, _MEM_CADDR32::ui, and _MEM_CSIZE32::ui.
unsigned int MEM_LMEMDUMPSYMVAL | ( | void * | prm, | |
const struct _ITC_QueueItem * | qitem, | |||
void * | pay, | |||
unsigned int | len | |||
) |
Handle the Memory Symbol Lookup telecommand.
Callback function for ITC that handles the Memory Symbol Lookup telecommand.
prm | Unused. | |
qitem | Pointer to queue item from ITC. | |
pay | Pointer to CCSDS packet containing the command. | |
len | Length of the CCSDS packet, in bytes. |
References _MEM_CIDBF::bf, _MEM_TIDBF::bf, _MEM_LMEMSYMVAL_Tlm::hdr, _MEM_LMEMDUMPSYMVAL_Prm::idents, _MEM_LMEMSYMVAL_Tlm::idents, mem_check_state(), Mem_control_p, mem_forward_cmd(), mem_fpa_free(), mem_fpa_get(), MEM_LMEMSYMVAL_TLM_APID, MEM_updateStats(), _MEM_Control::my_nid, _MEM_LMEMSYMVAL_Tlm::name, _MEM_LMEMDUMPSYMVAL_Prm::name, _MEM_LMEMSYMVAL_Tlm::nameSize, _MEM_LMEMDUMPSYMVAL_Prm::nameSize, _MEM_LMEMSYMVAL_Tlm::pad16, _MEM_LMEMSYMVAL_Tlm::pad8, _MEM_LMEMDUMPSYMVAL_Pkt::pay, and _MEM_LMEMSYMVAL_Tlm::symValue.
unsigned int MEM_LMEMLOADMEM | ( | void * | prm, | |
const struct _ITC_QueueItem * | qitem, | |||
void * | pay, | |||
unsigned int | len | |||
) |
Handle the Memory Write command.
Callback function for ITC that handles the Memory Write telecommand.
prm | Unused. | |
qitem | Pointer to queue item. | |
pay | Pointer to command payload. | |
len | Length of the command payload, in bytes. |
References _MEM_Control::load_handle, mem_check_state(), Mem_control_p, mem_forward_cmd(), mem_handle_load(), MEM_loadPktMemory(), and MEM_updateStats().
unsigned int MEM_LMEMLOADPCI | ( | void * | prm, | |
const struct _ITC_QueueItem * | qitem, | |||
void * | pay, | |||
unsigned int | len | |||
) |
Handle the PCI Device Header Write telecommand.
Callback function for ITC that handles the PCI Device Header Write telecommand.
prm | Unused. | |
qitem | Pointer to queue item from ITC. | |
pay | Pointer to CCSDS packet containing the command. | |
len | Length of the CCSDS packet, in bytes. |
References _MEM_Control::load_handle, mem_check_state(), Mem_control_p, mem_forward_cmd(), mem_handle_load(), MEM_loadPktPci(), and MEM_updateStats().
unsigned int MEM_LMEMLOADREG | ( | void * | prm, | |
const struct _ITC_QueueItem * | qitem, | |||
void * | pay, | |||
unsigned int | len | |||
) |
Handle the Processor Register Write telecommand.
Callback function for ITC that handles the Processor Register Write telecommand.
prm | Unused. | |
qitem | Pointer to queue item from ITC. | |
pay | Pointer to CCSDS packet containing the command. | |
len | Length of the CCSDS packet, in bytes. |
References _MEM_Control::load_handle, mem_check_state(), Mem_control_p, mem_forward_cmd(), mem_handle_load(), MEM_loadPktReg(), and MEM_updateStats().
unsigned int MEM_LMEMNOOP | ( | void * | prm, | |
const struct _ITC_QueueItem * | qitem, | |||
void * | pay, | |||
unsigned int | len | |||
) |
Handle the Memory No-Op command.
Callback function for ITC that handles the Memory No-Op telecommand.
prm | Unused. | |
qitem | Pointer to queue item. | |
pay | Pointer to command payload. | |
len | Length of the command payload, in bytes. |
References mem_check_state(), Mem_control_p, mem_forward_cmd(), and MEM_updateStats().