GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> VXW / V7-2-0 > vxw_flight / rad750
#include "vxWorks.h"
Functions | |
int | ppciMCPClear (void) |
Clear MCP in the Power PCI bridge. | |
STATUS | sysMemProbe (char *adrs, int mode, int length, char *pVal) |
Safely probe memory addresses. | |
void | ppciMCPInit (void) |
Initialize PowerPCI bridge MCP related resources. |
-------------------------------------------------------------------------
Restrictions: See ppciMCP.c
Change History:
Date Pgm Description -------- --- ------------------------------------------------------ 02/07/00 DS Created.
--------------------------------------------------------------------------
int ppciMCPClear | ( | void | ) |
Clear MCP in the Power PCI bridge.
----------------------------------------------------------------------------
This routine clears the conditions generating the machine check signal in the Power PCI bridge by clearing the 60X error status reg.
Note: If at some time in the future it is determined that further action should be taken upon a machine check (e.g., querying and clear other Power PCI error status regs), this is the place to do it.
void ppciMCPInit | ( | void | ) |
Initialize PowerPCI bridge MCP related resources.
----------------------------------------------------------------------------
This routine is called from ppciInit() to initialize the MCP resources.
----------------------------------------------------------------------------
STATUS sysMemProbe | ( | char * | adrs, | |
int | mode, | |||
int | length, | |||
char * | pVal | |||
) |
Safely probe memory addresses.
----------------------------------------------------------------------------
This routine is hooked into VxWorks so that it is called by vxMemProbe rather than vxMemArchProbe. The Power PC vxMemArchProbe has a couple shortcomings when it comes to accessing PCI resources:
adrs | Address to probe. | |
mode | Read (0) or write (1). | |
length | Number of bytes: 1, 2 or 4. | |
pVal | Dest for read, data for write. |