aboutsummaryrefslogtreecommitdiff
path: root/target-microblaze/cpu-qom.h
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@xilinx.com>2015-05-29 16:31:20 +1000
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>2015-06-21 17:20:15 +1000
commitf27183abaaaf48e9d1f8469c7e99a987444f4410 (patch)
treeed7cc8ce578f35b6c9d0314ee1a331039aa08685 /target-microblaze/cpu-qom.h
parent9aaaa181949e4a23ca298fb7006e2d8bac842e92 (diff)
target-microblaze: Tidy up the base-vectors property
Rename the "xlnx.base-vectors" string to "base-vectors" and move the base_vectors variable into the cfg struct. Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/target-microblaze/cpu-qom.h b/target-microblaze/cpu-qom.h
index e08adb9e02..dd04199096 100644
--- a/target-microblaze/cpu-qom.h
+++ b/target-microblaze/cpu-qom.h
@@ -56,12 +56,13 @@ typedef struct MicroBlazeCPUClass {
typedef struct MicroBlazeCPU {
/*< private >*/
CPUState parent_obj;
- uint32_t base_vectors;
+
/*< public >*/
/* Microblaze Configuration Settings */
struct {
bool stackprot;
+ uint32_t base_vectors;
} cfg;
CPUMBState env;