SeriesRequestGenerator.cc (8832:247fee427324) SeriesRequestGenerator.cc (8949:3fa1ee293096)
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

--- 53 unchanged lines hidden (view full) ---

62 Request *req = new Request(m_address, 1, flags, masterId);
63
64 Packet::Command cmd;
65 if (m_issue_writes) {
66 cmd = MemCmd::WriteReq;
67 } else {
68 cmd = MemCmd::ReadReq;
69 }
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

--- 53 unchanged lines hidden (view full) ---

62 Request *req = new Request(m_address, 1, flags, masterId);
63
64 Packet::Command cmd;
65 if (m_issue_writes) {
66 cmd = MemCmd::WriteReq;
67 } else {
68 cmd = MemCmd::ReadReq;
69 }
70 PacketPtr pkt = new Packet(req, cmd, m_active_node);
70 PacketPtr pkt = new Packet(req, cmd);
71 uint8_t* dummyData = new uint8_t;
72 *dummyData = 0;
73 pkt->dataDynamic(dummyData);
74
75 if (port->sendTiming(pkt)) {
76 DPRINTF(DirectedTest, "initiating request - successful\n");
77 m_status = SeriesRequestGeneratorStatus_Request_Pending;
78 return true;

--- 37 unchanged lines hidden ---
71 uint8_t* dummyData = new uint8_t;
72 *dummyData = 0;
73 pkt->dataDynamic(dummyData);
74
75 if (port->sendTiming(pkt)) {
76 DPRINTF(DirectedTest, "initiating request - successful\n");
77 m_status = SeriesRequestGeneratorStatus_Request_Pending;
78 return true;

--- 37 unchanged lines hidden ---