summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/simple/atomic.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/simple/atomic.cc b/src/cpu/simple/atomic.cc
index 9d7181cea..aead5aada 100644
--- a/src/cpu/simple/atomic.cc
+++ b/src/cpu/simple/atomic.cc
@@ -609,7 +609,7 @@ AtomicSimpleCPU::translateDataWriteAddr(Addr vaddr, Addr &paddr,
dcache_latency = 0;
while(1) {
- req->setVirt(0, vaddr, flags, flags, thread->readPC());
+ req->setVirt(0, vaddr, dataSize, flags, thread->readPC());
// translate to physical address
Fault fault = thread->translateDataWriteReq(req);