summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-11-20 15:37:56 -0800
committerGabe Black <gblack@eecs.umich.edu>2007-11-20 15:37:56 -0800
commita12d5975cc8ea9462c731f58c0a950a8d3e44409 (patch)
tree14715cc8a367894e4747b1a5d49b804f201445bc /src
parent7ffd88a54b606929de3f7d401b22ad9f1bd1c81b (diff)
downloadgem5-a12d5975cc8ea9462c731f58c0a950a8d3e44409.tar.xz
Simple CPU fix simple mistake in translateDataWriteAddr.
--HG-- extra : convert_revision : 6a6a7d05f62d9d9868be0707e4dc186a5f7ecf7d
Diffstat (limited to 'src')
-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);