diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-11-22 23:09:27 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-11-22 23:09:27 -0500 |
commit | f85082e0a00ff7ba9caf79a58f41c6c4e351cd9d (patch) | |
tree | b6070e39d2895d4db80413344492f07904359982 /src/python | |
parent | 0a99750ebfe9a9b400ee5f0610ed429851345c4b (diff) | |
download | gem5-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.py | 1 |
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' |