Home
last modified time | relevance | path

Searched full:phys (Results 1 – 25 of 77) sorted by relevance

1234

/qemu/target/xtensa/
H A Dwin_helper.c35 uint32_t window, uint32_t phys, uint32_t n) in copy_window_from_phys() argument
37 assert(phys < env->config->nareg); in copy_window_from_phys()
38 if (phys + n <= env->config->nareg) { in copy_window_from_phys()
39 memcpy(env->regs + window, env->phys_regs + phys, in copy_window_from_phys()
42 uint32_t n1 = env->config->nareg - phys; in copy_window_from_phys()
43 memcpy(env->regs + window, env->phys_regs + phys, in copy_window_from_phys()
51 uint32_t phys, uint32_t window, uint32_t n) in copy_phys_from_window() argument
53 assert(phys < env->config->nareg); in copy_phys_from_window()
54 if (phys + n <= env->config->nareg) { in copy_phys_from_window()
55 memcpy(env->phys_regs + phys, env->regs + window, in copy_phys_from_window()
[all …]
/qemu/tests/functional/
H A Dtest_mem_addr_space.py70 self.assertRegex(self.vm.get_log(), r'phys-bits too low')
88 self.assertRegex(self.vm.get_log(), r'phys-bits too low')
105 self.assertNotRegex(self.vm.get_log(), r'phys-bits too low')
123 self.assertNotRegex(self.vm.get_log(), r'phys-bits too low')
140 self.assertNotRegex(self.vm.get_log(), r'phys-bits too low')
146 4 GiB should make QEMU fail to start with "phys-bits too low"
160 self.assertRegex(self.vm.get_log(), r'phys-bits too low')
188 self.assertRegex(self.vm.get_log(), r'phys-bits too low')
209 self.assertRegex(self.vm.get_log(), r'phys-bits too low')
226 self.assertNotRegex(self.vm.get_log(), r'phys-bits too low')
[all …]
/qemu/target/hppa/
H 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"
H A Dmem_helper.c205 hwaddr phys; in hppa_get_physical_address() local
214 phys = hppa_abs_to_phys_pa2_w1(addr); in hppa_get_physical_address()
218 phys = hppa_abs_to_phys_pa2_w0(addr); in hppa_get_physical_address()
220 phys = (uint32_t)addr; in hppa_get_physical_address()
233 phys = 0; in hppa_get_physical_address()
240 phys = ent->pa + (addr - ent->itree.start); in hppa_get_physical_address()
335 *pphys = phys; in hppa_get_physical_address()
337 trace_hppa_tlb_get_physical_address(env, ret, prot, addr, phys); in hppa_get_physical_address()
344 hwaddr phys; in hppa_cpu_get_phys_page_debug() local
354 &phys, &prot); in hppa_cpu_get_phys_page_debug()
[all …]
/qemu/target/alpha/
H A Dhelper.c173 target_ulong phys = 0; in get_physical_address() local
181 phys = addr; in get_physical_address()
204 phys = saddr & ((1ull << 40) - 1); in get_physical_address()
205 phys |= (saddr & (1ull << 40)) << 3; in get_physical_address()
254 phys = L3pte >> 32 << TARGET_PAGE_BITS; in get_physical_address()
285 *pphys = phys; in get_physical_address()
292 target_ulong phys; in alpha_cpu_get_phys_page_debug() local
295 fail = get_physical_address(cpu_env(cs), addr, 0, 0, &phys, &prot); in alpha_cpu_get_phys_page_debug()
296 return (fail >= 0 ? -1 : phys); in alpha_cpu_get_phys_page_debug()
304 target_ulong phys; in alpha_cpu_tlb_fill() local
[all …]
H A Dcpu-param.h11 /* ??? EV4 has 34 phys addr bits, EV5 has 40, EV6 has 44. */
/qemu/target/loongarch/
H A Dcpu_helper.c50 target_ulong index, phys; in loongarch_page_table_walker() local
71 phys = base | index << 3; in loongarch_page_table_walker()
72 base = ldq_phys(cs->as, phys) & TARGET_PHYS_MASK; in loongarch_page_table_walker()
92 phys = base | index << 3; in loongarch_page_table_walker()
93 base = ldq_phys(cs->as, phys); in loongarch_page_table_walker()
/qemu/hw/riscv/
H 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/qapi/
H 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',
713 # "avail-phys": 5216124928,
715 # "used-phys": 5216127040,
723 # "desc-phys": 5216108544,
737 # "avail-phys": 5182261248,
[all …]
H A Dmisc-i386.json198 # @reduced-phys-bits: Number of physical address bit reduction when
208 'reduced-phys-bits': 'int'} }
229 # "cbitpos": 47, "reduced-phys-bits": 1}}
/qemu/hw/display/
H A Dqxl.h151 * @phys: physical offset of buffer within the VRAM
155 * Returns a host pointer to a buffer placed at offset @phys within the
167 void *qxl_phys2virt(PCIQXLDevice *qxl, QXLPHYSICAL phys, int group_id,
H A Dapple-gfx-mmio.m34 typedef bool(^IOSFCMapMemory)(uint64_t phys, uint64_t len, bool ro, void **va,
187 ^bool(uint64_t phys, uint64_t len, bool ro, void **va, void *e, void *f) {
188 *va = apple_gfx_mmio_map_surface_memory(phys, len, ro);
190 trace_apple_gfx_iosfc_map_memory(phys, len, ro, va, e, f, *va);
H A Dtrace-events81 …uint32_t slot_id, uint64_t guest_start, uint64_t guest_end) "%d %u: guest phys 0x%"PRIx64 " - 0x%"…
221 …pple_gfx_iosfc_map_memory(uint64_t phys, uint64_t len, uint32_t ro, void *va, void *e, void *f, vo…
/qemu/target/i386/
H A Dhost-cpu.c56 " does not match phys-bits property (%u)", in host_cpu_adjust_phys_bits()
150 object_property_set_bool(OBJECT(cpu), "host-phys-bits", true, &error_abort); in host_cpu_max_instance_init()
/qemu/target/loongarch/tcg/
H A Dtlb_helper.c579 target_ulong badvaddr, index, phys; in helper_lddir() local
606 phys = base | index << 3; in helper_lddir()
607 return ldq_phys(cs->as, phys) & TARGET_PHYS_MASK; in helper_lddir()
614 target_ulong phys, tmp0, ptindex, ptoffset0, ptoffset1, ps, badv; in helper_ldpte() local
661 phys = base | (odd ? ptoffset1 : ptoffset0); in helper_ldpte()
662 tmp0 = ldq_phys(cs->as, phys) & TARGET_PHYS_MASK; in helper_ldpte()
/qemu/include/hw/ppc/
H A Dspapr.h805 static inline uint32_t rtas_ld(target_ulong phys, int n) in rtas_ld() argument
808 ppc64_phys_to_real(phys + 4 * n)); in rtas_ld()
811 static inline uint64_t rtas_ldq(target_ulong phys, int n) in rtas_ldq() argument
813 return (uint64_t)rtas_ld(phys, n) << 32 | rtas_ld(phys, n + 1); in rtas_ldq()
816 static inline void rtas_st(target_ulong phys, int n, uint32_t val) in rtas_st() argument
818 stl_be_phys(&address_space_memory, ppc64_phys_to_real(phys + 4 * n), val); in rtas_st()
H A Dxive_regs.h135 #define TM_SPC_PULL_PHYS_CTX_G2 0x830 /* Load32 Pull phys ctx to reg */
136 #define TM_SPC_PULL_PHYS_CTX 0x838 /* Load8 Pull phys ctx to reg */
145 #define TM_SPC_PULL_PHYS_CTX_OL 0xc38 /* Pull phys ctx to odd cache line */
/qemu/hw/net/
H A Dne2000.h28 uint8_t phys[6]; /* mac address */ member
H 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()
1217 qemu_format_nic_info_str(qemu_get_queue(s->nic), s->phys); in rtl8139_reset()
2665 s->phys[addr - MAC0] = val; in rtl8139_io_writeb()
[all …]
/qemu/docs/specs/
H A Dacpi_mem_hotplug.rst14 Lo part of memory device phys address
16 Hi part of memory device phys address
/qemu/tests/qtest/migration/aarch64/
H A Da-b-kernel.S21 /* disable MMU to use phys mem address */
/qemu/docs/system/
H A Dconfidential-guest-support.rst33 -object sev-guest,id=sev0,cbitpos=47,reduced-phys-bits=1
/qemu/linux-user/alpha/
H A Dtarget_proc.h47 "phys. address bits\t: %d\n" in open_cpuinfo()
/qemu/docs/system/i386/
H 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/qga/
H A Dqapi-schema.json1126 # @phys-index: Arbitrary guest-specific unique identifier of the
1139 'data': {'phys-index': 'uint64',
1188 # @phys-index: same with the 'phys-index' member of @GuestMemoryBlock.
1199 'data': { 'phys-index': 'uint64',
1211 # processed node by node in order. In each node @phys-index is
1214 # @phys-index's is only required to be a subset of the
1216 # length or on repeating the same @phys-index (with possibly

1234