target-microblaze: Fix up indentation
Fix up the incorrect indentation level in the helper_stackprot() function. Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
This commit is contained in:
parent
d87636b18f
commit
53432dc9ea
|
@ -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)
|
void helper_stackprot(CPUMBState *env, uint32_t addr)
|
||||||
{
|
{
|
||||||
if (addr < env->slr || addr > env->shr) {
|
if (addr < env->slr || addr > env->shr) {
|
||||||
qemu_log("Stack protector violation at %x %x %x\n",
|
qemu_log("Stack protector violation at %x %x %x\n",
|
||||||
addr, env->slr, env->shr);
|
addr, env->slr, env->shr);
|
||||||
env->sregs[SR_EAR] = addr;
|
env->sregs[SR_EAR] = addr;
|
||||||
env->sregs[SR_ESR] = ESR_EC_STACKPROT;
|
env->sregs[SR_ESR] = ESR_EC_STACKPROT;
|
||||||
helper_raise_exception(env, EXCP_HW_EXCP);
|
helper_raise_exception(env, EXCP_HW_EXCP);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue