mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
target/microblaze: Fix width of EDR
The exception data register is only 32-bits wide. Do not use a 64-bit type to represent it. Since cpu_edr is only used during MSR and MTR instructions, we can just as easily use an explicit load and store, so eliminate the 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>
This commit is contained in:
parent
ccf628b793
commit
39db007eda
2 changed files with 6 additions and 7 deletions
|
@ -242,7 +242,7 @@ struct CPUMBState {
|
|||
uint32_t esr;
|
||||
uint32_t fsr;
|
||||
uint32_t btr;
|
||||
uint64_t edr;
|
||||
uint32_t edr;
|
||||
float_status fp_status;
|
||||
/* Stack protectors. Yes, it's a hw feature. */
|
||||
uint32_t slr, shr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue