diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2011-07-10 12:56:08 -0500 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2011-07-10 12:56:08 -0500 |
commit | f8538f7456f76cf1eaf30c0ed73abfaf22c1d5a9 (patch) | |
tree | 4a5a446082602d7afd5306b8ca96ec153129cdc1 /src/dev/Device.py | |
parent | 60579e8d74cecea5737a4502599ccf77e9e6a35e (diff) | |
download | gem5-f8538f7456f76cf1eaf30c0ed73abfaf22c1d5a9.tar.xz |
IO: Handle case where ISA Fake device is being used as a fake memory.
Diffstat (limited to 'src/dev/Device.py')
-rw-r--r-- | src/dev/Device.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dev/Device.py b/src/dev/Device.py index 4babffa18..bf43449b5 100644 --- a/src/dev/Device.py +++ b/src/dev/Device.py @@ -64,6 +64,8 @@ class IsaFake(BasicPioDevice): ret_bad_addr = Param.Bool(False, "Return pkt status bad address on access") update_data = Param.Bool(False, "Update the data that is returned on writes") warn_access = Param.String("", "String to print when device is accessed") + fake_mem = Param.Bool(False, + "Is this device acting like a memory and thus may get a cache line sized req") class BadAddr(IsaFake): pio_addr = 0 |