summaryrefslogtreecommitdiff
path: root/mem/physical.cc
diff options
context:
space:
mode:
authorRon Dreslinski <rdreslin@umich.edu>2006-02-21 20:04:23 -0500
committerRon Dreslinski <rdreslin@umich.edu>2006-02-21 20:04:23 -0500
commit1fff9f504f0655a5fe87d2fc1962fbb15d8a1a8f (patch)
tree5871b3c123b739184638e88c2053d228cb8c90ed /mem/physical.cc
parent4bd11c10a5b9b5b8ef5cdf75cb9496da6a55c292 (diff)
downloadgem5-1fff9f504f0655a5fe87d2fc1962fbb15d8a1a8f.tar.xz
Some more changes for compilation. Since memset is now part of port and not virtual, no need for memory to define them.
mem/physical.cc: Return 0 for block size. The chunk generator should treat this as a infinite size. mem/physical.hh: Add function prototype mem/port.hh: Fix function to take no arguments mem/translating_port.cc: mem/translating_port.hh: Remove the memsetBlob because it doesn't exist yet. --HG-- extra : convert_revision : dfe352acfc2912ecc9a1ba1863e5666f46b991cc
Diffstat (limited to 'mem/physical.cc')
-rw-r--r--mem/physical.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/mem/physical.cc b/mem/physical.cc
index 031d832dd..4c1743293 100644
--- a/mem/physical.cc
+++ b/mem/physical.cc
@@ -54,7 +54,7 @@ using namespace std;
#if FULL_SYSTEM
PhysicalMemory::PhysicalMemory(const string &n, Range<Addr> range,
MemoryController *mmu, const std::string &fname)
- : FunctionalMemory(n), base_addr(range.start), pmem_size(range.size()),
+ : Memory(n), base_addr(range.start), pmem_size(range.size()),
pmem_addr(NULL)
{
if (pmem_size % TheISA::PageBytes != 0)
@@ -167,8 +167,8 @@ PhysicalMemory::prot_memset(Addr addr, uint8_t val, int size)
int
PhysicalMemory::deviceBlockSize()
{
- //For now the largest accesses we can take are Page Sized
- return VMPageSize;
+ //Can accept anysize request
+ return 0;
}
void