Searched hist:12960 (Results 1 - 1 of 1) sorted by relevance

/gem5/src/systemc/core/
H A Dsc_process_handle.ccdiff 12960:ff77756883e0 Mon Jul 16 23:23:00 EDT 2018 Gabe Black <gabeblack@google.com> 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>

Completed in 8 milliseconds