summaryrefslogtreecommitdiff
path: root/target-ppc
diff options
context:
space:
mode:
authorTom Musta <tommusta@gmail.com>2014-09-05 11:39:05 -0500
committerAlexander Graf <agraf@suse.de>2014-11-04 23:26:11 +0100
commit8412d1127664775bb4e657d51522a1c777a7e9d5 (patch)
treed161e6af6e772d998fa5440ce8cde314235e5bba /target-ppc
parent0b6ff57640a3d51a9738af553a05007a86df332e (diff)
downloadqemu-8412d1127664775bb4e657d51522a1c777a7e9d5.tar.gz
qemu-8412d1127664775bb4e657d51522a1c777a7e9d5.tar.bz2
qemu-8412d1127664775bb4e657d51522a1c777a7e9d5.zip
target-ppc: Implement IVOR[59] By Default for Book E
Adjust the IVOR mask for generic Book E implementation to support bit 59. This is consistent with the Power ISA. Signed-off-by: Tom Musta <tommusta@gmail.com> Reported-by: Pierre Mallard <mallard.pierre@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc')
-rw-r--r--target-ppc/translate_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
index 0530b0b821..9a2e788c73 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -2786,7 +2786,7 @@ static void init_excp_BookE (CPUPPCState *env)
env->excp_vectors[POWERPC_EXCP_DTLB] = 0x00000000;
env->excp_vectors[POWERPC_EXCP_ITLB] = 0x00000000;
env->excp_vectors[POWERPC_EXCP_DEBUG] = 0x00000000;
- env->ivor_mask = 0x0000FFE0UL;
+ env->ivor_mask = 0x0000FFF0UL;
env->ivpr_mask = 0xFFFF0000UL;
/* Hardware reset vector */
env->hreset_vector = 0xFFFFFFFCUL;