Home
last modified time | relevance | path

Searched refs:target_ulong (Results 1 – 25 of 43) sorted by relevance

12

/external/qemu/
Dsoftmmu_defs.h4 uint8_t REGPARM __ldb_mmu(target_ulong addr, int mmu_idx);
5 void REGPARM __stb_mmu(target_ulong addr, uint8_t val, int mmu_idx);
6 uint16_t REGPARM __ldw_mmu(target_ulong addr, int mmu_idx);
7 void REGPARM __stw_mmu(target_ulong addr, uint16_t val, int mmu_idx);
8 uint32_t REGPARM __ldl_mmu(target_ulong addr, int mmu_idx);
9 void REGPARM __stl_mmu(target_ulong addr, uint32_t val, int mmu_idx);
10 uint64_t REGPARM __ldq_mmu(target_ulong addr, int mmu_idx);
11 void REGPARM __stq_mmu(target_ulong addr, uint64_t val, int mmu_idx);
13 uint8_t REGPARM __ldb_cmmu(target_ulong addr, int mmu_idx);
14 void REGPARM __stb_cmmu(target_ulong addr, uint8_t val, int mmu_idx);
[all …]
Dexec-all.h51 extern target_ulong gen_opc_pc[OPC_BUF_SIZE];
52 extern target_ulong gen_opc_npc[OPC_BUF_SIZE];
56 extern target_ulong gen_opc_jump_pc[2];
79 target_ulong pc, target_ulong cs_base, int flags,
83 int page_unprotect(target_ulong address, unsigned long pc, void *puc);
86 void tb_invalidate_page_range(target_ulong start, target_ulong end);
87 void tlb_flush_page(CPUState *env, target_ulong addr);
89 int tlb_set_page_exec(CPUState *env, target_ulong vaddr,
92 static inline int tlb_set_page(CPUState *env1, target_ulong vaddr, in tlb_set_page()
122 target_ulong pc; /* simulated PC corresponding to this block (EIP + CS base) */
[all …]
Dcpu-defs.h45 typedef uint32_t target_ulong; typedef
51 typedef uint64_t target_ulong; typedef
93 target_ulong addr_read;
94 target_ulong addr_write;
95 target_ulong addr_code;
106 (sizeof(target_ulong) * 3 +
107 ((-sizeof(target_ulong) * 3) & (sizeof(target_phys_addr_t) - 1)) +
127 target_ulong pc;
133 target_ulong vaddr;
134 target_ulong len_mask;
[all …]
Dkvm.h57 int kvm_insert_breakpoint(CPUState *current_env, target_ulong addr,
58 target_ulong len, int type);
59 int kvm_remove_breakpoint(CPUState *current_env, target_ulong addr,
60 target_ulong len, int type);
98 target_ulong pc;
99 target_ulong saved_insn;
109 target_ulong pc);
117 int kvm_arch_insert_hw_breakpoint(target_ulong addr,
118 target_ulong len, int type);
119 int kvm_arch_remove_hw_breakpoint(target_ulong addr,
[all …]
Dsoftmmu_outside_jit.h35 uint8_t REGPARM __ldb_outside_jit(target_ulong addr, int mmu_idx);
36 void REGPARM __stb_outside_jit(target_ulong addr, uint8_t val, int mmu_idx);
37 uint16_t REGPARM __ldw_outside_jit(target_ulong addr, int mmu_idx);
38 void REGPARM __stw_outside_jit(target_ulong addr, uint16_t val, int mmu_idx);
39 uint32_t REGPARM __ldl_outside_jit(target_ulong addr, int mmu_idx);
40 void REGPARM __stl_outside_jit(target_ulong addr, uint32_t val, int mmu_idx);
41 uint64_t REGPARM __ldq_outside_jit(target_ulong addr, int mmu_idx);
42 void REGPARM __stq_outside_jit(target_ulong addr, uint64_t val, int mmu_idx);
Dsoftmmu_template.h63 static DATA_TYPE glue(glue(slow_ld, SUFFIX), MMUSUFFIX)(target_ulong addr,
67 target_ulong addr, in glue()
96 DATA_TYPE REGPARM glue(glue(__ld, SUFFIX), MMUSUFFIX)(target_ulong addr, in glue()
101 target_ulong tlb_addr; in glue()
127 memcheck_validate_ld(addr, DATA_SIZE, (target_ulong)GETPC())) { in glue()
147 (target_ulong)GETPC()); in glue()
188 static DATA_TYPE glue(glue(slow_ld, SUFFIX), MMUSUFFIX)(target_ulong addr, in glue()
195 target_ulong tlb_addr, addr1, addr2; in glue()
239 static void glue(glue(slow_st, SUFFIX), MMUSUFFIX)(target_ulong addr,
246 target_ulong addr, in glue()
[all …]
Dsoftmmu_header.h82 static inline RES_TYPE glue(glue(ld, USUFFIX), MEMSUFFIX)(target_ulong ptr) in glue()
86 target_ulong addr; in glue()
104 static inline int glue(glue(lds, SUFFIX), MEMSUFFIX)(target_ulong ptr) in glue()
107 target_ulong addr; in glue()
129 static inline void glue(glue(st, SUFFIX), MEMSUFFIX)(target_ulong ptr, RES_TYPE v) in glue()
132 target_ulong addr; in glue()
153 static inline float64 glue(ldfq, MEMSUFFIX)(target_ulong ptr) in glue()
163 static inline void glue(stfq, MEMSUFFIX)(target_ulong ptr, float64 v) in glue()
175 static inline float32 glue(ldfl, MEMSUFFIX)(target_ulong ptr) in glue()
185 static inline void glue(stfl, MEMSUFFIX)(target_ulong ptr, float32 v) in glue()
Dtranslate-all.c39 target_ulong gen_opc_pc[OPC_BUF_SIZE];
45 target_ulong gen_opc_npc[OPC_BUF_SIZE];
46 target_ulong gen_opc_jump_pc[2];
61 static target_ulong gen_opc_tpc2gpc[OPC_BUF_SIZE * 2];
62 target_ulong* gen_opc_tpc2gpc_ptr = &gen_opc_tpc2gpc[0];
148 qemu_malloc(gen_opc_tpc2gpc_pairs * 2 * sizeof(target_ulong)); in cpu_gen_code()
151 gen_opc_tpc2gpc_pairs * 2 * sizeof(target_ulong)); in cpu_gen_code()
Ddisas.h8 void target_disas(FILE *out, target_ulong code, target_ulong size, int flags);
13 target_ulong pc, int nb_insn, int is_physical, int flags);
17 const char *lookup_symbol(target_ulong orig_addr);
Dexec.c302 static inline PageDesc **page_l1_map(target_ulong index) in page_l1_map()
307 if (index > ((target_ulong)L2_SIZE * L1_SIZE)) in page_l1_map()
313 static inline PageDesc *page_find_alloc(target_ulong index) in page_find_alloc()
343 static inline PageDesc *page_find(target_ulong index) in page_find()
404 target_ulong vaddr);
668 static void tb_invalidate_check(target_ulong address) in tb_invalidate_check()
772 void tb_phys_invalidate(TranslationBlock *tb, target_ulong page_addr) in tb_phys_invalidate()
892 target_ulong pc, target_ulong cs_base, in tb_gen_code()
897 target_ulong phys_pc, phys_page2, virt_page2; in tb_gen_code()
942 target_ulong tb_start, tb_end; in tb_invalidate_phys_page_range()
[all …]
Darm-semi.c119 static target_ulong arm_semi_syscall_len;
122 static target_ulong syscall_err;
125 static void arm_semi_cb(CPUState *env, target_ulong ret, target_ulong err) in arm_semi_cb()
131 if (ret == (target_ulong)-1) { in arm_semi_cb()
155 static void arm_semi_flen_cb(CPUState *env, target_ulong ret, target_ulong err) in arm_semi_flen_cb()
171 target_ulong __arg; \
179 target_ulong args; in do_arm_semihosting()
Dcpu-all.h744 int page_get_flags(target_ulong address);
745 void page_set_flags(target_ulong start, target_ulong end, int flags);
746 int page_check_range(target_ulong start, target_ulong len, int flags);
795 int cpu_breakpoint_insert(CPUState *env, target_ulong pc, int flags,
797 int cpu_breakpoint_remove(CPUState *env, target_ulong pc, int flags);
800 int cpu_watchpoint_insert(CPUState *env, target_ulong addr, target_ulong len,
802 int cpu_watchpoint_remove(CPUState *env, target_ulong addr,
803 target_ulong len, int flags);
817 target_phys_addr_t cpu_get_phys_page_debug(CPUState *env, target_ulong addr);
871 int cpu_memory_rw_debug(CPUState *env, target_ulong addr,
Dgdbstub.c566 return sizeof(target_ulong); in cpu_gdb_write_register()
586 case 0: env->eip = ldtul_p(mem_buf); return sizeof(target_ulong); in cpu_gdb_write_register()
680 return sizeof(target_ulong); in cpu_gdb_write_register()
691 return sizeof(target_ulong); in cpu_gdb_write_register()
694 return sizeof(target_ulong); in cpu_gdb_write_register()
705 return sizeof(target_ulong); in cpu_gdb_write_register()
708 return sizeof(target_ulong); in cpu_gdb_write_register()
711 return sizeof(target_ulong); in cpu_gdb_write_register()
798 target_ulong tmp; in cpu_gdb_write_register()
1028 target_ulong tmp; in cpu_gdb_write_register()
[all …]
Ddisas.c131 void target_disas(FILE *out, target_ulong code, target_ulong size, int flags) in target_disas()
133 target_ulong pc; in target_disas()
301 const char *lookup_symbol(target_ulong orig_addr) in lookup_symbol()
345 target_ulong pc, int nb_insn, int is_physical, int flags) in monitor_disas()
/external/qemu/memcheck/
Dmemcheck_util.h45 target_ulong guest_address,
55 void memcheck_set_guest_buffer(target_ulong guest_address,
69 target_ulong guest_str,
82 target_ulong guest_str,
98 target_ulong guest_address) in memcheck_get_malloc_descriptor()
111 memcheck_set_malloc_descriptor(target_ulong guest_address, in memcheck_set_malloc_descriptor()
126 target_ulong guest_address) in memcheck_get_free_descriptor()
140 target_ulong guest_address) in memcheck_get_query_descriptor()
153 void memcheck_fail_alloc(target_ulong guest_address);
162 void memcheck_fail_free(target_ulong guest_address);
[all …]
Dmemcheck_common.h94 target_ulong ptr;
150 target_ulong ptr;
172 target_ulong desc;
216 target_ulong* call_stack;
244 target_ulong map_start;
247 target_ulong map_end;
250 target_ulong exec_offset;
278 target_ulong* addr;
294 static inline target_ulong
318 static inline target_ulong
[all …]
Dmemcheck_api.h46 extern target_ulong* gen_opc_tpc2gpc_ptr;
61 int memcheck_is_checked(target_ulong addr, uint32_t size);
73 int memcheck_validate_ld(target_ulong addr,
75 target_ulong retaddr);
89 int memcheck_validate_st(target_ulong addr,
92 target_ulong retaddr);
99 void memcheck_on_call(target_ulong pc, target_ulong ret);
105 void memcheck_on_ret(target_ulong pc);
Dmemcheck.h65 void memcheck_guest_alloc(target_ulong guest_address);
77 void memcheck_guest_free(target_ulong guest_address);
88 void memcheck_guest_query_malloc(target_ulong guest_address);
96 void memcheck_guest_print_str(target_ulong str);
168 void memcheck_mmap_exepath(target_ulong vstart,
169 target_ulong vend,
170 target_ulong exec_offset,
181 void memcheck_unmap(target_ulong vstart, target_ulong vend);
Dmemcheck.c69 av_invalid_pointer(ProcDesc* proc, target_ulong ptr, int routine) in av_invalid_pointer()
98 target_ulong addr, in av_access_violation()
101 target_ulong retaddr, in av_access_violation()
104 target_ulong vaddr; in av_access_violation()
171 addr < (target_ulong)mallocdesc_get_user_ptr(&desc->malloc_desc) ? in av_access_violation()
194 memcheck_common_access_validation(target_ulong addr, in memcheck_common_access_validation()
200 target_ulong validating_range_end; in memcheck_common_access_validation()
201 target_ulong user_range_end; in memcheck_common_access_validation()
270 procdesc_contains_allocs(ProcDesc* proc, target_ulong addr, uint32_t buf_size) { in procdesc_contains_allocs()
273 const target_ulong end_page = (addr + buf_size - 1) & TARGET_PAGE_MASK; in procdesc_contains_allocs()
[all …]
Dmemcheck_util.c95 target_ulong guest_address, in memcheck_get_guest_buffer()
112 memcheck_set_guest_buffer(target_ulong guest_address, in memcheck_set_guest_buffer()
126 target_ulong guest_str, in memcheck_get_guest_string()
145 target_ulong guest_str, in memcheck_get_guest_kernel_string()
167 memcheck_fail_alloc(target_ulong guest_address) in memcheck_fail_alloc()
173 memcheck_fail_free(target_ulong guest_address) in memcheck_fail_free()
179 memcheck_fail_query(target_ulong guest_address) in memcheck_fail_query()
189 invalidate_tlb_cache(target_ulong start, target_ulong end) in invalidate_tlb_cache()
191 target_ulong index = (start >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1); in invalidate_tlb_cache()
192 const target_ulong to = ((end - 1) >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE-1); in invalidate_tlb_cache()
[all …]
Dmemcheck_proc_management.h79 target_ulong call_address;
82 target_ulong call_address_rel;
84 target_ulong ret_address;
87 target_ulong ret_address_rel;
235 target_ulong address, in procdesc_find_malloc_for_range()
249 procdesc_find_malloc(ProcDesc* proc, target_ulong address) in procdesc_find_malloc()
262 procdesc_pull_malloc(ProcDesc* proc, target_ulong address, MallocDescEx* pulled) in procdesc_pull_malloc()
288 procdesc_find_mapentry(const ProcDesc* proc, target_ulong addr) in procdesc_find_mapentry()
302 procdesc_get_range_desc(const ProcDesc* proc, target_ulong addr) in procdesc_get_range_desc()
317 procdesc_get_module_path(const ProcDesc* proc, target_ulong addr) in procdesc_get_module_path()
Dmemcheck_malloc_map.c55 static inline target_ulong
68 static inline target_ulong
91 const target_ulong start1 = allocmapentry_alloc_begins(d1); in cmp_rb()
92 const target_ulong start2 = allocmapentry_alloc_begins(d2); in cmp_rb()
147 target_ulong address, in allocmap_find_entry()
193 allocmap_find(const AllocMap* map, target_ulong address, uint32_t block_size) in allocmap_find()
200 allocmap_pull(AllocMap* map, target_ulong address, MallocDescEx* pulled) in allocmap_pull()
247 qemu_malloc(entry->desc.call_stack_count * sizeof(target_ulong)); in allocmap_copy()
249 entry->desc.call_stack_count * sizeof(target_ulong)); in allocmap_copy()
Dmemcheck_mmrange_map.c53 const target_ulong start1 = d1->desc.map_start; in cmp_rb()
54 const target_ulong start2 = d2->desc.map_start; in cmp_rb()
108 target_ulong start, in mmrangemap_find_entry()
109 target_ulong end) in mmrangemap_find_entry()
154 mmrangemap_find(const MMRangeMap* map, target_ulong start, target_ulong end) in mmrangemap_find()
162 target_ulong start, in mmrangemap_pull()
163 target_ulong end, in mmrangemap_pull()
Dmemcheck_mmrange_map.h86 target_ulong start,
87 target_ulong end);
102 target_ulong start,
103 target_ulong end,
/external/qemu/target-arm/
Dmemcheck_arm_helpers.h94 is_thumb_bl_or_blx(uint16_t insn, target_ulong pc, target_ulong* ret_off) in is_thumb_bl_or_blx()
130 register_ret_address(CPUState* env, target_ulong addr) in register_ret_address()
154 const target_ulong phys_pc = get_phys_addr_code(env, addr); in register_ret_address()
155 const target_ulong phys_page1 = phys_pc & TARGET_PAGE_MASK; in register_ret_address()
173 is_ret_address(CPUState* env, target_ulong addr) in is_ret_address()
184 set_on_call(target_ulong pc, target_ulong ret) in set_on_call()
197 set_on_ret(target_ulong ret) in set_on_ret()

12