mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -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
|
@ -122,7 +122,7 @@ typedef struct CPUMBState CPUMBState;
|
|||
#define PVR0_USE_EXC_MASK 0x04000000
|
||||
#define PVR0_USE_ICACHE_MASK 0x02000000
|
||||
#define PVR0_USE_DCACHE_MASK 0x01000000
|
||||
#define PVR0_USE_MMU 0x00800000 /* new */
|
||||
#define PVR0_USE_MMU_MASK 0x00800000
|
||||
#define PVR0_USE_BTC 0x00400000
|
||||
#define PVR0_ENDI 0x00200000
|
||||
#define PVR0_FAULT 0x00100000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue