]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/ppc: Remove interrupt handler wrapper functions
authorBALATON Zoltan <balaton@eik.bme.hu>
Tue, 27 Feb 2024 20:21:21 +0000 (21:21 +0100)
committerNicholas Piggin <npiggin@gmail.com>
Tue, 12 Mar 2024 16:47:04 +0000 (02:47 +1000)
commit868cb6bac51376a38b18f432a047242fed840998
treeb00ed752d75c777aed3f7a1e11dcba4462dc8632
parent5ca958cf82058643dfc45dd74a066f4911d651bc
target/ppc: Remove interrupt handler wrapper functions

These wrappers call out to handle POWER7 and newer in separate
functions but reduce to the generic case when TARGET_PPC64 is not
defined. It is easy enough to include the switch in the beginning of
the generic functions to branch out to the specific functions and get
rid of these wrappers. This avoids one indirection and entirely
compiles out the switch without TARGET_PPC64.

Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
target/ppc/excp_helper.c