GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PBS / dev > pbs / sun-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...


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

Referenced by BUG_check().

 
#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.

Fetches the value the specified SP.

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.

Returns:
The value the specified SP
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.

Fetches the value the specified SP.

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.

Returns:
The value the specified SP
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_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 Fri Aug 5 18:35:01 2011 by  doxygen 1.5.8