GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCBD / V1-4-3
Constituent: test_lcbb     Tag: rad750
#include <stdio.h>
#include "PBS/BSWP.ih"
#include "PBS/PBS.h"
#include "PBS/L.h"
#include "PBS/TMR.h"
#include "PBS/MBA.h"
#include "LCBD/LCBB.h"
#include "LCBD/LCB_cr.h"
#include "ptd/lcb_display.h"
Include dependency graph for test_lcbb.c:
Data Structures | |
struct | _CTX |
The context/control block for this suite of tests. More... | |
Defines | |
#define | PROTO 0 |
The default protocol to send messages on. | |
Typedefs | |
typedef _CTX | CTX |
Typedef for struct _CTX. | |
Functions | |
unsigned int | test_lcbb_init (int src_board_id, int dst_board_id) |
Test suite initialization routine. | |
unsigned int | test_lcbb_xtrace_show (void) |
Displays the contents of the LCBB trace buffer. | |
unsigned int | test_lcbb_mark_time (int stall, int want_title) |
Tests the LCBB_mark_time function. | |
unsigned int | test_lcbb_csr_read (void) |
Tests the LCBB_csr_access with parameters that just read the register. | |
unsigned int | test_lcbb_faults_read (void) |
Tests the LCBB_faults_access with parameters that just read the register. | |
unsigned int | test_lcbb_rxstats_read (void) |
Tests the LCBB_rxstats_access with parameters that just read the register. | |
unsigned int | test_lcbb_pci_csr_read (void) |
Reads the PCI CSR. | |
unsigned int | test_lcbb_pci_irq_read (void) |
Reads the PCI IRQ register. | |
unsigned int | test_lcbb_pci_fab_read (void) |
Reads the PCI Fabric Select register. | |
unsigned int | test_lcbb_send (int style, int n) |
Fills a buffer in the specified style for the specified number of items. | |
unsigned int | test_lcbb_receive (void) |
Receives a previously sent message. | |
unsigned int | test_lcbb_free1 (void) |
Frees the oldest message on the que. | |
unsigned int | test_lcbb_free_all (void) |
Frees the all the messages on the que. | |
int | main (int argc, char *argv[]) |
The usual host main program. | |
Variables | |
CTX | Ctx |
Static, global instance of the context/control block. |
CVS $Id
|
The usual host main program.
|
|
Frees the oldest message on the que.
|
|
Frees the all the messages on the que.
|
|
Test suite initialization routine.
|
|
Tests the LCBB_mark_time function.
|
|
Fills a buffer in the specified style for the specified number of items.
|