[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 02/17] target-arm: A64: Respect SPSEL in ERET SP
From: |
Edgar E. Iglesias |
Subject: |
[Qemu-devel] [PATCH v2 02/17] target-arm: A64: Respect SPSEL in ERET SP restore |
Date: |
Tue, 10 Jun 2014 01:04:14 +1000 |
From: "Edgar E. Iglesias" <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>
---
target-arm/op_helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target-arm/op_helper.c b/target-arm/op_helper.c
index 90a946a..25ad902 100644
--- a/target-arm/op_helper.c
+++ b/target-arm/op_helper.c
@@ -410,7 +410,7 @@ void HELPER(exception_return)(CPUARMState *env)
}
env->aarch64 = 1;
pstate_write(env, spsr);
- env->xregs[31] = env->sp_el[new_el];
+ aarch64_restore_sp(env, new_el);
env->pc = env->elr_el[cur_el];
}
--
1.8.3.2
- [Qemu-devel] [PATCH v2 00/17] target-arm: Parts of the AArch64 EL2/3 exception model, Edgar E. Iglesias, 2014/06/09
- [Qemu-devel] [PATCH v2 01/17] target-arm: A64: Break out aarch64_save/restore_sp, Edgar E. Iglesias, 2014/06/09
- [Qemu-devel] [PATCH v2 02/17] target-arm: A64: Respect SPSEL in ERET SP restore,
Edgar E. Iglesias <=
- [Qemu-devel] [PATCH v2 03/17] target-arm: A64: Respect SPSEL when taking exceptions, Edgar E. Iglesias, 2014/06/09
- [Qemu-devel] [PATCH v2 04/17] target-arm: Make far_el1 an array, Edgar E. Iglesias, 2014/06/09
- [Qemu-devel] [PATCH v2 05/17] target-arm: Add ESR_EL2 and 3, Edgar E. Iglesias, 2014/06/09
- [Qemu-devel] [PATCH v2 06/17] target-arm: Add FAR_EL2 and 3, Edgar E. Iglesias, 2014/06/09
- [Qemu-devel] [PATCH v2 07/17] target-arm: Add HCR_EL2, Edgar E. Iglesias, 2014/06/09