From d5f5fbb855e8de8c64444dd02f0ed7c27866578c Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Tue, 7 Jul 2015 09:51:04 +0100 Subject: sim: Move mem(Writeback|Invalidate) to SimObject The memWriteback() and memInvalidate() calls used to live in the Serializable interface. In this series of patches, the Serializable interface will be redesigned to make serialization independent of the object graph and always work on the entire simulator. This means that the Serialization interface won't be useful to perform maintenance of the caches in a sub-graph of the entire SimObject graph. This changeset moves these memory maintenance methods to the SimObject interface instead. --- src/python/m5/SimObject.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/python') diff --git a/src/python/m5/SimObject.py b/src/python/m5/SimObject.py index 4a509e57d..26463f644 100644 --- a/src/python/m5/SimObject.py +++ b/src/python/m5/SimObject.py @@ -922,6 +922,8 @@ class SimObject(object): void init(); void loadState(CheckpointIn &cp); void initState(); + void memInvalidate(); + void memWriteback(); void regStats(); void resetStats(); void regProbePoints(); -- cgit v1.2.3