|  | 
|  | MipsSystem (Params *p) | 
|  | 
|  | ~MipsSystem () | 
|  | 
| virtual bool | breakpoint () | 
|  | 
| void | setMipsAccess (Addr access) | 
|  | Set the m5MipsAccess pointer in the console.  More... 
 | 
|  | 
| 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) | 
|  | 
| 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... 
 | 
|  | 
|  | 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) | 
|  | 
| 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... 
 | 
|  | 
|  | 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) | 
|  | 
|  | 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) | 
|  | 
| DrainState | drainState () const | 
|  | Return the current drain state of an object.  More... 
 | 
|  | 
| virtual void | notifyFork () | 
|  | Notify a child process of a fork.  More... 
 | 
|  | 
| 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 | 
|  | 
Definition at line 48 of file system.hh.