diff options
author | edgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-03 14:30:27 +0000 |
---|---|---|
committer | edgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-03 14:30:27 +0000 |
commit | 7d5099d5a4d9e9b3ac7b3f8accc402a13c4d2da1 (patch) | |
tree | f455d6a677536144ec979f1a2676196e59776fc5 | |
parent | 04ba529f81e29ea8ff2b13c647a07b068e442dea (diff) |
CRIS: Remove redundant code.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5145 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | target-cris/helper.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target-cris/helper.c b/target-cris/helper.c index a29e55c055..a869ee154e 100644 --- a/target-cris/helper.c +++ b/target-cris/helper.c @@ -74,7 +74,6 @@ int cpu_cris_handle_mmu_fault (CPUState *env, target_ulong address, int rw, D(printf ("%s addr=%x pc=%x rw=%x\n", __func__, address, env->pc, rw)); address &= TARGET_PAGE_MASK; - prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; miss = cris_mmu_translate(&res, env, address, rw, mmu_idx); if (miss) { @@ -92,7 +91,6 @@ int cpu_cris_handle_mmu_fault (CPUState *env, target_ulong address, int rw, { phy = res.phy; prot = res.prot; - address &= TARGET_PAGE_MASK; r = tlb_set_page(env, address, phy, prot, mmu_idx, is_softmmu); } if (r > 0) |