Home
last modified time | relevance | path

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

/external/qemu/
Dexec.c165 #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()
[all …]
Dsoftmmu_header.h108 "i" (TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS), in glue()
154 "i" (TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS), in glue()
207 "i" (TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS), in glue()
228 page_index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in glue()
249 page_index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in glue()
274 page_index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in glue()
Dexec-all.h168 tmp = pc ^ (pc >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS)); in tb_jmp_cache_hash_page()
169 return (tmp >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS)) & TB_JMP_PAGE_MASK; in tb_jmp_cache_hash_page()
175 tmp = pc ^ (pc >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS)); in tb_jmp_cache_hash_func()
176 return (((tmp >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS)) & TB_JMP_PAGE_MASK) in tb_jmp_cache_hash_func()
326 page_index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in get_phys_addr_code()
Dsoftmmu_template.h97 index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in glue()
151 index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in glue()
238 index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in glue()
290 index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in glue()
Dcpu-all.h714 #define TARGET_PAGE_SIZE (1 << TARGET_PAGE_BITS)
862 #define IO_MEM_NB_ENTRIES (1 << (TARGET_PAGE_BITS - IO_MEM_SHIFT))
885 return phys_ram_dirty[addr >> TARGET_PAGE_BITS] == 0xff; in cpu_physical_memory_is_dirty()
891 return phys_ram_dirty[addr >> TARGET_PAGE_BITS] & dirty_flags; in cpu_physical_memory_get_dirty()
896 phys_ram_dirty[addr >> TARGET_PAGE_BITS] = 0xff; in cpu_physical_memory_set_dirty()
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()
/external/qemu/target-arm/
Dcpu.h395 #define TARGET_PAGE_BITS 12 macro
400 #define TARGET_PAGE_BITS 10 macro
/external/qemu/tcg/ppc64/
Dtcg-target.c550 | SH (32 - (TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS)) in tcg_out_tlb_read()
562 | ME (31 - TARGET_PAGE_BITS) in tcg_out_tlb_read()
567 64 - TARGET_PAGE_BITS, in tcg_out_tlb_read()
577 tcg_out_rld (s, RLDICR, r2, addr_reg, 0, 63 - TARGET_PAGE_BITS); in tcg_out_tlb_read()
581 64 - TARGET_PAGE_BITS, in tcg_out_tlb_read()
582 TARGET_PAGE_BITS - s_bits); in tcg_out_tlb_read()
583 tcg_out_rld (s, RLDICL, r2, r2, TARGET_PAGE_BITS, 0); in tcg_out_tlb_read()
/external/qemu/tcg/ppc/
Dtcg-target.c533 | SH (32 - (TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS)) in tcg_out_qemu_ld()
550 | ME (31 - TARGET_PAGE_BITS) in tcg_out_qemu_ld()
720 | SH (32 - (TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS)) in tcg_out_qemu_st()
737 | ME (31 - TARGET_PAGE_BITS) in tcg_out_qemu_st()
/external/qemu/tcg/arm/
Dtcg-target.c877 8, 0, addr_reg, SHIFT_IMM_LSR(TARGET_PAGE_BITS)); in tcg_out_qemu_ld()
896 0, 1, 8, SHIFT_IMM_LSL(TARGET_PAGE_BITS)); in tcg_out_qemu_ld()
1057 8, 0, addr_reg, SHIFT_IMM_LSR(TARGET_PAGE_BITS)); in tcg_out_qemu_st()
1076 0, 1, 8, SHIFT_IMM_LSL(TARGET_PAGE_BITS)); in tcg_out_qemu_st()
/external/qemu/tcg/hppa/
Dtcg-target.c402 INSN_SHDEP_CP(TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS)); in tcg_out_qemu_ld()
575 INSN_SHDEP_CP(TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS)); in tcg_out_qemu_st()
/external/qemu/tcg/sparc/
Dtcg-target.c581 tcg_out_arithi(s, arg1, addr_reg, TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS, in tcg_out_qemu_ld()
792 tcg_out_arithi(s, arg1, addr_reg, TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS, in tcg_out_qemu_st()
/external/qemu/tcg/i386/
Dtcg-target.c480 tcg_out8(s, TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS); in tcg_out_qemu_ld()
692 tcg_out8(s, TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS); in tcg_out_qemu_st()
/external/qemu/tcg/x86_64/
Dtcg-target.c563 tcg_out8(s, TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS); in tcg_out_qemu_ld()
745 tcg_out8(s, TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS); in tcg_out_qemu_st()