GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > VXW / V7-2-0
Constituent: vxw_tornado_sio     Tag: rad750
#include "vxWorks.h"
#include "semLib.h"
#include "pci.h"
#include "Memmap.h"
#include "mv2600.h"
#include "tffs/flsocket.h"
#include "tffs/tffsDrv.h"
#include "drv/pci/pciConfigLib.h"
#include "drv/sib/sib.h"
Include dependency graph for sibSocket.c:
Data Structures | |
struct | _SibBoardControl |
SIB board level control structure. More... | |
struct | _SibBankControl |
SIB/TFFS EEPROM bank control structures. More... | |
struct | _SibVolumeControl |
SIB/TFFS volume control structure. More... | |
Defines | |
#define | SIB_SOCKET_LOG(_lev, _msg, _x0, _x1, _x2, _x3, _x4, _x5) |
#define | SIB_L_EEPROM_BANKS (2) |
#define | SIB_L_EEPROM_VOLUMES (4) |
#define | SIB_L_EEPROM_KEY (12) |
Typedefs | |
typedef _SibBoardControl | SibBoardControl |
Typedef for struct _SibBoardControl. | |
typedef _SibBankControl | SibBankControl |
Typedef for struct _SibBankControl. | |
typedef _SibVolumeControl | SibVolumeControl |
Typedef for struct _SibVolumeControl. | |
Functions | |
LOCAL FLBoolean | sibCardDetected (FLSocket *sok) |
LOCAL void | sibVccOn (FLSocket *sok) |
LOCAL void | sibVccOff (FLSocket *sok) |
LOCAL FLBoolean | sibGetAndClearCardChangeIndicator (FLSocket *sok) |
LOCAL FLBoolean | sibWriteProtected (FLSocket *sok) |
LOCAL void | sibSetWindow (FLSocket *sok) |
LOCAL void | sibSetMappingContext (FLSocket *sok, unsigned page) |
LOCAL FLStatus | sibSocketInit (FLSocket *sok) |
LOCAL FLStatus | sibVppOn (FLSocket *sok) |
LOCAL void | sibVppOff (FLSocket *sok) |
FLStatus | sibRegister (int bus, int dev, int func, int id) |
LOCAL void | sibSetMappingContext (FLSocket *sok, unsigned int page) |
Variables | |
SibBoardControl | sibBoardControl |
Code for unlocking an EEPROM bank for write access. | |
SibBankControl | sibBankControl [SIB_L_EEPROM_BANKS] |
The control blocks for the two EEPROM banks. | |
SibVolumeControl | sibVolumeControl [SIB_L_EEPROM_VOLUMES] |
The control blocks for the four SIB/TTFS volumes. |
CVS $Id: sibSocket.c,v 1.9 2008/10/02 23:29:20 apw Exp $
A.P.Waite
Support for the SIB hardware level write locks (one per bank) is provided by the sibVppOn() and sibVppOff() routines.
|
Initial value: { { 0, 2, SIB_CONTROL_L_EPWE_INIT, SIB_CONTROL_L_EPWE_LATCH, SIB_CONTROL_L_EPWE_SD, SIB_STATUS_LEEP_WE, 0x00000d6b }, { 0, 2, SIB_CONTROL_U_EPWE_INIT, SIB_CONTROL_U_EPWE_LATCH, SIB_CONTROL_U_EPWE_SD, SIB_STATUS_UEEP_WE, 0x00000953 } }
|
|
Initial value: { { "/ee0", SIB_OFFSET_EEPROM_LOWER, SIB_SIZE_EEPROM_LOWER, &sibBankControl[0] }, { "/ee1", SIB_OFFSET_EEPROM_UPPER, SIB_SIZE_EEPROM_UPPER, &sibBankControl[1] }, { "/mm0", SIB_OFFSET_EEPROM_LOWER, MEMMAP_TFFS_SEGMENT_OFFSET, &sibBankControl[0] }, { "/mm1", SIB_OFFSET_EEPROM_UPPER, MEMMAP_TFFS_SEGMENT_OFFSET, &sibBankControl[1] } }
|