cpu: Pass the address to check into the PCEventQueue service method.
authorGabe Black <gabeblack@google.com>
Thu, 10 Oct 2019 03:14:21 +0000 (20:14 -0700)
committerGabe Black <gabeblack@google.com>
Fri, 25 Oct 2019 22:42:31 +0000 (22:42 +0000)
commit21b58d19ad2996d34da9d3143f47059636c6cd84
treebfd49c42bcdcc0d0543c5643003de9bb36cb748a
parent6f42417144fe1a2e3ca37a3b419a57fc825030e2
cpu: Pass the address to check into the PCEventQueue service method.

This prevents having to access it from within the ThreadContext.

Change-Id: I34f5815a11201b8fc41871c18bdbbcd0f40305cf
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22102
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/checker/cpu_impl.hh
src/cpu/minor/execute.cc
src/cpu/o3/commit_impl.hh
src/cpu/pc_event.cc
src/cpu/pc_event.hh
src/cpu/simple/base.cc