diff options
author | Alistair Francis <alistair.francis@xilinx.com> | 2015-06-18 21:16:38 -0700 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@xilinx.com> | 2015-06-21 17:20:16 +1000 |
commit | 72e38754853443830152a3cfe586db1d9b15e8fe (patch) | |
tree | 98c17fa28b86abdf931ddcb2c978e821934b2845 /target-microblaze/cpu-qom.h | |
parent | a88bbb006a523deabb90245a283d1914abd34e3e (diff) | |
download | qemu-72e38754853443830152a3cfe586db1d9b15e8fe.zip qemu-72e38754853443830152a3cfe586db1d9b15e8fe.tar.gz qemu-72e38754853443830152a3cfe586db1d9b15e8fe.tar.bz2 |
target-microblaze: Convert version_mask to a CPU property
Originally the version_mask PVR bits were manually set for each
machine. This is a hassle and difficult to read, instead set them
based on the CPU properties.
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-microblaze/cpu-qom.h b/target-microblaze/cpu-qom.h index d1d814b..7da25fa 100644 --- a/target-microblaze/cpu-qom.h +++ b/target-microblaze/cpu-qom.h @@ -67,6 +67,7 @@ typedef struct MicroBlazeCPU { bool use_mmu; bool dcache_writeback; bool endi; + char *version; } cfg; CPUMBState env; |