mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
target-microblaze: Convert use-mmu to a CPU property
Originally the use-mmu 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>
This commit is contained in:
parent
be67e9ab97
commit
7144612370
4 changed files with 6 additions and 4 deletions
|
@ -64,6 +64,7 @@ typedef struct MicroBlazeCPU {
|
|||
bool stackprot;
|
||||
uint32_t base_vectors;
|
||||
uint8_t use_fpu;
|
||||
bool use_mmu;
|
||||
} cfg;
|
||||
|
||||
CPUMBState env;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue