summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-11-22 23:09:27 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-11-22 23:09:27 -0500
commitf85082e0a00ff7ba9caf79a58f41c6c4e351cd9d (patch)
treeb6070e39d2895d4db80413344492f07904359982 /src/python
parent0a99750ebfe9a9b400ee5f0610ed429851345c4b (diff)
downloadgem5-f85082e0a00ff7ba9caf79a58f41c6c4e351cd9d.tar.xz
Added a parameter to set memory to zero. This is to support Legion, and once we can make our own hypervisor binary, we probably won't need it.
--HG-- extra : convert_revision : 168883e4a5d3760962cd9759a6f41c66f5a6402a
Diffstat (limited to 'src/python')
-rw-r--r--src/python/m5/objects/PhysicalMemory.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/python/m5/objects/PhysicalMemory.py b/src/python/m5/objects/PhysicalMemory.py
index 4e097543d..b8df6229e 100644
--- a/src/python/m5/objects/PhysicalMemory.py
+++ b/src/python/m5/objects/PhysicalMemory.py
@@ -9,6 +9,7 @@ class PhysicalMemory(MemObject):
range = Param.AddrRange(AddrRange('128MB'), "Device Address")
file = Param.String('', "memory mapped file")
latency = Param.Latency(Parent.clock, "latency of an access")
+ zero = Param.Bool(False, "zero initialize memory")
class DRAMMemory(PhysicalMemory):
type = 'DRAMMemory'