From f8538f7456f76cf1eaf30c0ed73abfaf22c1d5a9 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Sun, 10 Jul 2011 12:56:08 -0500 Subject: IO: Handle case where ISA Fake device is being used as a fake memory. --- src/dev/Device.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/dev/Device.py') 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 -- cgit v1.2.3