/qemu/hw/net/fsl_etsec/ |
H A D | registers.c | 36 {0x030, "TBIPA", "TBI PHY address register", ACC_RW, 0x00000000}, 64 {0x200, "TBASEH", "TxBD base address high bits", ACC_RW, 0x00000000}, 65 {0x204, "TBASE0", "TxBD base address of ring 0", ACC_RW, 0x00000000}, 66 {0x20C, "TBASE1", "TxBD base address of ring 1", ACC_RW, 0x00000000}, 67 {0x214, "TBASE2", "TxBD base address of ring 2", ACC_RW, 0x00000000}, 68 {0x21C, "TBASE3", "TxBD base address of ring 3", ACC_RW, 0x00000000}, 69 {0x224, "TBASE4", "TxBD base address of ring 4", ACC_RW, 0x00000000}, 70 {0x22C, "TBASE5", "TxBD base address of ring 5", ACC_RW, 0x00000000}, 71 {0x234, "TBASE6", "TxBD base address of ring 6", ACC_RW, 0x00000000}, 72 {0x23C, "TBASE7", "TxBD base address of ring 7", ACC_RW, 0x00000000}, [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 147 | 46 def blockdev_add_options(self, address, export, node_name): argument 52 'server': address 58 def client_test(self, filename, address, export=None, argument 60 bao = self.blockdev_add_options(address, export, node_name) 98 if 'Address already in use' in msg: 111 address = { 'type': 'inet', 117 flatten_sock_addr(address)) 121 address = { 'type': 'unix', 124 flatten_sock_addr(address)) 151 def _try_server_up(self, address, export_name=None, export_name2=None): argument [all …]
|
/qemu/hw/i2c/ |
H A D | core.c | 22 DEFINE_PROP_UINT8("address", struct I2CSlave, address, 0), 38 bus->saved_address = QLIST_FIRST(&bus->current_devs)->elt->address; in i2c_bus_pre_save() 70 void i2c_slave_set_address(I2CSlave *dev, uint8_t address) in i2c_slave_set_address() argument 72 dev->address = address; in i2c_slave_set_address() 81 bool i2c_scan_bus(I2CBus *bus, uint8_t address, bool broadcast, in i2c_scan_bus() argument 91 if (sc->match_and_add(candidate, address, broadcast, current_devs)) { in i2c_scan_bus() 121 static int i2c_do_start_transfer(I2CBus *bus, uint8_t address, in i2c_do_start_transfer() argument 128 if (address == I2C_BROADCAST) { in i2c_do_start_transfer() 146 (void)i2c_scan_bus(bus, address, bus->broadcast, &bus->current_devs); in i2c_do_start_transfer() 164 s->address); in i2c_do_start_transfer() [all …]
|
/qemu/hw/nvram/ |
H A D | eeprom93xx.c | 78 uint8_t address; member 136 VMSTATE_UINT8(address, eeprom_t), 159 uint16_t address = eeprom->address; in eeprom93xx_write() local 170 address = 0x0; in eeprom93xx_write() 174 uint8_t subcommand = address >> (eeprom->addrbits - 2); in eeprom93xx_write() 177 for (address = 0; address < eeprom->size; address++) { in eeprom93xx_write() 178 eeprom->contents[address] = 0xffff; in eeprom93xx_write() 182 eeprom->contents[address] = 0xffff; in eeprom93xx_write() 186 eeprom->contents[address] &= eeprom->data; in eeprom93xx_write() 189 for (address = 0; address < eeprom->size; address++) { in eeprom93xx_write() [all …]
|
/qemu/hw/scsi/ |
H A D | mptconfig.c | 189 size_t mptsas_config_manufacturing_0(MPTSASState *s, uint8_t **data, int address) in mptsas_config_manufacturing_0() argument 201 size_t mptsas_config_manufacturing_1(MPTSASState *s, uint8_t **data, int address) in mptsas_config_manufacturing_1() argument 209 size_t mptsas_config_manufacturing_2(MPTSASState *s, uint8_t **data, int address) in mptsas_config_manufacturing_2() argument 218 size_t mptsas_config_manufacturing_3(MPTSASState *s, uint8_t **data, int address) in mptsas_config_manufacturing_3() argument 227 size_t mptsas_config_manufacturing_4(MPTSASState *s, uint8_t **data, int address) in mptsas_config_manufacturing_4() argument 236 size_t mptsas_config_manufacturing_5(MPTSASState *s, uint8_t **data, int address) in mptsas_config_manufacturing_5() argument 243 size_t mptsas_config_manufacturing_6(MPTSASState *s, uint8_t **data, int address) in mptsas_config_manufacturing_6() argument 250 size_t mptsas_config_manufacturing_7(MPTSASState *s, uint8_t **data, int address) in mptsas_config_manufacturing_7() argument 257 size_t mptsas_config_manufacturing_8(MPTSASState *s, uint8_t **data, int address) in mptsas_config_manufacturing_8() argument 264 size_t mptsas_config_manufacturing_9(MPTSASState *s, uint8_t **data, int address) in mptsas_config_manufacturing_9() argument [all …]
|
/qemu/include/hw/i2c/ |
H A D | i2c.h | 49 * Check if this device matches the address provided. Returns bool of 55 bool (*match_and_add)(I2CSlave *candidate, uint8_t address, bool broadcast, 63 uint8_t address; member 104 * @address: address of the slave 112 int i2c_start_transfer(I2CBus *bus, uint8_t address, bool is_recv); 118 * @address: address of the slave 122 int i2c_start_recv(I2CBus *bus, uint8_t address); 128 * @address: address of the slave 132 int i2c_start_send(I2CBus *bus, uint8_t address); 138 * @address: address of the slave [all …]
|
/qemu/target/ppc/ |
H A D | mmu-booke.c | 30 target_ulong address, uint32_t pid, int i) in ppcemb_tlb_check() argument 39 qemu_log_mask(CPU_LOG_MMU, "%s: TLB %d address " TARGET_FMT_lx in ppcemb_tlb_check() 41 __func__, i, address, pid, tlb->EPN, in ppcemb_tlb_check() 47 /* Check effective address */ in ppcemb_tlb_check() 48 if ((address & mask) != tlb->EPN) { in ppcemb_tlb_check() 51 *raddrp = (tlb->RPN & mask) | (address & ~mask); in ppcemb_tlb_check() 56 int ppcemb_tlb_search(CPUPPCState *env, target_ulong address, uint32_t pid) in ppcemb_tlb_search() argument 64 if (ppcemb_tlb_check(env, tlb, &raddr, address, pid, i)) { in ppcemb_tlb_search() 72 target_ulong address, in mmu40x_get_physical_address() argument 82 if (!ppcemb_tlb_check(env, tlb, raddr, address, in mmu40x_get_physical_address() [all …]
|
/qemu/include/io/ |
H A D | channel-socket.h | 40 * parameters and getting socket address strings. 86 * @addr: the address to connect to 89 * Attempt to connect to the address @addr. This method 101 * @addr: the address to connect to 108 * Attempt to connect to the address @addr. This method 126 * @addr: the address to listen to 130 * Attempt to listen to the address @addr. This method 143 * @addr: the address to listen to 151 * Attempt to listen to the address @addr. This method 170 * @localAddr: the address to local bind address [all …]
|
/qemu/target/sparc/ |
H A D | mmu_helper.c | 73 int *access_index, target_ulong address, in get_physical_address() argument 90 full->phys_addr = env->prom_addr | (address & 0x7ffffULL); in get_physical_address() 94 full->phys_addr = address; in get_physical_address() 119 pde_ptr = ((address >> 22) & ~3) + ((pde & ~3) << 4); in get_physical_address() 133 pde_ptr = ((address & 0xfc0000) >> 16) + ((pde & ~3) << 4); in get_physical_address() 147 pde_ptr = ((address & 0x3f000) >> 10) + ((pde & ~3) << 4); in get_physical_address() 167 page_offset = address & 0x3f000; in get_physical_address() 172 page_offset = address & 0xfff000; in get_physical_address() 209 /* Perform address translation */ 210 bool sparc_cpu_tlb_fill(CPUState *cs, vaddr address, int size, in sparc_cpu_tlb_fill() argument [all …]
|
H A D | trace-events | 4 mmu_helper_dfault(uint64_t address, uint64_t context, int mmu_idx, uint32_t tl) "DFAULT at 0x%"PRIx… 5 mmu_helper_dprot(uint64_t address, uint64_t context, int mmu_idx, uint32_t tl) "DPROT at 0x%"PRIx64… 6 mmu_helper_dmiss(uint64_t address, uint64_t context) "DMISS at 0x%"PRIx64" context 0x%"PRIx64 7 mmu_helper_tfault(uint64_t address, uint64_t context) "TFAULT at 0x%"PRIx64" context 0x%"PRIx64 8 mmu_helper_tmiss(uint64_t address, uint64_t context) "TMISS at 0x%"PRIx64" context 0x%"PRIx64 9 …int64_t sec_context, uint64_t address) "tl=%d mmu_idx=%d primary context=0x%"PRIx64" secondary con… 10 …int64_t sec_context, uint64_t address) "tl=%d mmu_idx=%d primary context=0x%"PRIx64" secondary con… 11 mmu_helper_mmu_fault(uint64_t address, uint64_t paddr, int mmu_idx, uint32_t tl, uint64_t prim_cont…
|
/qemu/target/loongarch/ |
H A D | cpu_helper.c | 47 int *prot, target_ulong address) in loongarch_page_table_walker() argument 55 if ((address >> 63) & 0x1) { in loongarch_page_table_walker() 70 index = (address >> dir_base) & ((1 << dir_width) - 1); in loongarch_page_table_walker() 91 index = (address >> dir_base) & ((1 << dir_width) - 1); in loongarch_page_table_walker() 109 /* get TARGET_PAGE_SIZE aligned physical address */ in loongarch_page_table_walker() 110 base += (address & TARGET_PHYS_MASK) & ((1 << dir_base) - 1); in loongarch_page_table_walker() 122 int *prot, target_ulong address, 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() 161 int *prot, target_ulong address, in get_physical_address() argument [all …]
|
/qemu/include/hw/xen/ |
H A D | start_info.h | 29 * NOTE: nothing will be loaded at physical address 0, so a 0 value in any 30 * of the address fields should be treated as not present. 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, 77 * | addr | Base address 87 * The address and sizes are always a 64bit little endian unsigned integer. [all …]
|
/qemu/qapi/ |
H A D | sockets.json | 11 # The network address family 31 # @host: host part of the address 33 # @port: port part of the address 43 # Captures a socket address or address range in the Internet 98 # Captures a socket address in the local ("Unix socket") namespace. 102 # @abstract: if true, this is a Linux abstract socket address. @path 106 # @tight: if false, pad an abstract socket address with enough null 121 # Captures a socket address in the vsock namespace. 157 # @data: internet domain socket address 167 # @data: UNIX domain socket address [all …]
|
H A D | net.json | 86 # @macaddr: MAC address 90 # @addr: PCI device address 131 # @net: IP network address that the guest will see, in the form 136 # @host: guest-visible address of the host 145 # @dns: guest-visible address of the virtual nameserver 154 # prefix is given in the usual hexadecimal IPv6 address notation. 160 # @ipv6-host: guest-visible IPv6 address of the host (since 2.6) 162 # @ipv6-dns: guest-visible IPv6 address of the virtual nameserver 167 # @smbserver: IP address of the built-in SMB server 273 # @mcast: UDP multicast address and port number [all …]
|
/qemu/hw/virtio/ |
H A D | vhost-iova-tree.c | 18 * - Translate iova address 19 * - Reverse translate iova address (from translated to iova) 23 /* First addressable iova address in the device */ 26 /* Last addressable iova address in the device */ 29 /* IOVA address to qemu memory maps. */ 35 /* GPA->IOVA address memory maps */ 70 * Find the IOVA address stored from a memory address 73 * @map: The map with the memory address 88 * @taddr: The translated address (HVA) 132 * Find the IOVA address stored from a guest memory address (GPA) [all …]
|
/qemu/target/arm/tcg/ |
H A D | mte_helper.h | 17 * @ptr_mmu_idx: the addressing regime to use for the virtual address 18 * @ptr: the virtual address for which to look up tag memory 19 * @ptr_access: the access to use for the virtual address 23 * @ra: the return address for exception handling 30 * Here, resolve the physical address from the virtual address, and return 53 * @ptr: The tagged address 54 * @mem: The tag address (packed, 2 tags in byte) 60 * @ptr: The tagged address 61 * @mem: The tag address (packed, 2 tags in byte)
|
/qemu/include/exec/ |
H A D | cputlb.h | 42 * @addr: virtual address of the entry to add 51 * address and attributes for the translation. 53 * At most one entry for a given virtual address is permitted. Only a 63 * @addr: virtual address of page to add entry for 64 * @paddr: physical address of the page 70 * Add an entry to this CPU's TLB (a mapping from virtual address 71 * @addr to physical address @paddr) with the specified memory 75 * the physical address and attributes for the virtual address 78 * At most one entry for a given virtual address is permitted. Only a 101 * @addr: virtual address of page to be flushed [all …]
|
/qemu/include/system/ |
H A D | dma.h | 14 #include "system/address-spaces.h" 111 * dma_memory_rw: Read from or write to an address space from DMA controller. 118 * @addr: address within that address space 134 * dma_memory_read: Read from an address space from DMA controller. 141 * @addr: address within that address space 155 * dma_memory_write: Write to address space from DMA controller. 162 * @addr: address within that address space 183 * @addr: address within that address space 192 * dma_memory_map: Map a physical memory region into a host virtual address. 200 * @addr: address within that address space [all …]
|
/qemu/target/arm/ |
H A D | ptw.c | 76 vaddr address, 82 vaddr address, 167 * This depends on whether the address we are looking up is a 227 /* Return true if the specified stage of address translation is disabled */ 294 /* No translation for physical address spaces. */ in regime_translation_disabled() 332 * physical address size is invalid. in granule_protection_check() 374 * GPC Priority 2: Secure, Realm or Root address exceeds PPS. in granule_protection_check() 375 * R_CPDSB: A NonSecure physical address input exceeding PPS in granule_protection_check() 385 /* GPC Priority 3: the base address of GPTBR_EL3 exceeds PPS. */ in granule_protection_check() 660 /* Page tables are in RAM, and we have the host address. */ in arm_ldl_ptw() [all …]
|
/qemu/python/qemu/utils/ |
H A D | qemu_ga_client.py | 14 $ qemu-ga-client --address=/tmp/qga.sock <command> [args...] 72 def __init__(self, address: SocketAddrT): 73 self.qga = QemuGuestAgent(address) 135 if ipaddr['ip-address-type'] == 'ipv4': 136 addr = ipaddr['ip-address'] 139 elif ipaddr['ip-address-type'] == 'ipv6': 140 addr = ipaddr['ip-address'] 143 if nif['hardware-address'] != '00:00:00:00:00:00': 144 msgs.append("\tether " + nif['hardware-address']) 278 def send_command(address: str, cmd: str, args: Sequence[str]) -> None: [all …]
|
/qemu/python/qemu/machine/ |
H A D | qtest.py | 39 :param address: QEMU address, can be either a unix socket path (string) 40 or a tuple in the form ( address, port ) for a TCP 43 an address. One of address or sock must be provided. 45 in conjunction with an address and not an existing 55 address: Optional[SocketAddrT] = None, 58 if address is None and sock is None: 59 raise ValueError("Either 'address' or 'sock' must be specified") 60 if address is not None and sock is not None: 62 "Either 'address' or 'sock' must be specified, but not both") 66 self._address = address
|
/qemu/target/mips/system/ |
H A D | physaddr.c | 129 /* effective address (modified for KVM T&E kernel segments) */ in get_physical_address() 130 target_ulong address = real_address; in get_physical_address() local 132 if (address <= USEG_LIMIT) { in get_physical_address() 136 if (address >= 0x40000000UL) { in get_physical_address() 145 } else if (address < 0x4000000000000000ULL) { in get_physical_address() 147 if (UX && address <= (0x3FFFFFFFFFFFFFFFULL & env->SEGMask)) { in get_physical_address() 153 } else if (address < 0x8000000000000000ULL) { in get_physical_address() 156 SX && address <= (0x7FFFFFFFFFFFFFFFULL & env->SEGMask)) { in get_physical_address() 162 } else if (address < 0xC000000000000000ULL) { in get_physical_address() 164 if ((address & 0x07FFFFFFFFFFFFFFULL) <= env->PAMask) { in get_physical_address() [all …]
|
/qemu/target/sh4/ |
H A D | helper.c | 234 static int find_tlb_entry(CPUSH4State * env, target_ulong address, in find_tlb_entry() argument 251 if (address >= start && address <= end) { /* Match */ in find_tlb_entry() 294 static int find_itlb_entry(CPUSH4State * env, target_ulong address, in find_itlb_entry() argument 299 e = find_tlb_entry(env, address, env->itlb, ITLB_SIZE, use_asid); in find_itlb_entry() 312 static int find_utlb_entry(CPUSH4State * env, target_ulong address, int use_asid) in find_utlb_entry() argument 318 return find_tlb_entry(env, address, env->utlb, UTLB_SIZE, use_asid); in find_utlb_entry() 321 /* Match address against MMU 329 int *prot, target_ulong address, in get_mmu_address() argument 338 n = find_itlb_entry(env, address, use_asid); in get_mmu_address() 347 n = find_utlb_entry(env, address, use_asid); in get_mmu_address() [all …]
|
/qemu/pc-bios/ |
HD | u-boot.e500 | ... cache push parity error Data cache parity error Bus instruction address error Bus Read address error Bus Write address error Bus ... |
/qemu/pc-bios/s390-ccw/ |
H A D | jump2ipl.c | 36 int jump_to_IPL_code(uint64_t address) in jump_to_IPL_code() argument 55 * The IPL PSW is at address 0. We also must not overwrite the in jump_to_IPL_code() 59 if (address) { in jump_to_IPL_code() 62 ipl_continue = address; in jump_to_IPL_code() 64 debug_print_int("set IPL addr to", address ?: *reset_psw & PSW_MASK_SHORT_ADDR); in jump_to_IPL_code() 86 * kernel start address (when jumping to the PSW-at-zero address instead, in jump_to_low_kernel() 93 /* Trying to get PSW at zero address (pointed to by reset_psw) */ in jump_to_low_kernel() 103 /* No other option left, so use the Linux kernel start address */ in jump_to_low_kernel()
|