• Home
  • Raw
  • Download

Lines Matching refs:addr1

3311                 target_phys_addr_t addr1 = addr;  in cpu_physical_memory_rw()  local
3314 addr1 = (addr & ~TARGET_PAGE_MASK) + p->region_offset; in cpu_physical_memory_rw()
3317 if (l >= 4 && ((addr1 & 3) == 0)) { in cpu_physical_memory_rw()
3320 io_mem_write[io_index][2](io_mem_opaque[io_index], addr1, val); in cpu_physical_memory_rw()
3322 } else if (l >= 2 && ((addr1 & 1) == 0)) { in cpu_physical_memory_rw()
3325 io_mem_write[io_index][1](io_mem_opaque[io_index], addr1, val); in cpu_physical_memory_rw()
3330 io_mem_write[io_index][0](io_mem_opaque[io_index], addr1, val); in cpu_physical_memory_rw()
3334 unsigned long addr1; in cpu_physical_memory_rw() local
3335 addr1 = (pd & TARGET_PAGE_MASK) + (addr & ~TARGET_PAGE_MASK); in cpu_physical_memory_rw()
3337 ptr = qemu_get_ram_ptr(addr1); in cpu_physical_memory_rw()
3339 if (!cpu_physical_memory_is_dirty(addr1)) { in cpu_physical_memory_rw()
3341 tb_invalidate_phys_page_range(addr1, addr1 + l, 0); in cpu_physical_memory_rw()
3344 addr1, (0xff & ~CODE_DIRTY_FLAG)); in cpu_physical_memory_rw()
3350 target_phys_addr_t addr1 = addr; in cpu_physical_memory_rw() local
3354 addr1 = (addr & ~TARGET_PAGE_MASK) + p->region_offset; in cpu_physical_memory_rw()
3355 if (l >= 4 && ((addr1 & 3) == 0)) { in cpu_physical_memory_rw()
3357 val = io_mem_read[io_index][2](io_mem_opaque[io_index], addr1); in cpu_physical_memory_rw()
3360 } else if (l >= 2 && ((addr1 & 1) == 0)) { in cpu_physical_memory_rw()
3362 val = io_mem_read[io_index][1](io_mem_opaque[io_index], addr1); in cpu_physical_memory_rw()
3367 val = io_mem_read[io_index][0](io_mem_opaque[io_index], addr1); in cpu_physical_memory_rw()
3411 unsigned long addr1; in cpu_physical_memory_write_rom() local
3412 addr1 = (pd & TARGET_PAGE_MASK) + (addr & ~TARGET_PAGE_MASK); in cpu_physical_memory_write_rom()
3414 ptr = qemu_get_ram_ptr(addr1); in cpu_physical_memory_write_rom()
3488 unsigned long addr1; in cpu_physical_memory_map() local
3514 addr1 = (pd & TARGET_PAGE_MASK) + (addr & ~TARGET_PAGE_MASK); in cpu_physical_memory_map()
3515 ptr = qemu_get_ram_ptr(addr1); in cpu_physical_memory_map()
3540 ram_addr_t addr1 = qemu_ram_addr_from_host_nofail(buffer); in cpu_physical_memory_unmap() local
3546 if (!cpu_physical_memory_is_dirty(addr1)) { in cpu_physical_memory_unmap()
3548 tb_invalidate_phys_page_range(addr1, addr1 + l, 0); in cpu_physical_memory_unmap()
3551 addr1, (0xff & ~CODE_DIRTY_FLAG)); in cpu_physical_memory_unmap()
3553 addr1 += l; in cpu_physical_memory_unmap()
3676 unsigned long addr1 = (pd & TARGET_PAGE_MASK) + (addr & ~TARGET_PAGE_MASK); in stl_phys_notdirty() local
3677 ptr = qemu_get_ram_ptr(addr1); in stl_phys_notdirty()
3681 if (!cpu_physical_memory_is_dirty(addr1)) { in stl_phys_notdirty()
3683 tb_invalidate_phys_page_range(addr1, addr1 + 4, 0); in stl_phys_notdirty()
3686 addr1, (0xff & ~CODE_DIRTY_FLAG)); in stl_phys_notdirty()
3745 unsigned long addr1; in stl_phys() local
3746 addr1 = (pd & TARGET_PAGE_MASK) + (addr & ~TARGET_PAGE_MASK); in stl_phys()
3748 ptr = qemu_get_ram_ptr(addr1); in stl_phys()
3750 if (!cpu_physical_memory_is_dirty(addr1)) { in stl_phys()
3752 tb_invalidate_phys_page_range(addr1, addr1 + 4, 0); in stl_phys()
3754 cpu_physical_memory_set_dirty_flags(addr1, in stl_phys()