mirror of https://github.com/xemu-project/xemu.git
target/ppc: Fix HFSCR facility checks
The HFSCR defines were being encoded as bit masks, but the users expect (and analogous FSCR defines are) bit numbers. Cc: qemu-stable@nongnu.org Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
This commit is contained in:
parent
06229545f5
commit
87de77f6ae
target/ppc
|
@ -635,8 +635,8 @@ FIELD(MSR, LE, MSR_LE, 1)
|
|||
#define PSSCR_EC PPC_BIT(43) /* Exit Criterion */
|
||||
|
||||
/* HFSCR bits */
|
||||
#define HFSCR_MSGP PPC_BIT(53) /* Privileged Message Send Facilities */
|
||||
#define HFSCR_BHRB PPC_BIT(59) /* BHRB Instructions */
|
||||
#define HFSCR_MSGP PPC_BIT_NR(53) /* Privileged Message Send Facilities */
|
||||
#define HFSCR_BHRB PPC_BIT_NR(59) /* BHRB Instructions */
|
||||
#define HFSCR_IC_MSGP 0xA
|
||||
|
||||
#define DBCR0_ICMP (1 << 27)
|
||||
|
|
Loading…
Reference in New Issue