cputlb.c (fe18911af739d292ad2e62c6699a705a08302fca) cputlb.c (14776ab5a12972ea439c7fb2203a4c15a09094b4)
1/*
2 * Common CPU TLB handling
3 *
4 * Copyright (c) 2003 Fabrice Bellard
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either

--- 1119 unchanged lines hidden (view full) ---

1128static void *atomic_mmu_lookup(CPUArchState *env, target_ulong addr,
1129 TCGMemOpIdx oi, uintptr_t retaddr,
1130 NotDirtyInfo *ndi)
1131{
1132 size_t mmu_idx = get_mmuidx(oi);
1133 uintptr_t index = tlb_index(env, mmu_idx, addr);
1134 CPUTLBEntry *tlbe = tlb_entry(env, mmu_idx, addr);
1135 target_ulong tlb_addr = tlb_addr_write(tlbe);
1/*
2 * Common CPU TLB handling
3 *
4 * Copyright (c) 2003 Fabrice Bellard
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either

--- 1119 unchanged lines hidden (view full) ---

1128static void *atomic_mmu_lookup(CPUArchState *env, target_ulong addr,
1129 TCGMemOpIdx oi, uintptr_t retaddr,
1130 NotDirtyInfo *ndi)
1131{
1132 size_t mmu_idx = get_mmuidx(oi);
1133 uintptr_t index = tlb_index(env, mmu_idx, addr);
1134 CPUTLBEntry *tlbe = tlb_entry(env, mmu_idx, addr);
1135 target_ulong tlb_addr = tlb_addr_write(tlbe);
1136 TCGMemOp mop = get_memop(oi);
1136 MemOp mop = get_memop(oi);
1137 int a_bits = get_alignment_bits(mop);
1138 int s_bits = mop & MO_SIZE;
1139 void *hostaddr;
1140
1141 /* Adjust the given return address. */
1142 retaddr -= GETPC_ADJ;
1143
1144 /* Enforce guest required alignment. */

--- 673 unchanged lines hidden ---
1137 int a_bits = get_alignment_bits(mop);
1138 int s_bits = mop & MO_SIZE;
1139 void *hostaddr;
1140
1141 /* Adjust the given return address. */
1142 retaddr -= GETPC_ADJ;
1143
1144 /* Enforce guest required alignment. */

--- 673 unchanged lines hidden ---