Home
last modified time | relevance | path

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

123

/openbmc/qemu/include/exec/
H A Dram_addr.h96 return host_addr_offset >> TARGET_PAGE_BITS; in ramblock_recv_bitmap_offset()
165 end = TARGET_PAGE_ALIGN(start + length) >> TARGET_PAGE_BITS; in cpu_physical_memory_get_dirty()
166 page = start >> TARGET_PAGE_BITS; in cpu_physical_memory_get_dirty()
205 end = TARGET_PAGE_ALIGN(start + length) >> TARGET_PAGE_BITS; in cpu_physical_memory_all_dirty()
206 page = start >> TARGET_PAGE_BITS; in cpu_physical_memory_all_dirty()
277 page = addr >> TARGET_PAGE_BITS; in cpu_physical_memory_set_dirty_flag()
301 end = TARGET_PAGE_ALIGN(start + length) >> TARGET_PAGE_BITS; in cpu_physical_memory_set_dirty_range()
302 page = start >> TARGET_PAGE_BITS; in cpu_physical_memory_set_dirty_range()
358 unsigned long page = BIT_WORD(start >> TARGET_PAGE_BITS); in cpu_physical_memory_set_dirty_lebitmap()
361 if ((((page * BITS_PER_LONG) << TARGET_PAGE_BITS) == start) && in cpu_physical_memory_set_dirty_lebitmap()
[all …]
H A Dcpu-defs.h45 #ifndef TARGET_PAGE_BITS
51 # error TARGET_PAGE_BITS must be defined in cpu-param.h
63 # define CPU_TLB_DYN_MAX_BITS (32 - TARGET_PAGE_BITS)
74 MIN(22, TARGET_VIRT_ADDR_SPACE_BITS - TARGET_PAGE_BITS)
77 MIN_CONST(22, TARGET_VIRT_ADDR_SPACE_BITS - TARGET_PAGE_BITS)
H A Dcpu-all.h144 # define TARGET_PAGE_BITS ({ assert(target_page.decided); \ macro
149 # define TARGET_PAGE_BITS target_page.bits macro
154 # define TARGET_PAGE_BITS_MIN TARGET_PAGE_BITS
155 # define TARGET_PAGE_SIZE (1 << TARGET_PAGE_BITS)
156 # define TARGET_PAGE_MASK ((target_long)-1 << TARGET_PAGE_BITS)
/openbmc/qemu/accel/tcg/
H A Dtb-maint.c192 assert(TARGET_PAGE_BITS); in page_table_config_init()
194 v_l1_bits = (L1_MAP_ADDR_SPACE_BITS - TARGET_PAGE_BITS) % V_L2_BITS; in page_table_config_init()
200 v_l1_shift = L1_MAP_ADDR_SPACE_BITS - TARGET_PAGE_BITS - v_l1_bits; in page_table_config_init()
403 page_lock(page_find_alloc(paddr >> TARGET_PAGE_BITS, true)); in tb_lock_page0()
408 tb_page_addr_t pindex0 = paddr0 >> TARGET_PAGE_BITS; in tb_lock_page1()
409 tb_page_addr_t pindex1 = paddr1 >> TARGET_PAGE_BITS; in tb_lock_page1()
442 tb_page_addr_t pindex0 = paddr0 >> TARGET_PAGE_BITS; in tb_unlock_page1()
443 tb_page_addr_t pindex1 = paddr1 >> TARGET_PAGE_BITS; in tb_unlock_page1()
454 tb_page_addr_t pindex0 = paddr0 >> TARGET_PAGE_BITS; in tb_lock_pages()
455 tb_page_addr_t pindex1 = paddr1 >> TARGET_PAGE_BITS; in tb_lock_pages()
[all …]
H A Dtb-hash.h41 tmp = pc ^ (pc >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS)); in tb_jmp_cache_hash_page()
42 return (tmp >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS)) & TB_JMP_PAGE_MASK; in tb_jmp_cache_hash_page()
48 tmp = pc ^ (pc >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS)); in tb_jmp_cache_hash_func()
49 return (((tmp >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS)) & TB_JMP_PAGE_MASK) in tb_jmp_cache_hash_func()
/openbmc/qemu/migration/
H A Dram.c260 return test_bit(byte_offset >> TARGET_PAGE_BITS, rb->receivedmap); in ramblock_recv_bitmap_test_byte_offset()
278 set_bit_atomic(byte_offset >> TARGET_PAGE_BITS, rb->receivedmap); in ramblock_recv_bitmap_set_offset()
299 nbits = block->postcopy_length >> TARGET_PAGE_BITS; in ramblock_recv_bitmap_send()
715 unsigned long size = rb->used_length >> TARGET_PAGE_BITS; in pss_find_next_dirty()
757 size = 1ULL << (TARGET_PAGE_BITS + shift); in migration_clear_memory_region_dirty_bitmap()
758 start = QEMU_ALIGN_DOWN((ram_addr_t)page << TARGET_PAGE_BITS, size); in migration_clear_memory_region_dirty_bitmap()
796 unsigned long size = rb->used_length >> TARGET_PAGE_BITS; in colo_bitmap_find_dirty()
845 const unsigned long start = offset >> TARGET_PAGE_BITS; in dirty_bitmap_clear_section()
846 const unsigned long npages = size >> TARGET_PAGE_BITS; in dirty_bitmap_clear_section()
1149 clear_bit_atomic(offset >> TARGET_PAGE_BITS, pss->block->file_bmap); in save_zero_page()
[all …]
/openbmc/qemu/target/alpha/
H A Dcpu-param.h26 # define TARGET_PAGE_BITS 13 macro
27 # define TARGET_VIRT_ADDR_SPACE_BITS (30 + TARGET_PAGE_BITS)
H A Dhelper.c223 index = (addr >> (TARGET_PAGE_BITS + 20)) & 0x3ff; in get_physical_address()
233 pt = L1pte >> 32 << TARGET_PAGE_BITS; in get_physical_address()
236 index = (addr >> (TARGET_PAGE_BITS + 10)) & 0x3ff; in get_physical_address()
246 pt = L2pte >> 32 << TARGET_PAGE_BITS; in get_physical_address()
249 index = (addr >> TARGET_PAGE_BITS) & 0x3ff; in get_physical_address()
252 phys = L3pte >> 32 << TARGET_PAGE_BITS; in get_physical_address()
/openbmc/qemu/target/sparc/
H A Dcpu-param.h12 # define TARGET_PAGE_BITS 13 /* 8k */ macro
21 # define TARGET_PAGE_BITS 12 /* 4k */ macro
/openbmc/qemu/
H A Dpage-target.c27 return TARGET_PAGE_BITS; in qemu_target_page_bits()
38 int page_bits = TARGET_PAGE_BITS; in qemu_target_pages_to_MiB()
/openbmc/qemu/target/arm/
H A Dcpu-param.h25 # define TARGET_PAGE_BITS 12 macro
32 # define TARGET_PAGE_BITS 12 macro
/openbmc/qemu/target/hppa/
H A Dmem_helper.c474 out->lg_page_size = TARGET_PAGE_BITS; in hppa_cpu_tlb_fill_align()
497 ent->pa = extract32(reg, 5, 20) << TARGET_PAGE_BITS; in HELPER()
554 ent->pa = r1 << (TARGET_PAGE_BITS - 5); in itlbt_pa20()
755 (long long) virt_page << TARGET_PAGE_BITS, in HELPER()
756 (long long) (virt_page + len) << TARGET_PAGE_BITS, in HELPER()
765 btlb->itree.start = virt_page << TARGET_PAGE_BITS; in HELPER()
767 btlb->pa = phys_page << TARGET_PAGE_BITS; in HELPER()
H A Dcpu-param.h22 #define TARGET_PAGE_BITS 12 macro
/openbmc/qemu/target/m68k/
H A Dcpu-param.h17 #define TARGET_PAGE_BITS 12 macro
/openbmc/qemu/target/hexagon/
H A Dcpu-param.h21 #define TARGET_PAGE_BITS 16 /* 64K pages */ macro
/openbmc/qemu/target/rx/
H A Dcpu-param.h23 #define TARGET_PAGE_BITS 12 macro
/openbmc/qemu/target/tricore/
H A Dcpu-param.h12 #define TARGET_PAGE_BITS 14 macro
/openbmc/qemu/target/openrisc/
H A Dcpu-param.h12 #define TARGET_PAGE_BITS 13 macro
/openbmc/qemu/target/avr/
H A Dcpu-param.h31 #define TARGET_PAGE_BITS 8 macro
/openbmc/qemu/target/loongarch/
H A Dcpu-param.h15 #define TARGET_PAGE_BITS 12 macro
/openbmc/qemu/target/sh4/
H A Dcpu-param.h12 #define TARGET_PAGE_BITS 12 /* 4k */ macro
/openbmc/qemu/target/xtensa/
H A Dcpu-param.h12 #define TARGET_PAGE_BITS 12 macro
/openbmc/qemu/target/s390x/
H A Dcpu-param.h12 #define TARGET_PAGE_BITS 12 macro
/openbmc/qemu/target/microblaze/
H A Dcpu-param.h30 #define TARGET_PAGE_BITS 12 macro
/openbmc/qemu/target/i386/
H A Dcpu-param.h25 #define TARGET_PAGE_BITS 12 macro

123