diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2003-10-23 19:09:18 -0700 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2003-10-23 19:09:18 -0700 |
commit | cc9a838f4c5a5bf5e8951bdb351fc7d4b74661fb (patch) | |
tree | 1bae8b1b09fcc39d04631c84beaf51f830938372 /sim/system.hh | |
parent | 320540829d62f9c5a5290a8c9bd991fda297a210 (diff) | |
parent | 6e2fc8ce766d1f9cb601b4a2a15d1ba294ce97a5 (diff) | |
download | gem5-cc9a838f4c5a5bf5e8951bdb351fc7d4b74661fb.tar.xz |
Merge stever@zizzer:/bk/m5 into isabel.reinhardt.house:/z/stever/bk/m5
--HG--
extra : convert_revision : b0f93bd35d767fd3a520a9fed70a71d40b0056db
Diffstat (limited to 'sim/system.hh')
-rw-r--r-- | sim/system.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sim/system.hh b/sim/system.hh index f10b70a4e..081aa3eb7 100644 --- a/sim/system.hh +++ b/sim/system.hh @@ -52,16 +52,16 @@ class System : public SimObject PCEventQueue pcEventQueue; - std::vector<ExecContext *> xcvec; - void registerExecContext(ExecContext *xc); + std::vector<ExecContext *> execContexts; + + virtual int registerExecContext(ExecContext *xc); + virtual void replaceExecContext(int xcIndex, ExecContext *xc); public: System(const std::string _name, const uint64_t _init_param, MemoryController *, PhysicalMemory *); ~System(); - virtual void init(ExecContext *xc) = 0; - virtual Addr getKernelStart() const = 0; virtual Addr getKernelEnd() const = 0; virtual Addr getKernelEntry() const = 0; |