GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> TRD / V0-0-1 > trd / rhel6-64
#include <PBS/MTX.h>
#include <PBS/RW.ih>
#include <TRD/TRD_pubdefs.h>
Classes | |
struct | _TRD_BufferHeader |
Structure of turbo reset database overall header. More... | |
struct | _TRD_RowHeader |
Structure of turbo reset database row header. More... | |
struct | _TRD_Row |
Structure of one row in the turbo reset database. More... | |
struct | _TRD_Control |
Structure of turbo reset database control block. More... | |
Defines | |
#define | TRD_K_BDB5 (0xbdb5) |
#define | TRD_K_BDBA (0xbdba) |
#define | TRD_L_ROWS (32) |
#define | TRD_L_ROWBUF (1024) |
Typedefs | |
typedef enum _TRD_State | TRD_State |
Typedef for enum _TRD_State. | |
typedef unsigned int | TRD_cb_TffsRawio (int tffsDriveNo, int functionNo, int arg0, int arg1, int arg3) |
Signature for a TRD reset routine. | |
typedef struct _TRD_BufferHeader | TRD_BufferHeader |
Typedef for struct _TRD_BufferHeader. | |
typedef struct _TRD_RowHeader | TRD_RowHeader |
Typedef for struct _TRD_RowHeader. | |
typedef struct _TRD_Control | TRD_Control |
Typedef for struct _TRD_Control. | |
Enumerations | |
enum | _TRD_State { TRD_CTL_UNINITIALIZED = 0, TRD_CTL_BROKEN = 1, TRD_CTL_INITIALIZED = 2 } |
Enumeration of TRD control states. More... | |
Functions | |
unsigned int | TRD_databaseSpace (TRD_Control *tcb, unsigned int vol, unsigned int *off, unsigned int *siz) |
Identify save/restore space in EEPROM. | |
int | TRD_fakeTffsRawio (int tffsDriveNo, int functionNo, int arg0, int arg1, int arg2) |
TFFS raw IO routine (pure fakery for use on unix hosts). | |
Variables | |
TRD_Control * | TRD_tcb |
Pointer to trace control block (initialized to NULL). |
CVS $Id: TRD_prvdefs.h,v 1.2 2011/03/28 21:41:08 apw Exp $
enum _TRD_State |
unsigned int TRD_databaseSpace | ( | TRD_Control * | tcb, | |
unsigned int | vol, | |||
unsigned int * | off, | |||
unsigned int * | siz | |||
) |
Identify save/restore space in EEPROM.
tcb | (in) TRD control block | |
vol | (in) EEPROM bank (/mm0, /mm1 convention) | |
off | (out) Offset to database in EEPROM | |
siz | (out) Maximum allowed size of database in EEPROM |
vol | TRD control block | |
off | EEPROM bank (/mm0, /mm1 convention) | |
siz | Offset to database in EEPROM Maximum size of database in EEPROM |
References _TRD_Control::sib, and TRD_fakeTffsRawio().
Referenced by TRD_databaseRead(), and TRD_databaseWrite().
int TRD_fakeTffsRawio | ( | int | tffsDriveNo, | |
int | functionNo, | |||
int | arg0, | |||
int | arg1, | |||
int | arg2 | |||
) |
TFFS raw IO routine (pure fakery for use on unix hosts).
tffsDriveNo | (in) (Fake) Drive number | |
functionNo | (in) (Fake) Function number | |
arg0 | (in) (Fake) Argument 0 | |
arg1 | (in) (Fake) Argument 1 | |
arg2 | (in) (Fake) Argument 2 |
functionNo | TrueFFS drive number | |
arg0 | TrueFFS function code | |
arg1 | Argument 0 | |
arg2 | Argument 1 Argument 2 |
Referenced by TRD_databaseSpace(), and TRD_initialize().