gem5
v19.0.0.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 } |
![]() | |
typedef BasicPioDeviceParams | Params |
![]() | |
typedef PioDeviceParams | Params |
![]() | |
typedef ClockedObjectParams | Params |
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 *params) | |
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 |
Notify an object that it needs to drain its state. 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 | |
![]() | |
BasicPioDevice (const Params *p, Addr size) | |
const Params * | params () const |
AddrRangeList | getAddrRanges () const override |
Determine the address ranges that this device responds to. More... | |
![]() | |
PioDevice (const Params *p) | |
virtual | ~PioDevice () |
const Params * | params () const |
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) | |
const Params * | params () const |
void | serialize (CheckpointOut &cp) const override |
Serialize an object. More... | |
void | unserialize (CheckpointIn &cp) override |
Unserialize an object. More... | |
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 | 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... | |
![]() | |
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... | |
![]() | |
Group ()=delete | |
Group (const Group &)=delete | |
Group & | operator= (const Group &)=delete |
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... | |
![]() | |
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 | |
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 |
![]() | |
static int | ckptCount = 0 |
static int | ckptMaxCount = 0 |
static int | ckptPrevCount = -1 |
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 | masterId |
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 () |
Get the fully-qualified name of the active section. More... | |
static void | serializeAll (const std::string &cpt_dir) |
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... | |
![]() | |
Enums::PwrState | _currPwrState |
To keep track of the current power state. More... | |
Tick | prvEvalTick |
ClockedObject::ClockedObjectStats | stats |
![]() | |
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 76 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 132 of file gic_v3_its.hh.
|
private |
Enumerator | |
---|---|
DEVICE_TABLE | |
VPE_TABLE | |
TRANSLATION_TABLE | |
COLLECTION_TABLE |
Definition at line 302 of file gic_v3_its.hh.
|
private |
Enumerator | |
---|---|
SIZE_4K | |
SIZE_16K | |
SIZE_64K |
Definition at line 310 of file gic_v3_its.hh.
Gicv3Its::Gicv3Its | ( | const Gicv3ItsParams * | params | ) |
Definition at line 776 of file gic_v3_its.cc.
References checkCommandQueue(), COLLECTION_TABLE, DEVICE_TABLE, SimObject::name(), pendingCommands, pendingTranslations, and tableBases.
Referenced by moveAllPendingState().
Gicv3Its::BitUnion32 | ( | CTLR | ) |
Gicv3Its::BitUnion64 | ( | DTE | ) |
|
private |
Definition at line 1080 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 1006 of file gic_v3_its.cc.
References gitsTyper, and ULL.
Referenced by 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 994 of file gic_v3_its.cc.
References gitsTyper, and ULL.
Referenced by ItsTranslation::translateLPI().
|
overridevirtual |
Notify 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 1025 of file gic_v3_its.cc.
References DPRINTF, Drained, Draining, pendingCommands, and pendingTranslations.
Gicv3Its::EndBitUnion | ( | CTLR | ) |
Gicv3Its::EndBitUnion | ( | CRDWR | ) |
Gicv3Its::EndBitUnion | ( | CBASER | ) |
Gicv3Its::EndBitUnion | ( | BASER | ) |
Gicv3Its::EndBitUnion | ( | TYPER | ) |
Gicv3Its::EndBitUnion | ( | DTE | ) |
Gicv3Its::EndBitUnion | ( | ITTE | ) |
|
inline |
Definition at line 283 of file gic_v3_its.hh.
|
overridevirtual |
Every PIO device is obliged to provide an implementation that returns the address ranges the device responds to.
Implements PioDevice.
Definition at line 809 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.
if_name | Port name |
idx | Index in the case of a VectorPort |
Reimplemented from SimObject.
Definition at line 1108 of file gic_v3_its.cc.
References dmaPort, and PioDevice::getPort().
|
private |
Definition at line 1232 of file gic_v3_its.cc.
References Gicv3::getRedistributor(), Gicv3::getRedistributorByAddr(), gic, and gitsTyper.
Referenced by ItsCommand::clear(), ItsCommand::discard(), ItsCommand::doInt(), ItsCommand::movall(), ItsCommand::movi(), and ItsTranslation::translateLPI().
|
inlineprivate |
Definition at line 293 of file gic_v3_its.hh.
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 986 of file gic_v3_its.cc.
References gitsTyper, and ULL.
Referenced by ItsTranslation::translateLPI().
|
private |
Definition at line 1062 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 1017 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 1074 of file gic_v3_its.cc.
References gitsCbaser.
Referenced by checkCommandQueue(), and incrementReadPointer().
|
private |
Definition at line 1269 of file gic_v3_its.cc.
References Gicv3Its(), Gicv3Redistributor::lpiIDBits, Gicv3Redistributor::lpiPendingTablePtr, Gicv3Redistributor::memProxy, PortProxy::memsetBlob(), PortProxy::readBlob(), ULL, Gicv3Redistributor::updateDistributor(), and PortProxy::writeBlob().
Referenced by ItsCommand::movall().
Definition at line 1244 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 819 of file gic_v3_its.cc.
References 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, LittleEndianByteOrder, Packet::makeAtomicResponse(), panic, BasicPioDevice::pioAddr, BasicPioDevice::pioDelay, Packet::setUintX(), AddrRange::start(), and tableBases.
void Gicv3Its::recvReqRetry | ( | ) |
Definition at line 1117 of file gic_v3_its.cc.
References ArmISA::a, dmaPort, packetsToRetry, ItsAction::pkt, SEND_REQ, MasterPort::sendTimingReq(), and ItsAction::type.
Referenced by Gicv3Its::DataPort::recvReqRetry().
bool Gicv3Its::recvTimingResp | ( | PacketPtr | pkt | ) |
Definition at line 1134 of file gic_v3_its.cc.
References Packet::headerDelay, Packet::payloadDelay, Packet::popSenderState(), runProcessTiming(), and safe_cast().
Referenced by Gicv3Its::DataPort::recvTimingResp().
|
private |
Definition at line 1148 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 1191 of file gic_v3_its.cc.
References ItsAction::delay, dmaPort, panic, ItsAction::pkt, ItsProcess::run(), SEND_REQ, MasterPort::sendAtomic(), TERMINATE, and ItsAction::type.
Referenced by runProcess().
|
private |
Definition at line 1160 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, MasterPort::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 1036 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 1000 of file gic_v3_its.cc.
References gitsTyper.
void Gicv3Its::translate | ( | PacketPtr | pkt | ) |
Definition at line 1223 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 1049 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 893 of file gic_v3_its.cc.
References 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 80 of file gic_v3_its.hh.
|
friend |
Definition at line 78 of file gic_v3_its.hh.
|
friend |
Definition at line 79 of file gic_v3_its.hh.
Bitfield<1> Gicv3Its::_virtual |
Definition at line 211 of file gic_v3_its.hh.
|
static |
Definition at line 122 of file gic_v3_its.hh.
|
static |
Definition at line 120 of file gic_v3_its.hh.
|
static |
Definition at line 123 of file gic_v3_its.hh.
|
static |
Definition at line 121 of file gic_v3_its.hh.
|
static |
|
static |
Bitfield<2> Gicv3Its::cct |
Definition at line 210 of file gic_v3_its.hh.
Bitfield<35, 32> Gicv3Its::cidBits |
Definition at line 203 of file gic_v3_its.hh.
Bitfield<36> Gicv3Its::cil |
Definition at line 202 of file gic_v3_its.hh.
|
private |
Definition at line 326 of file gic_v3_its.hh.
Referenced by runProcessTiming().
|
static |
Definition at line 130 of file gic_v3_its.hh.
Referenced by write().
Bitfield<17, 13> Gicv3Its::devBits |
Definition at line 207 of file gic_v3_its.hh.
DataPort Gicv3Its::dmaPort |
Definition at line 99 of file gic_v3_its.hh.
Referenced by getPort(), recvReqRetry(), runProcessAtomic(), and runProcessTiming().
Bitfield<0> Gicv3Its::enabled |
Definition at line 162 of file gic_v3_its.hh.
Bitfield<52, 48> Gicv3Its::entrySize |
Definition at line 191 of file gic_v3_its.hh.
|
private |
Definition at line 325 of file gic_v3_its.hh.
Referenced by getRedistributor(), read(), and setGIC().
|
static |
Definition at line 113 of file gic_v3_its.hh.
CBASER Gicv3Its::gitsCbaser |
Definition at line 217 of file gic_v3_its.hh.
Referenced by checkCommandQueue(), maxCommands(), read(), ItsCommand::readCommand(), serialize(), unserialize(), and write().
CRDWR Gicv3Its::gitsCreadr |
Definition at line 218 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 219 of file gic_v3_its.hh.
Referenced by checkCommandQueue(), ItsCommand::main(), read(), serialize(), unserialize(), and write().
uint32_t Gicv3Its::gitsIidr |
Definition at line 220 of file gic_v3_its.hh.
Referenced by read(), serialize(), and unserialize().
uint32_t Gicv3Its::gitsTranslater |
Definition at line 221 of file gic_v3_its.hh.
Referenced by ItsTranslation::main(), and read().
TYPER Gicv3Its::gitsTyper |
Definition at line 216 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 204 of file gic_v3_its.hh.
Gicv3Its::high |
Definition at line 167 of file gic_v3_its.hh.
Bitfield<45, 30> Gicv3Its::icid |
Definition at line 273 of file gic_v3_its.hh.
Referenced by ItsCommand::invall(), and ItsCommand::mapc().
Bitfield<12, 8> Gicv3Its::idBits |
Definition at line 208 of file gic_v3_its.hh.
Bitfield<1> Gicv3Its::imDe |
Definition at line 161 of file gic_v3_its.hh.
Bitfield<62> Gicv3Its::indirect |
Definition at line 187 of file gic_v3_its.hh.
Bitfield< 61, 59 > Gicv3Its::innerCache |
Definition at line 178 of file gic_v3_its.hh.
Bitfield<15, 2> Gicv3Its::intNum |
Definition at line 275 of file gic_v3_its.hh.
Bitfield<29, 16> Gicv3Its::intNumHyp |
Definition at line 274 of file gic_v3_its.hh.
Bitfield<1> Gicv3Its::intType |
Definition at line 276 of file gic_v3_its.hh.
|
static |
Definition at line 109 of file gic_v3_its.hh.
Bitfield<7, 4> Gicv3Its::itsNumber |
Definition at line 160 of file gic_v3_its.hh.
|
static |
Definition at line 110 of file gic_v3_its.hh.
Bitfield<52, 1> Gicv3Its::ittAddress |
Definition at line 267 of file gic_v3_its.hh.
Bitfield<7, 4> Gicv3Its::ittEntrySize |
Definition at line 209 of file gic_v3_its.hh.
Gicv3Its::ittRange |
Definition at line 266 of file gic_v3_its.hh.
Bitfield< 31, 0 > Gicv3Its::low |
Definition at line 168 of file gic_v3_its.hh.
|
private |
Definition at line 324 of file gic_v3_its.hh.
Referenced by ItsProcess::doRead(), and ItsProcess::doWrite().
|
static |
Definition at line 115 of file gic_v3_its.hh.
Bitfield<19, 5> Gicv3Its::offset |
Definition at line 169 of file gic_v3_its.hh.
Bitfield< 55, 53 > Gicv3Its::outerCache |
Definition at line 179 of file gic_v3_its.hh.
|
private |
Definition at line 323 of file gic_v3_its.hh.
Referenced by recvReqRetry(), and runProcessTiming().
Bitfield<9, 8> Gicv3Its::pageSize |
Definition at line 194 of file gic_v3_its.hh.
|
private |
Definition at line 328 of file gic_v3_its.hh.
Referenced by checkCommandQueue(), drain(), Gicv3Its(), ItsCommand::ItsCommand(), runProcessTiming(), ItsCommand::~ItsCommand(), and ItsTranslation::~ItsTranslation().
|
private |
Definition at line 329 of file gic_v3_its.hh.
Referenced by drain(), Gicv3Its(), ItsTranslation::ItsTranslation(), ItsCommand::~ItsCommand(), and ItsTranslation::~ItsTranslation().
Bitfield<51, 12> Gicv3Its::physAddr |
Definition at line 180 of file gic_v3_its.hh.
Bitfield<47, 12> Gicv3Its::physAddr |
Definition at line 192 of file gic_v3_its.hh.
Bitfield<0> Gicv3Its::physical |
Definition at line 212 of file gic_v3_its.hh.
Bitfield<19> Gicv3Its::pta |
Definition at line 205 of file gic_v3_its.hh.
Gicv3Its::rdBase |
Definition at line 281 of file gic_v3_its.hh.
Bitfield<0> Gicv3Its::retry |
Definition at line 170 of file gic_v3_its.hh.
Bitfield<18> Gicv3Its::seis |
Definition at line 206 of file gic_v3_its.hh.
Bitfield< 11, 10 > Gicv3Its::shareability |
Definition at line 181 of file gic_v3_its.hh.
Bitfield< 7, 0 > Gicv3Its::size |
Definition at line 182 of file gic_v3_its.hh.
Referenced by ItsProcess::doRead(), ItsProcess::doWrite(), Gicv3Distributor::nsAccessToSecInt(), Gicv3Redistributor::processorNumber(), NoMaliGpu::read(), and NoMaliGpu::write().
Bitfield<0> Gicv3Its::stalled |
Definition at line 171 of file gic_v3_its.hh.
std::vector<BASER> Gicv3Its::tableBases |
Definition at line 223 of file gic_v3_its.hh.
Referenced by Gicv3Its(), pageAddress(), read(), serialize(), unserialize(), and write().
Bitfield<58, 56> Gicv3Its::type |
Definition at line 189 of file gic_v3_its.hh.
Bitfield< 0 > Gicv3Its::valid |
Definition at line 177 of file gic_v3_its.hh.
Bitfield<0> Gicv3Its::valid |
Definition at line 268 of file gic_v3_its.hh.
Bitfield<37> Gicv3Its::vmovp |
Definition at line 201 of file gic_v3_its.hh.
Gicv3Its::vpeid |
Definition at line 272 of file gic_v3_its.hh.