atomic.cc (5220:8bf8e82fda20) atomic.cc (5278:4c963dc4ab07)
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;

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

604 bool firstTimeThrough = true;
605
606 if(secondAddr > vaddr)
607 dataSize = secondAddr - vaddr;
608
609 dcache_latency = 0;
610
611 while(1) {
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;

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

604 bool firstTimeThrough = true;
605
606 if(secondAddr > vaddr)
607 dataSize = secondAddr - vaddr;
608
609 dcache_latency = 0;
610
611 while(1) {
612 req->setVirt(0, vaddr, flags, flags, thread->readPC());
612 req->setVirt(0, vaddr, dataSize, flags, thread->readPC());
613
614 // translate to physical address
615 Fault fault = thread->translateDataWriteReq(req);
616
617 //If there's a fault or we don't need to access a second cache line,
618 //stop now.
619 if (fault != NoFault)
620 return fault;

--- 203 unchanged lines hidden ---
613
614 // translate to physical address
615 Fault fault = thread->translateDataWriteReq(req);
616
617 //If there's a fault or we don't need to access a second cache line,
618 //stop now.
619 if (fault != NoFault)
620 return fault;

--- 203 unchanged lines hidden ---