Home
last modified time | relevance | path

Searched refs:phys (Results 1 – 25 of 34) sorted by relevance

12

/qemu/target/xtensa/
A Dwin_helper.c36 uint32_t window, uint32_t phys, uint32_t n) in copy_window_from_phys() argument
38 assert(phys < env->config->nareg); in copy_window_from_phys()
39 if (phys + n <= env->config->nareg) { in copy_window_from_phys()
40 memcpy(env->regs + window, env->phys_regs + phys, in copy_window_from_phys()
43 uint32_t n1 = env->config->nareg - phys; in copy_window_from_phys()
44 memcpy(env->regs + window, env->phys_regs + phys, in copy_window_from_phys()
54 assert(phys < env->config->nareg); in copy_phys_from_window()
55 if (phys + n <= env->config->nareg) { in copy_phys_from_window()
56 memcpy(env->phys_regs + phys, env->regs + window, in copy_phys_from_window()
59 uint32_t n1 = env->config->nareg - phys; in copy_phys_from_window()
[all …]
/qemu/target/alpha/
A Dhelper.c171 target_ulong phys = 0; in get_physical_address() local
179 phys = addr; in get_physical_address()
202 phys = saddr & ((1ull << 40) - 1); in get_physical_address()
203 phys |= (saddr & (1ull << 40)) << 3; in get_physical_address()
252 phys = L3pte >> 32 << TARGET_PAGE_BITS; in get_physical_address()
283 *pphys = phys; in get_physical_address()
290 target_ulong phys; in alpha_cpu_get_phys_page_debug() local
294 return (fail >= 0 ? -1 : phys); in alpha_cpu_get_phys_page_debug()
302 target_ulong phys; in alpha_cpu_tlb_fill() local
306 mmu_idx, &phys, &prot); in alpha_cpu_tlb_fill()
[all …]
/qemu/target/hppa/
A Dmem_helper.c202 hwaddr phys; in hppa_get_physical_address() local
217 phys = (uint32_t)addr; in hppa_get_physical_address()
230 phys = 0; in hppa_get_physical_address()
237 phys = ent->pa + (addr - ent->itree.start); in hppa_get_physical_address()
332 *pphys = phys; in hppa_get_physical_address()
341 hwaddr phys; in hppa_cpu_get_phys_page_debug() local
356 return excp == EXCP_DTLB_MISS ? -1 : phys; in hppa_cpu_get_phys_page_debug()
433 hwaddr phys; in hppa_cpu_tlb_fill_align() local
471 out->phys_addr = phys; in hppa_cpu_tlb_fill_align()
689 hwaddr phys; in HELPER() local
[all …]
A Dtrace-events7 …void *env, int ret, int prot, uint64_t addr, uint64_t phys) "env=%p ret=%d prot=%d addr=0x%lx phys
9 …l_success(void *env, uint64_t addr, uint64_t phys, int size, int type, int mmu_idx) "env=%p addr=0…
15 disable hppa_tlb_lpa_success(void *env, uint64_t addr, uint64_t phys) "env=%p addr=0x%lx phys=0x%lx"
A Dop_helper.c328 hwaddr phys; in HELPER()
337 excp = hppa_get_physical_address(env, addr, mmu_idx, 0, 0, &phys, &prot); in HELPER()
/qemu/hw/riscv/
A Dtrace-events7 …d d, unsigned f, unsigned pasid, const char *dir, uint64_t iova, uint64_t phys) "%s: translate %04…
8 riscv_iommu_msi(const char *id, unsigned b, unsigned d, unsigned f, uint64_t iova, uint64_t phys) "…
9 riscv_iommu_mrif_notification(const char *id, uint32_t nid, uint64_t phys) "%s: sent MRIF notificat…
/qemu/include/hw/ppc/
A Dspapr.h801 static inline uint32_t rtas_ld(target_ulong phys, int n) in rtas_ld() argument
804 ppc64_phys_to_real(phys + 4 * n)); in rtas_ld()
807 static inline uint64_t rtas_ldq(target_ulong phys, int n) in rtas_ldq() argument
809 return (uint64_t)rtas_ld(phys, n) << 32 | rtas_ld(phys, n + 1); in rtas_ldq()
812 static inline void rtas_st(target_ulong phys, int n, uint32_t val) in rtas_st() argument
814 stl_be_phys(&address_space_memory, ppc64_phys_to_real(phys + 4 * n), val); in rtas_st()
/qemu/target/loongarch/tcg/
A Dtlb_helper.c514 target_ulong badvaddr, index, phys, ret; in helper_lddir() local
547 phys = base | index << shift; in helper_lddir()
548 ret = ldq_phys(cs->as, phys) & TARGET_PHYS_MASK; in helper_lddir()
556 target_ulong phys, tmp0, ptindex, ptoffset0, ptoffset1, ps, badv; in helper_ldpte() local
608 phys = base | (odd ? ptoffset1 : ptoffset0); in helper_ldpte()
609 tmp0 = ldq_phys(cs->as, phys) & TARGET_PHYS_MASK; in helper_ldpte()
/qemu/qapi/
A Dvirtio.json657 # @desc-phys: vhost_virtqueue desc_phys (descriptor area physical
662 # @avail-phys: vhost_virtqueue avail_phys (driver area physical
667 # @used-phys: vhost_virtqueue used_phys (device area physical address)
681 'desc-phys': 'uint64',
683 'avail-phys': 'uint64',
685 'used-phys': 'uint64',
A Dmisc-target.json189 # @reduced-phys-bits: Number of physical Address bit reduction when
199 'reduced-phys-bits': 'int'},
/qemu/hw/net/
A Drtl8139.c436 uint8_t phys[8]; /* mac address */ member
903 } else if (s->phys[0] == buf[0] && in rtl8139_do_receive()
904 s->phys[1] == buf[1] && in rtl8139_do_receive()
905 s->phys[2] == buf[2] && in rtl8139_do_receive()
906 s->phys[3] == buf[3] && in rtl8139_do_receive()
907 s->phys[4] == buf[4] && in rtl8139_do_receive()
908 s->phys[5] == buf[5]) { in rtl8139_do_receive()
1216 memcpy(s->phys, s->conf.macaddr.a, 6); in rtl8139_reset()
2665 s->phys[addr - MAC0] = val; in rtl8139_io_writeb()
2668 s->phys[addr - MAC0] = val; in rtl8139_io_writeb()
[all …]
A Dne2000.h28 uint8_t phys[6]; /* mac address */ member
A Dne2000.c350 s->phys[offset - EN1_PHYS] = val; in ne2000_ioport_write()
392 ret = s->phys[offset - EN1_PHYS]; in ne2000_ioport_read()
624 VMSTATE_BUFFER(phys, NE2000State),
/qemu/docs/specs/
A Dacpi_mem_hotplug.rst14 Lo part of memory device phys address
16 Hi part of memory device phys address
/qemu/hw/ppc/
A Dspapr_rtas.c257 hwaddr phys = ppc64_phys_to_real(addr); in sysparm_st() local
262 stw_be_phys(&address_space_memory, phys, vallen); in sysparm_st()
263 cpu_physical_memory_write(phys + 2, val, MIN(len - 2, vallen)); in sysparm_st()
/qemu/docs/system/
A Dconfidential-guest-support.rst33 -object sev-guest,id=sev0,cbitpos=47,reduced-phys-bits=1
/qemu/hw/display/
A Dqxl.h167 void *qxl_phys2virt(PCIQXLDevice *qxl, QXLPHYSICAL phys, int group_id,
/qemu/include/block/
A Dblock-common.h530 uint32_t phys; member
/qemu/hw/block/
A Dblock.c135 conf->physical_block_size = blocksizes.phys; in blkconf_blocksizes()
/qemu/docs/system/i386/
A Damd-memory-encryption.rst102 -object sev-guest,id=sev0,cbitpos=47,reduced-phys-bits=1
108 -object sev-guest,id=sev0,cbitpos=47,reduced-phys-bits=1,policy=0x5
227 -object sev-snp-guest,id=sev0,cbitpos=51,reduced-phys-bits=1
/qemu/target/sparc/
A Dmmu_helper.c871 static int cpu_sparc_get_phys_page(CPUSPARCState *env, hwaddr *phys, in cpu_sparc_get_phys_page() argument
879 *phys = full.phys_addr; in cpu_sparc_get_phys_page()
/qemu/qga/
A Dqapi-schema.json1109 # @phys-index: Arbitrary guest-specific unique identifier of the
1122 'data': {'phys-index': 'uint64',
1171 # @phys-index: same with the 'phys-index' member of @GuestMemoryBlock.
1182 'data': { 'phys-index': 'uint64',
1194 # processed node by node in order. In each node @phys-index is
1197 # @phys-index's is only required to be a subset of the
1199 # length or on repeating the same @phys-index (with possibly
/qemu/docs/interop/
A Dfirmware.json185 # guest-phys address space and a few tens of VCPUs; for
186 # every further TB of guest-phys address space, add 8MB
187 # of SMRAM. 48MB should suffice for 4TB of guest-phys
/qemu/hw/virtio/
A Dvhost.c230 hwaddr phys, s, offset; in vhost_sync_dirty_bitmap() local
248 phys = iotlb.translated_addr + offset; in vhost_sync_dirty_bitmap()
262 vhost_dev_sync_region(dev, section, start_addr, end_addr, phys, in vhost_sync_dirty_bitmap()
263 range_get_last(phys, s)); in vhost_sync_dirty_bitmap()
/qemu/block/
A Draw-format.c556 if (!QEMU_IS_ALIGNED(s->offset, MAX(bsz->log, bsz->phys))) { in raw_probe_blocksizes()

Completed in 84 milliseconds

12