Searched hist:12994 (Results 1 - 2 of 2) sorted by relevance
/gem5/src/systemc/core/ | ||
H A D | sc_process_handle.cc | diff 12994:afce27405f70 Sat Jul 21 01:13:00 EDT 2018 Gabe Black <gabeblack@google.com> systemc: Fix a "problem" with kill/reset exceptions. Despite what it says in the spec, the proc_ctrl compliance test throws a copy of the reset exception it catches, not the original. Because of that, the code in the kernel which catches the exception gets the base class, not the derived class with overridden virtual methods, etc. This happens to work for the Accellera implementation because they manipulate members of the base class itself which are preserved despite this bug. To make the test work, we imitate their implementation, even though it exposes more implementation details through the header files. Change-Id: I7ed9818c0552869ec790cb7f7bfbe365ade5e49c Reviewed-on: https://gem5-review.googlesource.com/12045 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com> |
/gem5/src/systemc/ext/core/ | ||
H A D | sc_process_handle.hh | diff 12994:afce27405f70 Sat Jul 21 01:13:00 EDT 2018 Gabe Black <gabeblack@google.com> systemc: Fix a "problem" with kill/reset exceptions. Despite what it says in the spec, the proc_ctrl compliance test throws a copy of the reset exception it catches, not the original. Because of that, the code in the kernel which catches the exception gets the base class, not the derived class with overridden virtual methods, etc. This happens to work for the Accellera implementation because they manipulate members of the base class itself which are preserved despite this bug. To make the test work, we imitate their implementation, even though it exposes more implementation details through the header files. Change-Id: I7ed9818c0552869ec790cb7f7bfbe365ade5e49c Reviewed-on: https://gem5-review.googlesource.com/12045 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com> |
Completed in 11 milliseconds