InvalidateGenerator.cc (8655:e4001326a5ba) | InvalidateGenerator.cc (8832:247fee427324) |
---|---|
1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * Copyright (c) 2009-2010 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 44 unchanged lines hidden (view full) --- 53InvalidateGenerator::initiate() 54{ 55 RubyDirectedTester::CpuPort* port; 56 Request::Flags flags; 57 PacketPtr pkt; 58 Packet::Command cmd; 59 60 // For simplicity, requests are assumed to be 1 byte-sized | 1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * Copyright (c) 2009-2010 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 44 unchanged lines hidden (view full) --- 53InvalidateGenerator::initiate() 54{ 55 RubyDirectedTester::CpuPort* port; 56 Request::Flags flags; 57 PacketPtr pkt; 58 Packet::Command cmd; 59 60 // For simplicity, requests are assumed to be 1 byte-sized |
61 Request *req = new Request(m_address, 1, flags); | 61 Request *req = new Request(m_address, 1, flags, masterId); |
62 63 // 64 // Based on the current state, issue a load or a store 65 // 66 if (m_status == InvalidateGeneratorStatus_Load_Waiting) { 67 DPRINTF(DirectedTest, "initiating read\n"); 68 cmd = MemCmd::ReadReq; 69 port = safe_cast<RubyDirectedTester::CpuPort*>(m_directed_tester-> --- 74 unchanged lines hidden --- | 62 63 // 64 // Based on the current state, issue a load or a store 65 // 66 if (m_status == InvalidateGeneratorStatus_Load_Waiting) { 67 DPRINTF(DirectedTest, "initiating read\n"); 68 cmd = MemCmd::ReadReq; 69 port = safe_cast<RubyDirectedTester::CpuPort*>(m_directed_tester-> --- 74 unchanged lines hidden --- |