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

/external/qemu/target-mips/
H A Dmips-defs.h8 #define TARGET_PAGE_BITS 12 macro
H A Dop_helper.c1954 index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1);
1983 index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1);
/external/qemu/
H A Dexec-all.h180 tmp = pc ^ (pc >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS));
181 return (tmp >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS)) & TB_JMP_PAGE_MASK;
187 tmp = pc ^ (pc >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS));
188 return (((tmp >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS)) & TB_JMP_PAGE_MASK)
394 page_index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1);
H A Dpoison.h34 #pragma GCC poison TARGET_PAGE_BITS
H A Dsoftmmu_header.h91 page_index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1);
112 page_index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1);
137 page_index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1);
H A 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;
965 return ram_list.phys_dirty[addr >> TARGET_PAGE_BITS];
971 return ram_list.phys_dirty[addr >> TARGET_PAGE_BITS] & dirty_flags;
976 ram_list.phys_dirty[addr >> TARGET_PAGE_BITS] = 0xff;
982 return ram_list.phys_dirty[addr >> TARGET_PAGE_BITS] |= dirty_flags;
992 len = length >> TARGET_PAGE_BITS;
994 p = ram_list.phys_dirty + (start >> TARGET_PAGE_BITS);
H A Dsoftmmu_template.h113 index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1);
201 index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1);
288 index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1);
376 index = (addr >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1);
H A 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;
798 p = page_find(tb->page_addr[0] >> TARGET_PAGE_BITS);
803 p = page_find(tb->page_addr[1] >> TARGET_PAGE_BITS);
964 p = page_find(start >> TARGET_PAGE_BITS);
1065 p = page_find(start >> TARGET_PAGE_BITS);
1096 p = page_find(addr >> TARGET_PAGE_BITS);
1148 p = page_find_alloc(page_addr >> TARGET_PAGE_BITS);
1169 p2 = page_find (addr >> TARGET_PAGE_BITS);
[all...]
H A Dkqemu.c220 qemu_mallocz(kqemu_phys_ram_size >> TARGET_PAGE_BITS);
273 if (phys_ram_dirty[ram_addr >> TARGET_PAGE_BITS] != 0xff)
287 page_index = modified_ram_pages[i] >> TARGET_PAGE_BITS;
301 page_index = ram_addr >> TARGET_PAGE_BITS;
H A Dkvm-all.c314 size = ((mem->memory_size >> TARGET_PAGE_BITS) + 7) / 8;
335 unsigned nr = (phys_addr - mem->start_addr) >> TARGET_PAGE_BITS;
/external/qemu/memcheck/
H A Dmemcheck_util.c185 target_ulong index = (start >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1);
186 const target_ulong to = ((end - 1) >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE-1);
/external/qemu/target-arm/
H A Dcpu.h441 #define TARGET_PAGE_BITS 12 macro
446 #define TARGET_PAGE_BITS 10 macro
/external/qemu/tcg/ppc64/
H A Dtcg-target.c578 | SH (32 - (TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS))
590 | ME (31 - TARGET_PAGE_BITS)
595 64 - TARGET_PAGE_BITS,
605 tcg_out_rld (s, RLDICR, r2, addr_reg, 0, 63 - TARGET_PAGE_BITS);
609 64 - TARGET_PAGE_BITS,
610 TARGET_PAGE_BITS - s_bits);
611 tcg_out_rld (s, RLDICL, r2, r2, TARGET_PAGE_BITS, 0);
/external/qemu/tcg/arm/
H A Dtcg-target.c986 * shr r8, addr_reg, #TARGET_PAGE_BITS
994 0, addr_reg, SHIFT_IMM_LSR(TARGET_PAGE_BITS));
1013 TCG_REG_R8, SHIFT_IMM_LSL(TARGET_PAGE_BITS));
1209 * shr r8, addr_reg, #TARGET_PAGE_BITS
1214 TCG_REG_R8, 0, addr_reg, SHIFT_IMM_LSR(TARGET_PAGE_BITS));
1233 TCG_REG_R8, SHIFT_IMM_LSL(TARGET_PAGE_BITS));
/external/qemu/tcg/ppc/
H A Dtcg-target.c559 | SH (32 - (TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS))
576 | ME (31 - TARGET_PAGE_BITS)
755 | SH (32 - (TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS))
772 | ME (31 - TARGET_PAGE_BITS)
/external/qemu/target-i386/
H A Dcpu.h858 #define TARGET_PAGE_BITS 12 macro
/external/qemu/tcg/x86_64/
H A Dtcg-target.c587 tcg_out8(s, TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS);
782 tcg_out8(s, TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS);
/external/qemu/tcg/sparc/
H A Dtcg-target.c767 tcg_out_arithi(s, arg1, addr_reg, TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS,
978 tcg_out_arithi(s, arg1, addr_reg, TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS,
/external/qemu/tcg/hppa/
H A Dtcg-target.c904 r1 = addr_reg >> TARGET_PAGE_BITS;
907 What this does is extract CPU_TLB_BITS beginning at TARGET_PAGE_BITS
912 tcg_out_extr(s, r1, addrlo, TARGET_PAGE_BITS, CPU_TLB_BITS, 0);
/external/qemu/tcg/i386/
H A Dtcg-target.c1021 TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS);

Completed in 2088 milliseconds