projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45693f9
)
target/ppc: BookE DECAR SPR is 32-bit
author
Nicholas Piggin
<npiggin@gmail.com>
Mon, 15 May 2023 15:28:35 +0000
(
01:28
+1000)
committer
Nicholas Piggin
<npiggin@gmail.com>
Thu, 23 May 2024 23:34:38 +0000
(09:34 +1000)
The DECAR SPR is 32-bits width.
Reviewed-by: Glenn Miles <milesg@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
target/ppc/cpu_init.c
patch
|
blob
|
history
diff --git
a/target/ppc/cpu_init.c
b/target/ppc/cpu_init.c
index ee01415c328210ae4cb538a273bb1fee54253abc..927721d49aeefad0910593641cd7caa8ffa42b2d 100644
(file)
--- a/
target/ppc/cpu_init.c
+++ b/
target/ppc/cpu_init.c
@@
-792,7
+792,7
@@
static void register_BookE_sprs(CPUPPCState *env, uint64_t ivor_mask)
0x00000000);
spr_register(env, SPR_BOOKE_DECAR, "DECAR",
SPR_NOACCESS, SPR_NOACCESS,
- SPR_NOACCESS, &spr_write_generic,
+ SPR_NOACCESS, &spr_write_generic
32
,
0x00000000);
/* SPRGs */
spr_register(env, SPR_USPRG0, "USPRG0",