target/ppc: split interrupt masking and delivery from ppc_hw_interrupt
authorMatheus Ferst <matheus.ferst@eldorado.org.br>
Tue, 11 Oct 2022 20:48:03 +0000 (17:48 -0300)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Fri, 28 Oct 2022 16:15:22 +0000 (13:15 -0300)
commitde76b85c961378795a9e3044881554b25a4db333
tree27e0aee0cb429c7548bde207f6e861cfe7eff695
parent7b694df6a6deeac8ede0512f983c70463968021a
target/ppc: split interrupt masking and delivery from ppc_hw_interrupt

Split ppc_hw_interrupt into an interrupt masking method,
ppc_next_unmasked_interrupt, and an interrupt processing method,
ppc_deliver_interrupt.

Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Reviewed-by: Fabiano Rosas <farosas@linux.ibm.com>
Message-Id: <20221011204829.1641124-4-matheus.ferst@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
target/ppc/excp_helper.c