GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > VXW / V7-0-3
Constituent: vxw_symbol     Tag: rad750
#include "vxWorks.h"
#include "drv/ppci/ppciRegs.h"
Include dependency graph for ppciMem.h:
This graph shows which files directly or indirectly include this file:
Memory Interrupt Functions | |
typedef enum memIntLvl | memIntLvl_t |
enum | memIntLvl { MEM_STAT_REFRESH_COMP = 0, MEM_STAT_SCRUB_COMP = 1, MEM_STAT_MEM_INIT_COMP = 2, MEM_STAT_SINGLE_CORRECT = 3, MEM_STAT_NIBBLE_CORRECT = 4, MEM_ERR_UNCORR_DATA = 5, MEM_ERR_UNCORR_ADDR = 6, MEM_ERR_BAD_ADDRESS = 7, MEM_ERR_ROM_WRITE_ERROR = 8, MEM_ERR_MEM_REFRESH_OVF = 9, MEM_ERR_INV_MEM_CFG_CMD = 10, MEM_ERR_INV_MEM_CFG_ADDR = 11, MEM_ERR_MEM_CFG_BE_PAR = 12, MEM_ERR_MEM_CFG_DATA_PAR = 13, MEM_ERR_MEM_CFG_ADDR_PAR = 14, MEM_ERR_INV_MEM_REQUEST = 15, MEM_ERR_MEM_REQUEST_BE_PAR = 16, MEM_ERR_MEM_REQUEST_PAR = 17, MEM_ERR_ADD_PARITY = 18, MEM_ERR_CRIT_ERROR = 19 } |
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. | |
Memory Support 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. | |
void | ppciMemInit (void) |
Memory initialization routine, first part. | |
void | ppciMemInit2 (void) |
Memory initialization routine, second part. |
-----------------------------------------------------------------------------
Description:
Power PCI bridge memory interface datatypes and function prototypes. See ppciMem.c for detailed descriptions of the functions.
Restrictions:
Change History:
Date Pgm Description -------- --- ------------------------------------------------------ 01/12/00 DS Created.
-----------------------------------------------------------------------------
|
The typedef for memIntLvl. |
|
|
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.
|