Deleted Added
sdiff udiff text old ( 3349:fec4a86fa212 ) new ( 3584:8c3cdb2c001c )
full compact
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.size());
195
196 if (pkt->isRead()) {
197 if (pkt->req->isLocked()) {
198 trackLoadLocked(pkt->req);
199 }
200 DPRINTF(MemoryAccess, "Performing Read of size %i on address 0x%x\n",
201 pkt->getSize(), pkt->getAddr());
202 memcpy(pkt->getPtr<uint8_t>(),

--- 236 unchanged lines hidden ---