sim: Add a get_config_as_dict to the NullSimObject class.
authorGabe Black <gabeblack@google.com>
Mon, 25 Sep 2017 23:19:16 +0000 (16:19 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 26 Sep 2017 23:47:14 +0000 (23:47 +0000)
Change-Id: I1ba6f6b196b7dfa790d1baaa23640bb3ed73f450
Reviewed-on: https://gem5-review.googlesource.com/4847
Maintainer: Gabe Black <gabeblack@google.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
src/python/m5/params.py

index 0f7d6e091f730f21c4d04fe3fc22448c82fce474..9ca4f2d4dd35571bd518e101ab1322dc35d2d284 100644 (file)
@@ -1721,6 +1721,9 @@ class NullSimObject(object):
         return
         yield None
 
+    def get_config_as_dict(self):
+        return {}
+
     def __str__(self):
         return self._name