Lines Matching defs:tlb_entry
2141 static inline void tlb_flush_entry(CPUTLBEntry *tlb_entry, target_ulong addr)
2143 if (addr == (tlb_entry->addr_read &
2145 addr == (tlb_entry->addr_write &
2147 addr == (tlb_entry->addr_code &
2149 *tlb_entry = s_cputlb_empty_entry;
2205 static inline void tlb_reset_dirty_range(CPUTLBEntry *tlb_entry,
2214 if ((tlb_entry->addr_write & ~TARGET_PAGE_MASK) == IO_MEM_RAM) {
2215 addr = (tlb_entry->addr_write & TARGET_PAGE_MASK) + tlb_entry->addend;
2217 tlb_entry->addr_write = (tlb_entry->addr_write & TARGET_PAGE_MASK) | TLB_NOTDIRTY;
2295 DECLINLINE(void) tlb_update_dirty(CPUTLBEntry *tlb_entry, target_phys_addr_t phys_addend)
2297 static inline void tlb_update_dirty(CPUTLBEntry *tlb_entry)
2305 if ((tlb_entry->addr_write & ~TARGET_PAGE_MASK) == IO_MEM_RAM) {
2307 ram_addr = (tlb_entry->addr_write & TARGET_PAGE_MASK) + tlb_entry->addend;
2309 p = (void *)(uintptr_t)((tlb_entry->addr_write & TARGET_PAGE_MASK)
2310 + tlb_entry->addend);
2314 ram_addr = (tlb_entry->addr_write & TARGET_PAGE_MASK) + phys_addend;
2317 tlb_entry->addr_write |= TLB_NOTDIRTY;
2337 static inline void tlb_set_dirty1(CPUTLBEntry *tlb_entry, target_ulong vaddr)
2339 if (tlb_entry->addr_write == (vaddr | TLB_NOTDIRTY))
2340 tlb_entry->addr_write = vaddr;