From 9aaaa181949e4a23ca298fb7006e2d8bac842e92 Mon Sep 17 00:00:00 2001 From: Alistair Francis Date: Fri, 29 May 2015 16:30:43 +1000 Subject: target-microblaze: Allow the stack protection to be disabled Microblaze stack protection is configurable and isn't always enabled. This patch allows the stack protection to be disabled from the CPU properties. Signed-off-by: Alistair Francis Signed-off-by: Edgar E. Iglesias --- target-microblaze/cpu-qom.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'target-microblaze/cpu-qom.h') diff --git a/target-microblaze/cpu-qom.h b/target-microblaze/cpu-qom.h index e3e070159f..e08adb9e02 100644 --- a/target-microblaze/cpu-qom.h +++ b/target-microblaze/cpu-qom.h @@ -59,6 +59,11 @@ typedef struct MicroBlazeCPU { uint32_t base_vectors; /*< public >*/ + /* Microblaze Configuration Settings */ + struct { + bool stackprot; + } cfg; + CPUMBState env; } MicroBlazeCPU; -- cgit v1.2.3