atomic.cc (4022:c422464ca16e) atomic.cc (4027:53292b42ee1c)
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;

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

396
397#if !defined(NDEBUG)
398 if (pkt->result != Packet::Success)
399 panic("Unable to find responder for address pa = %#X va = %#X\n",
400 pkt->req->getPaddr(), pkt->req->getVaddr());
401#endif
402 }
403
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;

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

396
397#if !defined(NDEBUG)
398 if (pkt->result != Packet::Success)
399 panic("Unable to find responder for address pa = %#X va = %#X\n",
400 pkt->req->getPaddr(), pkt->req->getVaddr());
401#endif
402 }
403
404 if (req->isLocked()) {
405 uint64_t scResult = req->getScResult();
406 if (scResult != 0) {
407 // clear failure counter
408 thread->setStCondFailures(0);
409 }
410 if (res) {
411 *res = req->getScResult();
412 }
404 if (res) {
405 *res = req->getScResult();
413 }
414 }
415
416 // This will need a new way to tell if it's hooked up to a cache or not.
417 if (req->isUncacheable())
418 recordEvent("Uncached Write");
419
420 // If the write needs to have a fault on the access, consider calling

--- 213 unchanged lines hidden ---
406 }
407 }
408
409 // This will need a new way to tell if it's hooked up to a cache or not.
410 if (req->isUncacheable())
411 recordEvent("Uncached Write");
412
413 // If the write needs to have a fault on the access, consider calling

--- 213 unchanged lines hidden ---