Home
last modified time | relevance | path

Searched refs:haddr (Results 1 – 13 of 13) sorted by relevance

/openbmc/qemu/plugins/
H A Dapi-system.c70 bool qemu_plugin_hwaddr_is_io(const struct qemu_plugin_hwaddr *haddr) in qemu_plugin_hwaddr_is_io() argument
72 return haddr->is_io; in qemu_plugin_hwaddr_is_io()
75 uint64_t qemu_plugin_hwaddr_phys_addr(const struct qemu_plugin_hwaddr *haddr) in qemu_plugin_hwaddr_phys_addr() argument
77 if (haddr) { in qemu_plugin_hwaddr_phys_addr()
78 return haddr->phys_addr; in qemu_plugin_hwaddr_phys_addr()
H A Dapi-user.c28 bool qemu_plugin_hwaddr_is_io(const struct qemu_plugin_hwaddr *haddr) in qemu_plugin_hwaddr_is_io() argument
33 uint64_t qemu_plugin_hwaddr_phys_addr(const struct qemu_plugin_hwaddr *haddr) in qemu_plugin_hwaddr_phys_addr() argument
/openbmc/qemu/linux-user/loongarch64/
H A Dsignal.c94 void *haddr; member
171 info = extctx->lasx.haddr; in setup_sigframe()
188 info = extctx->lsx.haddr; in setup_sigframe()
203 info = extctx->fpu.haddr; in setup_sigframe()
220 info = extctx->end.haddr; in setup_sigframe()
290 if (extctx->lasx.haddr) { in restore_sigframe()
292 extctx->lasx.haddr + sizeof(struct target_sctx_info); in restore_sigframe()
304 } else if (extctx->lsx.haddr) { in restore_sigframe()
306 extctx->lsx.haddr + sizeof(struct target_sctx_info); in restore_sigframe()
316 } else if (extctx->fpu.haddr) { in restore_sigframe()
[all …]
/openbmc/u-boot/board/freescale/common/
H A Dcmd_esbc_validate.c30 uintptr_t haddr; in do_esbc_validate() local
42 haddr = (uintptr_t)simple_strtoul(argv[1], NULL, 16); in do_esbc_validate()
48 ret = fsl_secboot_validate(haddr, hash_str, &img_addr); in do_esbc_validate()
H A Dfsl_validate.c858 int fsl_secboot_validate(uintptr_t haddr, char *arg_hash_str, in fsl_secboot_validate() argument
908 img->ehdrloc = haddr; in fsl_secboot_validate()
/openbmc/qemu/linux-user/hppa/
H A Dsignal.c114 abi_ulong frame_addr, sp, haddr; in setup_rt_frame() local
152 haddr = ka->_sa_handler; in setup_rt_frame()
153 if (haddr & 2) { in setup_rt_frame()
157 haddr &= -4; in setup_rt_frame()
158 fdesc = lock_user(VERIFY_READ, haddr, 2 * sizeof(abi_ptr), 1); in setup_rt_frame()
164 unlock_user(fdesc, haddr, 0); in setup_rt_frame()
165 haddr = dest; in setup_rt_frame()
167 env->iaoq_f = haddr | PRIV_USER; in setup_rt_frame()
/openbmc/qemu/target/i386/tcg/system/
H A Dexcp_helper.c62 void *haddr; member
72 inout->ptw_idx, &inout->haddr, NULL); in ptw_translate()
90 if (likely(in->haddr)) { in ptw_ldl()
91 return ldl_p(in->haddr); in ptw_ldl()
98 if (likely(in->haddr)) { in ptw_ldq()
99 return ldq_p(in->haddr); in ptw_ldq()
132 if (likely(in->haddr)) { in ptw_setl()
135 return qatomic_cmpxchg((uint32_t *)in->haddr, old, new) == old; in ptw_setl()
451 MMU_NESTED_IDX, &pte_trans.haddr, &full); in mmu_translate()
/openbmc/qemu/target/hppa/
H A Dop_helper.c52 uint32_t old, new, cmp, *haddr; in atomic_store_mask32() local
59 haddr = (uint32_t *)((uintptr_t)vaddr & -4); in atomic_store_mask32()
62 old = *haddr; in atomic_store_mask32()
65 cmp = qatomic_cmpxchg(haddr, old, new); in atomic_store_mask32()
79 uint64_t old, new, cmp, *haddr; in atomic_store_mask64() local
86 haddr = (uint64_t *)((uintptr_t)vaddr & -8); in atomic_store_mask64()
88 old = *haddr; in atomic_store_mask64()
91 cmp = qatomic_cmpxchg__nocheck(haddr, old, new); in atomic_store_mask64()
/openbmc/qemu/hw/misc/
H A Daspeed_hace.c206 void *haddr; in hash_prepare_direct_iov() local
213 haddr = address_space_map(&s->dram_as, src, &plen, false, in hash_prepare_direct_iov()
215 if (haddr == NULL) { in hash_prepare_direct_iov()
223 iov[0].iov_base = haddr; in hash_prepare_direct_iov()
254 void *haddr; in hash_prepare_sg_iov() local
279 haddr = address_space_map(&s->dram_as, sg_addr, &plen, false, in hash_prepare_sg_iov()
282 if (haddr == NULL) { in hash_prepare_sg_iov()
292 iov[iov_idx].iov_base = haddr; in hash_prepare_sg_iov()
/openbmc/qemu/target/ppc/
H A Dmem_helper.c279 void *haddr; in dcbz_common() local
291 haddr = tlb_vaddr_to_host(env, addr, MMU_DATA_STORE, mmu_idx); in dcbz_common()
293 haddr = probe_write(env, addr, dcbz_size, mmu_idx, retaddr); in dcbz_common()
294 if (unlikely(!haddr)) { in dcbz_common()
304 memset(haddr, 0, dcbz_size); in dcbz_common()
/openbmc/u-boot/include/
H A Dfsl_validate.h267 int fsl_secboot_validate(uintptr_t haddr, char *arg_hash_str,
/openbmc/qemu/target/s390x/tcg/
H A Dmem_helper.c231 static void do_access_memset(CPUS390XState *env, vaddr vaddr, char *haddr, in do_access_memset() argument
235 if (user_or_likely(haddr)) { in do_access_memset()
236 memset(haddr, byte, size); in do_access_memset()
262 void *haddr = access->haddr1; in access_get_byte() local
267 haddr = access->haddr2; in access_get_byte()
270 if (user_or_likely(haddr)) { in access_get_byte()
271 return ldub_p(haddr + offset); in access_get_byte()
282 void *haddr = access->haddr1; in access_set_byte() local
287 haddr = access->haddr2; in access_set_byte()
290 if (user_or_likely(haddr)) { in access_set_byte()
[all …]
/openbmc/qemu/scripts/
H A Ddump-guest-memory.py552 haddr = block["host_addr"] + (addr - block["target_start"])
553 return qemu_core.read_memory(haddr, size)