From 4e5a1fafb7dd5c5cbfa060c9543a498bc56e8a9e Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 25 Sep 2017 15:35:14 -0700 Subject: [PATCH] sim: Add a clear_parent function to NullSimObject. Change-Id: I3842176f147997105fcc62aaf9cb93b9896708be Reviewed-on: https://gem5-review.googlesource.com/4843 Reviewed-by: Jason Lowe-Power Maintainer: Gabe Black --- src/python/m5/params.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/python/m5/params.py b/src/python/m5/params.py index 7a28e63c7..6c3c47e95 100644 --- a/src/python/m5/params.py +++ b/src/python/m5/params.py @@ -1713,6 +1713,9 @@ class NullSimObject(object): def set_parent(self, parent, name): pass + def clear_parent(self, old_parent): + pass + def __str__(self): return 'Null' -- 2.30.2