physical.cc (2632:1bb2f91485ea) | physical.cc (2639:78773954274f) |
---|---|
1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 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; --- 113 unchanged lines hidden (view full) --- 122 return 0; 123} 124 125bool 126PhysicalMemory::doTimingAccess (Packet *pkt, MemoryPort* memoryPort) 127{ 128 doFunctionalAccess(pkt); 129 | 1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 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; --- 113 unchanged lines hidden (view full) --- 122 return 0; 123} 124 125bool 126PhysicalMemory::doTimingAccess (Packet *pkt, MemoryPort* memoryPort) 127{ 128 doFunctionalAccess(pkt); 129 |
130 // turn packet around to go back to requester |
|
130 pkt->dest = pkt->src; 131 MemResponseEvent* response = new MemResponseEvent(pkt, memoryPort); 132 response->schedule(curTick + lat); 133 134 return true; 135} 136 137Tick --- 236 unchanged lines hidden --- | 131 pkt->dest = pkt->src; 132 MemResponseEvent* response = new MemResponseEvent(pkt, memoryPort); 133 response->schedule(curTick + lat); 134 135 return true; 136} 137 138Tick --- 236 unchanged lines hidden --- |