Lines Matching refs:TARGET_PAGE_BITS
165 #define L1_BITS (TARGET_VIRT_ADDR_SPACE_BITS - L2_BITS - TARGET_PAGE_BITS)
167 #define L1_BITS (32 - L2_BITS - TARGET_PAGE_BITS)
380 pd[i].region_offset = (index + i) << TARGET_PAGE_BITS; in phys_page_find_alloc()
786 p = page_find(tb->page_addr[0] >> TARGET_PAGE_BITS); in tb_phys_invalidate()
791 p = page_find(tb->page_addr[1] >> TARGET_PAGE_BITS); in tb_phys_invalidate()
944 p = page_find(start >> TARGET_PAGE_BITS); in tb_invalidate_phys_page_range()
1046 p = page_find(start >> TARGET_PAGE_BITS); in tb_invalidate_phys_page_fast()
1077 p = page_find(addr >> TARGET_PAGE_BITS); in tb_invalidate_phys_page()
1129 p = page_find_alloc(page_addr >> TARGET_PAGE_BITS); in tb_alloc_page()
1150 p2 = page_find (addr >> TARGET_PAGE_BITS); in tb_alloc_page()
1329 p = phys_page_find(addr >> TARGET_PAGE_BITS); in breakpoint_invalidate()
1815 i = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in tlb_flush_page()
1842 phys_ram_dirty[ram_addr >> TARGET_PAGE_BITS] |= CODE_DIRTY_FLAG; in tlb_unprotect_code_phys()
1872 len = length >> TARGET_PAGE_BITS; in cpu_physical_memory_reset_dirty()
1886 p = phys_ram_dirty + (start >> TARGET_PAGE_BITS); in cpu_physical_memory_reset_dirty()
1974 i = (vaddr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in tlb_set_dirty()
1998 p = phys_page_find(paddr >> TARGET_PAGE_BITS); in tlb_set_page_exec()
2050 index = (vaddr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in tlb_set_page_exec()
2123 end = (i << (32 - L1_BITS)) | (j << TARGET_PAGE_BITS); in walk_memory_regions()
2169 p = page_find(address >> TARGET_PAGE_BITS); in page_get_flags()
2189 p = page_find_alloc(addr >> TARGET_PAGE_BITS); in page_set_flags()
2219 p = page_find(addr >> TARGET_PAGE_BITS); in page_check_range()
2256 page_index = host_start >> TARGET_PAGE_BITS; in page_unprotect()
2272 pindex = (address - host_start) >> TARGET_PAGE_BITS; in page_unprotect()
2358 p = phys_page_find(addr >> TARGET_PAGE_BITS); in cpu_register_physical_memory_offset()
2385 p = phys_page_find_alloc(addr >> TARGET_PAGE_BITS, 1); in cpu_register_physical_memory_offset()
2424 p = phys_page_find(addr >> TARGET_PAGE_BITS); in cpu_get_physical_page_desc()
2479 (last_ram_offset + size) >> TARGET_PAGE_BITS); in qemu_ram_alloc()
2480 memset(phys_ram_dirty + (last_ram_offset >> TARGET_PAGE_BITS), in qemu_ram_alloc()
2481 0xff, size >> TARGET_PAGE_BITS); in qemu_ram_alloc()
2650 dirty_flags = phys_ram_dirty[ram_addr >> TARGET_PAGE_BITS]; in notdirty_mem_writeb()
2654 dirty_flags = phys_ram_dirty[ram_addr >> TARGET_PAGE_BITS]; in notdirty_mem_writeb()
2664 phys_ram_dirty[ram_addr >> TARGET_PAGE_BITS] = dirty_flags; in notdirty_mem_writeb()
2675 dirty_flags = phys_ram_dirty[ram_addr >> TARGET_PAGE_BITS]; in notdirty_mem_writew()
2679 dirty_flags = phys_ram_dirty[ram_addr >> TARGET_PAGE_BITS]; in notdirty_mem_writew()
2689 phys_ram_dirty[ram_addr >> TARGET_PAGE_BITS] = dirty_flags; in notdirty_mem_writew()
2700 dirty_flags = phys_ram_dirty[ram_addr >> TARGET_PAGE_BITS]; in notdirty_mem_writel()
2704 dirty_flags = phys_ram_dirty[ram_addr >> TARGET_PAGE_BITS]; in notdirty_mem_writel()
2714 phys_ram_dirty[ram_addr >> TARGET_PAGE_BITS] = dirty_flags; in notdirty_mem_writel()
3066 phys_ram_dirty = qemu_vmalloc(kqemu_phys_ram_size >> TARGET_PAGE_BITS); in io_mem_init()
3067 memset(phys_ram_dirty, 0xff, kqemu_phys_ram_size >> TARGET_PAGE_BITS); in io_mem_init()
3132 p = phys_page_find(page >> TARGET_PAGE_BITS); in cpu_physical_memory_rw()
3173 phys_ram_dirty[addr1 >> TARGET_PAGE_BITS] |= in cpu_physical_memory_rw()
3229 p = phys_page_find(page >> TARGET_PAGE_BITS); in cpu_physical_memory_write_rom()
3324 p = phys_page_find(page >> TARGET_PAGE_BITS); in cpu_physical_memory_map()
3379 phys_ram_dirty[addr1 >> TARGET_PAGE_BITS] |= in cpu_physical_memory_unmap()
3405 p = phys_page_find(addr >> TARGET_PAGE_BITS); in ldl_phys()
3437 p = phys_page_find(addr >> TARGET_PAGE_BITS); in ldq_phys()
3492 p = phys_page_find(addr >> TARGET_PAGE_BITS); in stl_phys_notdirty()
3514 phys_ram_dirty[addr1 >> TARGET_PAGE_BITS] |= in stl_phys_notdirty()
3528 p = phys_page_find(addr >> TARGET_PAGE_BITS); in stq_phys_notdirty()
3561 p = phys_page_find(addr >> TARGET_PAGE_BITS); in stl_phys()
3583 phys_ram_dirty[addr1 >> TARGET_PAGE_BITS] |= in stl_phys()