[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 1/6] target-microblaze: Fix up indentation
From: |
Alistair Francis |
Subject: |
[Qemu-devel] [PATCH v3 1/6] target-microblaze: Fix up indentation |
Date: |
Fri, 29 May 2015 16:29:28 +1000 |
Fix up the incorrect indentation level in the helper_stackprot() function.
Signed-off-by: Alistair Francis <address@hidden>
Reviewed-by: Peter Crosthwaite <address@hidden>
Reviewed-by: Edgar E. Iglesias <address@hidden>
---
target-microblaze/op_helper.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/target-microblaze/op_helper.c b/target-microblaze/op_helper.c
index a4c8f04..d2b3624 100644
--- a/target-microblaze/op_helper.c
+++ b/target-microblaze/op_helper.c
@@ -468,11 +468,11 @@ void helper_memalign(CPUMBState *env, uint32_t addr,
uint32_t dr, uint32_t wr,
void helper_stackprot(CPUMBState *env, uint32_t addr)
{
if (addr < env->slr || addr > env->shr) {
- qemu_log("Stack protector violation at %x %x %x\n",
- addr, env->slr, env->shr);
- env->sregs[SR_EAR] = addr;
- env->sregs[SR_ESR] = ESR_EC_STACKPROT;
- helper_raise_exception(env, EXCP_HW_EXCP);
+ qemu_log("Stack protector violation at %x %x %x\n",
+ addr, env->slr, env->shr);
+ env->sregs[SR_EAR] = addr;
+ env->sregs[SR_ESR] = ESR_EC_STACKPROT;
+ helper_raise_exception(env, EXCP_HW_EXCP);
}
}
--
1.7.1
- [Qemu-devel] [PATCH v3 0/6] Add Microblaze configuration options, Alistair Francis, 2015/05/29
- [Qemu-devel] [PATCH v3 1/6] target-microblaze: Fix up indentation,
Alistair Francis <=
- [Qemu-devel] [PATCH v3 2/6] target-microblaze: Preserve the pvr registers during reset, Alistair Francis, 2015/05/29
- [Qemu-devel] [PATCH v3 3/6] target-microblaze: Allow the stack protection to be disabled, Alistair Francis, 2015/05/29
- [Qemu-devel] [PATCH v3 5/6] target-microblaze: Convert use-fpu to a CPU property, Alistair Francis, 2015/05/29
- [Qemu-devel] [PATCH v3 6/6] target-microblaze: Disable stack protection by default, Alistair Francis, 2015/05/29
- [Qemu-devel] [PATCH v3 4/6] target-microblaze: Tidy up the base-vectors property, Alistair Francis, 2015/05/29
- Re: [Qemu-devel] [PATCH v3 0/6] Add Microblaze configuration options, Edgar E. Iglesias, 2015/05/29