Home
last modified time | relevance | path

Searched refs:TARGET_PAGE_BITS (Results 1 – 20 of 20) sorted by relevance

/external/qemu/
Dexec-all.h180 tmp = pc ^ (pc >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS)); in tb_jmp_cache_hash_page()
181 return (tmp >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS)) & TB_JMP_PAGE_MASK; in tb_jmp_cache_hash_page()
187 tmp = pc ^ (pc >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS)); in tb_jmp_cache_hash_func()
188 return (((tmp >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS)) & TB_JMP_PAGE_MASK) in tb_jmp_cache_hash_func()
394 page_index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in get_phys_addr_code()
Dexec.c160 #define L1_BITS (TARGET_VIRT_ADDR_SPACE_BITS - L2_BITS - TARGET_PAGE_BITS)
162 #define L1_BITS (32 - L2_BITS - TARGET_PAGE_BITS)
380 pd[i].region_offset = (index + i) << TARGET_PAGE_BITS; in phys_page_find_alloc()
798 p = page_find(tb->page_addr[0] >> TARGET_PAGE_BITS); in tb_phys_invalidate()
803 p = page_find(tb->page_addr[1] >> TARGET_PAGE_BITS); in tb_phys_invalidate()
964 p = page_find(start >> TARGET_PAGE_BITS); in tb_invalidate_phys_page_range()
1065 p = page_find(start >> TARGET_PAGE_BITS); in tb_invalidate_phys_page_fast()
1096 p = page_find(addr >> TARGET_PAGE_BITS); in tb_invalidate_phys_page()
1148 p = page_find_alloc(page_addr >> TARGET_PAGE_BITS); in tb_alloc_page()
1169 p2 = page_find (addr >> TARGET_PAGE_BITS); in tb_alloc_page()
[all …]
Dcpu-all.h727 #define TARGET_PAGE_SIZE (1 << TARGET_PAGE_BITS)
941 #define IO_MEM_NB_ENTRIES (1 << (TARGET_PAGE_BITS - IO_MEM_SHIFT))
960 return ram_list.phys_dirty[addr >> TARGET_PAGE_BITS] == 0xff; in cpu_physical_memory_is_dirty()
965 return ram_list.phys_dirty[addr >> TARGET_PAGE_BITS]; in cpu_physical_memory_get_dirty_flags()
971 return ram_list.phys_dirty[addr >> TARGET_PAGE_BITS] & dirty_flags; in cpu_physical_memory_get_dirty()
976 ram_list.phys_dirty[addr >> TARGET_PAGE_BITS] = 0xff; in cpu_physical_memory_set_dirty()
982 return ram_list.phys_dirty[addr >> TARGET_PAGE_BITS] |= dirty_flags; in cpu_physical_memory_set_dirty_flags()
992 len = length >> TARGET_PAGE_BITS; in cpu_physical_memory_mask_dirty_range()
994 p = ram_list.phys_dirty + (start >> TARGET_PAGE_BITS); in cpu_physical_memory_mask_dirty_range()
Dsoftmmu_header.h91 page_index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in glue()
112 page_index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in glue()
137 page_index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in glue()
Dsoftmmu_template.h113 index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in glue()
201 index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in glue()
288 index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in glue()
376 index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in glue()
Dpoison.h34 #pragma GCC poison TARGET_PAGE_BITS
Dkqemu.c220 qemu_mallocz(kqemu_phys_ram_size >> TARGET_PAGE_BITS); in kqemu_init()
273 if (phys_ram_dirty[ram_addr >> TARGET_PAGE_BITS] != 0xff) in kqemu_set_notdirty()
287 page_index = modified_ram_pages[i] >> TARGET_PAGE_BITS; in kqemu_reset_modified_ram_pages()
301 page_index = ram_addr >> TARGET_PAGE_BITS; in kqemu_modify_page()
Dkvm-all.c314 size = ((mem->memory_size >> TARGET_PAGE_BITS) + 7) / 8; in kvm_physical_sync_dirty_bitmap()
335 unsigned nr = (phys_addr - mem->start_addr) >> TARGET_PAGE_BITS; in kvm_physical_sync_dirty_bitmap()
/external/qemu/memcheck/
Dmemcheck_util.c185 target_ulong index = (start >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in invalidate_tlb_cache()
186 const target_ulong to = ((end - 1) >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE-1); in invalidate_tlb_cache()
/external/qemu/target-mips/
Dmips-defs.h8 #define TARGET_PAGE_BITS 12 macro
Dop_helper.c1876 index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in v2p_mmu()
1905 index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in v2p()
/external/qemu/tcg/ppc64/
Dtcg-target.c578 | SH (32 - (TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS)) in tcg_out_tlb_read()
590 | ME (31 - TARGET_PAGE_BITS) in tcg_out_tlb_read()
595 64 - TARGET_PAGE_BITS, in tcg_out_tlb_read()
605 tcg_out_rld (s, RLDICR, r2, addr_reg, 0, 63 - TARGET_PAGE_BITS); in tcg_out_tlb_read()
609 64 - TARGET_PAGE_BITS, in tcg_out_tlb_read()
610 TARGET_PAGE_BITS - s_bits); in tcg_out_tlb_read()
611 tcg_out_rld (s, RLDICL, r2, r2, TARGET_PAGE_BITS, 0); in tcg_out_tlb_read()
/external/qemu/target-arm/
Dcpu.h441 #define TARGET_PAGE_BITS 12 macro
446 #define TARGET_PAGE_BITS 10 macro
/external/qemu/tcg/arm/
Dtcg-target.c994 0, addr_reg, SHIFT_IMM_LSR(TARGET_PAGE_BITS)); in tcg_out_qemu_ld()
1013 TCG_REG_R8, SHIFT_IMM_LSL(TARGET_PAGE_BITS)); in tcg_out_qemu_ld()
1214 TCG_REG_R8, 0, addr_reg, SHIFT_IMM_LSR(TARGET_PAGE_BITS)); in tcg_out_qemu_st()
1233 TCG_REG_R8, SHIFT_IMM_LSL(TARGET_PAGE_BITS)); in tcg_out_qemu_st()
/external/qemu/tcg/ppc/
Dtcg-target.c559 | SH (32 - (TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS)) in tcg_out_qemu_ld()
576 | ME (31 - TARGET_PAGE_BITS) in tcg_out_qemu_ld()
755 | SH (32 - (TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS)) in tcg_out_qemu_st()
772 | ME (31 - TARGET_PAGE_BITS) in tcg_out_qemu_st()
/external/qemu/tcg/x86_64/
Dtcg-target.c587 tcg_out8(s, TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS); in tcg_out_qemu_ld()
782 tcg_out8(s, TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS); in tcg_out_qemu_st()
/external/qemu/target-i386/
Dcpu.h858 #define TARGET_PAGE_BITS 12 macro
/external/qemu/tcg/sparc/
Dtcg-target.c767 tcg_out_arithi(s, arg1, addr_reg, TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS, in tcg_out_qemu_ld()
978 tcg_out_arithi(s, arg1, addr_reg, TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS, in tcg_out_qemu_st()
/external/qemu/tcg/hppa/
Dtcg-target.c912 tcg_out_extr(s, r1, addrlo, TARGET_PAGE_BITS, CPU_TLB_BITS, 0); in tcg_out_tlb_read()
/external/qemu/tcg/i386/
Dtcg-target.c1021 TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS); in tcg_out_tlb_load()