diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-01-04 23:26:24 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-01-04 23:26:24 +0000 |
commit | ac9eb0731ad123f8789005978500ac67026188c2 (patch) | |
tree | 46196d5fcd9eba3ecb37b13a401fe4dab9be070d /target-ppc/helper.c | |
parent | 9a64fbe4d89751524be0954f87dd514083295e99 (diff) | |
download | qemu-ac9eb0731ad123f8789005978500ac67026188c2.zip qemu-ac9eb0731ad123f8789005978500ac67026188c2.tar.gz qemu-ac9eb0731ad123f8789005978500ac67026188c2.tar.bz2 |
suppressed explicit access type and use the exception routine to infer it from the micro operation
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@529 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/helper.c')
-rw-r--r-- | target-ppc/helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ppc/helper.c b/target-ppc/helper.c index 272dc95..1520d6c 100644 --- a/target-ppc/helper.c +++ b/target-ppc/helper.c @@ -512,7 +512,7 @@ int cpu_ppc_handle_mmu_fault (CPUState *env, uint32_t address, int rw, // printf("%s 0\n", __func__); is_user = flags & 0x01; - access_type = flags & ~0x01; + access_type = env->access_type; if (env->user_mode_only) { /* user mode only emulation */ ret = -1; |