GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBS / V2-10-5

Constituent: pbs     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

REG.h.xx-xxx-xxx File Reference

Fetches the value of the PC and other specialized registers, implementation for PPC. This is a dummy implementation for non-PPC750 platforms. More...

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Defines

#define REG_LR()   0
 Fetches the value of the current LR (link register) This is a NOOP on non PPC750 platforms.

#define REG_MSR()   0
 Fetches the value of the current MSR (machine status register) This is a NOOP on non PPC750 platforms.

#define REG_PC()   0
 Fetches the value of the current PC. This is a NOOP on non PPC platforms.

#define REG_SP()   0
 Fetches the value of the current Stack Pointer This is a NOOP on PPC platforms.

#define REG_PVR()   0
 Fetches the value the Processor Version Register, effectively a NOOP on non PPC platforms.

#define REG_SP()   0
 Fetches the value of the current Stack Pointer This is a NOOP on PPC platforms.

#define REG_SPR(_spr)   0
 Fetches the value the specified SPR.


Detailed Description

Fetches the value of the PC and other specialized registers, implementation for PPC. This is a dummy implementation for non-PPC750 platforms.

Author:
JJRussell - russell@slac.stanford.edu

    CVS $Id: REG.h.xx-xxx-xxx,v 1.3 2004/12/07 16:13:07 russell Exp $

Define Documentation

 
#define REG_LR  )     0
 

Fetches the value of the current LR (link register) This is a NOOP on non PPC750 platforms.

Returns:
0, always

 
#define REG_MSR  )     0
 

Fetches the value of the current MSR (machine status register) This is a NOOP on non PPC750 platforms.

Returns:
0, always

 
#define REG_PC  )     0
 

Fetches the value of the current PC. This is a NOOP on non PPC platforms.

Returns:
0, always

 
#define REG_PVR  )     0
 

Fetches the value the Processor Version Register, effectively a NOOP on non PPC platforms.

Returns:
0, always
Warning:
This macro is provided only a portability aid. No code running on a non PPC platform should depend on the results of this macro.

 
#define REG_SP  )     0
 

Fetches the value of the current Stack Pointer This is a NOOP on PPC platforms.

Returns:
The value of stack pointer where this macro is called
The exact value of the SP is not specified and differs on an implementation by implementation basis. Since it is only meant to be indicate roughly where the SP is, this should cause no problems.

 
#define REG_SP  )     0
 

Fetches the value of the current Stack Pointer This is a NOOP on PPC platforms.

Returns:
The value of stack pointer where this macro is called
The exact value of the SP is not specified and differs on an implementation by implementation basis. Since it is only meant to be indicate roughly where the SP is, this should cause no problems.

#define REG_SPR _spr   )     0
 

Fetches the value the specified SPR.

Returns:
The value the specified SPR
Parameters:
_spr The SPR register number.
Warning:
This macro is provided only a portability aid. No code running on a non PPC platform should depend on the results of this macro.


Generated on Tue Sep 13 20:47:58 2005 by doxygen 1.3.3