arch-arm: Move breakpoint/watchpoint check out of the TLB
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 7 Jul 2020 14:30:22 +0000 (15:30 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 13 Jul 2020 13:56:41 +0000 (13:56 +0000)
commit7884d5296dc694100c622470970b18a1dd5c3f71
treec724179a450f15b84263b03fe9e120c4800fe836
parent2df992b53cdb94b3f678b33bb3afb9a9441fe710
arch-arm: Move breakpoint/watchpoint check out of the TLB

The breakpoint, watchpoint, vector catch and software step checks
have been moved from the TLB to the SelfDebug class.

This is cleaningup the TLB model which is simply asking the SelfDebug
class if there is a pending debug fault

Change-Id: I1724896b24e4728b32a6b46c5cd51cc6ef279fd7
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/31079
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/self_debug.cc
src/arch/arm/self_debug.hh
src/arch/arm/tlb.cc