GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > VXW / V7-0-2
Constituent: vxw_tornado_sio     Tag: rad750
#include "vxWorks.h"
#include "drv/ppci/asmFns.h"
#include "drv/ppci/ppciRegs.h"
#include "drv/ppci/ppciMem.h"
#include "drv/ppci/ppciInt.h"
#include "drv/ppci/isrRouter.h"
Include dependency graph for ppciMem.c:
Functions | |
STATUS | memAutoInit (void *start, void *end, unsigned int dataLo, unsigned int dataHi, int pollUntilComplete) |
Initialize a block of memory. | |
STATUS | memAutoScrub (int bank, memScrubMode_t mode, int delay) |
Configure memory bank scrubbing. | |
void | memReadErrLog (int *pErrLogEntry) |
Read memory error log. | |
STATUS | memIntEnable (memIntLvl_t intLvl) |
Enable a PowerPCI memory interrupt level. | |
STATUS | memIntDisable (memIntLvl_t intLvl) |
Disable a PowerPCI memory interrupt level. | |
STATUS | memIntConnect (memIntLvl_t intLvl, VOIDFUNCPTR isr, int parm) |
Connect ISR to PowerPCI memory interrupt level. | |
void | ppciMemInit (void) |
Memory initialization routine, first part. | |
void | ppciMemInit2 (void) |
Memory initialization routine, second part. | |
Variables | |
static isrRoutingInfo_t | memRoutingInfo |
-----------------------------------------------------------------------------
Restrictions:
Change History:
Date Pgm Description -------- --- ------------------------------------------------------ 01/12/00 DS Created.
-----------------------------------------------------------------------------
|
Initialize a block of memory. ---------------------------------------------------------------------------- This routine initializes a block of memory. The memory block must begin and end on a 32-byte boundary. The option is given to poll until memory initialization is complete. Altenatively, a user interrupt handler can be installed to repsond to the memory initliaization complete interrupt.
|
|
Configure memory bank scrubbing. ---------------------------------------------------------------------------- This routine configures the scrubbing mode for a bank of memory.
|
|
Connect ISR to PowerPCI memory interrupt level. Connect ISR to PowerPCI memory interrupt level This routine connects an interrupt service routine (ISR) to PowerPCI bridge memory controller interrupt level. Memory interrupts are enabled separate from this routine (by memIntEnable()). The interrupt level being connected should not be enable when this routine is called. The specified ISR will get control with interrupts disabled.
|
|
Disable a PowerPCI memory interrupt level. Disable a PowerPCI memory interrupt level This routine disables the specified memory controller interrupt level of the PowerPCI bridge.
|
|
Enable a PowerPCI memory interrupt level. Enable a PowerPCI memory interrupt level This routine enables the specified memory controller interrupt level of the PowerPCI bridge.
|
|
Read memory error log. ---------------------------------------------------------------------------- This routine reads and returns the 64-bit memory error log entry from the Power PCI bridge.
|
|
Initial value: { {{NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}}, &ppciMemStatus, &ppciMemIntEnable, TRUE, TRUE } |