diff options
author | Cédric Le Goater <clg@kaod.org> | 2022-01-28 13:15:03 +0100 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2022-01-28 13:15:03 +0100 |
commit | 63f38cc3d228a0886b544e9a069b922b4416d29d (patch) | |
tree | 719b546cd7fb871a83ec6e10acb163175735abd2 /qemu-io.c | |
parent | 1977434bbfbdd97d28c2fea071ea00bf4ecd0079 (diff) |
target/ppc: Fix test on mmu_model in hreg_compute_hflags_value()
POWERPC_MMU_BOOKE is not a mask and should not be tested with a
bitwise AND operator.
It went unnoticed because it only impacts the 601 CPU implementation
for which we don't have a known firmware image.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20220124081609.3672341-1-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions