mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
target-microblaze: Convert pvr-full to a CPU property
Originally the pvr-full 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
72e3875485
commit
6fad9e986b
4 changed files with 10 additions and 6 deletions
|
@ -212,7 +212,9 @@ typedef struct CPUMBState CPUMBState;
|
|||
/* MSR Reset value PVR mask */
|
||||
#define PVR11_MSR_RESET_VALUE_MASK 0x000007FF
|
||||
|
||||
|
||||
#define C_PVR_NONE 0
|
||||
#define C_PVR_BASIC 1
|
||||
#define C_PVR_FULL 2
|
||||
|
||||
/* CPU flags. */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue