35 #include "debug/DirectedTest.hh"
43 m_status = InvalidateGeneratorStatus_Load_Waiting;
68 if (
m_status == InvalidateGeneratorStatus_Load_Waiting) {
69 DPRINTF(DirectedTest,
"initiating read\n");
72 pkt =
new Packet(req, cmd);
73 }
else if (
m_status == InvalidateGeneratorStatus_Inv_Waiting) {
74 DPRINTF(DirectedTest,
"initiating invalidating write\n");
77 pkt =
new Packet(req, cmd);
79 panic(
"initiate was unexpectedly called\n");
84 DPRINTF(DirectedTest,
"initiating request - successful\n");
85 if (
m_status == InvalidateGeneratorStatus_Load_Waiting) {
86 m_status = InvalidateGeneratorStatus_Load_Pending;
88 m_status = InvalidateGeneratorStatus_Inv_Pending;
98 DPRINTF(DirectedTest,
"failed to issue request - sequencer not ready\n");
108 if (
m_status == InvalidateGeneratorStatus_Load_Pending) {
115 m_status = InvalidateGeneratorStatus_Inv_Waiting;
118 m_status = InvalidateGeneratorStatus_Load_Waiting;
120 }
else if (
m_status == InvalidateGeneratorStatus_Inv_Pending) {
132 m_status = InvalidateGeneratorStatus_Load_Waiting;
138 InvalidateGeneratorParams::create()
A MasterPort is a specialisation of a BaseMasterPort, which implements the default protocol for the t...
uint32_t m_active_inv_node
MasterPort * getCpuPort(int idx)
uint32_t m_active_read_node
void performCallback(uint32_t proc, Addr address)
bool sendTimingReq(PacketPtr pkt)
Attempt to send a timing request to the slave port by calling its corresponding receive function...
InvalidateGeneratorStatus m_status
InvalidateGenerator(const Params *p)
DirectedGeneratorParams Params
void incrementCycleCompletions()
const RequestPtr req
A pointer to the original request.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
A Packet is used to encapsulate a transfer between two objects in the memory system (e...
RubyDirectedTester * m_directed_tester
Command
List of all commands associated with a packet.
uint32_t m_addr_increment_size
void allocate()
Allocate memory for the packet.
ProbePointArg< PacketInfo > Packet
Packet probe point.