Gabe Black has submitted this change and it was merged. (
https://gem5-review.googlesource.com/4847 )
Change subject: sim: Add a get_config_as_dict to the NullSimObject class.
......................................................................
sim: Add a get_config_as_dict to the NullSimObject class.
Change-Id: I1ba6f6b196b7dfa790d1baaa23640bb3ed73f450
Reviewed-on: https://gem5-review.googlesource.com/4847
Maintainer: Gabe Black <[email protected]>
Reviewed-by: Jason Lowe-Power <[email protected]>
---
M src/python/m5/params.py
1 file changed, 3 insertions(+), 0 deletions(-)
Approvals:
Jason Lowe-Power: Looks good to me, approved
Gabe Black: Looks good to me, approved
diff --git a/src/python/m5/params.py b/src/python/m5/params.py
index 0f7d6e0..9ca4f2d 100644
--- a/src/python/m5/params.py
+++ b/src/python/m5/params.py
@@ -1721,6 +1721,9 @@
return
yield None
+ def get_config_as_dict(self):
+ return {}
+
def __str__(self):
return self._name
--
To view, visit https://gem5-review.googlesource.com/4847
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I1ba6f6b196b7dfa790d1baaa23640bb3ed73f450
Gerrit-Change-Number: 4847
Gerrit-PatchSet: 3
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-Reviewer: Andreas Sandberg <[email protected]>
Gerrit-Reviewer: Gabe Black <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev