[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v7 09/64] target/nios2: Remove user-only nios2_cpu_do_interrupt
From: |
Richard Henderson |
Subject: |
[PATCH v7 09/64] target/nios2: Remove user-only nios2_cpu_do_interrupt |
Date: |
Thu, 21 Apr 2022 08:16:40 -0700 |
Since 78271684719, this function is unused for user-only,
when the TCGCPUOps.do_interrupt hook itself became system-only.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/nios2/helper.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/target/nios2/helper.c b/target/nios2/helper.c
index e5c98650e1..678fd96c4e 100644
--- a/target/nios2/helper.c
+++ b/target/nios2/helper.c
@@ -30,14 +30,6 @@
#if defined(CONFIG_USER_ONLY)
-void nios2_cpu_do_interrupt(CPUState *cs)
-{
- Nios2CPU *cpu = NIOS2_CPU(cs);
- CPUNios2State *env = &cpu->env;
- cs->exception_index = -1;
- env->regs[R_EA] = env->regs[R_PC] + 4;
-}
-
void nios2_cpu_record_sigsegv(CPUState *cs, vaddr addr,
MMUAccessType access_type,
bool maperr, uintptr_t retaddr)
--
2.34.1
- [PATCH v7 00/64] nios2 fixes, cleanups, shadow reg sets, Richard Henderson, 2022/04/21
- [PATCH v7 02/64] linux-user/nios2: Fix clone child return, Richard Henderson, 2022/04/21
- [PATCH v7 03/64] linux-user/nios2: Drop syscall 0 "workaround", Richard Henderson, 2022/04/21
- [PATCH v7 04/64] linux-user/nios2: Adjust error return, Richard Henderson, 2022/04/21
- [PATCH v7 01/64] linux-user/nios2: Hoist pc advance to the top of EXCP_TRAP, Richard Henderson, 2022/04/21
- [PATCH v7 05/64] linux-user/nios2: Handle special qemu syscall return values, Richard Henderson, 2022/04/21
- [PATCH v7 06/64] linux-user/nios2: Remove do_sigreturn, Richard Henderson, 2022/04/21
- [PATCH v7 07/64] linux-user/nios2: Use QEMU_ESIGRETURN from do_rt_sigreturn, Richard Henderson, 2022/04/21
- [PATCH v7 09/64] target/nios2: Remove user-only nios2_cpu_do_interrupt,
Richard Henderson <=
- [PATCH v7 08/64] tests/tcg/nios2: Re-enable linux-user tests, Richard Henderson, 2022/04/21
- [PATCH v7 10/64] target/nios2: Remove nios2_cpu_record_sigsegv, Richard Henderson, 2022/04/21
- [PATCH v7 11/64] target/nios2: Build helper.c for system only, Richard Henderson, 2022/04/21
- [PATCH v7 12/64] linux-user/nios2: Use force_sig_fault for EXCP_DEBUG, Richard Henderson, 2022/04/21
- [PATCH v7 13/64] target/nios2: Check supervisor on eret, Richard Henderson, 2022/04/21
- [PATCH v7 14/64] target/nios2: Stop generating code if gen_check_supervisor fails, Richard Henderson, 2022/04/21