[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 14/14] target/ppc: 405: Watchdog timer exception cleanup
From: |
Fabiano Rosas |
Subject: |
[PATCH v2 14/14] target/ppc: 405: Watchdog timer exception cleanup |
Date: |
Tue, 18 Jan 2022 15:44:48 -0300 |
Remove references to BookE.
Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>
---
target/ppc/excp_helper.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/target/ppc/excp_helper.c b/target/ppc/excp_helper.c
index 2efec6d13b..a22b783ecb 100644
--- a/target/ppc/excp_helper.c
+++ b/target/ppc/excp_helper.c
@@ -396,7 +396,6 @@ static void powerpc_excp_40x(PowerPCCPU *cpu, int excp)
{
CPUState *cs = CPU(cpu);
CPUPPCState *env = &cpu->env;
- int excp_model = env->excp_model;
target_ulong msr, new_msr, vector;
int srr0, srr1;
@@ -511,14 +510,6 @@ static void powerpc_excp_40x(PowerPCCPU *cpu, int excp)
break;
case POWERPC_EXCP_WDT: /* Watchdog timer interrupt */
trace_ppc_excp_print("WDT");
- switch (excp_model) {
- case POWERPC_EXCP_BOOKE:
- srr0 = SPR_BOOKE_CSRR0;
- srr1 = SPR_BOOKE_CSRR1;
- break;
- default:
- break;
- }
break;
case POWERPC_EXCP_DTLB: /* Data TLB error */
case POWERPC_EXCP_ITLB: /* Instruction TLB error */
--
2.33.1
- Re: [PATCH v2 06/14] target/ppc: 405: Machine check exception cleanup, (continued)
- [PATCH v2 05/14] target/ppc: 405: Critical exceptions cleanup, Fabiano Rosas, 2022/01/18
- [PATCH v2 14/14] target/ppc: 405: Watchdog timer exception cleanup,
Fabiano Rosas <=
- [PATCH v2 10/14] target/ppc: 405: Debug exception cleanup, Fabiano Rosas, 2022/01/18
- [PATCH v2 04/14] target/ppc: Simplify powerpc_excp_40x, Fabiano Rosas, 2022/01/18
- [PATCH v2 07/14] target/ppc: 405: External exception cleanup, Fabiano Rosas, 2022/01/18
- [PATCH v2 11/14] target/ppc: 405: Data Storage exception cleanup, Fabiano Rosas, 2022/01/18