summaryrefslogtreecommitdiff
path: root/src/systemc/core/scheduler.cc
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-07-20 22:13:14 -0700
committerGabe Black <gabeblack@google.com>2018-09-11 21:46:22 +0000
commite58072108f137f28fa08c67602d165f53d4f03cf (patch)
treeb1c79b899993972b479309801bfa9381dc162bec /src/systemc/core/scheduler.cc
parent1fc84b480c30a7ba43f24854c62fbc6ddadc5fcd (diff)
downloadgem5-e58072108f137f28fa08c67602d165f53d4f03cf.tar.xz
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>
Diffstat (limited to 'src/systemc/core/scheduler.cc')
0 files changed, 0 insertions, 0 deletions