Home
last modified time | relevance | path

Searched refs:TARGET_PAGE_MASK (Results 1 – 15 of 15) sorted by relevance

/external/qemu/
Dsoftmmu_template.h60 physaddr = (physaddr & TARGET_PAGE_MASK) + addr; in glue()
100 if ((addr & TARGET_PAGE_MASK) == (tlb_addr & (TARGET_PAGE_MASK | TLB_INVALID_MASK))) { in glue()
101 if (tlb_addr & ~TARGET_PAGE_MASK) { in glue()
108 } else if (((addr & ~TARGET_PAGE_MASK) + DATA_SIZE - 1) >= TARGET_PAGE_SIZE) { in glue()
154 if ((addr & TARGET_PAGE_MASK) == (tlb_addr & (TARGET_PAGE_MASK | TLB_INVALID_MASK))) { in glue()
155 if (tlb_addr & ~TARGET_PAGE_MASK) { in glue()
162 } else if (((addr & ~TARGET_PAGE_MASK) + DATA_SIZE - 1) >= TARGET_PAGE_SIZE) { in glue()
205 physaddr = (physaddr & TARGET_PAGE_MASK) + addr; in glue()
241 if ((addr & TARGET_PAGE_MASK) == (tlb_addr & (TARGET_PAGE_MASK | TLB_INVALID_MASK))) { in glue()
242 if (tlb_addr & ~TARGET_PAGE_MASK) { in glue()
[all …]
Dexec.c204 #define SUBPAGE_IDX(addr) ((addr) & ~TARGET_PAGE_MASK)
281 page_set_flags(startaddr & TARGET_PAGE_MASK, in page_init()
322 page_set_flags(addr & TARGET_PAGE_MASK, in page_find_alloc()
651 address &= TARGET_PAGE_MASK; in tb_invalidate_check()
779 phys_pc = tb->page_addr[0] + (tb->pc & ~TARGET_PAGE_MASK); in tb_phys_invalidate()
868 tb_start = tb->pc & ~TARGET_PAGE_MASK; in build_page_bitmap()
874 tb_end = ((tb->pc + tb->size) & ~TARGET_PAGE_MASK); in build_page_bitmap()
913 virt_page2 = (pc + tb->size - 1) & TARGET_PAGE_MASK; in tb_gen_code()
915 if ((pc & TARGET_PAGE_MASK) != virt_page2) { in tb_gen_code()
965 tb_start = tb->page_addr[0] + (tb->pc & ~TARGET_PAGE_MASK); in tb_invalidate_phys_page_range()
[all …]
Dsoftmmu_header.h109 "i" (TARGET_PAGE_MASK | (DATA_SIZE - 1)), in glue()
155 "i" (TARGET_PAGE_MASK | (DATA_SIZE - 1)), in glue()
208 "i" (TARGET_PAGE_MASK | (DATA_SIZE - 1)), in glue()
231 (addr & (TARGET_PAGE_MASK | (DATA_SIZE - 1))))) { in glue()
252 (addr & (TARGET_PAGE_MASK | (DATA_SIZE - 1))))) { in glue()
277 (addr & (TARGET_PAGE_MASK | (DATA_SIZE - 1))))) { in glue()
Dexec-all.h329 (addr & TARGET_PAGE_MASK))) { in get_phys_addr_code()
332 pd = env1->tlb_table[mmu_idx][page_index].addr_code & ~TARGET_PAGE_MASK; in get_phys_addr_code()
Dkqemu.c331 end = (start_addr + size + TARGET_PAGE_SIZE - 1) & TARGET_PAGE_MASK; in kqemu_set_phys_mem()
332 start_addr &= TARGET_PAGE_MASK; in kqemu_set_phys_mem()
335 kphys_mem->ram_addr = phys_offset & TARGET_PAGE_MASK; in kqemu_set_phys_mem()
336 io_index = phys_offset & ~TARGET_PAGE_MASK; in kqemu_set_phys_mem()
Dcpu-all.h715 #define TARGET_PAGE_MASK ~(TARGET_PAGE_SIZE - 1) macro
716 #define TARGET_PAGE_ALIGN(addr) (((addr) + TARGET_PAGE_SIZE - 1) & TARGET_PAGE_MASK)
Dcpu-exec.c138 phys_page1 = phys_pc & TARGET_PAGE_MASK; in tb_find_slow()
152 virt_page2 = (pc & TARGET_PAGE_MASK) + in tb_find_slow()
Dvl-android.c3463 flags = addr & ~TARGET_PAGE_MASK; in ram_load()
3464 addr &= TARGET_PAGE_MASK; in ram_load()
Dvl.c3334 flags = addr & ~TARGET_PAGE_MASK; in ram_load()
3335 addr &= TARGET_PAGE_MASK; in ram_load()
/external/qemu/hw/
Darmv7m.c187 sram_size = (ram_size / 2) & TARGET_PAGE_MASK; in armv7m_init()
/external/qemu/tcg/hppa/
Dtcg-target.c404 tcg_out_arithi(s, r0, r0, TARGET_PAGE_MASK | ((1 << s_bits) - 1), in tcg_out_qemu_ld()
577 tcg_out_arithi(s, r0, r0, TARGET_PAGE_MASK | ((1 << s_bits) - 1), in tcg_out_qemu_st()
/external/qemu/tcg/sparc/
Dtcg-target.c584 tcg_out_arithi(s, arg0, addr_reg, TARGET_PAGE_MASK | ((1 << s_bits) - 1), in tcg_out_qemu_ld()
796 tcg_out_arithi(s, arg0, addr_reg, TARGET_PAGE_MASK | ((1 << s_bits) - 1), in tcg_out_qemu_st()
/external/qemu/tcg/i386/
Dtcg-target.c483 tcg_out32(s, TARGET_PAGE_MASK | ((1 << s_bits) - 1)); in tcg_out_qemu_ld()
695 tcg_out32(s, TARGET_PAGE_MASK | ((1 << s_bits) - 1)); in tcg_out_qemu_st()
/external/qemu/tcg/x86_64/
Dtcg-target.c566 tcg_out32(s, TARGET_PAGE_MASK | ((1 << s_bits) - 1)); in tcg_out_qemu_ld()
748 tcg_out32(s, TARGET_PAGE_MASK | ((1 << s_bits) - 1)); in tcg_out_qemu_st()
/external/qemu/target-arm/
Dtranslate.c3395 if ((tb->pc & TARGET_PAGE_MASK) == (dest & TARGET_PAGE_MASK)) { in gen_goto_tb()
7152 if ((s->pc & ~TARGET_PAGE_MASK) == 0) { in disas_thumb2_insn()
8845 next_page_start = (pc_start & TARGET_PAGE_MASK) + TARGET_PAGE_SIZE; in gen_intermediate_code_internal()