/external/qemu/memcheck/ |
D | memcheck_util.h | 40 target_ulong guest_address, 50 void memcheck_set_guest_buffer(target_ulong guest_address, 64 target_ulong guest_str, 77 target_ulong guest_str, 93 target_ulong guest_address) in memcheck_get_malloc_descriptor() 106 memcheck_set_malloc_descriptor(target_ulong guest_address, in memcheck_set_malloc_descriptor() 121 target_ulong guest_address) in memcheck_get_free_descriptor() 135 target_ulong guest_address) in memcheck_get_query_descriptor() 148 void memcheck_fail_alloc(target_ulong guest_address); 157 void memcheck_fail_free(target_ulong guest_address); [all …]
|
D | memcheck_common.h | 88 target_ulong ptr; 144 target_ulong ptr; 166 target_ulong desc; 210 target_ulong* call_stack; 238 target_ulong map_start; 241 target_ulong map_end; 244 target_ulong exec_offset; 272 target_ulong* addr; 288 static inline target_ulong 312 static inline target_ulong [all …]
|
D | memcheck.h | 59 void memcheck_guest_alloc(target_ulong guest_address); 71 void memcheck_guest_free(target_ulong guest_address); 82 void memcheck_guest_query_malloc(target_ulong guest_address); 90 void memcheck_guest_print_str(target_ulong str); 162 void memcheck_mmap_exepath(target_ulong vstart, 163 target_ulong vend, 164 target_ulong exec_offset, 175 void memcheck_unmap(target_ulong vstart, target_ulong vend);
|
D | memcheck_api.h | 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);
|
D | memcheck_util.c | 89 target_ulong guest_address, in memcheck_get_guest_buffer() 106 memcheck_set_guest_buffer(target_ulong guest_address, in memcheck_set_guest_buffer() 120 target_ulong guest_str, in memcheck_get_guest_string() 139 target_ulong guest_str, in memcheck_get_guest_kernel_string() 161 memcheck_fail_alloc(target_ulong guest_address) in memcheck_fail_alloc() 167 memcheck_fail_free(target_ulong guest_address) in memcheck_fail_free() 173 memcheck_fail_query(target_ulong guest_address) in memcheck_fail_query() 183 invalidate_tlb_cache(target_ulong start, target_ulong end) in invalidate_tlb_cache() 185 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() [all …]
|
D | memcheck_proc_management.h | 73 target_ulong call_address; 76 target_ulong call_address_rel; 78 target_ulong ret_address; 81 target_ulong ret_address_rel; 229 target_ulong address, in procdesc_find_malloc_for_range() 243 procdesc_find_malloc(ProcDesc* proc, target_ulong address) in procdesc_find_malloc() 256 procdesc_pull_malloc(ProcDesc* proc, target_ulong address, MallocDescEx* pulled) in procdesc_pull_malloc() 282 procdesc_find_mapentry(const ProcDesc* proc, target_ulong addr) in procdesc_find_mapentry() 296 procdesc_get_range_desc(const ProcDesc* proc, target_ulong addr) in procdesc_get_range_desc() 311 procdesc_get_module_path(const ProcDesc* proc, target_ulong addr) in procdesc_get_module_path()
|
D | memcheck.c | 63 av_invalid_pointer(ProcDesc* proc, target_ulong ptr, int routine) in av_invalid_pointer() 92 target_ulong addr, in av_access_violation() 95 target_ulong retaddr, in av_access_violation() 98 target_ulong vaddr; in av_access_violation() 165 addr < (target_ulong)mallocdesc_get_user_ptr(&desc->malloc_desc) ? in av_access_violation() 188 memcheck_common_access_validation(target_ulong addr, in memcheck_common_access_validation() 194 target_ulong validating_range_end; in memcheck_common_access_validation() 195 target_ulong user_range_end; in memcheck_common_access_validation() 264 procdesc_contains_allocs(ProcDesc* proc, target_ulong addr, uint32_t buf_size) { in procdesc_contains_allocs() 267 const target_ulong end_page = (addr + buf_size - 1) & TARGET_PAGE_MASK; in procdesc_contains_allocs() [all …]
|
D | memcheck_malloc_map.c | 49 static inline target_ulong 62 static inline target_ulong 85 const target_ulong start1 = allocmapentry_alloc_begins(d1); in cmp_rb() 86 const target_ulong start2 = allocmapentry_alloc_begins(d2); in cmp_rb() 141 target_ulong address, in allocmap_find_entry() 187 allocmap_find(const AllocMap* map, target_ulong address, uint32_t block_size) in allocmap_find() 194 allocmap_pull(AllocMap* map, target_ulong address, MallocDescEx* pulled) in allocmap_pull() 241 qemu_malloc(entry->desc.call_stack_count * sizeof(target_ulong)); in allocmap_copy() 243 entry->desc.call_stack_count * sizeof(target_ulong)); in allocmap_copy()
|
D | memcheck_mmrange_map.c | 47 const target_ulong start1 = d1->desc.map_start; in cmp_rb() 48 const target_ulong start2 = d2->desc.map_start; in cmp_rb() 102 target_ulong start, in mmrangemap_find_entry() 103 target_ulong end) in mmrangemap_find_entry() 148 mmrangemap_find(const MMRangeMap* map, target_ulong start, target_ulong end) in mmrangemap_find() 156 target_ulong start, in mmrangemap_pull() 157 target_ulong end, in mmrangemap_pull()
|
D | memcheck_mmrange_map.h | 80 target_ulong start, 81 target_ulong end); 96 target_ulong start, 97 target_ulong end,
|
/external/qemu/ |
D | softmmu_defs.h | 4 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 …]
|
D | exec-all.h | 60 extern target_ulong gen_opc_pc[OPC_BUF_SIZE]; 61 extern target_ulong gen_opc_npc[OPC_BUF_SIZE]; 65 extern target_ulong gen_opc_jump_pc[2]; 83 target_ulong pc, target_ulong cs_base, int flags, 87 int page_unprotect(target_ulong address, unsigned long pc, void *puc); 90 void tb_invalidate_page_range(target_ulong start, target_ulong end); 91 void tlb_flush_page(CPUState *env, target_ulong addr); 93 int tlb_set_page_exec(CPUState *env, target_ulong vaddr, 96 static inline int tlb_set_page(CPUState *env1, target_ulong vaddr, in tlb_set_page() 126 target_ulong pc; /* simulated PC corresponding to this block (EIP + CS base) */ [all …]
|
D | cpu-defs.h | 43 typedef uint32_t target_ulong; typedef 49 typedef uint64_t target_ulong; typedef 92 target_ulong addr_read; 93 target_ulong addr_write; 94 target_ulong addr_code; 100 (sizeof(target_ulong) * 3 + 101 ((-sizeof(target_ulong) * 3) & (sizeof(size_t) - 1)) + 111 target_ulong tlb_flush_addr; \ 112 target_ulong tlb_flush_mask; 138 target_ulong pc; [all …]
|
D | softmmu_outside_jit.h | 35 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);
|
D | kvm.h | 63 int kvm_insert_breakpoint(CPUState *current_env, target_ulong addr, 64 target_ulong len, int type); 65 int kvm_remove_breakpoint(CPUState *current_env, target_ulong addr, 66 target_ulong len, int type); 106 target_ulong pc; 107 target_ulong saved_insn; 117 target_ulong pc); 125 int kvm_arch_insert_hw_breakpoint(target_ulong addr, 126 target_ulong len, int type); 127 int kvm_arch_remove_hw_breakpoint(target_ulong addr, [all …]
|
D | disas.h | 9 void target_disas(FILE *out, target_ulong code, target_ulong size, int flags); 12 target_ulong pc, int nb_insn, int is_physical, int flags); 15 const char *lookup_symbol(target_ulong orig_addr); 23 typedef const char *(*lookup_symbol_t)(struct syminfo *s, target_ulong orig_addr);
|
D | softmmu_header.h | 82 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()
|
D | softmmu_template.h | 65 static DATA_TYPE glue(glue(slow_ld, SUFFIX), MMUSUFFIX)(target_ulong addr, 69 target_ulong addr, in glue() 98 DATA_TYPE REGPARM glue(glue(__ld, SUFFIX), MMUSUFFIX)(target_ulong addr, in glue() 103 target_ulong tlb_addr; in glue() 130 memcheck_validate_ld(addr, DATA_SIZE, (target_ulong)(ptrdiff_t)GETPC())) { in glue() 150 (target_ulong)(ptrdiff_t)GETPC()); in glue() 191 static DATA_TYPE glue(glue(slow_ld, SUFFIX), MMUSUFFIX)(target_ulong addr, in glue() 199 target_ulong tlb_addr, addr1, addr2; in glue() 242 static void glue(glue(slow_st, SUFFIX), MMUSUFFIX)(target_ulong addr, 249 target_ulong addr, in glue() [all …]
|
/external/qemu/target-mips/ |
D | cpu.h | 26 target_ulong VPN; 36 target_ulong PFN[2]; 43 …) (struct CPUMIPSState *env, target_phys_addr_t *physical, int *prot, target_ulong address, int rw… 142 target_ulong gpr[32]; 143 target_ulong PC; 144 target_ulong HI[MIPS_DSP_ACC]; 145 target_ulong LO[MIPS_DSP_ACC]; 146 target_ulong ACX[MIPS_DSP_ACC]; 147 target_ulong DSPControl; 166 target_ulong CP0_TCHalt; [all …]
|
D | op_helper.c | 71 static inline type do_##name(target_ulong addr, int mem_idx) \ 77 static inline type do_##name(target_ulong addr, int mem_idx) \ 97 static inline void do_##name(target_ulong addr, type val, int mem_idx) \ in HELPER_LD() 103 static inline void do_##name(target_ulong addr, type val, int mem_idx) \ 121 target_ulong helper_clo (target_ulong arg1) 126 target_ulong helper_clz (target_ulong arg1) in helper_clz() 132 target_ulong helper_dclo (target_ulong arg1) in helper_dclo() 137 target_ulong helper_dclz (target_ulong arg1) in helper_dclz() 155 static inline void set_HIT0_LO (target_ulong arg1, uint64_t HILO) in set_HIT0_LO() 161 static inline void set_HI_LOT0 (target_ulong arg1, uint64_t HILO) in set_HI_LOT0() [all …]
|
D | helper.c | 39 target_ulong address, int rw, int access_type) in no_mmu_map_address() 48 target_ulong address, int rw, int access_type) in fixed_mmu_map_address() 66 target_ulong address, int rw, int access_type) in r4k_map_address() 74 target_ulong mask = tlb->PageMask | ~(TARGET_PAGE_MASK << 1); in r4k_map_address() 75 target_ulong tag = address & ~mask; in r4k_map_address() 76 target_ulong VPN = tlb->VPN & ~mask; in r4k_map_address() 103 int *prot, target_ulong address, in get_physical_address() 204 static void raise_mmu_exception(CPUState *env, target_ulong address, in raise_mmu_exception() 256 target_phys_addr_t cpu_get_phys_page_debug(CPUState *env, target_ulong addr) in cpu_get_phys_page_debug() 270 int cpu_mips_handle_mmu_fault (CPUState *env, target_ulong address, int rw, in cpu_mips_handle_mmu_fault() [all …]
|
/external/qemu/target-i386/ |
D | cpu.h | 509 target_ulong base; 568 target_ulong regs[CPU_NB_REGS]; 569 target_ulong eip; 570 target_ulong eflags; /* eflags register. During CPU emulation, CC 575 target_ulong cc_src; 576 target_ulong cc_dst; 590 target_ulong cr[5]; /* NOTE: cr1 is unused */ 617 target_ulong cc_tmp; /* temporary for rcr/rcl */ 621 target_ulong sysenter_esp; 622 target_ulong sysenter_eip; [all …]
|
D | helper_template.h | 22 #define SIGN_MASK (((target_ulong)1) << (DATA_BITS - 1)) 203 of = ((CC_DST & DATA_MASK) == ((target_ulong)SIGN_MASK - 1)) << 11; in glue() 270 target_ulong glue(helper_rcl, SUFFIX)(target_ulong t0, target_ulong t1) in glue() 273 target_ulong src; in glue() 286 res = (t0 << count) | ((target_ulong)(eflags & CC_C) << (count - 1)); in glue() 299 target_ulong glue(helper_rcr, SUFFIX)(target_ulong t0, target_ulong t1) in glue() 302 target_ulong src; in glue() 315 res = (t0 >> count) | ((target_ulong)(eflags & CC_C) << (DATA_BITS - count)); in glue()
|
/external/qemu/target-arm/ |
D | translate-android.h | 96 is_thumb_bl_or_blx(uint16_t insn, target_ulong pc, target_ulong* ret_off) in is_thumb_bl_or_blx() 132 register_ret_address(CPUState* env, target_ulong addr) in register_ret_address() 156 const target_ulong phys_pc = get_phys_addr_code(env, addr); in register_ret_address() 157 const target_ulong phys_page1 = phys_pc & TARGET_PAGE_MASK; in register_ret_address() 175 is_ret_address(CPUState* env, target_ulong addr) in is_ret_address() 186 set_on_call(target_ulong pc, target_ulong ret) in set_on_call() 199 set_on_ret(target_ulong ret) in set_on_ret() 224 target_ulong ret_off; \
|
D | helper-android.c | 13 void vstrcpy(target_ulong ptr, char *buf, int max) in vstrcpy() 58 void HELPER(on_call)(target_ulong pc, target_ulong ret) { in HELPER() 62 void HELPER(on_ret)(target_ulong ret) { in HELPER()
|