atomic.cc (4918:3214e3694fb2) atomic.cc (4925:36fd2459422f)
1/*
2 * Copyright (c) 2002-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;

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

288
289 if (req->isMmapedIpr())
290 dcache_latency = TheISA::handleIprRead(thread->getTC(), &pkt);
291 else
292 dcache_latency = dcachePort.sendAtomic(&pkt);
293 dcache_access = true;
294 assert(!pkt.isError());
295
1/*
2 * Copyright (c) 2002-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;

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

288
289 if (req->isMmapedIpr())
290 dcache_latency = TheISA::handleIprRead(thread->getTC(), &pkt);
291 else
292 dcache_latency = dcachePort.sendAtomic(&pkt);
293 dcache_access = true;
294 assert(!pkt.isError());
295
296 data = gtoh(data);
297
296 if (req->isLocked()) {
297 TheISA::handleLockedRead(thread, req);
298 }
299 }
300
301 // This will need a new way to tell if it has a dcache attached.
302 if (req->isUncacheable())
303 recordEvent("Uncached Read");

--- 284 unchanged lines hidden ---
298 if (req->isLocked()) {
299 TheISA::handleLockedRead(thread, req);
300 }
301 }
302
303 // This will need a new way to tell if it has a dcache attached.
304 if (req->isUncacheable())
305 recordEvent("Uncached Read");

--- 284 unchanged lines hidden ---