diff options
author | Gabe Black <gabeblack@google.com> | 2018-08-22 14:28:37 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-09-25 23:55:10 +0000 |
commit | 71eeee982485916df7a849d1ebd67525fac3cd86 (patch) | |
tree | 3b7af0d455776df0a9b0e74448efd33d3f3616d5 /src/mem | |
parent | c42dfdeda8ca198bf076817431f41d24463e1cda (diff) | |
download | gem5-71eeee982485916df7a849d1ebd67525fac3cd86.tar.xz |
systemc: Override notifyWork for timeout/event_and_list sensitivities.
The notifyWork function for SensitivityEventAndList assumes it's
being triggered by an event which is part of its list, but when
SensitivityTimeoutAndEventAndList triggers it might be from an event
or from a timeout. This change overrides notifyWork for that class and
makes it delegate to notifyWork for the subclasses depending on whether
there's an event pointer.
Change-Id: I598af2b78d71ee9934edea10ca7ac5c88149e3f3
Reviewed-on: https://gem5-review.googlesource.com/12247
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/mem')
0 files changed, 0 insertions, 0 deletions