diff options
author | John Clark <clarkjc@runbox.com> | 2010-10-05 18:38:55 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2010-10-05 18:38:55 +0200 |
commit | 999fa40e431626121cdee7d244aadfd0c8f2597b (patch) | |
tree | 8115ec2723a0c8a1dadfa5a690085bf4651b2756 /target-ppc/helper.c | |
parent | 358664cc6d1b5f7c36004be0179b36011b81c49d (diff) | |
download | hqemu-999fa40e431626121cdee7d244aadfd0c8f2597b.zip hqemu-999fa40e431626121cdee7d244aadfd0c8f2597b.tar.gz |
ppc: Minor 40x MMU fixes
* Fix swapped reading of tlblo/hi.
* Fix tlb exec permissions
Signed-off-by: John Clark <clarkjc@runbox.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'target-ppc/helper.c')
-rw-r--r-- | target-ppc/helper.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target-ppc/helper.c b/target-ppc/helper.c index 3bc8a34..edbdd80 100644 --- a/target-ppc/helper.c +++ b/target-ppc/helper.c @@ -1172,9 +1172,7 @@ static int mmu40x_get_physical_address (CPUState *env, mmu_ctx_t *ctx, case 0x1: check_perms: /* Check from TLB entry */ - /* XXX: there is a problem here or in the TLB fill code... */ ctx->prot = tlb->prot; - ctx->prot |= PAGE_EXEC; ret = check_prot(ctx->prot, rw, access_type); if (ret == -2) env->spr[SPR_40x_ESR] = 0; |