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 return fault;
359 }
360
361 /*
362 * Set up for accessing the second cache line.
363 */
364
365 //Move the pointer we're reading into to the correct location.

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

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

--- 258 unchanged lines hidden ---