Home
last modified time | relevance | path

Searched full:physical (Results 1 – 25 of 401) sorted by relevance

12345678910>>...17

/qemu/target/mips/system/
H A Dphysaddr.c77 static int get_seg_physical_address(CPUMIPSState *env, hwaddr *physical, in get_seg_physical_address() argument
91 return env->tlb->map_address(env, physical, prot, real_address, in get_seg_physical_address()
95 *physical = physical_base | (real_address & segmask); in get_seg_physical_address()
101 static int get_segctl_physical_address(CPUMIPSState *env, hwaddr *physical, in get_segctl_physical_address() argument
110 return get_seg_physical_address(env, physical, prot, real_address, in get_segctl_physical_address()
115 int get_physical_address(CPUMIPSState *env, hwaddr *physical, in get_physical_address() argument
141 ret = get_segctl_physical_address(env, physical, prot, in get_physical_address()
148 ret = env->tlb->map_address(env, physical, prot, in get_physical_address()
157 ret = env->tlb->map_address(env, physical, prot, in get_physical_address()
184 ret = get_seg_physical_address(env, physical, prot, in get_physical_address()
[all …]
/qemu/include/hw/xen/
H A Dstart_info.h29 * NOTE: nothing will be loaded at physical address 0, so a 0 value in any
43 * | modlist_paddr | Physical address of an array of modules
46 * | cmdline_paddr | Physical address of the command line,
49 * | rsdp_paddr | Physical address of the RSDP ACPI data structure.
51 * | memmap_paddr | Physical address of the (optional) memory map. Only
64 * | paddr | Physical address of the module.
68 * | cmdline_paddr | Physical address of the command line,
117 uint64_t modlist_paddr; /* Physical address of an array of */
119 uint64_t cmdline_paddr; /* Physical address of the command line. */
120 uint64_t rsdp_paddr; /* Physical address of the RSDP ACPI data */
[all …]
/qemu/target/loongarch/
H A Dcpu_helper.c46 static int loongarch_page_table_walker(CPULoongArchState *env, hwaddr *physical, in loongarch_page_table_walker() argument
109 /* get TARGET_PAGE_SIZE aligned physical address */ in loongarch_page_table_walker()
116 *physical = base & TARGET_PAGE_MASK; in loongarch_page_table_walker()
121 static int loongarch_map_address(CPULoongArchState *env, hwaddr *physical, in loongarch_map_address() argument
129 ret = loongarch_get_addr_from_tlb(env, physical, prot, address, in loongarch_map_address()
142 return loongarch_page_table_walker(env, physical, prot, address); in loongarch_map_address()
160 int get_physical_address(CPULoongArchState *env, hwaddr *physical, in get_physical_address() argument
173 *physical = address & TARGET_PHYS_MASK; in get_physical_address()
192 *physical = dmw_va2pa(env, address, env->CSR_DMW[i]); in get_physical_address()
205 return loongarch_map_address(env, physical, prot, address, in get_physical_address()
/qemu/include/hw/mem/
H A Dmemory-device.h36 * mapped into guest physical address space at a certain address. The
37 * address in guest physical memory can either be specified explicitly
65 * Return the address of the memory device in guest physical memory.
68 * all memory devices mapped into guest physical address space.
76 * Set the address of the memory device in guest physical memory.
79 * address in guest physical memory.
101 * memory region in guest physical memory, but also to detect the
131 * physical address space. The final alignment is computed based on this
/qemu/docs/specs/
H A Dppc-spapr-hcalls.rst37 ``r4``: Guest physical address of RTAS parameter block.
50 disabled, i.e. guest effective address equals to guest physical address), it
54 non-cacheable accesses to any guest physical addresses that the
72 ``r4``: Guest physical address of destination.
74 ``r5``: Guest physical address of source.
H A Dppc-spapr-hotplug.rst6 to handle hot plugging of dynamic "physical" resources like PCI cards, or
7 "logical"/para-virtual resources like memory, CPUs, and "physical"
51 ``<name>`` values for "physical" resources such as PCI or VIO devices are
55 resources to a physical location in a chassis for debugging purposes. For
112 "PHB" for a physical host-bridge.
192 ``isolation-state->isolate``, respectively. For "physical" DR (like PCI
229 For physical resources: DRC/slot is empty.
235 For physical resources: DRC/slot is populated with a device/resource.
241 For physical resources: unused.
247 For physical resources: unused.
[all …]
H A Drocker.rst356 Physical and Logical Ports
359 The switch supports up to 62 physical (front-panel) ports. Register
360 PORT_PHYS_COUNT returns the actual number of physical ports available::
376 1-62 front-panel physical ports
382 Physical Port Mode
407 PPORT 4 Physical port #
413 PPORT 4 Physical port #
422 PHYS_NAME <var> Physical port name (string)
429 PPORT 4 Physical port #
493 When link status changes on a physical port, this event is generated::
[all …]
/qemu/target/tricore/
H A Dhelper.c37 static int get_physical_address(CPUTriCoreState *env, hwaddr *physical, in get_physical_address() argument
43 *physical = address & 0xFFFFFFFF; in get_physical_address()
74 hwaddr physical; in tricore_cpu_tlb_fill() local
79 ret = get_physical_address(env, &physical, &prot, in tricore_cpu_tlb_fill()
82 qemu_log_mask(CPU_LOG_MMU, "%s address=0x%" VADDR_PRIx " ret %d physical " in tricore_cpu_tlb_fill()
84 __func__, address, ret, physical, prot); in tricore_cpu_tlb_fill()
88 physical & TARGET_PAGE_MASK, prot | PAGE_EXEC, in tricore_cpu_tlb_fill()
/qemu/target/arm/
H A Dgtimer.h13 GTIMER_PHYS = 0, /* CNTP_* ; EL1 physical timer */
15 GTIMER_HYP = 2, /* CNTHP_* ; EL2 physical timer */
16 GTIMER_SEC = 3, /* CNTPS_* ; EL3 physical timer */
/qemu/target/i386/
H A Dhost-cpu.c28 * at 23:16 that can specify a maximum physical address bits for in host_cpu_phys_bits()
36 * physical address bits; fall back to 36 that's most older in host_cpu_phys_bits()
55 warn_report_once("Host physical bits (%u)" in host_cpu_adjust_phys_bits()
61 /* The user asked for us to use the host physical bits */ in host_cpu_adjust_phys_bits()
149 /* Use max host physical address bits if -cpu max option is applied */ in host_cpu_max_instance_init()
/qemu/include/hw/xen/interface/
H A Dvcpu.h84 /* VCPU is currently running on a physical CPU. */
87 /* VCPU is runnable, but not currently scheduled on any physical CPU. */
105 * 1. The registered address may be virtual or physical or guest handle,
179 * Get the physical ID information for a pinned vcpu's underlying physical
180 * processor. The physical ID informmation is architecture-specific.
/qemu/target/sh4/
H A Dhelper.c328 static int get_mmu_address(CPUSH4State * env, target_ulong * physical, in get_mmu_address() argument
389 *physical = ((matching->ppn << 10) & ~(matching->size - 1)) in get_mmu_address()
395 static int get_physical_address(CPUSH4State * env, target_ulong * physical, in get_physical_address() argument
415 *physical = address & 0x1fffffff; in get_physical_address()
417 *physical = address; in get_physical_address()
423 /* If MMU is disabled, return the corresponding physical page */ in get_physical_address()
425 *physical = address & 0x1FFFFFFF; in get_physical_address()
431 return get_mmu_address(env, physical, prot, address, access_type); in get_physical_address()
436 target_ulong physical; in superh_cpu_get_phys_page_debug() local
439 if (get_physical_address(cpu_env(cs), &physical, &prot, addr, MMU_DATA_LOAD) in superh_cpu_get_phys_page_debug()
[all …]
/qemu/qapi/
H A Drocker.json79 # @link-up: physical link is UP on port
127 # @in-pport: physical input port
161 # @in-pport: physical input port
200 # @out-pport: physical output port
275 # @pport: physical port number
279 # @out-pport: output physical port number
H A Dcxl.json45 # @dpa: Device Physical Address (relative to @path device). Note
47 # Media Event Record, Physical Address.
96 # @dpa: Device Physical Address (relative to @path device). Note
98 # Event Record, Physical Address.
336 # @physical: Received error indication from the physical layer.
347 'physical']
372 # of memory by Device Physical Address within a single Dynamic
414 # Device Physical Addresses) used are per host, so a device may
/qemu/tests/qemu-iotests/
H A D25350 # We do not know how large a physical sector is, but it is certainly
66 # qemu-io with O_DIRECT always writes whole physical sectors. Again,
67 # we do not know how large a physical sector is, so we just start
/qemu/tests/uefi-test-tools/UefiTestToolsPkg/Include/Guid/
H A DBiosTablesTest.h57 // Rsdp10 is the guest-physical address of the ACPI 1.0 specification RSD PTR
67 // matches. Smbios21 is the guest-physical address of the SMBIOS 2.1 (32-bit)
69 // little endian representation. Smbios30 is the guest-physical address of
/qemu/include/hw/pci/
H A Dpcie_sriov.h25 PCIDevice *pf; /* Pointer back to owner physical function */
90 * Get the physical function that owns this VF.
96 * Get the n-th VF of this physical function - only valid for PF.
/qemu/docs/system/devices/
H A Dusb.rst216 Physical port addressing
222 If you need to, you can also specify the physical port where
331 Specifies the physical port the device is attached to
343 - ``hostbus`` and ``hostport`` -- match for a specific physical port in the
353 same physical port on the host may show up on different host buses
355 physical port appear as bus 1 + port 1 for 2.0 devices and bus 3 + port 1
371 whenever the guest is allowed to reset the physical usb device on the
375 The guest is not allowed to reset the (physical) usb device.
/qemu/docs/system/i386/
H A Dsgx.rst53 to physical EPC. Because physical EPC is protected via range registers,
54 the size of the physical EPC must be a power of two (though software sees
60 physical address space.
67 key hierarchy are bound to the physical platform. However live migration
/qemu/target/m68k/
H A Dhelper.c462 static void print_address_zone(uint32_t logical, uint32_t physical, in print_address_zone() argument
467 physical, physical + size - 1, in print_address_zone()
488 uint32_t logical = 0xffffffff, physical = 0xffffffff; in dump_address_map() local
538 last_physical = physical; in dump_address_map()
539 physical = tic & ~((1 << tic_shift) - 1); in dump_address_map()
545 (physical != (last_physical + (1 << tic_shift))) || in dump_address_map()
555 first_physical = physical; in dump_address_map()
730 static int get_physical_address(CPUM68KState *env, hwaddr *physical, in get_physical_address() argument
743 /* Transparent Translation (physical = logical) */ in get_physical_address()
751 *physical = address; in get_physical_address()
[all …]
/qemu/target/mips/tcg/system/
H A Dtlb_helper.c362 static int no_mmu_map_address(CPUMIPSState *env, hwaddr *physical, int *prot, in no_mmu_map_address() argument
365 *physical = address; in no_mmu_map_address()
371 static int fixed_mmu_map_address(CPUMIPSState *env, hwaddr *physical, in fixed_mmu_map_address() argument
377 *physical = address + 0x40000000UL; in fixed_mmu_map_address()
379 *physical = address; in fixed_mmu_map_address()
382 *physical = address & 0x1FFFFFFF; in fixed_mmu_map_address()
384 *physical = address; in fixed_mmu_map_address()
392 static int r4k_map_address(CPUMIPSState *env, hwaddr *physical, int *prot, in r4k_map_address() argument
429 *physical = tlb->PFN[n] | (address & (mask >> 1)); in r4k_map_address()
913 hwaddr physical; in mips_cpu_tlb_fill() local
[all …]
/qemu/docs/
H A Dpcie_sriov.txt7 of a PCI Express device. It allows a single physical function (PF) to appear as multiple
17 implementing support for two types of device classes; the "normal" physical device
22 A virtual function is different from a physical function in that the BAR
/qemu/target/i386/kvm/
H A Dvmsr_energy.c124 /* Retrieve the max number of physical package */
176 /* Retrieve the max number of physical cpu on the host */
202 /* Count the number of physical cpu on each packages */
222 /* Get the physical package ID for this CPU */ in vmsr_count_cpus_per_package()
235 /* Get the physical package id from a given cpu id */
/qemu/docs/system/
H A Dgdb.rst207 Examining physical memory
214 If you want to examine/change the physical memory you can set the gdbstub
215 to work with the physical memory rather with the virtual one.
221 physical memory mode.
224 This will change the memory mode to physical memory.
/qemu/docs/system/s390x/
H A Dpcidevices.rst30 identifier, and ``fid`` identifies the physical slot, i.e.::
40 Physical Slot: 00000008

12345678910>>...17