static inline void tlb_update_dirty(CPUTLBEntry *tlb_entry)

{

    ram_addr_t ram_addr;

    void *p;



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

        p = (void *)(unsigned long)((tlb_entry->addr_write & TARGET_PAGE_MASK)

            + tlb_entry->addend);

        ram_addr = qemu_ram_addr_from_host_nofail(p);

        if (!cpu_physical_memory_is_dirty(ram_addr)) {

            tlb_entry->addr_write |= TLB_NOTDIRTY;

        }

    }

}

static inline void tlb_update_dirty(CPUTLBEntry *tlb_entry)

{

    ram_addr_t ram_addr;

    void *p;



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

        p = (void *)(unsigned long)((tlb_entry->addr_write & TARGET_PAGE_MASK)

            + tlb_entry->addend);

        ram_addr = qemu_ram_addr_from_host_nofail(p);

        if (!cpu_physical_memory_is_dirty(ram_addr)) {

            tlb_entry->addr_write |= TLB_NOTDIRTY;

        }

    }

}

static inline void FUNC_0(CPUTLBEntry *VAR_0)

{

    ram_addr_t ram_addr;

    void *VAR_1;



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

        VAR_1 = (void *)(unsigned long)((VAR_0->addr_write & TARGET_PAGE_MASK)

            + VAR_0->addend);

        ram_addr = qemu_ram_addr_from_host_nofail(VAR_1);

        if (!cpu_physical_memory_is_dirty(ram_addr)) {

            VAR_0->addr_write |= TLB_NOTDIRTY;

        }

    }

}

static inline void FUNC_0(CPUTLBEntry *VAR_0)
{ ram_addr_t ram_addr; void *VAR_1; if ((VAR_0->addr_write & ~TARGET_PAGE_MASK) == io_mem_ram.ram_addr) { VAR_1 = (void *)(unsigned long)((VAR_0->addr_write & TARGET_PAGE_MASK)
+ VAR_0->addend); ram_addr = qemu_ram_addr_from_host_nofail(VAR_1); if (!cpu_physical_memory_is_dirty(ram_addr)) { VAR_0->addr_write |= TLB_NOTDIRTY; } } }