gem5
v21.0.1.0
|
GICv3 ITS module. More...
#include <gic_v3_its.hh>
Classes | |
class | DataPort |
Public Types | |
enum | : Addr { GITS_CTLR = itsControl + 0x0000, GITS_IIDR = itsControl + 0x0004, GITS_TYPER = itsControl + 0x0008, GITS_CBASER = itsControl + 0x0080, GITS_CWRITER = itsControl + 0x0088, GITS_CREADR = itsControl + 0x0090, GITS_PIDR2 = itsControl + 0xffe8, GITS_TRANSLATER = itsTranslate + 0x0040 } |
![]() | |
using | Params = PioDeviceParams |
![]() | |
using | Params = ClockedObjectParams |
Parameters of ClockedObject. More... | |
![]() | |
typedef SimObjectParams | Params |
Public Member Functions | |
Port & | getPort (const std::string &if_name, PortID idx) override |
Get a port with a given name and index. More... | |
bool | recvTimingResp (PacketPtr pkt) |
void | recvReqRetry () |
Gicv3Its (const Gicv3ItsParams ¶ms) | |
void | setGIC (Gicv3 *_gic) |
AddrRangeList | getAddrRanges () const override |
Every PIO device is obliged to provide an implementation that returns the address ranges the device responds to. More... | |
Tick | read (PacketPtr pkt) override |
Pure virtual function that the device must implement. More... | |
Tick | write (PacketPtr pkt) override |
Pure virtual function that the device must implement. More... | |
DrainState | drain () override |
Draining is the process of clearing out the states of SimObjects.These are the SimObjects that are partially executed or are partially in flight. More... | |
void | serialize (CheckpointOut &cp) const override |
Serialize an object. More... | |
void | unserialize (CheckpointIn &cp) override |
Unserialize an object. More... | |
void | translate (PacketPtr pkt) |
BitUnion32 (CTLR) Bitfield< 31 > quiescent | |
EndBitUnion (CTLR) BitUnion64(CRDWR) Bitfield< 63 | |
EndBitUnion (CRDWR) BitUnion64(CBASER) Bitfield< 63 | |
EndBitUnion (CBASER) BitUnion64(BASER) Bitfield< 63 > valid | |
EndBitUnion (BASER) BitUnion64(TYPER) Bitfield< 63 | |
EndBitUnion (TYPER) CTLR gitsControl | |
bool | idOutOfRange (uint32_t event_id, uint8_t itt_range) const |
Returns TRUE if the eventID supplied has bits above the implemented size or above the itt_range. More... | |
bool | deviceOutOfRange (uint32_t device_id) const |
Returns TRUE if the value supplied has bits above the implemented range or if the value supplied exceeds the maximum configured size in the appropriate GITS_BASER<n> More... | |
bool | sizeOutOfRange (uint32_t size) const |
Returns TRUE if the value (size) supplied exceeds the maximum allowed by GITS_TYPER.ID_bits. More... | |
bool | collectionOutOfRange (uint32_t collection_id) const |
Returns TRUE if the value supplied has bits above the implemented range or if the value exceeds the total number of collections supported in hardware and external memory. More... | |
bool | lpiOutOfRange (uint32_t intid) const |
Returns TRUE if the value supplied is larger than that permitted by GICD_TYPER.IDbits or not in the LPI range and is not 1023. More... | |
BitUnion64 (DTE) Bitfield< 57 | |
EndBitUnion (DTE) BitUnion64(ITTE) Bitfield< 59 | |
EndBitUnion (ITTE) BitUnion64(CTE) Bitfield< 40 | |
EndBitUnion (CTE) enum InterruptType | |
![]() | |
PARAMS (BasicPioDevice) | |
BasicPioDevice (const Params &p, Addr size) | |
AddrRangeList | getAddrRanges () const override |
Determine the address ranges that this device responds to. More... | |
![]() | |
PioDevice (const Params &p) | |
virtual | ~PioDevice () |
void | init () override |
init() is called after all C++ SimObjects have been created and all ports are connected. More... | |
Port & | getPort (const std::string &if_name, PortID idx=InvalidPortID) override |
Get a port with a given name and index. More... | |
![]() | |
ClockedObject (const ClockedObjectParams &p) | |
void | serialize (CheckpointOut &cp) const override |
Serialize an object. More... | |
void | unserialize (CheckpointIn &cp) override |
Unserialize an object. More... | |
![]() | |
const Params & | params () const |
SimObject (const Params &p) | |
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 | initState () |
initState() is called on each SimObject when not restoring from a checkpoint. 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... | |
void | serialize (CheckpointOut &cp) const override |
Serialize an object. More... | |
void | unserialize (CheckpointIn &cp) override |
Unserialize an object. More... | |
![]() | |
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. More... | |
void | setCurTick (Tick newVal) |
EventManager (EventManager &em) | |
Event manger manages events in the event queue. More... | |
EventManager (EventManager *em) | |
EventManager (EventQueue *eq) | |
![]() | |
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... | |
![]() | |
Group (Group *parent, const char *name=nullptr) | |
Construct a new statistics group. More... | |
virtual | ~Group () |
virtual void | regStats () |
Callback to set stat parameters. More... | |
virtual void | resetStats () |
Callback to reset stats. More... | |
virtual void | preDumpStats () |
Callback before stats are dumped. More... | |
void | addStat (Stats::Info *info) |
Register a stat with this group. More... | |
const std::map< std::string, Group * > & | getStatGroups () const |
Get all child groups associated with this object. More... | |
const std::vector< Info * > & | getStats () const |
Get all stats associated with this object. More... | |
void | addStatGroup (const char *name, Group *block) |
Add a stat block as a child of this block. More... | |
const Info * | resolveStat (std::string name) const |
Resolve a stat by its name within this group. More... | |
void | mergeStatGroup (Group *block) |
Merge the contents (stats & children) of a block to this block. More... | |
Group ()=delete | |
Group (const Group &)=delete | |
Group & | operator= (const Group &)=delete |
![]() | |
void | updateClockPeriod () |
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 |
Public Attributes | |
DataPort | dmaPort |
Bitfield< 7, 4 > | itsNumber |
Bitfield< 1 > | imDe |
Bitfield< 0 > | enabled |
high | |
Bitfield< 31, 0 > | low |
Bitfield< 19, 5 > | offset |
Bitfield< 0 > | retry |
Bitfield< 0 > | stalled |
Bitfield< 63 > | valid |
Bitfield< 61, 59 > | innerCache |
Bitfield< 55, 53 > | outerCache |
Bitfield< 51, 12 > | physAddr |
Bitfield< 11, 10 > | shareability |
Bitfield< 7, 0 > | size |
Bitfield< 62 > | indirect |
Bitfield< 58, 56 > | type |
Bitfield< 52, 48 > | entrySize |
Bitfield< 47, 12 > | physAddr |
Bitfield< 9, 8 > | pageSize |
Bitfield< 37 > | vmovp |
Bitfield< 36 > | cil |
Bitfield< 35, 32 > | cidBits |
Bitfield< 31, 24 > | hcc |
Bitfield< 19 > | pta |
Bitfield< 18 > | seis |
Bitfield< 17, 13 > | devBits |
Bitfield< 12, 8 > | idBits |
Bitfield< 7, 4 > | ittEntrySize |
Bitfield< 2 > | cct |
Bitfield< 1 > | _virtual |
Bitfield< 0 > | physical |
TYPER | gitsTyper |
CBASER | gitsCbaser |
CRDWR | gitsCreadr |
CRDWR | gitsCwriter |
uint32_t | gitsIidr |
uint32_t | gitsTranslater |
std::vector< BASER > | tableBases |
ittRange | |
Bitfield< 52, 1 > | ittAddress |
Bitfield< 0 > | valid |
vpeid | |
Bitfield< 45, 30 > | icid |
Bitfield< 29, 16 > | intNumHyp |
Bitfield< 15, 2 > | intNum |
Bitfield< 1 > | intType |
rdBase | |
![]() | |
PowerState * | powerState |
Static Public Attributes | |
static const uint32_t | itsControl = 0x0 |
static const uint32_t | itsTranslate = 0x10000 |
static const AddrRange | GITS_BASER |
static const uint32_t | NUM_BASER_REGS = 8 |
static const uint64_t | BASER_INDIRECT = 0x4000000000000000 |
static const uint64_t | BASER_TYPE = 0x0700000000000000 |
static const uint64_t | BASER_ESZ = 0x001F000000000000 |
static const uint64_t | BASER_SZ = 0x00000000000000FF |
static const uint64_t | BASER_WMASK |
static const uint64_t | BASER_WMASK_UNIMPL |
static const uint32_t | CTLR_QUIESCENT = 0x80000000 |
Private Types | |
enum | ItsTables { DEVICE_TABLE = 1, VPE_TABLE = 2, TRANSLATION_TABLE = 3, COLLECTION_TABLE = 4 } |
enum | PageSize { SIZE_4K, SIZE_16K, SIZE_64K } |
Private Member Functions | |
uint64_t | maxCommands () const |
void | checkCommandQueue () |
void | incrementReadPointer () |
Gicv3Redistributor * | getRedistributor (uint64_t rd_base) |
Gicv3Redistributor * | getRedistributor (CTE cte) |
ItsAction | runProcess (ItsProcess *proc, PacketPtr pkt) |
ItsAction | runProcessTiming (ItsProcess *proc, PacketPtr pkt) |
ItsAction | runProcessAtomic (ItsProcess *proc, PacketPtr pkt) |
Addr | pageAddress (enum ItsTables table) |
void | moveAllPendingState (Gicv3Redistributor *rd1, Gicv3Redistributor *rd2) |
Private Attributes | |
std::queue< ItsAction > | packetsToRetry |
uint32_t | requestorId |
Gicv3 * | gic |
EventFunctionWrapper | commandEvent |
bool | pendingCommands |
uint32_t | pendingTranslations |
Friends | |
class | ::ItsProcess |
class | ::ItsTranslation |
class | ::ItsCommand |
Additional Inherited Members | |
![]() | |
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 const std::string & | currentSection () |
Gets the fully-qualified name of the active section. More... | |
static void | serializeAll (const std::string &cpt_dir) |
Serializes all the SimObjects. More... | |
static void | unserializeGlobals (CheckpointIn &cp) |
![]() | |
Drainable () | |
virtual | ~Drainable () |
virtual void | drainResume () |
Resume execution after a successful drain. More... | |
void | signalDrainDone () const |
Signal that an object is drained. More... | |
![]() | |
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... | |
virtual void | clockPeriodUpdated () |
A hook subclasses can implement so they can do any extra work that's needed when the clock rate is changed. More... | |
![]() | |
Addr | pioAddr |
Address that the device listens to. More... | |
Addr | pioSize |
Size that the device's address range. More... | |
Tick | pioDelay |
Delay that the device experinces on an access. More... | |
![]() | |
System * | sys |
PioPort< PioDevice > | pioPort |
The pioPort that handles the requests for us and provides us requests that it sees. More... | |
![]() | |
const SimObjectParams & | _params |
Cached copy of the object parameters. More... | |
![]() | |
EventQueue * | eventq |
A pointer to this object's event queue. More... | |
GICv3 ITS module.
This class is just modelling a pio device with its memory mapped registers. Most of the ITS functionalities are implemented as processes (ItsProcess) objects, like ItsTranslation or ItsCommand. Main job of Gicv3Its is to spawn those processes upon receival of packets.
Definition at line 80 of file gic_v3_its.hh.
anonymous enum : Addr |
Enumerator | |
---|---|
GITS_CTLR | |
GITS_IIDR | |
GITS_TYPER | |
GITS_CBASER | |
GITS_CWRITER | |
GITS_CREADR | |
GITS_PIDR2 | |
GITS_TRANSLATER |
Definition at line 136 of file gic_v3_its.hh.
|
private |
Enumerator | |
---|---|
DEVICE_TABLE | |
VPE_TABLE | |
TRANSLATION_TABLE | |
COLLECTION_TABLE |
Definition at line 306 of file gic_v3_its.hh.
|
private |
Enumerator | |
---|---|
SIZE_4K | |
SIZE_16K | |
SIZE_64K |
Definition at line 314 of file gic_v3_its.hh.
Gicv3Its::Gicv3Its | ( | const Gicv3ItsParams & | params | ) |
Definition at line 779 of file gic_v3_its.cc.
References checkCommandQueue().
Gicv3Its::BitUnion32 | ( | CTLR | ) |
Gicv3Its::BitUnion64 | ( | DTE | ) |
|
private |
Definition at line 1083 of file gic_v3_its.cc.
References DPRINTF, gitsCbaser, gitsCreadr, gitsCwriter, maxCommands(), pendingCommands, and runProcess().
Referenced by Gicv3Its(), and write().
bool Gicv3Its::collectionOutOfRange | ( | uint32_t | collection_id | ) | const |
Returns TRUE if the value supplied has bits above the implemented range or if the value exceeds the total number of collections supported in hardware and external memory.
Definition at line 1009 of file gic_v3_its.cc.
References gitsTyper, and ULL.
Referenced by ItsCommand::collectionOutOfRange(), and ItsTranslation::translateLPI().
bool Gicv3Its::deviceOutOfRange | ( | uint32_t | device_id | ) | const |
Returns TRUE if the value supplied has bits above the implemented range or if the value supplied exceeds the maximum configured size in the appropriate GITS_BASER<n>
Definition at line 997 of file gic_v3_its.cc.
References gitsTyper, and ULL.
Referenced by ItsCommand::deviceOutOfRange(), and ItsTranslation::translateLPI().
|
overridevirtual |
Draining is the process of clearing out the states of SimObjects.These are the SimObjects that are partially executed or are partially in flight.
Draining is mostly used before forking and creating a check point.
This function notifies an object that it needs to drain its state.
If the object does not need further simulation to drain internal buffers, it returns DrainState::Drained and automatically switches to the Drained state. If the object needs more simulation, it returns DrainState::Draining and automatically enters the Draining state. Other return values are invalid.
Implements Drainable.
Definition at line 1028 of file gic_v3_its.cc.
References DPRINTF, Drained, Draining, pendingCommands, and pendingTranslations.
Gicv3Its::EndBitUnion | ( | BASER | ) |
Gicv3Its::EndBitUnion | ( | CBASER | ) |
Gicv3Its::EndBitUnion | ( | CRDWR | ) |
|
inline |
Definition at line 287 of file gic_v3_its.hh.
Gicv3Its::EndBitUnion | ( | CTLR | ) |
Gicv3Its::EndBitUnion | ( | DTE | ) |
Gicv3Its::EndBitUnion | ( | ITTE | ) |
Gicv3Its::EndBitUnion | ( | TYPER | ) |
|
overridevirtual |
Every PIO device is obliged to provide an implementation that returns the address ranges the device responds to.
Implements PioDevice.
Definition at line 812 of file gic_v3_its.cc.
References DPRINTF, BasicPioDevice::pioAddr, BasicPioDevice::pioSize, and RangeSize().
Get a port with a given name and index.
This is used at binding time and returns a reference to a protocol-agnostic port.
gem5 has a request and response port interface. All memory objects are connected together via ports. These ports provide a rigid interface between these memory objects. These ports implement three different memory system modes: timing, atomic, and functional. The most important mode is the timing mode and here timing mode is used for conducting cycle-level timing experiments. The other modes are only used in special circumstances and should not be used to conduct cycle-level timing experiments. The other modes are only used in special circumstances. These ports allow SimObjects to communicate with each other.
if_name | Port name |
idx | Index in the case of a VectorPort |
Reimplemented from SimObject.
Definition at line 1111 of file gic_v3_its.cc.
References dmaPort, and PioDevice::getPort().
|
inlineprivate |
Definition at line 297 of file gic_v3_its.hh.
References getRedistributor().
|
private |
Definition at line 1235 of file gic_v3_its.cc.
References Gicv3::getRedistributor(), Gicv3::getRedistributorByAddr(), gic, and gitsTyper.
Referenced by ItsCommand::clear(), ItsCommand::discard(), ItsCommand::doInt(), getRedistributor(), ItsCommand::movall(), ItsCommand::movi(), and ItsTranslation::translateLPI().
bool Gicv3Its::idOutOfRange | ( | uint32_t | event_id, |
uint8_t | itt_range | ||
) | const |
Returns TRUE if the eventID supplied has bits above the implemented size or above the itt_range.
Definition at line 989 of file gic_v3_its.cc.
References gitsTyper, and ULL.
Referenced by ItsCommand::idOutOfRange(), and ItsTranslation::translateLPI().
|
private |
Definition at line 1065 of file gic_v3_its.cc.
References gitsCreadr, and maxCommands().
Referenced by ItsCommand::clear(), ItsCommand::discard(), ItsCommand::doInt(), ItsCommand::inv(), ItsCommand::invall(), ItsCommand::main(), ItsCommand::mapc(), ItsCommand::mapd(), ItsCommand::mapi(), ItsCommand::mapti(), and ItsCommand::movi().
bool Gicv3Its::lpiOutOfRange | ( | uint32_t | intid | ) | const |
Returns TRUE if the value supplied is larger than that permitted by GICD_TYPER.IDbits or not in the LPI range and is not 1023.
Definition at line 1020 of file gic_v3_its.cc.
References Gicv3Distributor::IDBITS, Gicv3::INTID_SPURIOUS, Gicv3Redistributor::SMALLEST_LPI_ID, and ULL.
Referenced by ItsCommand::mapi(), and ItsCommand::mapti().
|
private |
Definition at line 1077 of file gic_v3_its.cc.
References gitsCbaser.
Referenced by checkCommandQueue(), and incrementReadPointer().
|
private |
Definition at line 1272 of file gic_v3_its.cc.
References Gicv3Redistributor::lpiIDBits, Gicv3Redistributor::lpiPendingTablePtr, Gicv3Redistributor::memProxy, PortProxy::memsetBlob(), PortProxy::readBlob(), ULL, Gicv3Redistributor::updateDistributor(), and PortProxy::writeBlob().
Referenced by ItsCommand::movall().
Definition at line 1247 of file gic_v3_its.cc.
References ArmISA::b, X86ISA::base, bits(), mbits(), panic, panic_if, SIZE_16K, SIZE_4K, SIZE_64K, and tableBases.
Referenced by ItsProcess::readDeviceTable(), ItsProcess::readIrqCollectionTable(), ItsProcess::writeDeviceTable(), and ItsProcess::writeIrqCollectionTable().
Pure virtual function that the device must implement.
Called when a read command is recieved by the port.
pkt | Packet describing this request |
Implements PioDevice.
Definition at line 822 of file gic_v3_its.cc.
References X86ISA::addr, AddrRange::contains(), DPRINTF, Packet::getAddr(), Gicv3::getDistributor(), gic, Gicv3Distributor::gicdPidr2, GITS_BASER, GITS_CBASER, GITS_CREADR, GITS_CTLR, GITS_CWRITER, GITS_IIDR, GITS_PIDR2, GITS_TRANSLATER, GITS_TYPER, gitsCbaser, gitsCreadr, gitsCwriter, gitsIidr, gitsTranslater, gitsTyper, Packet::makeAtomicResponse(), panic, BasicPioDevice::pioAddr, BasicPioDevice::pioDelay, Packet::setUintX(), AddrRange::start(), and tableBases.
void Gicv3Its::recvReqRetry | ( | ) |
Definition at line 1120 of file gic_v3_its.cc.
References ArmISA::a, dmaPort, packetsToRetry, SEND_REQ, and RequestPort::sendTimingReq().
Referenced by Gicv3Its::DataPort::recvReqRetry().
bool Gicv3Its::recvTimingResp | ( | PacketPtr | pkt | ) |
Definition at line 1137 of file gic_v3_its.cc.
References Packet::headerDelay, Packet::payloadDelay, Packet::popSenderState(), and runProcessTiming().
Referenced by Gicv3Its::DataPort::recvTimingResp().
|
private |
Definition at line 1151 of file gic_v3_its.cc.
References System::isAtomicMode(), System::isTimingMode(), panic, runProcessAtomic(), runProcessTiming(), and PioDevice::sys.
Referenced by checkCommandQueue(), and translate().
|
private |
Definition at line 1194 of file gic_v3_its.cc.
References ItsAction::delay, dmaPort, panic, ItsAction::pkt, ItsProcess::run(), SEND_REQ, RequestPort::sendAtomic(), TERMINATE, and ItsAction::type.
Referenced by runProcess().
|
private |
Definition at line 1163 of file gic_v3_its.cc.
References Clocked::clockEdge(), commandEvent, dmaPort, packetsToRetry, panic, pendingCommands, ItsAction::pkt, Packet::pushSenderState(), ItsProcess::run(), EventManager::schedule(), Event::scheduled(), SEND_REQ, RequestPort::sendTimingReq(), TERMINATE, and ItsAction::type.
Referenced by recvTimingResp(), and runProcess().
|
overridevirtual |
Serialize an object.
Output an object's state into the current checkpoint section.
cp | Checkpoint state |
Implements Serializable.
Definition at line 1039 of file gic_v3_its.cc.
References gitsCbaser, gitsCreadr, gitsCwriter, gitsIidr, gitsTyper, SERIALIZE_CONTAINER, SERIALIZE_SCALAR, and tableBases.
void Gicv3Its::setGIC | ( | Gicv3 * | _gic | ) |
bool Gicv3Its::sizeOutOfRange | ( | uint32_t | size | ) | const |
Returns TRUE if the value (size) supplied exceeds the maximum allowed by GITS_TYPER.ID_bits.
Size is the parameter which is passed to the ITS via the MAPD command and is stored in the DTE.ittRange field.
Definition at line 1003 of file gic_v3_its.cc.
References gitsTyper, and size.
Referenced by ItsCommand::sizeOutOfRange().
void Gicv3Its::translate | ( | PacketPtr | pkt | ) |
Definition at line 1226 of file gic_v3_its.cc.
References DPRINTF, and runProcess().
Referenced by write().
|
overridevirtual |
Unserialize an object.
Read an object's state from the current checkpoint section.
cp | Checkpoint state |
Implements Serializable.
Definition at line 1052 of file gic_v3_its.cc.
References gitsCbaser, gitsCreadr, gitsCwriter, gitsIidr, gitsTyper, tableBases, UNSERIALIZE_CONTAINER, and UNSERIALIZE_SCALAR.
Pure virtual function that the device must implement.
Called when a write command is recieved by the port.
pkt | Packet describing this request |
Implements PioDevice.
Definition at line 896 of file gic_v3_its.cc.
References X86ISA::addr, BASER_WMASK, BASER_WMASK_UNIMPL, checkCommandQueue(), AddrRange::contains(), CTLR_QUIESCENT, DPRINTF, Packet::getAddr(), Packet::getLE(), Packet::getSize(), GITS_BASER, GITS_CBASER, GITS_CREADR, GITS_CTLR, GITS_CWRITER, GITS_IIDR, GITS_TRANSLATER, GITS_TYPER, gitsCbaser, gitsCreadr, gitsCwriter, Packet::makeAtomicResponse(), panic, BasicPioDevice::pioAddr, BasicPioDevice::pioDelay, AddrRange::start(), tableBases, translate(), and X86ISA::val.
|
friend |
Definition at line 84 of file gic_v3_its.hh.
|
friend |
Definition at line 82 of file gic_v3_its.hh.
|
friend |
Definition at line 83 of file gic_v3_its.hh.
Bitfield<1> Gicv3Its::_virtual |
Definition at line 215 of file gic_v3_its.hh.
|
static |
Definition at line 126 of file gic_v3_its.hh.
|
static |
Definition at line 124 of file gic_v3_its.hh.
|
static |
Definition at line 127 of file gic_v3_its.hh.
|
static |
Definition at line 125 of file gic_v3_its.hh.
|
static |
|
static |
Bitfield<2> Gicv3Its::cct |
Definition at line 214 of file gic_v3_its.hh.
Bitfield<35, 32> Gicv3Its::cidBits |
Definition at line 207 of file gic_v3_its.hh.
Bitfield<36> Gicv3Its::cil |
Definition at line 206 of file gic_v3_its.hh.
|
private |
Definition at line 330 of file gic_v3_its.hh.
Referenced by runProcessTiming().
|
static |
Definition at line 134 of file gic_v3_its.hh.
Referenced by write().
Bitfield<17, 13> Gicv3Its::devBits |
Definition at line 211 of file gic_v3_its.hh.
DataPort Gicv3Its::dmaPort |
Definition at line 103 of file gic_v3_its.hh.
Referenced by getPort(), recvReqRetry(), runProcessAtomic(), and runProcessTiming().
Bitfield<0> Gicv3Its::enabled |
Definition at line 166 of file gic_v3_its.hh.
Bitfield<52, 48> Gicv3Its::entrySize |
Definition at line 195 of file gic_v3_its.hh.
|
private |
Definition at line 329 of file gic_v3_its.hh.
Referenced by getRedistributor(), read(), and setGIC().
|
static |
Definition at line 117 of file gic_v3_its.hh.
CBASER Gicv3Its::gitsCbaser |
Definition at line 221 of file gic_v3_its.hh.
Referenced by checkCommandQueue(), maxCommands(), read(), ItsCommand::readCommand(), serialize(), unserialize(), and write().
CRDWR Gicv3Its::gitsCreadr |
Definition at line 222 of file gic_v3_its.hh.
Referenced by checkCommandQueue(), incrementReadPointer(), ItsCommand::main(), read(), ItsCommand::readCommand(), serialize(), unserialize(), and write().
CRDWR Gicv3Its::gitsCwriter |
Definition at line 223 of file gic_v3_its.hh.
Referenced by checkCommandQueue(), ItsCommand::main(), read(), serialize(), unserialize(), and write().
uint32_t Gicv3Its::gitsIidr |
Definition at line 224 of file gic_v3_its.hh.
Referenced by read(), serialize(), and unserialize().
uint32_t Gicv3Its::gitsTranslater |
Definition at line 225 of file gic_v3_its.hh.
Referenced by ItsTranslation::main(), and read().
TYPER Gicv3Its::gitsTyper |
Definition at line 220 of file gic_v3_its.hh.
Referenced by collectionOutOfRange(), deviceOutOfRange(), getRedistributor(), idOutOfRange(), read(), serialize(), sizeOutOfRange(), and unserialize().
Bitfield<31, 24> Gicv3Its::hcc |
Definition at line 208 of file gic_v3_its.hh.
Gicv3Its::high |
Definition at line 171 of file gic_v3_its.hh.
Bitfield<45, 30> Gicv3Its::icid |
Definition at line 277 of file gic_v3_its.hh.
Referenced by ItsCommand::invall(), and ItsCommand::mapc().
Bitfield<12, 8> Gicv3Its::idBits |
Definition at line 212 of file gic_v3_its.hh.
Bitfield<1> Gicv3Its::imDe |
Definition at line 165 of file gic_v3_its.hh.
Bitfield<62> Gicv3Its::indirect |
Definition at line 191 of file gic_v3_its.hh.
Bitfield< 61, 59 > Gicv3Its::innerCache |
Definition at line 182 of file gic_v3_its.hh.
Bitfield<15, 2> Gicv3Its::intNum |
Definition at line 279 of file gic_v3_its.hh.
Bitfield<29, 16> Gicv3Its::intNumHyp |
Definition at line 278 of file gic_v3_its.hh.
Bitfield<1> Gicv3Its::intType |
Definition at line 280 of file gic_v3_its.hh.
|
static |
Definition at line 113 of file gic_v3_its.hh.
Bitfield<7, 4> Gicv3Its::itsNumber |
Definition at line 164 of file gic_v3_its.hh.
|
static |
Definition at line 114 of file gic_v3_its.hh.
Bitfield<52, 1> Gicv3Its::ittAddress |
Definition at line 271 of file gic_v3_its.hh.
Bitfield<7, 4> Gicv3Its::ittEntrySize |
Definition at line 213 of file gic_v3_its.hh.
Gicv3Its::ittRange |
Definition at line 270 of file gic_v3_its.hh.
Bitfield< 31, 0 > Gicv3Its::low |
Definition at line 172 of file gic_v3_its.hh.
|
static |
Definition at line 119 of file gic_v3_its.hh.
Bitfield<19, 5> Gicv3Its::offset |
Definition at line 173 of file gic_v3_its.hh.
Bitfield< 55, 53 > Gicv3Its::outerCache |
Definition at line 183 of file gic_v3_its.hh.
|
private |
Definition at line 327 of file gic_v3_its.hh.
Referenced by recvReqRetry(), and runProcessTiming().
Bitfield<9, 8> Gicv3Its::pageSize |
Definition at line 198 of file gic_v3_its.hh.
|
private |
Definition at line 332 of file gic_v3_its.hh.
Referenced by checkCommandQueue(), drain(), ItsCommand::ItsCommand(), runProcessTiming(), ItsCommand::~ItsCommand(), and ItsTranslation::~ItsTranslation().
|
private |
Definition at line 333 of file gic_v3_its.hh.
Referenced by drain(), ItsTranslation::ItsTranslation(), ItsCommand::~ItsCommand(), and ItsTranslation::~ItsTranslation().
Bitfield<51, 12> Gicv3Its::physAddr |
Definition at line 184 of file gic_v3_its.hh.
Bitfield<47, 12> Gicv3Its::physAddr |
Definition at line 196 of file gic_v3_its.hh.
Bitfield<0> Gicv3Its::physical |
Definition at line 216 of file gic_v3_its.hh.
Bitfield<19> Gicv3Its::pta |
Definition at line 209 of file gic_v3_its.hh.
Gicv3Its::rdBase |
Definition at line 285 of file gic_v3_its.hh.
|
private |
Definition at line 328 of file gic_v3_its.hh.
Referenced by ItsProcess::doRead(), and ItsProcess::doWrite().
Bitfield<0> Gicv3Its::retry |
Definition at line 174 of file gic_v3_its.hh.
Bitfield<18> Gicv3Its::seis |
Definition at line 210 of file gic_v3_its.hh.
Bitfield< 11, 10 > Gicv3Its::shareability |
Definition at line 185 of file gic_v3_its.hh.
Bitfield< 7, 0 > Gicv3Its::size |
Definition at line 186 of file gic_v3_its.hh.
Referenced by ItsProcess::doRead(), ItsProcess::doWrite(), NoMaliGpu::read(), sizeOutOfRange(), and NoMaliGpu::write().
Bitfield<0> Gicv3Its::stalled |
Definition at line 175 of file gic_v3_its.hh.
std::vector<BASER> Gicv3Its::tableBases |
Definition at line 227 of file gic_v3_its.hh.
Referenced by pageAddress(), read(), serialize(), unserialize(), and write().
Bitfield<58, 56> Gicv3Its::type |
Definition at line 193 of file gic_v3_its.hh.
Bitfield< 0 > Gicv3Its::valid |
Definition at line 181 of file gic_v3_its.hh.
Bitfield<0> Gicv3Its::valid |
Definition at line 272 of file gic_v3_its.hh.
Bitfield<37> Gicv3Its::vmovp |
Definition at line 205 of file gic_v3_its.hh.
Gicv3Its::vpeid |
Definition at line 276 of file gic_v3_its.hh.