diff options
author | Nathan Binkert <binkertn@umich.edu> | 2007-06-10 13:52:21 -0700 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2007-06-10 13:52:21 -0700 |
commit | 961f8382f6cb1473420ac82301d7173e878be69c (patch) | |
tree | 7976d4a8261a92dd78921e5a785b241e0c12c094 /src/python/swig | |
parent | fc4ab050b4940138a4288c416f3bfa9dc442c7b6 (diff) | |
download | gem5-961f8382f6cb1473420ac82301d7173e878be69c.tar.xz |
Add a function to get a SimObject's memory mode and rework
the set memory mode code to only go through the change if
it is necessary
--HG--
extra : convert_revision : 28288227bb56b0a04d756776eaf0a4ff9e1f8c20
Diffstat (limited to 'src/python/swig')
-rw-r--r-- | src/python/swig/sim_object.i | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/python/swig/sim_object.i b/src/python/swig/sim_object.i index b2af72c61..a1737c438 100644 --- a/src/python/swig/sim_object.i +++ b/src/python/swig/sim_object.i @@ -66,6 +66,7 @@ class System { private: System(); public: + SimObject::MemoryMode getMemoryMode(); void setMemoryMode(SimObject::MemoryMode mode); }; |