SeriesRequestGenerator.cc (8949:3fa1ee293096) | SeriesRequestGenerator.cc (8950:a6830d615eff) |
---|---|
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 --- 38 unchanged lines hidden (view full) --- 47} 48 49bool 50SeriesRequestGenerator::initiate() 51{ 52 DPRINTF(DirectedTest, "initiating request\n"); 53 assert(m_status == SeriesRequestGeneratorStatus_Thinking); 54 | 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 --- 38 unchanged lines hidden (view full) --- 47} 48 49bool 50SeriesRequestGenerator::initiate() 51{ 52 DPRINTF(DirectedTest, "initiating request\n"); 53 assert(m_status == SeriesRequestGeneratorStatus_Thinking); 54 |
55 RubyDirectedTester::CpuPort* port = 56 safe_cast<RubyDirectedTester::CpuPort*>(m_directed_tester-> 57 getCpuPort(m_active_node)); | 55 MasterPort* port = m_directed_tester->getCpuPort(m_active_node); |
58 59 Request::Flags flags; 60 61 // For simplicity, requests are assumed to be 1 byte-sized 62 Request *req = new Request(m_address, 1, flags, masterId); 63 64 Packet::Command cmd; 65 if (m_issue_writes) { --- 50 unchanged lines hidden --- | 56 57 Request::Flags flags; 58 59 // For simplicity, requests are assumed to be 1 byte-sized 60 Request *req = new Request(m_address, 1, flags, masterId); 61 62 Packet::Command cmd; 63 if (m_issue_writes) { --- 50 unchanged lines hidden --- |