summaryrefslogtreecommitdiff
path: root/target-microblaze
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@xilinx.com>2015-05-29 16:32:35 +1000
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>2015-06-21 17:20:15 +1000
commitf44c475cb6ded298486a589c4205ab70e485b48c (patch)
tree40aa991c62f806c84d0b3eb947d6fb0da65b8c4a /target-microblaze
parent4e5d45ae5756123b3b7000c8b0b3d3a9ea4737da (diff)
downloadqemu-f44c475cb6ded298486a589c4205ab70e485b48c.tar.gz
qemu-f44c475cb6ded298486a589c4205ab70e485b48c.tar.bz2
qemu-f44c475cb6ded298486a589c4205ab70e485b48c.zip
target-microblaze: Disable stack protection by default
Stack protection is not available when the MMU is enabled. As the MMU is enabled by default, disable stack protection by default. Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'target-microblaze')
-rw-r--r--target-microblaze/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-microblaze/cpu.c b/target-microblaze/cpu.c
index b857056a33..13ae49a6f0 100644
--- a/target-microblaze/cpu.c
+++ b/target-microblaze/cpu.c
@@ -162,7 +162,7 @@ static const VMStateDescription vmstate_mb_cpu = {
static Property mb_properties[] = {
DEFINE_PROP_UINT32("base-vectors", MicroBlazeCPU, cfg.base_vectors, 0),
DEFINE_PROP_BOOL("use-stack-protection", MicroBlazeCPU, cfg.stackprot,
- true),
+ false),
/* If use-fpu > 0 - FPU is enabled
* If use-fpu = 2 - Floating point conversion and square root instructions
* are enabled