DMASequencer.cc (10713:eddb533708cb) | DMASequencer.cc (10910:32f3d1c454ec) |
---|---|
1/* 2 * Copyright (c) 2008 Mark D. Hill and David A. Wood 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 178 unchanged lines hidden (view full) --- 187 // 188 unsigned int child_drain_count = getChildDrainCount(dm); 189 190 // Set status 191 if (need_drain) { 192 drainManager = dm; 193 194 DPRINTF(Drain, "DMASequencer not drained\n"); | 1/* 2 * Copyright (c) 2008 Mark D. Hill and David A. Wood 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 178 unchanged lines hidden (view full) --- 187 // 188 unsigned int child_drain_count = getChildDrainCount(dm); 189 190 // Set status 191 if (need_drain) { 192 drainManager = dm; 193 194 DPRINTF(Drain, "DMASequencer not drained\n"); |
195 setDrainState(Drainable::Draining); | 195 setDrainState(DrainState::Draining); |
196 return child_drain_count + 1; 197 } 198 199 drainManager = NULL; | 196 return child_drain_count + 1; 197 } 198 199 drainManager = NULL; |
200 setDrainState(Drainable::Drained); | 200 setDrainState(DrainState::Drained); |
201 return child_drain_count; 202} 203 204void 205DMASequencer::MemSlavePort::hitCallback(PacketPtr pkt) 206{ 207 bool needsResponse = pkt->needsResponse(); 208 assert(!pkt->isLLSC()); --- 161 unchanged lines hidden --- | 201 return child_drain_count; 202} 203 204void 205DMASequencer::MemSlavePort::hitCallback(PacketPtr pkt) 206{ 207 bool needsResponse = pkt->needsResponse(); 208 assert(!pkt->isLLSC()); --- 161 unchanged lines hidden --- |