target/ppc: Make powerpc_excp() prototype public
In order to move TCG specific code dependent on powerpc_excp() in the next commit, expose its prototype in "internal.h". Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com> Message-ID: <20250127102620.39159-14-philmd@linaro.org> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
This commit is contained in:
parent
b8d6a858fe
commit
92c787de34
@ -1571,7 +1571,7 @@ static inline void powerpc_excp_books(PowerPCCPU *cpu, int excp)
|
|||||||
}
|
}
|
||||||
#endif /* TARGET_PPC64 */
|
#endif /* TARGET_PPC64 */
|
||||||
|
|
||||||
static void powerpc_excp(PowerPCCPU *cpu, int excp)
|
void powerpc_excp(PowerPCCPU *cpu, int excp)
|
||||||
{
|
{
|
||||||
CPUPPCState *env = &cpu->env;
|
CPUPPCState *env = &cpu->env;
|
||||||
|
|
||||||
|
@ -291,6 +291,8 @@ bool ppc_cpu_debug_check_breakpoint(CPUState *cs);
|
|||||||
bool ppc_cpu_debug_check_watchpoint(CPUState *cs, CPUWatchpoint *wp);
|
bool ppc_cpu_debug_check_watchpoint(CPUState *cs, CPUWatchpoint *wp);
|
||||||
|
|
||||||
G_NORETURN void powerpc_checkstop(CPUPPCState *env, const char *reason);
|
G_NORETURN void powerpc_checkstop(CPUPPCState *env, const char *reason);
|
||||||
|
void powerpc_excp(PowerPCCPU *cpu, int excp);
|
||||||
|
|
||||||
#endif /* !CONFIG_USER_ONLY */
|
#endif /* !CONFIG_USER_ONLY */
|
||||||
|
|
||||||
FIELD(GER_MSK, XMSK, 0, 4)
|
FIELD(GER_MSK, XMSK, 0, 4)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user