diff options
author | Alistair Francis <alistair.francis@xilinx.com> | 2015-06-18 21:16:42 -0700 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@xilinx.com> | 2015-06-21 17:20:16 +1000 |
commit | 6fad9e986b82c7c7ed7cfa0cc3ee38b3510a5432 (patch) | |
tree | 92fbcfa74647cb4a7da90c95047da734ffb171f9 /target-microblaze/cpu.h | |
parent | 72e38754853443830152a3cfe586db1d9b15e8fe (diff) |
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>
Diffstat (limited to 'target-microblaze/cpu.h')
-rw-r--r-- | target-microblaze/cpu.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h index 0f82abd304..0dd164ff15 100644 --- a/target-microblaze/cpu.h +++ b/target-microblaze/cpu.h @@ -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. */ |