[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 52/72] target/ppc: Make powerpc_excp() prototype public
From: |
Nicholas Piggin |
Subject: |
[PULL 52/72] target/ppc: Make powerpc_excp() prototype public |
Date: |
Tue, 11 Mar 2025 22:57:46 +1000 |
From: Philippe Mathieu-Daudé <philmd@linaro.org>
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>
---
target/ppc/excp_helper.c | 2 +-
target/ppc/internal.h | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/target/ppc/excp_helper.c b/target/ppc/excp_helper.c
index 659852543f..9ba5335698 100644
--- a/target/ppc/excp_helper.c
+++ b/target/ppc/excp_helper.c
@@ -1571,7 +1571,7 @@ static inline void powerpc_excp_books(PowerPCCPU *cpu,
int excp)
}
#endif /* TARGET_PPC64 */
-static void powerpc_excp(PowerPCCPU *cpu, int excp)
+void powerpc_excp(PowerPCCPU *cpu, int excp)
{
CPUPPCState *env = &cpu->env;
diff --git a/target/ppc/internal.h b/target/ppc/internal.h
index 62186bc1e6..9012d3809c 100644
--- a/target/ppc/internal.h
+++ b/target/ppc/internal.h
@@ -291,6 +291,8 @@ bool ppc_cpu_debug_check_breakpoint(CPUState *cs);
bool ppc_cpu_debug_check_watchpoint(CPUState *cs, CPUWatchpoint *wp);
G_NORETURN void powerpc_checkstop(CPUPPCState *env, const char *reason);
+void powerpc_excp(PowerPCCPU *cpu, int excp);
+
#endif /* !CONFIG_USER_ONLY */
FIELD(GER_MSK, XMSK, 0, 4)
--
2.47.1
- [PULL 35/72] qtest/xive: Change printf to g_test_message, (continued)
- [PULL 35/72] qtest/xive: Change printf to g_test_message, Nicholas Piggin, 2025/03/11
- [PULL 46/72] target/ppc: Ensure powerpc_mcheck_checkstop() is only called under TCG, Nicholas Piggin, 2025/03/11
- [PULL 36/72] qtest/xive: Add test of pool interrupts, Nicholas Piggin, 2025/03/11
- [PULL 42/72] ppc/pnv: Add new PowerPC Special Purpose Registers (RWMR), Nicholas Piggin, 2025/03/11
- [PULL 45/72] target/ppc: Move ppc_ldl_code() to tcg-excp_helper.c, Nicholas Piggin, 2025/03/11
- [PULL 41/72] hw/ppc/spapr: Restrict CONFER hypercall to TCG, Nicholas Piggin, 2025/03/11
- [PULL 44/72] target/ppc: Move TCG specific exception handlers to tcg-excp_helper.c, Nicholas Piggin, 2025/03/11
- [PULL 38/72] hw/ssi/pnv_spi: Use local var seq_index instead of get_seq_index()., Nicholas Piggin, 2025/03/11
- [PULL 43/72] target/ppc: Make ppc_ldl_code() declaration public, Nicholas Piggin, 2025/03/11
- [PULL 49/72] target/ppc: Restrict exception helpers to TCG, Nicholas Piggin, 2025/03/11
- [PULL 52/72] target/ppc: Make powerpc_excp() prototype public,
Nicholas Piggin <=
- [PULL 53/72] target/ppc: Restrict ATTN / SCV / PMINSN helpers to TCG, Nicholas Piggin, 2025/03/11
- [PULL 54/72] hw/ppc/spapr: Convert HPTE() macro as hpte_get_ptr() method, Nicholas Piggin, 2025/03/11
- [PULL 55/72] hw/ppc/spapr: Convert HPTE_VALID() macro as hpte_is_valid() method, Nicholas Piggin, 2025/03/11
- [PULL 56/72] hw/ppc/spapr: Convert HPTE_DIRTY() macro as hpte_is_dirty() method, Nicholas Piggin, 2025/03/11
- [PULL 65/72] target/ppc: Avoid warning message for zero process table entries, Nicholas Piggin, 2025/03/11
- [PULL 63/72] target/ppc: fix timebase register reset state, Nicholas Piggin, 2025/03/11
- [PULL 72/72] docs/system/ppc/amigang.rst: Update for NVRAM emulation, Nicholas Piggin, 2025/03/11
- [PULL 67/72] ppc/amigaone: Simplify replacement dummy_fw, Nicholas Piggin, 2025/03/11
- [PULL 40/72] hw/ssi/pnv_spi: Put a limit to RDR match failures, Nicholas Piggin, 2025/03/11
- [PULL 50/72] target/ppc: Restrict various common helpers to TCG, Nicholas Piggin, 2025/03/11