atomic.cc (5914:c92d57f579b1) atomic.cc (6012:47748a3b6ecf)
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;

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

508 //If there's a fault or we don't need to access a second cache line,
509 //stop now.
510 if (fault != NoFault || secondAddr <= addr)
511 {
512 // If the write needs to have a fault on the access, consider
513 // calling changeStatus() and changing it to "bad addr write"
514 // or something.
515 if (traceData) {
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;

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

508 //If there's a fault or we don't need to access a second cache line,
509 //stop now.
510 if (fault != NoFault || secondAddr <= addr)
511 {
512 // If the write needs to have a fault on the access, consider
513 // calling changeStatus() and changing it to "bad addr write"
514 // or something.
515 if (traceData) {
516 traceData->setData(data);
516 traceData->setData(gtoh(data));
517 }
518 return fault;
519 }
520
521 /*
522 * Set up for accessing the second cache line.
523 */
524

--- 194 unchanged lines hidden ---
517 }
518 return fault;
519 }
520
521 /*
522 * Set up for accessing the second cache line.
523 */
524

--- 194 unchanged lines hidden ---