|
gem5
|
#include <system.hh>
Public Types | |
| typedef ArmSystemParams | Params |
Public Types inherited from System | |
| typedef SystemParams | Params |
Public Types inherited from MemObject | |
| typedef MemObjectParams | Params |
Public Types inherited from ClockedObject | |
| typedef ClockedObjectParams | Params |
| Parameters of ClockedObject. More... | |
Public Types inherited from SimObject | |
| typedef SimObjectParams | Params |
Public Member Functions | |
| const Params * | params () const |
| ArmSystem (Params *p) | |
| ~ArmSystem () | |
| virtual void | initState () |
| Initialise the system. More... | |
| virtual Addr | fixFuncEventAddr (Addr addr) |
| Fix up an address used to match PCs for hooking simulator events on to target function executions. More... | |
| bool | haveSecurity () const |
| Returns true if this system implements the Security Extensions. More... | |
| bool | haveLPAE () const |
| Returns true if this system implements the Large Physical Address Extension. More... | |
| bool | haveVirtualization () const |
| Returns true if this system implements the virtualization Extensions. More... | |
| void | setGenericTimer (GenericTimer *generic_timer) |
| Sets the pointer to the Generic Timer. More... | |
| GenericTimer * | getGenericTimer () const |
| Get a pointer to the system's generic timer model. More... | |
| bool | highestELIs64 () const |
| Returns true if the register width of the highest implemented exception level is 64 bits (ARMv8) More... | |
| ExceptionLevel | highestEL () const |
| Returns the highest implemented exception level. More... | |
| Addr | resetAddr64 () const |
| Returns the reset address if the highest implemented exception level is 64 bits (ARMv8) More... | |
| bool | haveLargeAsid64 () const |
| Returns true if ASID is 16 bits in AArch64 (ARMv8) More... | |
| uint8_t | physAddrRange64 () const |
| Returns the supported physical address range in bits if the highest implemented exception level is 64 bits (ARMv8) More... | |
| uint8_t | physAddrRange () const |
| Returns the supported physical address range in bits. More... | |
| Addr | physAddrMask () const |
| Returns the physical address mask. More... | |
| const AddrRange & | m5opRange () const |
| Range used by memory-mapped m5 pseudo-ops if enabled. More... | |
Public Member Functions inherited from System | |
| void | init () override |
| After all objects have been created and all ports are connected, check that the system port is connected. More... | |
| MasterPort & | getSystemPort () |
| Get a reference to the system port that can be used by non-structural simulation objects like processes or threads, or external entities like loaders and debuggers, etc, to access the memory system. More... | |
| BaseMasterPort & | getMasterPort (const std::string &if_name, PortID idx=InvalidPortID) override |
| Additional function to return the Port of a memory object. More... | |
| unsigned int | cacheLineSize () const |
| Get the cache line size of the system. More... | |
| ThreadContext * | getThreadContext (ContextID tid) |
| int | numContexts () |
| int | numRunningContexts () |
| Return number of running (non-halted) thread contexts in system. More... | |
| KvmVM * | getKvmVM () |
| Get a pointer to the Kernel Virtual Machine (KVM) SimObject, if present. More... | |
| PhysicalMemory & | getPhysMem () |
| Get a pointer to access the physical memory of the system. More... | |
| Addr | freeMemSize () const |
| Amount of physical memory that is still free. More... | |
| Addr | memSize () const |
| Amount of physical memory that exists. More... | |
| bool | isMemAddr (Addr addr) const |
| Check if a physical address is within a range of a memory that is part of the global address map. More... | |
| Arch | getArch () const |
| Get the architecture. More... | |
| Addr | getPageBytes () const |
| Get the page bytes for the ISA. More... | |
| Addr | getPageShift () const |
| Get the number of bits worth of in-page address for the ISA. More... | |
| ThermalModel * | getThermalModel () const |
| The thermal model used for this system (if any). More... | |
| MasterID | getMasterId (std::string req_name) |
| Request an id used to create a request object in the system. More... | |
| std::string | getMasterName (MasterID master_id) |
| Get the name of an object for a given request id. More... | |
| MasterID | maxMasters () |
| Get the number of masters registered in the system. More... | |
| void | regStats () override |
| Register statistics for this object. More... | |
| uint64_t | incWorkItemsBegin () |
| Called by pseudo_inst to track the number of work items started by this system. More... | |
| uint64_t | incWorkItemsEnd () |
| Called by pseudo_inst to track the number of work items completed by this system. More... | |
| int | markWorkItem (int index) |
| Called by pseudo_inst to mark the cpus actively executing work items. More... | |
| void | workItemBegin (uint32_t tid, uint32_t workid) |
| void | workItemEnd (uint32_t tid, uint32_t workid) |
| bool | breakpoint () |
| System (Params *p) | |
| ~System () | |
| void | initState () override |
| initState() is called on each SimObject when not restoring from a checkpoint. More... | |
| const Params * | params () const |
| Addr | getKernelStart () const |
| Returns the address the kernel starts at. More... | |
| Addr | getKernelEnd () const |
| Returns the address the kernel ends at. More... | |
| Addr | getKernelEntry () const |
| Returns the address the entry point to the kernel code. More... | |
| Addr | allocPhysPages (int npages) |
| Allocate npages contiguous unused physical pages. More... | |
| ContextID | registerThreadContext (ThreadContext *tc, ContextID assigned=InvalidContextID) |
| void | replaceThreadContext (ThreadContext *tc, ContextID context_id) |
| void | serialize (CheckpointOut &cp) const override |
| Serialize an object. More... | |
| void | unserialize (CheckpointIn &cp) override |
| Unserialize an object. More... | |
| void | drainResume () override |
| Resume execution after a successful drain. More... | |
| bool | isAtomicMode () const |
| Is the system in atomic mode? More... | |
| bool | isTimingMode () const |
| Is the system in timing mode? More... | |
| bool | bypassCaches () const |
| Should caches be bypassed? More... | |
| Enums::MemoryMode | getMemoryMode () const |
| Get the memory mode of the system. More... | |
| void | setMemoryMode (Enums::MemoryMode mode) |
| Change the memory mode of the system. More... | |
| template<class T , typename... Args> | |
| T * | addFuncEvent (const SymbolTable *symtab, const char *lbl, const std::string &desc, Args...args) |
| Add a function-based event to the given function, to be looked up in the specified symbol table. More... | |
| template<class T > | |
| T * | addFuncEvent (const SymbolTable *symtab, const char *lbl) |
| template<class T , typename... Args> | |
| T * | addFuncEventOrPanic (const SymbolTable *symtab, const char *lbl, Args...args) |
| template<class T , typename... Args> | |
| T * | addKernelFuncEvent (const char *lbl, Args...args) |
| Add a function-based event to a kernel symbol. More... | |
| template<class T , typename... Args> | |
| T * | addKernelFuncEventOrPanic (const char *lbl, Args...args) |
Public Member Functions inherited from MemObject | |
| const Params * | params () const |
| MemObject (const Params *params) | |
| virtual BaseSlavePort & | getSlavePort (const std::string &if_name, PortID idx=InvalidPortID) |
| Get a slave port with a given name and index. More... | |
Public Member Functions inherited from ClockedObject | |
| ClockedObject (const ClockedObjectParams *p) | |
| const Params * | params () const |
| Enums::PwrState | pwrState () const |
| std::string | pwrStateName () const |
| std::vector< double > | pwrStateWeights () const |
| Returns the percentage residency for each power state. More... | |
| void | computeStats () |
| Record stats values like state residency by computing the time difference from previous update. More... | |
| void | pwrState (Enums::PwrState) |
Public Member Functions inherited from SimObject | |
| const Params * | params () const |
| SimObject (const Params *_params) | |
| virtual | ~SimObject () |
| virtual const std::string | name () const |
| virtual void | loadState (CheckpointIn &cp) |
| loadState() is called on each SimObject when restoring from a checkpoint. More... | |
| virtual void | resetStats () |
| Reset statistics associated with this object. More... | |
| virtual void | regProbePoints () |
| Register probe points for this object. More... | |
| virtual void | regProbeListeners () |
| Register probe listeners for this object. More... | |
| ProbeManager * | getProbeManager () |
| Get the probe manager for this object. More... | |
| virtual void | startup () |
| startup() is the final initialization call before simulation. More... | |
| DrainState | drain () override |
| Provide a default implementation of the drain interface for objects that don't need draining. More... | |
| virtual void | memWriteback () |
| Write back dirty buffers to memory using functional writes. More... | |
| virtual void | memInvalidate () |
| Invalidate the contents of memory buffers. More... | |
Public Member Functions inherited from EventManager | |
| EventManager (EventManager &em) | |
| EventManager (EventManager *em) | |
| EventManager (EventQueue *eq) | |
| EventQueue * | eventQueue () const |
| void | schedule (Event &event, Tick when) |
| void | deschedule (Event &event) |
| void | reschedule (Event &event, Tick when, bool always=false) |
| void | schedule (Event *event, Tick when) |
| void | deschedule (Event *event) |
| void | reschedule (Event *event, Tick when, bool always=false) |
| void | wakeupEventQueue (Tick when=(Tick)-1) |
| void | setCurTick (Tick newVal) |
Public Member Functions inherited from Serializable | |
| Serializable () | |
| virtual | ~Serializable () |
| void | serializeSection (CheckpointOut &cp, const char *name) const |
| Serialize an object into a new section. More... | |
| void | serializeSection (CheckpointOut &cp, const std::string &name) const |
| void | unserializeSection (CheckpointIn &cp, const char *name) |
| Unserialize an a child object. More... | |
| void | unserializeSection (CheckpointIn &cp, const std::string &name) |
Public Member Functions inherited from Drainable | |
| DrainState | drainState () const |
| Return the current drain state of an object. More... | |
| virtual void | notifyFork () |
| Notify a child process of a fork. More... | |
Public Member Functions inherited from Clocked | |
| void | updateClockPeriod () const |
| Update the tick to the current tick. More... | |
| Tick | clockEdge (Cycles cycles=Cycles(0)) const |
| Determine the tick when a cycle begins, by default the current one, but the argument also enables the caller to determine a future cycle. More... | |
| Cycles | curCycle () const |
| Determine the current cycle, corresponding to a tick aligned to a clock edge. More... | |
| Tick | nextCycle () const |
| Based on the clock of the object, determine the start tick of the first cycle that is at least one cycle in the future. More... | |
| uint64_t | frequency () const |
| Tick | clockPeriod () const |
| double | voltage () const |
| Cycles | ticksToCycles (Tick t) const |
| Tick | cyclesToTicks (Cycles c) const |
Static Public Member Functions | |
| static bool | haveSecurity (ThreadContext *tc) |
| Returns true if the system of a specific thread context implements the Security Extensions. More... | |
| static bool | haveVirtualization (ThreadContext *tc) |
| Returns true if the system of a specific thread context implements the virtualization Extensions. More... | |
| static bool | haveLPAE (ThreadContext *tc) |
| Returns true if the system of a specific thread context implements the Large Physical Address Extension. More... | |
| static bool | highestELIs64 (ThreadContext *tc) |
| Returns true if the register width of the highest implemented exception level for the system of a specific thread context is 64 bits (ARMv8) More... | |
| static ExceptionLevel | highestEL (ThreadContext *tc) |
| Returns the highest implemented exception level for the system of a specific thread context. More... | |
| static Addr | resetAddr64 (ThreadContext *tc) |
| Returns the reset address if the highest implemented exception level for the system of a specific thread context is 64 bits (ARMv8) More... | |
| static uint8_t | physAddrRange (ThreadContext *tc) |
| Returns the supported physical address range in bits for the system of a specific thread context. More... | |
| static Addr | physAddrMask (ThreadContext *tc) |
| Returns the physical address mask for the system of a specific thread context. More... | |
| static bool | haveLargeAsid64 (ThreadContext *tc) |
| Returns true if ASID is 16 bits for the system of a specific thread context while in AArch64 (ARMv8) More... | |
Static Public Member Functions inherited from System | |
| static void | printSystems () |
Static Public Member Functions inherited from SimObject | |
| static void | serializeAll (CheckpointOut &cp) |
| Serialize all SimObjects in the system. More... | |
| static SimObject * | find (const char *name) |
| Find the SimObject with the given name and return a pointer to it. More... | |
Static Public Member Functions inherited from Serializable | |
| static const std::string & | currentSection () |
| Get the fully-qualified name of the active section. More... | |
| static void | serializeAll (const std::string &cpt_dir) |
| static void | unserializeGlobals (CheckpointIn &cp) |
Public Attributes | |
| bool | multiProc |
| true if this a multiprocessor system More... | |
Public Attributes inherited from System | |
| std::vector< ThreadContext * > | threadContexts |
| int | _numContexts |
| const bool | multiThread |
| Addr | pagePtr |
| uint64_t | init_param |
| PortProxy | physProxy |
| Port to physical memory used for writing object files into ram at boot. More... | |
| SymbolTable * | kernelSymtab |
| kernel symbol table More... | |
| ObjectFile * | kernel |
| Object pointer for the kernel code. More... | |
| Addr | kernelStart |
| Beginning of kernel code. More... | |
| Addr | kernelEnd |
| End of kernel code. More... | |
| Addr | kernelEntry |
| Entry point in the kernel to start at. More... | |
| Addr | loadAddrMask |
| Mask that should be anded for binary/symbol loading. More... | |
| Addr | loadAddrOffset |
| Offset that should be used for binary/symbol loading. More... | |
| std::vector< BaseRemoteGDB * > | remoteGDB |
| std::vector< GDBListener * > | gdbListen |
| Counter | totalNumInsts |
| EventQueue | instEventQueue |
| std::map< std::pair< uint32_t, uint32_t >, Tick > | lastWorkItemStarted |
| std::map< uint32_t, Stats::Histogram * > | workItemStats |
| FutexMap | futexMap |
| std::set< int > | PIDs |
| Process set to track which PIDs have already been allocated. More... | |
| std::list< BasicSignal > | signalList |
Protected Member Functions | |
| ObjectFile * | getBootLoader (ObjectFile *const obj) |
| Get a boot loader that matches the kernel. More... | |
Protected Member Functions inherited from System | |
| virtual void | serializeSymtab (CheckpointOut &os) const |
| If needed, serialize additional symbol table entries for a specific subclass of this system. More... | |
| virtual void | unserializeSymtab (CheckpointIn &cp) |
| If needed, unserialize additional symbol table entries for a specific subclass of this system. More... | |
Protected Member Functions inherited from Drainable | |
| Drainable () | |
| virtual | ~Drainable () |
| void | signalDrainDone () const |
| Signal that an object is drained. More... | |
Protected Member Functions inherited from Clocked | |
| Clocked (ClockDomain &clk_domain) | |
| Create a clocked object and set the clock domain based on the parameters. More... | |
| Clocked (Clocked &)=delete | |
| Clocked & | operator= (Clocked &)=delete |
| virtual | ~Clocked () |
| Virtual destructor due to inheritance. More... | |
| void | resetClock () const |
| Reset the object's clock using the current global tick value. More... | |
Protected Attributes | |
| Linux::DebugPrintkEvent * | debugPrintkEvent |
| PC based event to skip the dprink() call and emulate its functionality. More... | |
| std::vector< std::unique_ptr < ObjectFile > > | bootLoaders |
| Bootloaders. More... | |
| ObjectFile * | bootldr |
| Pointer to the bootloader object. More... | |
| const bool | _haveSecurity |
| True if this system implements the Security Extensions. More... | |
| const bool | _haveLPAE |
| True if this system implements the Large Physical Address Extension. More... | |
| const bool | _haveVirtualization |
| True if this system implements the virtualization Extensions. More... | |
| GenericTimer * | _genericTimer |
| Pointer to the Generic Timer wrapper. More... | |
| bool | _highestELIs64 |
| True if the register width of the highest implemented exception level is 64 bits (ARMv8) More... | |
| const Addr | _resetAddr64 |
| Reset address if the highest implemented exception level is 64 bits (ARMv8) More... | |
| const uint8_t | _physAddrRange64 |
| Supported physical address range in bits if the highest implemented exception level is 64 bits (ARMv8) More... | |
| const bool | _haveLargeAsid64 |
| True if ASID is 16 bits in AArch64 (ARMv8) More... | |
| const AddrRange | _m5opRange |
| Range for memory-mapped m5 pseudo ops. More... | |
Protected Attributes inherited from System | |
| KvmVM *const | kvmVM |
| PhysicalMemory | physmem |
| Enums::MemoryMode | memoryMode |
| const unsigned int | _cacheLineSize |
| uint64_t | workItemsBegin |
| uint64_t | workItemsEnd |
| uint32_t | numWorkIds |
| std::vector< bool > | activeCpus |
| std::vector< std::string > | masterIds |
| This array is a per-system list of all devices capable of issuing a memory system request and an associated string for each master id. More... | |
| ThermalModel * | thermalModel |
| Params * | _params |
Protected Attributes inherited from ClockedObject | |
| Enums::PwrState | _currPwrState |
| To keep track of the current power state. More... | |
| Tick | prvEvalTick |
| Stats::Scalar | numPwrStateTransitions |
| Stats::Distribution | pwrStateClkGateDist |
| Stats::Vector | pwrStateResidencyTicks |
Protected Attributes inherited from SimObject | |
| const SimObjectParams * | _params |
| Cached copy of the object parameters. More... | |
Protected Attributes inherited from EventManager | |
| EventQueue * | eventq |
| A pointer to this object's event queue. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from System | |
| static std::vector< System * > | systemList |
| static int | numSystemsRunning = 0 |
| static const int | maxPID = 32768 |
Static Public Attributes inherited from Serializable | |
| static int | ckptCount = 0 |
| static int | ckptMaxCount = 0 |
| static int | ckptPrevCount = -1 |
| typedef ArmSystemParams ArmSystem::Params |
| ArmSystem::ArmSystem | ( | Params * | p | ) |
Definition at line 57 of file system.cc.
References _highestELIs64, _physAddrRange64, ObjectFile::Arm, ObjectFile::Arm64, bootldr, bootLoaders, createObjectFile(), debugPrintkEvent, debugSymbolTable, fatal, fatal_if(), ObjectFile::getArch(), getBootLoader(), System::kernel, ObjectFile::loadGlobalSymbols(), and warn.
| ArmSystem::~ArmSystem | ( | ) |
Definition at line 184 of file system.cc.
References debugPrintkEvent.
|
protected |
Get a boot loader that matches the kernel.
| obj | Kernel binary |
Definition at line 191 of file system.cc.
References bootLoaders, and ObjectFile::getArch().
Referenced by ArmSystem().
|
inline |
Get a pointer to the system's generic timer model.
Definition at line 182 of file system.hh.
References _genericTimer.
Referenced by ArmISA::ISA::getGenericTimer(), and ArmISA::ISA::readMiscReg().
|
inline |
Returns true if ASID is 16 bits in AArch64 (ARMv8)
Definition at line 203 of file system.hh.
References _haveLargeAsid64.
Referenced by haveLargeAsid64().
|
static |
Returns true if ASID is 16 bits for the system of a specific thread context while in AArch64 (ARMv8)
Definition at line 258 of file system.cc.
References ThreadContext::getSystemPtr(), and haveLargeAsid64().
|
inline |
Returns true if this system implements the Large Physical Address Extension.
Definition at line 168 of file system.hh.
References _haveLPAE.
Referenced by haveLPAE(), and ArmISA::longDescFormatInUse().
|
static |
Returns true if the system of a specific thread context implements the Large Physical Address Extension.
Definition at line 202 of file system.cc.
References FullSystem, ThreadContext::getSystemPtr(), and haveLPAE().
|
inline |
Returns true if this system implements the Security Extensions.
Definition at line 164 of file system.hh.
References _haveSecurity.
Referenced by ArmISA::AbortFault< T >::abortDisable(), ArmISA::Interrupt::abortDisable(), ArmISA::FastInterrupt::abortDisable(), ArmISA::canReadAArch64SysReg(), ArmISA::canWriteAArch64SysReg(), ArmISA::ArmStaticInst::checkAdvSIMDOrFPEnabled32(), ArmISA::ArmStaticInst::checkFPAdvSIMDTrap64(), ArmISA::ArmStaticInst::cpsrWriteByInstr(), ArmISA::ELIs64(), ArmISA::FastInterrupt::fiqDisable(), ArmISA::flattenMiscRegNsBanked(), ArmISA::ArmFault::getVector(), ArmISA::ArmFault::getVector64(), haveSecurity(), ArmISA::illegalExceptionReturn(), ArmISA::inSecureState(), ArmISA::ArmFault::invoke(), ArmISA::Reset::invoke(), ArmISA::ArmFault::invoke64(), ArmISA::purifyTaggedAddr(), ArmISA::Interrupt::routeToMonitor(), ArmISA::FastInterrupt::routeToMonitor(), and ArmISA::SystemError::routeToMonitor().
|
static |
Returns true if the system of a specific thread context implements the Security Extensions.
Definition at line 173 of file system.cc.
References FullSystem, ThreadContext::getSystemPtr(), and haveSecurity().
|
inline |
Returns true if this system implements the virtualization Extensions.
Definition at line 173 of file system.hh.
References _haveVirtualization.
Referenced by ArmISA::ArmStaticInst::checkAdvSIMDOrFPEnabled32(), ArmISA::ArmStaticInst::checkFPAdvSIMDTrap64(), ArmISA::TLB::checkPermissions64(), ArmISA::ArmStaticInst::cpsrWriteByInstr(), ArmISA::ELIs64(), ArmISA::FastInterrupt::fiqDisable(), ArmISA::ArmFault::getVector(), ArmISA::ArmFault::getVector64(), haveVirtualization(), ArmISA::illegalExceptionReturn(), ArmISA::ArmFault::invoke(), ArmISA::Reset::invoke(), ArmISA::ArmFault::invoke64(), and ArmISA::purifyTaggedAddr().
|
static |
Returns true if the system of a specific thread context implements the virtualization Extensions.
Definition at line 213 of file system.cc.
References FullSystem, ThreadContext::getSystemPtr(), and haveVirtualization().
|
inline |
Returns the highest implemented exception level.
Definition at line 189 of file system.hh.
References _haveSecurity, _haveVirtualization, ArmISA::EL1, ArmISA::EL2, and ArmISA::EL3.
Referenced by ArmISA::canReadAArch64SysReg(), ArmISA::ISA::clear64(), ArmISA::ELIs64(), highestEL(), and ArmISA::ArmFault::invoke().
|
static |
Returns the highest implemented exception level for the system of a specific thread context.
Definition at line 232 of file system.cc.
References ArmISA::EL1, FullSystem, ThreadContext::getSystemPtr(), and highestEL().
|
inline |
Returns true if the register width of the highest implemented exception level is 64 bits (ARMv8)
Definition at line 186 of file system.hh.
References _highestELIs64.
Referenced by ArmISA::ISA::clear(), ArmISA::ELIs64(), ArmISA::flattenMiscRegNsBanked(), highestELIs64(), ArmISA::illegalExceptionReturn(), ArmISA::ArmFault::invoke(), ArmISA::Reset::invoke(), ArmISA::ArmFault::setSyndrome(), and ArmISA::Interrupts::takeInt().
|
static |
Returns true if the register width of the highest implemented exception level for the system of a specific thread context is 64 bits (ARMv8)
Definition at line 224 of file system.cc.
References FullSystem, ThreadContext::getSystemPtr(), and highestELIs64().
|
virtual |
Initialise the system.
Reimplemented from SimObject.
Reimplemented in GenericArmSystem, LinuxArmSystem, and FreebsdArmSystem.
Definition at line 117 of file system.cc.
References _highestELIs64, bootldr, ObjectFile::entryPoint(), fatal, ArmISA::i, inform, System::initState(), System::kernelEntry, System::loadAddrMask, System::loadAddrOffset, ObjectFile::loadSections(), MipsISA::p, params(), System::physProxy, System::threadContexts, and PortProxy::writeBlob().
Referenced by GenericArmSystem::initState().
|
inline |
Range used by memory-mapped m5 pseudo-ops if enabled.
Returns an invalid/empty range if disabled.
Definition at line 229 of file system.hh.
References _m5opRange.
Referenced by ArmISA::TLB::TLB().
|
inline |
|
inline |
Returns the physical address mask.
Definition at line 220 of file system.hh.
References ArmISA::mask, and physAddrRange().
Referenced by physAddrMask().
|
static |
Returns the physical address mask for the system of a specific thread context.
Definition at line 252 of file system.cc.
References ThreadContext::getSystemPtr(), and physAddrMask().
|
inline |
Returns the supported physical address range in bits.
Definition at line 210 of file system.hh.
References _haveLPAE, _highestELIs64, and _physAddrRange64.
Referenced by physAddrMask(), and physAddrRange().
|
static |
Returns the supported physical address range in bits for the system of a specific thread context.
Definition at line 246 of file system.cc.
References ThreadContext::getSystemPtr(), and physAddrRange().
|
inline |
Returns the supported physical address range in bits if the highest implemented exception level is 64 bits (ARMv8)
Definition at line 207 of file system.hh.
References _physAddrRange64.
|
inline |
Returns the reset address if the highest implemented exception level is 64 bits (ARMv8)
Definition at line 200 of file system.hh.
References _resetAddr64.
Referenced by ArmISA::ISA::clear64(), ArmISA::Reset::invoke(), and resetAddr64().
|
static |
Returns the reset address if the highest implemented exception level for the system of a specific thread context is 64 bits (ARMv8)
Definition at line 240 of file system.cc.
References ThreadContext::getSystemPtr(), and resetAddr64().
|
inline |
Sets the pointer to the Generic Timer.
Definition at line 176 of file system.hh.
References _genericTimer.
|
protected |
Pointer to the Generic Timer wrapper.
Definition at line 94 of file system.hh.
Referenced by getGenericTimer(), and setGenericTimer().
|
protected |
True if ASID is 16 bits in AArch64 (ARMv8)
Definition at line 117 of file system.hh.
Referenced by haveLargeAsid64().
|
protected |
True if this system implements the Large Physical Address Extension.
Definition at line 84 of file system.hh.
Referenced by haveLPAE(), and physAddrRange().
|
protected |
True if this system implements the Security Extensions.
Definition at line 79 of file system.hh.
Referenced by haveSecurity(), and highestEL().
|
protected |
True if this system implements the virtualization Extensions.
Definition at line 89 of file system.hh.
Referenced by haveVirtualization(), and highestEL().
|
protected |
True if the register width of the highest implemented exception level is 64 bits (ARMv8)
Definition at line 100 of file system.hh.
Referenced by ArmSystem(), highestELIs64(), initState(), and physAddrRange().
|
protected |
Range for memory-mapped m5 pseudo ops.
The range will be invalid/empty if disabled.
Definition at line 123 of file system.hh.
Referenced by m5opRange().
|
protected |
Supported physical address range in bits if the highest implemented exception level is 64 bits (ARMv8)
Definition at line 112 of file system.hh.
Referenced by ArmSystem(), physAddrRange(), and physAddrRange64().
|
protected |
Reset address if the highest implemented exception level is 64 bits (ARMv8)
Definition at line 106 of file system.hh.
Referenced by resetAddr64().
|
protected |
Pointer to the bootloader object.
Definition at line 74 of file system.hh.
Referenced by ArmSystem(), and initState().
|
protected |
Bootloaders.
Definition at line 69 of file system.hh.
Referenced by ArmSystem(), and getBootLoader().
|
protected |
PC based event to skip the dprink() call and emulate its functionality.
Definition at line 66 of file system.hh.
Referenced by ArmSystem(), and ~ArmSystem().
| bool ArmSystem::multiProc |
true if this a multiprocessor system
Definition at line 161 of file system.hh.
Referenced by ArmISA::getMPIDR().