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) |
PerProcessorScheduler & | getScheduler () |
Protected Member Functions | |
ArmCommonProcessorInformation (ProcessorId processorId, uint8_t apicId=0) | |
virtual | ~ArmCommonProcessorInformation () |
Private Member Functions | |
ArmCommonProcessorInformation () | |
ArmCommonProcessorInformation (const ArmCommonProcessorInformation &) | |
ArmCommonProcessorInformation & | operator= (const ArmCommonProcessorInformation &) |
Private Attributes | |
ProcessorId | m_ProcessorId |
VirtualAddressSpace * | m_VirtualAddressSpace |
Thread * | m_pCurrentThread |
PerProcessorScheduler | m_Scheduler |
Friends | |
class | Processor |
ARMv7 processor information structure
Definition at line 32 of file arm_common/ProcessorInformation.h.
|
inlineprotected |
Construct a ArmCommonProcessor object
[in] | processorId | Identifier of the processor |
Definition at line 74 of file arm_common/ProcessorInformation.h.
|
inlineprotectedvirtual |
The destructor does nothing
Definition at line 85 of file arm_common/ProcessorInformation.h.
References ArmCommonProcessorInformation(), and operator=().
|
private |
Default constructor
Referenced by ~ArmCommonProcessorInformation().
|
private |
Copy-constructor
|
inline |
Get the current processor's VirtualAddressSpace
Definition at line 39 of file arm_common/ProcessorInformation.h.
References VirtualAddressSpace::getKernelAddressSpace(), and m_VirtualAddressSpace.
|
private |
Assignment operator
Referenced by ~ArmCommonProcessorInformation().
|
inline |
Set the current processor's VirtualAddressSpace
[in] | virtualAddressSpace | reference to the new VirtualAddressSpace |
Definition at line 48 of file arm_common/ProcessorInformation.h.
References m_pCurrentThread, m_Scheduler, and m_VirtualAddressSpace.
|
private |
The current thread
Definition at line 107 of file arm_common/ProcessorInformation.h.
Referenced by setVirtualAddressSpace().
|
private |
Identifier of that processor
Definition at line 102 of file arm_common/ProcessorInformation.h.
|
private |
The processor's scheduler.
Definition at line 109 of file arm_common/ProcessorInformation.h.
Referenced by setVirtualAddressSpace().
|
private |
The current VirtualAddressSpace
Definition at line 104 of file arm_common/ProcessorInformation.h.
Referenced by getVirtualAddressSpace(), and setVirtualAddressSpace().