summaryrefslogtreecommitdiff
path: root/mem/physical.hh
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.hh
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.hh')
-rw-r--r--mem/physical.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/mem/physical.hh b/mem/physical.hh
index a98c52212..156a4da1d 100644
--- a/mem/physical.hh
+++ b/mem/physical.hh
@@ -64,6 +64,7 @@ class PhysicalMemory : public Memory
void prot_access_error(Addr addr, int size, const std::string &func);
public:
+ virtual int deviceBlockSize();
// Read/Write arbitrary amounts of data to simulated memory space
virtual void prot_read(Addr addr, uint8_t *p, int size);