diff options
| author | Richard Henderson | 2020-09-04 20:11:28 +0200 |
|---|---|---|
| committer | Richard Henderson | 2020-09-07 21:58:08 +0200 |
| commit | a4bcfc3380c7fab42613dc5747d4b48f0bae29df (patch) | |
| tree | dcc85f1c62ec15d01d7308b3f994d77aaed2ca03 /target/microblaze/cpu.h | |
| parent | target/microblaze: Reorg MicroBlazeCPUConfig to minimize holes (diff) | |
| download | qemu-a4bcfc3380c7fab42613dc5747d4b48f0bae29df.tar.gz qemu-a4bcfc3380c7fab42613dc5747d4b48f0bae29df.tar.xz qemu-a4bcfc3380c7fab42613dc5747d4b48f0bae29df.zip | |
target/microblaze: Move pvr regs to MicroBlazeCPUConfig
These values are constant, and are derived from the other
configuration knobs. Move them into MicroBlazeCPUConfig
to emphasize that they are not variable.
Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/microblaze/cpu.h')
| -rw-r--r-- | target/microblaze/cpu.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/target/microblaze/cpu.h b/target/microblaze/cpu.h index 4d53345f23..ef96f2fe02 100644 --- a/target/microblaze/cpu.h +++ b/target/microblaze/cpu.h @@ -285,10 +285,6 @@ struct CPUMBState { struct {} end_reset_fields; /* These fields are preserved on reset. */ - - struct { - uint32_t regs[13]; - } pvr; }; /* @@ -301,6 +297,7 @@ typedef struct { uint32_t base_vectors; uint32_t pvr_user2; + uint32_t pvr_regs[13]; uint8_t addr_size; uint8_t use_fpu; |
