Deleted Added
sdiff udiff text old ( 5348:7847a4bf9641 ) new ( 5408:703f1779cc89 )
full compact
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;

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

350
351 //If there's a fault, return it
352 if (fault != NoFault)
353 return fault;
354 //If we don't need to access a second cache line, stop now.
355 if (secondAddr <= addr)
356 {
357 data = gtoh(data);
358 if (traceData) {
359 traceData->setData(data);
360 }
361 return fault;
362 }
363
364 /*
365 * Set up for accessing the second cache line.
366 */
367
368 //Move the pointer we're reading into to the correct location.

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

566
567 //If there's a fault or we don't need to access a second cache line,
568 //stop now.
569 if (fault != NoFault || secondAddr <= addr)
570 {
571 // If the write needs to have a fault on the access, consider
572 // calling changeStatus() and changing it to "bad addr write"
573 // or something.
574 if (traceData) {
575 traceData->setData(data);
576 }
577 return fault;
578 }
579
580 /*
581 * Set up for accessing the second cache line.
582 */
583
584 //Move the pointer we're reading into to the correct location.

--- 258 unchanged lines hidden ---