|
| void | setMemCtrl (MemSinkCtrl *_ctrl) |
| | Setting a pointer to the interface.
|
| |
| | MemSinkInterface (const QoSMemSinkInterfaceParams &_p) |
| |
| | PARAMS (AbstractMemory) |
| |
| | AbstractMemory (const Params &p) |
| |
| virtual | ~AbstractMemory () |
| |
| void | initState () override |
| | initState() is called on each SimObject when not restoring from a checkpoint.
|
| |
| bool | isNull () const |
| | See if this is a null memory that should never store data and always return zero.
|
| |
| void | setBackingStore (uint8_t *pmem_addr) |
| | Set the host memory backing store to be used by this memory controller.
|
| |
| void | getBackdoor (MemBackdoorPtr &bd_ptr) |
| |
| const std::list< LockedAddr > & | getLockedAddrList () const |
| | Get the list of locked addresses to allow checkpointing.
|
| |
| void | addLockedAddr (LockedAddr addr) |
| | Add a locked address to allow for checkpointing.
|
| |
| System * | system () const |
| | read the system pointer Implemented for completeness with the setter
|
| |
| void | system (System *sys) |
| | Set the system pointer on this memory This can't be done via a python parameter because the system needs pointers to all the memories and the reverse would create a cycle in the object graph.
|
| |
| AddrRange | getAddrRange () const |
| | Get the address range.
|
| |
| uint8_t * | toHostAddr (Addr addr) const |
| | Transform a gem5 address space address into its physical counterpart in the host address space.
|
| |
| uint64_t | size () const |
| | Get the memory size.
|
| |
| Addr | start () const |
| | Get the start address.
|
| |
| bool | isConfReported () const |
| | Should this memory be passed to the kernel and part of the OS physical memory layout.
|
| |
| bool | isInAddrMap () const |
| | Some memories are used as shadow memories or should for other reasons not be part of the global address map.
|
| |
| bool | isKvmMap () const |
| | When shadow memories are in use, KVM may want to make one or the other, but cannot map both into the guest address space.
|
| |
| void | access (PacketPtr pkt) |
| | Perform an untimed memory access and update all the state (e.g.
|
| |
| void | functionalAccess (PacketPtr pkt) |
| | Perform an untimed memory read or write without changing anything but the memory itself.
|
| |
| | ClockedObject (const ClockedObjectParams &p) |
| |
| void | serialize (CheckpointOut &cp) const override |
| | Serialize an object.
|
| |
| void | unserialize (CheckpointIn &cp) override |
| | Unserialize an object.
|
| |
| const Params & | params () const |
| |
| | SimObject (const Params &p) |
| |
| virtual | ~SimObject () |
| |
| virtual void | init () |
| | init() is called after all C++ SimObjects have been created and all ports are connected.
|
| |
| virtual void | loadState (CheckpointIn &cp) |
| | loadState() is called on each SimObject when restoring from a checkpoint.
|
| |
| virtual void | regProbePoints () |
| | Register probe points for this object.
|
| |
| virtual void | regProbeListeners () |
| | Register probe listeners for this object.
|
| |
| ProbeManager * | getProbeManager () |
| | Get the probe manager for this object.
|
| |
| virtual Port & | getPort (const std::string &if_name, PortID idx=InvalidPortID) |
| | Get a port with a given name and index.
|
| |
| virtual void | startup () |
| | startup() is the final initialization call before simulation.
|
| |
| DrainState | drain () override |
| | Provide a default implementation of the drain interface for objects that don't need draining.
|
| |
| virtual void | memWriteback () |
| | Write back dirty buffers to memory using functional writes.
|
| |
| virtual void | memInvalidate () |
| | Invalidate the contents of memory buffers.
|
| |
| void | serialize (CheckpointOut &cp) const override |
| | Serialize an object.
|
| |
| void | unserialize (CheckpointIn &cp) override |
| | Unserialize an object.
|
| |
| 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) |
| | This function is not needed by the usual gem5 event loop but may be necessary in derived EventQueues which host gem5 on other schedulers.
|
| |
| void | setCurTick (Tick newVal) |
| |
| | EventManager (EventManager &em) |
| | Event manger manages events in the event queue.
|
| |
| | EventManager (EventManager *em) |
| |
| | EventManager (EventQueue *eq) |
| |
| | Serializable () |
| |
| virtual | ~Serializable () |
| |
| void | serializeSection (CheckpointOut &cp, const char *name) const |
| | Serialize an object into a new section.
|
| |
| void | serializeSection (CheckpointOut &cp, const std::string &name) const |
| |
| void | unserializeSection (CheckpointIn &cp, const char *name) |
| | Unserialize an a child object.
|
| |
| void | unserializeSection (CheckpointIn &cp, const std::string &name) |
| |
| DrainState | drainState () const |
| | Return the current drain state of an object.
|
| |
| virtual void | notifyFork () |
| | Notify a child process of a fork.
|
| |
| | Group (Group *parent, const char *name=nullptr) |
| | Construct a new statistics group.
|
| |
| virtual | ~Group () |
| |
| virtual void | regStats () |
| | Callback to set stat parameters.
|
| |
| virtual void | resetStats () |
| | Callback to reset stats.
|
| |
| virtual void | preDumpStats () |
| | Callback before stats are dumped.
|
| |
| void | addStat (statistics::Info *info) |
| | Register a stat with this group.
|
| |
| const std::map< std::string, Group * > & | getStatGroups () const |
| | Get all child groups associated with this object.
|
| |
| const std::vector< Info * > & | getStats () const |
| | Get all stats associated with this object.
|
| |
| void | addStatGroup (const char *name, Group *block) |
| | Add a stat block as a child of this block.
|
| |
| const Info * | resolveStat (std::string name) const |
| | Resolve a stat by its name within this group.
|
| |
| void | mergeStatGroup (Group *block) |
| | Merge the contents (stats & children) of a block to this block.
|
| |
| | Group ()=delete |
| |
| | Group (const Group &)=delete |
| |
| Group & | operator= (const Group &)=delete |
| |
| | Named (std::string_view name_) |
| |
| virtual | ~Named ()=default |
| |
| virtual std::string | name () const |
| |
| void | updateClockPeriod () |
| | Update the tick to the current tick.
|
| |
| 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.
|
| |
| Cycles | curCycle () const |
| | Determine the current cycle, corresponding to a tick aligned to a clock edge.
|
| |
| 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.
|
| |
| uint64_t | frequency () const |
| |
| Tick | clockPeriod () const |
| |
| double | voltage () const |
| |
| Cycles | ticksToCycles (Tick t) const |
| |
| Tick | cyclesToTicks (Cycles c) const |
| |
Definition at line 269 of file mem_sink.hh.