projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ffd88a
)
Simple CPU fix simple mistake in translateDataWriteAddr.
author
Gabe Black
<gblack@eecs.umich.edu>
Tue, 20 Nov 2007 23:37:56 +0000
(15:37 -0800)
committer
Gabe Black
<gblack@eecs.umich.edu>
Tue, 20 Nov 2007 23:37:56 +0000
(15:37 -0800)
--HG--
extra : convert_revision :
6a6a7d05f62d9d9868be0707e4dc186a5f7ecf7d
src/cpu/simple/atomic.cc
patch
|
blob
|
history
diff --git
a/src/cpu/simple/atomic.cc
b/src/cpu/simple/atomic.cc
index 9d7181cea8dbb6fe11cf965b9f96d1a52c267488..aead5aadaf8bc7dafb338438b8f90ce7cd6b3506 100644
(file)
--- 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);