dev-arm: Introduce the active boolean for ArmInterruptPin
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 28 Jul 2020 08:27:24 +0000 (09:27 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 30 Jul 2020 15:44:23 +0000 (15:44 +0000)
commit36d30e1294f3365de72b249b71692b5c155115da
treea671a413a74829bcdc3748af9a170946c1a7e853
parent78bccaf7a822b846672a73f3bb3caa3bdad0237c
dev-arm: Introduce the active boolean for ArmInterruptPin

The active boolean will specify if the interrupt line is active
or not (high if it is active high or low if it is active low).

This is decoupled from the interrupt being in a pending state
within the GIC, and it can be used by a peripheral to query the
status of its interrupt pin

Change-Id: I18445b891a75767c8a72e9a7044d6d75fdb7e224
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/31934
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/dev/arm/base_gic.cc
src/dev/arm/base_gic.hh