aboutsummaryrefslogtreecommitdiff
path: root/target-microblaze/cpu-qom.h
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@xilinx.com>2015-05-29 16:30:43 +1000
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>2015-06-21 17:20:15 +1000
commit9aaaa181949e4a23ca298fb7006e2d8bac842e92 (patch)
treeaa9dd2fd75c9f98e80950fc56bba2902550854bd /target-microblaze/cpu-qom.h
parent8bac22423e4c3b70082dd6c1b492ccf21f3b5a0c (diff)
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 <alistair.francis@xilinx.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'target-microblaze/cpu-qom.h')
-rw-r--r--target-microblaze/cpu-qom.h5
1 files changed, 5 insertions, 0 deletions
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;