physical.cc (3612:936dcb3f3e2d) | physical.cc (3749:89fb514175fe) |
---|---|
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; --- 177 unchanged lines hidden (view full) --- 186 } 187 188 return success; 189} 190 191void 192PhysicalMemory::doFunctionalAccess(PacketPtr pkt) 193{ | 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; --- 177 unchanged lines hidden (view full) --- 186 } 187 188 return success; 189} 190 191void 192PhysicalMemory::doFunctionalAccess(PacketPtr pkt) 193{ |
194 assert(pkt->getAddr() + pkt->getSize() > params()->addrRange.start && | 194 assert(pkt->getAddr() >= params()->addrRange.start && |
195 pkt->getAddr() + pkt->getSize() <= params()->addrRange.start + 196 params()->addrRange.size()); 197 198 if (pkt->isRead()) { 199 if (pkt->req->isLocked()) { 200 trackLoadLocked(pkt->req); 201 } 202 DPRINTF(MemoryAccess, "Performing Read of size %i on address 0x%x\n", --- 253 unchanged lines hidden --- | 195 pkt->getAddr() + pkt->getSize() <= params()->addrRange.start + 196 params()->addrRange.size()); 197 198 if (pkt->isRead()) { 199 if (pkt->req->isLocked()) { 200 trackLoadLocked(pkt->req); 201 } 202 DPRINTF(MemoryAccess, "Performing Read of size %i on address 0x%x\n", --- 253 unchanged lines hidden --- |