The Pedigree Project  0.1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
PPCCommonProcessorInformation Class Reference

#include <ProcessorInformation.h>

+ Collaboration diagram for PPCCommonProcessorInformation:

Public Member Functions

VirtualAddressSpacegetVirtualAddressSpace () const
 
void setVirtualAddressSpace (VirtualAddressSpace &virtualAddressSpace)
 
uintptr_t getKernelStack () const
 
void setKernelStack (uintptr_t stack)
 
ThreadgetCurrentThread () const
 
void setCurrentThread (Thread *pThread)
 

Protected Member Functions

 PPCCommonProcessorInformation (ProcessorId processorId)
 
virtual ~PPCCommonProcessorInformation ()
 

Private Member Functions

 PPCCommonProcessorInformation ()
 
 PPCCommonProcessorInformation (const PPCCommonProcessorInformation &)
 
PPCCommonProcessorInformationoperator= (const PPCCommonProcessorInformation &)
 

Private Attributes

ProcessorId m_ProcessorId
 
VirtualAddressSpacem_VirtualAddressSpace
 
Threadm_pCurrentThread
 

Friends

class Processor
 

Detailed Description

Common mips processor information structure

Definition at line 31 of file ppc_common/ProcessorInformation.h.

Constructor & Destructor Documentation

PPCCommonProcessorInformation::PPCCommonProcessorInformation ( ProcessorId  processorId)
inlineprotected

Construct a PPCCommonProcessorInformation object

Parameters
[in]processorIdIdentifier of the processor

Definition at line 63 of file ppc_common/ProcessorInformation.h.

virtual PPCCommonProcessorInformation::~PPCCommonProcessorInformation ( )
inlineprotectedvirtual

The destructor does nothing

Definition at line 70 of file ppc_common/ProcessorInformation.h.

References operator=(), and PPCCommonProcessorInformation().

PPCCommonProcessorInformation::PPCCommonProcessorInformation ( )
private

Default constructor

Note
NOT implemented

Referenced by ~PPCCommonProcessorInformation().

+ Here is the caller graph for this function:

PPCCommonProcessorInformation::PPCCommonProcessorInformation ( const PPCCommonProcessorInformation )
private

Copy-constructor

Note
NOT implemented

Member Function Documentation

VirtualAddressSpace& PPCCommonProcessorInformation::getVirtualAddressSpace ( ) const
inline

Get the current processor's VirtualAddressSpace

Returns
reference to the current processor's VirtualAddressSpace

Definition at line 38 of file ppc_common/ProcessorInformation.h.

References m_VirtualAddressSpace.

PPCCommonProcessorInformation& PPCCommonProcessorInformation::operator= ( const PPCCommonProcessorInformation )
private

Assignment operator

Note
NOT implemented

Referenced by ~PPCCommonProcessorInformation().

+ Here is the caller graph for this function:

void PPCCommonProcessorInformation::setVirtualAddressSpace ( VirtualAddressSpace virtualAddressSpace)
inline

Set the current processor's VirtualAddressSpace

Parameters
[in]virtualAddressSpacereference to the new VirtualAddressSpace

Definition at line 44 of file ppc_common/ProcessorInformation.h.

References m_pCurrentThread, and m_VirtualAddressSpace.

Member Data Documentation

Thread* PPCCommonProcessorInformation::m_pCurrentThread
private

The current thread

Definition at line 91 of file ppc_common/ProcessorInformation.h.

Referenced by setVirtualAddressSpace().

ProcessorId PPCCommonProcessorInformation::m_ProcessorId
private

Identifier of that processor

Definition at line 87 of file ppc_common/ProcessorInformation.h.

VirtualAddressSpace* PPCCommonProcessorInformation::m_VirtualAddressSpace
private

The documentation for this class was generated from the following file: