atomic.cc (4050:cf1daaef9109) atomic.cc (4052:895ad21ffbf3)
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;

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

417 pkt->req->getPaddr(), pkt->req->getVaddr());
418#endif
419 }
420
421 if (req->isSwap()) {
422 assert(res);
423 *res = pkt->get<T>();
424 } else if (res) {
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;

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

417 pkt->req->getPaddr(), pkt->req->getVaddr());
418#endif
419 }
420
421 if (req->isSwap()) {
422 assert(res);
423 *res = pkt->get<T>();
424 } else if (res) {
425 *res = req->getScResult();
425 *res = req->getExtraData();
426 }
427 }
428
429 // This will need a new way to tell if it's hooked up to a cache or not.
430 if (req->isUncacheable())
431 recordEvent("Uncached Write");
432
433 // If the write needs to have a fault on the access, consider calling

--- 213 unchanged lines hidden ---
426 }
427 }
428
429 // This will need a new way to tell if it's hooked up to a cache or not.
430 if (req->isUncacheable())
431 recordEvent("Uncached Write");
432
433 // If the write needs to have a fault on the access, consider calling

--- 213 unchanged lines hidden ---