GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > VXW / V7-1-1

Constituent: vxw_flight     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

sysSuromLib.c File Reference

Function definitions for SUROM service routines. More...

#include <vxWorks.h>
#include <sysLib.h>
#include "Memmap.h"
#include "drv/ppci/asmFns.h"
#include "drv/ppci/ppciRegs.h"
#include "drv/ppci/sysSuromLib.h"

Include dependency graph for sysSuromLib.c:


Defines

#define CMD_BLK_ADDR   MEMMAP_EMC_PARAM_ADRS

Functions

STATUS sysSuromSetupClkChange (UINT32 clkCtrlReg, UINT32 pllReg, UINT32 mpSigMask)
 Setup EMC clock change parameters.
STATUS sysSuromSignalServiceRequest (void)
 Do EMC clock change operation.

Detailed Description

Function definitions for SUROM service routines.

-------------------------------------------------------------------------

Description:

These services provide an interface to SUROM facilities (i.e., services, data). See sysSuromLib.h for more detail.

Change History:

Date Pgm Description -------- --- ------------------------------------------------------ 09/25/02 DS Created.

-----------------------------------------------------------------------------


Define Documentation

#define CMD_BLK_ADDR   MEMMAP_EMC_PARAM_ADRS
 

The address of the EMC command block memory area.


Function Documentation

STATUS sysSuromSetupClkChange UINT32  clkCtrlReg,
UINT32  pllReg,
UINT32  mpSigMask
 

Setup EMC clock change parameters.

This routine writes the the EMC SUROM command block to request changes to the CPU clock settings. No parameter validation is performed by this routine and sysSuromSignalServiceRequest() must be called to signal EMC SUROM to service the Change Clock request.

Parameters:
clkCtrlReg - Value to be written to the PPCI CAT core Clock Control reg.
pllReg - Value to be written to the PPCI CAT core PLL Setup/Config regs (e.g., 0x17 for a PLL of 3.5).
mpSigMask - If 0, reset 750 after clock change. Otherwise, value written to Multiprocessor Signaling reg after clock change.
Returns:
OK or ERROR.

STATUS sysSuromSignalServiceRequest void   ) 
 

Do EMC clock change operation.

This routine signals EMC SUROM to service the request in it's command block.

Returns:
OK or ERROR.


Generated on Sat Feb 2 01:36:40 2008 by  doxygen 1.4.4