cpu: IntrControl, clear all and check helpers
authorAdrian Herrera <adrian.herrera@arm.com>
Mon, 9 Dec 2019 20:10:14 +0000 (20:10 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 25 Mar 2020 09:49:20 +0000 (09:49 +0000)
commit700bf943f3244a693468908646cd69b1b2631ce5
treeb0c3dd70bffa57e44ceccc6eeea9d6091f5d9651
parent252560f03a2cba1099564376b2b240e330219270
cpu: IntrControl, clear all and check helpers

This patch extends the IntrControl to provided additional member
functions for (1) clearing all pending interrupts in a PE and (2)
checking for any pending interrupt in a PE. These are intended to
be used from interrupt management related peripherals.

Change-Id: I06b553872ed469e7449b872a0716865773ace154
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/26809
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/intr_control.cc
src/cpu/intr_control.hh