diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2020-08-19 22:37:40 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2020-09-01 07:41:38 -0700 |
commit | 6efd55995a224787baa712500b82ef21a148d38e (patch) | |
tree | 6d34b48064a7c5b6527062ac2725ca4185a34713 /target/microblaze/cpu.h | |
parent | 3e0e16ae1e0048a21a91674061ec9c43c5d7a76c (diff) | |
download | qemu-6efd55995a224787baa712500b82ef21a148d38e.zip qemu-6efd55995a224787baa712500b82ef21a148d38e.tar.gz qemu-6efd55995a224787baa712500b82ef21a148d38e.tar.bz2 |
target/microblaze: Fix width of ESR
The exception status register is only 32-bits wide.
Do not use a 64-bit type to represent it.
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/microblaze/cpu.h b/target/microblaze/cpu.h index 019e5df..aaac0c9 100644 --- a/target/microblaze/cpu.h +++ b/target/microblaze/cpu.h @@ -239,7 +239,7 @@ struct CPUMBState { uint32_t pc; uint32_t msr; uint64_t ear; - uint64_t esr; + uint32_t esr; uint64_t fsr; uint64_t btr; uint64_t edr; |