diff options
author | Gabe Black <gabeblack@google.com> | 2018-07-16 20:23:21 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-09-05 06:07:32 +0000 |
commit | 746c1eaa72dbce46899459f988336485190897c2 (patch) | |
tree | 8a34b6de21bb90726863268f26f56590ce4de7b0 /site_scons | |
parent | e02b2a3d3b0d2d56e7a968269da022cbe68f7ca2 (diff) | |
download | gem5-746c1eaa72dbce46899459f988336485190897c2.tar.xz |
systemc: Implement sc_get_current_process_handle's other personality.
When run during simulation, sc_get_current_process_handle returns a
handle for the currently running process or a invalid handle if no
process is running (ie sc_main is running).
When run during elaboration, it returns a handle to the most recently
created process. This second context is what this change handles.
Change-Id: I3fb247b9b7bf83891c782966cfef474753159158
Reviewed-on: https://gem5-review.googlesource.com/12030
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'site_scons')
0 files changed, 0 insertions, 0 deletions