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.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user