|
gem5
v21.2.1.1
|
TLB TranslationState: this currently is a somewhat bastardization of the usage of SenderState, whereby the receiver of a packet is not usually supposed to need to look at the contents of the senderState, you're really only supposed to look at what you pushed on, pop it off, and send it back. More...
#include <tlb.hh>
Public Member Functions | |
| TranslationState (Mode tlb_mode, ThreadContext *_tc, bool is_prefetch=false, Packet::SenderState *_saved=nullptr) | |
Public Member Functions inherited from gem5::Packet::SenderState | |
| SenderState () | |
| virtual | ~SenderState () |
Public Attributes | |
| Mode | tlbMode |
| ThreadContext * | tc |
| TlbEntry * | tlbEntry |
| bool | isPrefetch |
| uint64_t | issueTime |
| std::vector< ResponsePort * > | ports |
| std::vector< int > | reqCnt |
| int | hitLevel |
| Packet::SenderState * | saved |
Public Attributes inherited from gem5::Packet::SenderState | |
| SenderState * | predecessor |
TLB TranslationState: this currently is a somewhat bastardization of the usage of SenderState, whereby the receiver of a packet is not usually supposed to need to look at the contents of the senderState, you're really only supposed to look at what you pushed on, pop it off, and send it back.
However, since there is state that we want to pass to the TLBs using the send/recv Timing/Functional/etc. APIs, which don't allow for new arguments, we need a common TLB senderState to pass between TLBs, both "forwards" and "backwards."
So, basically, the rule is that any packet received by a TLB port (cpuside OR memside) must be safely castable to a TranslationState.
|
inline |
| int gem5::X86ISA::GpuTLB::TranslationState::hitLevel |
Definition at line 307 of file tlb.hh.
Referenced by gem5::X86ISA::GpuTLB::issueTLBLookup(), gem5::X86ISA::GpuTLB::CpuSidePort::recvFunctional(), gem5::ComputeUnit::DTLBPort::recvTimingResp(), gem5::ComputeUnit::sendRequest(), and gem5::TLBCoalescer::updatePhysAddresses().
| bool gem5::X86ISA::GpuTLB::TranslationState::isPrefetch |
Definition at line 297 of file tlb.hh.
Referenced by gem5::TLBCoalescer::canCoalesce(), gem5::X86ISA::GpuTLB::handleFuncTranslationReturn(), gem5::X86ISA::GpuTLB::issueTLBLookup(), gem5::TLBCoalescer::processProbeTLBEvent(), gem5::TLBCoalescer::CpuSidePort::recvFunctional(), gem5::X86ISA::GpuTLB::CpuSidePort::recvFunctional(), gem5::TLBCoalescer::CpuSidePort::recvTimingReq(), gem5::X86ISA::GpuTLB::translationReturn(), and gem5::TLBCoalescer::updatePhysAddresses().
| uint64_t gem5::X86ISA::GpuTLB::TranslationState::issueTime |
Definition at line 299 of file tlb.hh.
Referenced by gem5::TLBCoalescer::CpuSidePort::recvTimingReq().
| std::vector<ResponsePort*> gem5::X86ISA::GpuTLB::TranslationState::ports |
| std::vector<int> gem5::X86ISA::GpuTLB::TranslationState::reqCnt |
Definition at line 305 of file tlb.hh.
Referenced by gem5::TLBCoalescer::canCoalesce(), gem5::X86ISA::GpuTLB::issueTLBLookup(), gem5::TLBCoalescer::processProbeTLBEvent(), gem5::X86ISA::GpuTLB::CpuSidePort::recvFunctional(), gem5::TLBCoalescer::CpuSidePort::recvTimingReq(), gem5::X86ISA::GpuTLB::translationReturn(), and gem5::TLBCoalescer::updatePhysAddresses().
| Packet::SenderState* gem5::X86ISA::GpuTLB::TranslationState::saved |
Definition at line 308 of file tlb.hh.
Referenced by gem5::ComputeUnit::DTLBPort::recvTimingResp(), gem5::ComputeUnit::ScalarDTLBPort::recvTimingResp(), gem5::ComputeUnit::ITLBPort::recvTimingResp(), and gem5::ComputeUnit::sendRequest().
| ThreadContext* gem5::X86ISA::GpuTLB::TranslationState::tc |
Definition at line 288 of file tlb.hh.
Referenced by gem5::X86ISA::GpuTLB::handleFuncTranslationReturn(), gem5::X86ISA::GpuTLB::handleTranslationReturn(), gem5::X86ISA::GpuTLB::issueTLBLookup(), gem5::X86ISA::GpuTLB::CpuSidePort::recvFunctional(), gem5::X86ISA::GpuTLB::translationReturn(), and gem5::TLBCoalescer::updatePhysAddresses().
| TlbEntry* gem5::X86ISA::GpuTLB::TranslationState::tlbEntry |
Definition at line 295 of file tlb.hh.
Referenced by gem5::Shader::functionalTLBAccess(), gem5::X86ISA::GpuTLB::handleFuncTranslationReturn(), gem5::X86ISA::GpuTLB::handleTranslationReturn(), gem5::FetchUnit::initiateFetch(), gem5::X86ISA::GpuTLB::issueTLBLookup(), gem5::X86ISA::GpuTLB::CpuSidePort::recvFunctional(), gem5::ComputeUnit::DTLBPort::recvTimingResp(), gem5::ComputeUnit::ScalarDTLBPort::recvTimingResp(), gem5::ComputeUnit::ITLBPort::recvTimingResp(), gem5::ComputeUnit::sendRequest(), gem5::X86ISA::GpuTLB::translationReturn(), and gem5::TLBCoalescer::updatePhysAddresses().
| Mode gem5::X86ISA::GpuTLB::TranslationState::tlbMode |
Definition at line 286 of file tlb.hh.
Referenced by gem5::TLBCoalescer::canCoalesce(), gem5::X86ISA::GpuTLB::handleFuncTranslationReturn(), gem5::X86ISA::GpuTLB::handleTranslationReturn(), gem5::X86ISA::GpuTLB::CpuSidePort::recvFunctional(), gem5::ComputeUnit::DTLBPort::recvTimingResp(), and gem5::X86ISA::GpuTLB::translationReturn().