projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75ed809
)
Change assert to check on virtual addresses because the physical
author
Andrew Schultz
<alschult@umich.edu>
Wed, 30 Jun 2004 13:47:23 +0000
(09:47 -0400)
committer
Andrew Schultz
<alschult@umich.edu>
Wed, 30 Jun 2004 13:47:23 +0000
(09:47 -0400)
address can be zero for a copy
--HG--
extra : convert_revision :
c6089969396aee2d67fa695a31cb7c5aea794338
cpu/simple_cpu/simple_cpu.cc
patch
|
blob
|
history
diff --git
a/cpu/simple_cpu/simple_cpu.cc
b/cpu/simple_cpu/simple_cpu.cc
index bf4cbfbe2690bdb2216dc2f150f1e43ce74dbb3e..8ed2247ae9f61d93b65b063ab9512bbd0ce61973 100644
(file)
--- a/
cpu/simple_cpu/simple_cpu.cc
+++ b/
cpu/simple_cpu/simple_cpu.cc
@@
-352,7
+352,7
@@
SimpleCPU::copy(Addr dest)
{
int blk_size = (dcacheInterface) ? dcacheInterface->getBlockSize() : 64;
uint8_t data[blk_size];
- assert(xc->copySrc
Phys
Addr);
+ assert(xc->copySrcAddr);
memReq->reset(dest, blk_size);
// translate to physical address
Fault fault = xc->translateDataWriteReq(memReq);