diff options
author | Gabe Black <gabeblack@google.com> | 2018-09-07 18:54:49 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-10-09 21:44:17 +0000 |
commit | 110907bae1699e61455334bab40c161ddfc4141d (patch) | |
tree | 1bee1d2604c2b2cad5490000aee45bde76d4eccf /src/sim/init_signals.cc | |
parent | a4b82a86115649cbe403315bf04231d5c9512015 (diff) | |
download | gem5-110907bae1699e61455334bab40c161ddfc4141d.tar.xz |
systemc: Mostly implememt sc_simcontext.
Since we don't track the current process using the sc_curr_proc_handle
structure, we keep one around just to return from the appropriate
accessor, and set its values when it's requested. If the object is
kept around, those values won't change to track changing processes.
From what I see, none of the tests rely on the value tracking the
process beyond the callsight.
Change-Id: I1ad3b7a7b15aa0bc4d218f986ffbe7c51501b296
Reviewed-on: https://gem5-review.googlesource.com/c/12611
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/sim/init_signals.cc')
0 files changed, 0 insertions, 0 deletions