Not so recent evolution of the PowerPC and POWER architectures have defined
authormiod <miod@openbsd.org>
Thu, 19 May 2022 05:43:48 +0000 (05:43 +0000)
committermiod <miod@openbsd.org>
Thu, 19 May 2022 05:43:48 +0000 (05:43 +0000)
commit668a5b4e2b25762e05d60f8e3a7572b302e31b07
treed06e4dcced9036b6cef128b8507bb8e1688eed02
parent19c7e219dd083aed1d0ab246a0c1a2dbc9fb2969
Not so recent evolution of the PowerPC and POWER architectures have defined
exception addresses past EXC_LAST, making its definition wrong.

Replace it with EXC_END, which points to the end of hardware exception
addresses, and adjust logic accordingly.

ok kettenis@
sys/arch/macppc/macppc/machdep.c
sys/arch/powerpc/include/trap.h
sys/arch/powerpc64/include/trap.h
sys/arch/powerpc64/powerpc64/machdep.c