static void demap_tlb(SparcTLBEntry *tlb, target_ulong demap_addr,

                      const char* strmmu, CPUState *env1)

{

    unsigned int i;

    target_ulong mask;



    for (i = 0; i < 64; i++) {

        if (TTE_IS_VALID(tlb[i].tte)) {



            mask = 0xffffffffffffe000ULL;

            mask <<= 3 * ((tlb[i].tte >> 61) & 3);



            if ((demap_addr & mask) == (tlb[i].tag & mask)) {

                replace_tlb_entry(&tlb[i], 0, 0, env1);

#ifdef DEBUG_MMU

                DPRINTF_MMU("%s demap invalidated entry [%02u]\n", strmmu, i);

                dump_mmu(env1);

#endif

            }

            //return;

        }

    }



}

static void demap_tlb(SparcTLBEntry *tlb, target_ulong demap_addr,

                      const char* strmmu, CPUState *env1)

{

    unsigned int i;

    target_ulong mask;



    for (i = 0; i < 64; i++) {

        if (TTE_IS_VALID(tlb[i].tte)) {



            mask = 0xffffffffffffe000ULL;

            mask <<= 3 * ((tlb[i].tte >> 61) & 3);



            if ((demap_addr & mask) == (tlb[i].tag & mask)) {

                replace_tlb_entry(&tlb[i], 0, 0, env1);

#ifdef DEBUG_MMU

                DPRINTF_MMU("%s demap invalidated entry [%02u]\n", strmmu, i);

                dump_mmu(env1);

#endif

            }

            

        }

    }



}

            mask = 0xffffffffffffe000ULL;             mask <<= 3 * ((tlb[i].tte >> 61) & 3);             if ((demap_addr & mask) == (tlb[i].tag & mask)) {                 replace_tlb_entry(&tlb[i], 0, 0, env1);                 DPRINTF_MMU("%s demap invalidated entry [%02u]\n", strmmu, i);                 dump_mmu(env1);
static void FUNC_0(SparcTLBEntry *VAR_0, target_ulong VAR_1,

                      const char* VAR_2, CPUState *VAR_3)

{

    unsigned int VAR_4;

    target_ulong mask;



    for (VAR_4 = 0; VAR_4 < 64; VAR_4++) {

        if (TTE_IS_VALID(VAR_0[VAR_4].tte)) {



            mask = 0xffffffffffffe000ULL;

            mask <<= 3 * ((VAR_0[VAR_4].tte >> 61) & 3);



            if ((VAR_1 & mask) == (VAR_0[VAR_4].tag & mask)) {

                replace_tlb_entry(&VAR_0[VAR_4], 0, 0, VAR_3);

#ifdef DEBUG_MMU

                DPRINTF_MMU("%s demap invalidated entry [%02u]\n", VAR_2, VAR_4);

                dump_mmu(VAR_3);

#endif

            }

            

        }

    }



}

static void FUNC_0(SparcTLBEntry *VAR_0, target_ulong VAR_1,
const char* VAR_2, CPUState *VAR_3)
{ unsigned int VAR_4; target_ulong mask; for (VAR_4 = 0; VAR_4 < 64; VAR_4++) { if (TTE_IS_VALID(VAR_0[VAR_4].tte)) { mask = 0xffffffffffffe000ULL; mask <<= 3 * ((VAR_0[VAR_4].tte >> 61) & 3); if ((VAR_1 & mask) == (VAR_0[VAR_4].tag & mask)) { replace_tlb_entry(&VAR_0[VAR_4], 0, 0, VAR_3); #ifdef DEBUG_MMU
DPRINTF_MMU("%s demap invalidated entry [%02u]\n", VAR_2, VAR_4); dump_mmu(VAR_3); #endif
} } } }