diff options
author | Nathan Binkert <binkertn@umich.edu> | 2004-02-09 10:49:48 -0500 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2004-02-09 10:49:48 -0500 |
commit | da8a7022126eef87d4007b7135aa89c559eb6747 (patch) | |
tree | b530dacb04283ab81e6a12beaa4a016f79c3d439 /base | |
parent | 087334bfe5c49e44d13e6b120691bd73002c7c71 (diff) | |
download | gem5-da8a7022126eef87d4007b7135aa89c559eb6747.tar.xz |
- Whack unused code
- Make the MemoryController use address ranges (via Range) instead
of an address and a mask
base/remote_gdb.cc:
reflect name change
dev/alpha_access.h:
better include
dev/alpha_console.cc:
- FunctionalMemory no longer takes care of mapping my address into
the proper address space. It must be done locally.
- the memory controller no longer uses a mask, but a size, and the
size is determined by the device, not the .ini file
- fix up address calculations to reflect the removal of a mask
- PhysicalMemory::getSize() -> PhysicalMemory::size()
dev/alpha_console.hh:
- FunctionalMemory no longer takes care of mapping my address into
the proper address space. It must be done locally.
- the memory controller no longer uses a mask, but a size, and the
size is determined by the device, not the .ini file
- fix up address calculations to reflect the removal of a mask
- get rid of MmapDevice and inherit from FunctionalMemory
--HG--
extra : convert_revision : e3a65c9debf6f899632d62c70781cbdc2826616b
Diffstat (limited to 'base')
-rw-r--r-- | base/remote_gdb.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/remote_gdb.cc b/base/remote_gdb.cc index e701b5a01..e20800d12 100644 --- a/base/remote_gdb.cc +++ b/base/remote_gdb.cc @@ -338,7 +338,7 @@ RemoteGDB::acc(Addr va, size_t len) } if (va < ALPHA_K1SEG_BASE) { - if (va < (ALPHA_K0SEG_BASE + pmem->getSize())) { + if (va < (ALPHA_K0SEG_BASE + pmem->size())) { DPRINTF(GDBAcc, "acc: Mapping is valid K0SEG <= " "%#x < K0SEG + size\n", va); return true; |