From: Gabe Black Date: Mon, 25 Sep 2017 23:19:16 +0000 (-0700) Subject: sim: Add a get_config_as_dict to the NullSimObject class. X-Git-Tag: v19.0.0.0~2619 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9747cacf97d952ef597328c2c442700d951e26f6;p=gem5.git 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 Reviewed-by: Jason Lowe-Power --- diff --git a/src/python/m5/params.py b/src/python/m5/params.py index 0f7d6e091..9ca4f2d4d 100644 --- a/src/python/m5/params.py +++ b/src/python/m5/params.py @@ -1721,6 +1721,9 @@ class NullSimObject(object): return yield None + def get_config_as_dict(self): + return {} + def __str__(self): return self._name