The Pedigree Project
0.1
|
#include <ProcessorInformation.h>
Public Member Functions | |
VirtualAddressSpace & | getVirtualAddressSpace () const |
void | setVirtualAddressSpace (VirtualAddressSpace &virtualAddressSpace) |
uintptr_t | getKernelStack () const |
void | setKernelStack (uintptr_t stack) |
Thread * | getCurrentThread () const |
void | setCurrentThread (Thread *pThread) |
Protected Member Functions | |
PPCCommonProcessorInformation (ProcessorId processorId) | |
virtual | ~PPCCommonProcessorInformation () |
Private Member Functions | |
PPCCommonProcessorInformation () | |
PPCCommonProcessorInformation (const PPCCommonProcessorInformation &) | |
PPCCommonProcessorInformation & | operator= (const PPCCommonProcessorInformation &) |
Private Attributes | |
ProcessorId | m_ProcessorId |
VirtualAddressSpace * | m_VirtualAddressSpace |
Thread * | m_pCurrentThread |
Friends | |
class | Processor |
Common mips processor information structure
Definition at line 31 of file ppc_common/ProcessorInformation.h.
|
inlineprotected |
Construct a PPCCommonProcessorInformation object
[in] | processorId | Identifier of the processor |
Definition at line 63 of file ppc_common/ProcessorInformation.h.
|
inlineprotectedvirtual |
The destructor does nothing
Definition at line 70 of file ppc_common/ProcessorInformation.h.
References operator=(), and PPCCommonProcessorInformation().
|
private |
Default constructor
Referenced by ~PPCCommonProcessorInformation().
|
private |
Copy-constructor
|
inline |
Get the current processor's VirtualAddressSpace
Definition at line 38 of file ppc_common/ProcessorInformation.h.
References m_VirtualAddressSpace.
|
private |
Assignment operator
Referenced by ~PPCCommonProcessorInformation().
|
inline |
Set the current processor's VirtualAddressSpace
[in] | virtualAddressSpace | reference to the new VirtualAddressSpace |
Definition at line 44 of file ppc_common/ProcessorInformation.h.
References m_pCurrentThread, and m_VirtualAddressSpace.
|
private |
The current thread
Definition at line 91 of file ppc_common/ProcessorInformation.h.
Referenced by setVirtualAddressSpace().
|
private |
Identifier of that processor
Definition at line 87 of file ppc_common/ProcessorInformation.h.
|
private |
The current VirtualAddressSpace
Definition at line 89 of file ppc_common/ProcessorInformation.h.
Referenced by getVirtualAddressSpace(), and setVirtualAddressSpace().