diff options
author | Andrew Schultz <alschult@umich.edu> | 2004-06-30 09:47:23 -0400 |
---|---|---|
committer | Andrew Schultz <alschult@umich.edu> | 2004-06-30 09:47:23 -0400 |
commit | bdf9044d9d6de614e546995fbf1ca82be684508e (patch) | |
tree | fcddac6cb90b6d452ccd4d11f54ec7dbdbe2e512 /cpu | |
parent | 75ed8090bf34c38123c779a7f040108268d32a1b (diff) | |
download | gem5-bdf9044d9d6de614e546995fbf1ca82be684508e.tar.xz |
Change assert to check on virtual addresses because the physical
address can be zero for a copy
--HG--
extra : convert_revision : c6089969396aee2d67fa695a31cb7c5aea794338
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/simple_cpu/simple_cpu.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/simple_cpu/simple_cpu.cc b/cpu/simple_cpu/simple_cpu.cc index bf4cbfbe2..8ed2247ae 100644 --- 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->copySrcPhysAddr); + assert(xc->copySrcAddr); memReq->reset(dest, blk_size); // translate to physical address Fault fault = xc->translateDataWriteReq(memReq); |