InvalidateGenerator.cc (8950:a6830d615eff) InvalidateGenerator.cc (8975:7f36d4436074)
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

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

75 pkt = new Packet(req, cmd);
76 } else {
77 panic("initiate was unexpectedly called\n");
78 }
79 uint8_t* dummyData = new uint8_t;
80 *dummyData = 0;
81 pkt->dataDynamic(dummyData);
82
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

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

75 pkt = new Packet(req, cmd);
76 } else {
77 panic("initiate was unexpectedly called\n");
78 }
79 uint8_t* dummyData = new uint8_t;
80 *dummyData = 0;
81 pkt->dataDynamic(dummyData);
82
83 if (port->sendTiming(pkt)) {
83 if (port->sendTimingReq(pkt)) {
84 DPRINTF(DirectedTest, "initiating request - successful\n");
85 if (m_status == InvalidateGeneratorStatus_Load_Waiting) {
86 m_status = InvalidateGeneratorStatus_Load_Pending;
87 } else {
88 m_status = InvalidateGeneratorStatus_Inv_Pending;
89 }
90 return true;
91 } else {

--- 50 unchanged lines hidden ---
84 DPRINTF(DirectedTest, "initiating request - successful\n");
85 if (m_status == InvalidateGeneratorStatus_Load_Waiting) {
86 m_status = InvalidateGeneratorStatus_Load_Pending;
87 } else {
88 m_status = InvalidateGeneratorStatus_Inv_Pending;
89 }
90 return true;
91 } else {

--- 50 unchanged lines hidden ---