static inline void tlb_reset_dirty_range(CPUTLBEntry *tlb_entry,

                                         unsigned long start, unsigned long length)

{

    unsigned long addr;

    if ((tlb_entry->addr_write & ~TARGET_PAGE_MASK) == io_mem_ram.ram_addr) {

        addr = (tlb_entry->addr_write & TARGET_PAGE_MASK) + tlb_entry->addend;

        if ((addr - start) < length) {

            tlb_entry->addr_write = (tlb_entry->addr_write & TARGET_PAGE_MASK) | TLB_NOTDIRTY;

        }

    }

}

static inline void tlb_reset_dirty_range(CPUTLBEntry *tlb_entry,

                                         unsigned long start, unsigned long length)

{

    unsigned long addr;

    if ((tlb_entry->addr_write & ~TARGET_PAGE_MASK) == io_mem_ram.ram_addr) {

        addr = (tlb_entry->addr_write & TARGET_PAGE_MASK) + tlb_entry->addend;

        if ((addr - start) < length) {

            tlb_entry->addr_write = (tlb_entry->addr_write & TARGET_PAGE_MASK) | TLB_NOTDIRTY;

        }

    }

}

static inline void FUNC_0(CPUTLBEntry *VAR_0,

                                         unsigned long VAR_1, unsigned long VAR_2)

{

    unsigned long VAR_3;

    if ((VAR_0->addr_write & ~TARGET_PAGE_MASK) == io_mem_ram.ram_addr) {

        VAR_3 = (VAR_0->addr_write & TARGET_PAGE_MASK) + VAR_0->addend;

        if ((VAR_3 - VAR_1) < VAR_2) {

            VAR_0->addr_write = (VAR_0->addr_write & TARGET_PAGE_MASK) | TLB_NOTDIRTY;

        }

    }

}

static inline void FUNC_0(CPUTLBEntry *VAR_0,
unsigned long VAR_1, unsigned long VAR_2)
{ unsigned long VAR_3; if ((VAR_0->addr_write & ~TARGET_PAGE_MASK) == io_mem_ram.ram_addr) { VAR_3 = (VAR_0->addr_write & TARGET_PAGE_MASK) + VAR_0->addend; if ((VAR_3 - VAR_1) < VAR_2) { VAR_0->addr_write = (VAR_0->addr_write & TARGET_PAGE_MASK) | TLB_NOTDIRTY; } } }