Home
last modified time | relevance | path

Searched full:emulated (Results 1 – 25 of 705) sorted by relevance

12345678910>>...29

/openbmc/linux/arch/powerpc/kvm/
H A Demulate.c77 enum emulation_result emulated = EMULATE_DONE; in kvmppc_emulate_mtspr() local
115 emulated = vcpu->kvm->arch.kvm_ops->emulate_mtspr(vcpu, sprn, in kvmppc_emulate_mtspr()
117 if (emulated == EMULATE_FAIL) in kvmppc_emulate_mtspr()
125 return emulated; in kvmppc_emulate_mtspr()
130 enum emulation_result emulated = EMULATE_DONE; in kvmppc_emulate_mfspr() local
176 emulated = vcpu->kvm->arch.kvm_ops->emulate_mfspr(vcpu, sprn, in kvmppc_emulate_mfspr()
178 if (unlikely(emulated == EMULATE_FAIL)) { in kvmppc_emulate_mfspr()
185 if (emulated == EMULATE_DONE) in kvmppc_emulate_mfspr()
189 return emulated; in kvmppc_emulate_mfspr()
199 enum emulation_result emulated; in kvmppc_emulate_instruction() local
[all …]
H A Dbook3s_paired_singles.c175 int emulated = EMULATE_FAIL; in kvmppc_emulate_fpr_load() local
191 emulated = kvmppc_handle_load(vcpu, KVM_MMIO_REG_FPR | rs, in kvmppc_emulate_fpr_load()
196 emulated = EMULATE_DONE; in kvmppc_emulate_fpr_load()
213 return emulated; in kvmppc_emulate_fpr_load()
219 int emulated = EMULATE_FAIL; in kvmppc_emulate_fpr_store() local
251 emulated = kvmppc_handle_store(vcpu, val, len, 1); in kvmppc_emulate_fpr_store()
253 emulated = EMULATE_DONE; in kvmppc_emulate_fpr_store()
259 return emulated; in kvmppc_emulate_fpr_store()
265 int emulated = EMULATE_FAIL; in kvmppc_emulate_psq_load() local
282 emulated = kvmppc_handle_load(vcpu, KVM_MMIO_REG_FPR | rs, in kvmppc_emulate_psq_load()
[all …]
H A Demulate_loadstore.c69 * are not emulated here: multiple and string instructions,
75 enum emulation_result emulated = EMULATE_FAIL; in kvmppc_emulate_loadstore() local
81 emulated = kvmppc_get_last_inst(vcpu, INST_GENERIC, &inst); in kvmppc_emulate_loadstore()
82 if (emulated != EMULATE_DONE) in kvmppc_emulate_loadstore()
83 return emulated; in kvmppc_emulate_loadstore()
94 emulated = EMULATE_FAIL; in kvmppc_emulate_loadstore()
107 emulated = kvmppc_handle_loads(vcpu, in kvmppc_emulate_loadstore()
110 emulated = kvmppc_handle_load(vcpu, in kvmppc_emulate_loadstore()
113 if ((op.type & UPDATE) && (emulated != EMULATE_FAIL)) in kvmppc_emulate_loadstore()
127 emulated = kvmppc_handle_loads(vcpu, in kvmppc_emulate_loadstore()
[all …]
H A De500_emulate.c89 int emulated = EMULATE_DONE; in kvmppc_e500_emul_ehpriv() local
97 emulated = EMULATE_EXIT_USER; in kvmppc_e500_emul_ehpriv()
101 emulated = EMULATE_FAIL; in kvmppc_e500_emul_ehpriv()
103 return emulated; in kvmppc_e500_emul_ehpriv()
131 int emulated = EMULATE_DONE; in kvmppc_core_emulate_op_e500() local
142 emulated = kvmppc_e500_emul_dcbtls(vcpu); in kvmppc_core_emulate_op_e500()
147 emulated = kvmppc_e500_emul_msgsnd(vcpu, rb); in kvmppc_core_emulate_op_e500()
151 emulated = kvmppc_e500_emul_msgclr(vcpu, rb); in kvmppc_core_emulate_op_e500()
156 emulated = kvmppc_e500_emul_tlbre(vcpu); in kvmppc_core_emulate_op_e500()
160 emulated = kvmppc_e500_emul_tlbwe(vcpu); in kvmppc_core_emulate_op_e500()
[all …]
H A Dbook3s_emulate.c237 int emulated = EMULATE_DONE; in kvmppc_core_emulate_op_pr() local
246 emulated = EMULATE_FAIL; in kvmppc_core_emulate_op_pr()
258 emulated = EMULATE_DONE; in kvmppc_core_emulate_op_pr()
288 emulated = EMULATE_FAIL; in kvmppc_core_emulate_op_pr()
363 emulated = EMULATE_FAIL; in kvmppc_core_emulate_op_pr()
378 emulated = EMULATE_EXIT_USER; in kvmppc_core_emulate_op_pr()
424 emulated = EMULATE_FAIL; in kvmppc_core_emulate_op_pr()
435 emulated = EMULATE_FAIL; in kvmppc_core_emulate_op_pr()
493 emulated = EMULATE_AGAIN; in kvmppc_core_emulate_op_pr()
518 emulated = EMULATE_FAIL; in kvmppc_core_emulate_op_pr()
[all …]
H A Dbooke_emulate.c45 int emulated = EMULATE_DONE; in kvmppc_booke_emulate_op() local
71 emulated = EMULATE_FAIL; in kvmppc_booke_emulate_op()
102 emulated = EMULATE_FAIL; in kvmppc_booke_emulate_op()
108 emulated = EMULATE_FAIL; in kvmppc_booke_emulate_op()
111 return emulated; in kvmppc_booke_emulate_op()
115 * NOTE: some of these registers are not emulated on BOOKE_HV (GS-mode).
122 int emulated = EMULATE_DONE; in kvmppc_booke_emulate_mtspr() local
369 emulated = EMULATE_FAIL; in kvmppc_booke_emulate_mtspr()
376 return emulated; in kvmppc_booke_emulate_mtspr()
381 int emulated = EMULATE_DONE; in kvmppc_booke_emulate_mfspr() local
[all …]
/openbmc/qemu/docs/system/devices/
H A Dusb-u2f.rst40 ``u2f-emulated``
43 ``u2f-emulated`` is a completely software emulated U2F device.
49 To work, an emulated U2F device must have four elements:
60 there are three possible ways to configure the ``u2f-emulated`` device:
71 |qemu_system| -usb -device u2f-emulated
82 |qemu_system| -usb -device u2f-emulated,dir=$dir
93 …|qemu_system| -usb -device u2f-emulated,cert=$DIR1/$FILE1,priv=$DIR2/$FILE2,counter=$DIR3/$FILE3,e…
H A Dccid.rst44 Using ccid-card-emulated with hardware
47 user, using libcacard, QEMU acts as another client using ccid-card-emulated::
49 qemu -usb -device usb-ccid -device ccid-card-emulated
51 Using ccid-card-emulated with certificates stored in files
66 You can use the emulated card type with the certificates backend::
68 …qemu -usb -device usb-ccid -device ccid-card-emulated,backend=certificates,db=sql:$PWD,cert1=id-ce…
167 Both ccid-card-emulated and vscclient use libcacard as the card emulator.
H A Dnet.rst8 emulated hub. The various host network backends can either be used to
89 connects the given device to the emulated hub with ID 0 (i.e. the
93 Connecting emulated networks between QEMU instances
97 option, it is possible to create emulated networks that span several
/openbmc/linux/Documentation/admin-guide/device-mapper/
H A Ddm-ebs.rst11 Supported emulated logical block sizes 512, 1024, 2048 and 4096.
18 <dev path> <offset> <emulated sectors> [<underlying sectors>]
27 has to be a multiple of <emulated sectors>.
28 <emulated sectors>:
29 Number of sectors defining the logical block size to be emulated;
/openbmc/linux/drivers/target/tcm_remote/
H A Dtcm_remote.c113 * Register the remote_tpg as a emulated TCM Target Endpoint in tcm_remote_make_tpg()
120 pr_debug("TCM_Remote_ConfigFS: Allocated Emulated %s Target Port %s,t,0x%04lx\n", in tcm_remote_make_tpg()
138 * Deregister the remote_tpg as a emulated TCM Target Endpoint in tcm_remote_drop_tpg()
145 pr_debug("TCM_Remote_ConfigFS: Deallocated Emulated %s Target Port %s,t,0x%04x\n", in tcm_remote_drop_tpg()
164 * Determine the emulated Protocol Identifier and Target Port Name in tcm_remote_make_wwn()
186 pr_err("Unable to locate prefix for emulated Target Port: %s\n", in tcm_remote_make_wwn()
195 pr_err("Emulated NAA %s Address: %s, exceeds max: %d\n", in tcm_remote_make_wwn()
202 pr_debug("TCM_Remote_ConfigFS: Allocated emulated Target %s Address: %s\n", in tcm_remote_make_wwn()
215 pr_debug("TCM_Remote_ConfigFS: Deallocating emulated Target %s Address: %s\n", in tcm_remote_drop_wwn()
/openbmc/linux/arch/x86/mm/
H A Dnuma_emulation.c54 pr_err("NUMA: Too many emulated memblks, failing emulation\n"); in emu_setup_memblk()
252 * The limit on emulated nodes is MAX_NUMNODES, so the in split_nodes_size_interleave_uniform()
351 * to reflect the emulated configuration on success. @numa_dist_cnt is
356 * - @numa_meminfo is updated to reflect the emulated nodes.
359 * emulated nodes.
361 * - NUMA distance table is rebuilt to represent distances between emulated
362 * nodes. The distances are determined considering how emulated nodes
365 * - emu_nid_to_phys[] reflects how emulated nodes are mapped to physical
465 * Determine the max emulated nid and the default phys nid to use in numa_emulation()
473 /* Make sure numa_nodes_parsed only contains emulated nodes */ in numa_emulation()
[all …]
/openbmc/u-boot/arch/sandbox/include/asm/
H A Daxi.h51 * axi_get_store() - Get address of internal storage of a emulated AXI device
52 * @dev: Emulated AXI device to get the pointer of the internal storage
54 * @storep: Pointer to the internal storage of the emulated AXI device.
56 * To preset or read back the contents internal storage of the emulated AXI
/openbmc/qemu/docs/about/
H A Dindex.rst9 entire machine (CPU, memory and emulated devices) to run a guest OS.
10 In this mode the CPU may be fully emulated, or it may work with a
16 In this mode the CPU is always emulated.
/openbmc/qemu/hw/arm/
H A Dkzm.c32 * 0x80000000-0x8fffffff RAM EMULATED
33 * 0x90000000-0x9fffffff RAM EMULATED
42 * 0xb4001040-0xb400104f FPGA, UART EMULATED
43 * 0xb4001050-0xb400105f FPGA, UART EMULATED
45 * 0xb6000000-0xb61fffff LAN controller EMULATED
/openbmc/u-boot/arch/sandbox/cpu/
H A Dcpu.c61 * is_in_sandbox_mem() - Checks if a pointer is within sandbox's emulated DRAM
66 * function, or the sandbox stack (which is not actually within the emulated
74 * @return true if this is within sandbox emulated DRAM, false if not
86 * the emulated DRAM buffer used by sandbox. This function converts such an
97 /* If the address is within emulated DRAM, calculate the value */ in phys_to_virt()
142 * If it is in emulated RAM, don't bother looking for a tag. Just in virt_to_phys()
195 * If it is in emulated RAM, don't bother creating a tag. Just return in map_to_sysmem()
/openbmc/linux/Documentation/arch/arm/
H A Dswp_emulation.rst9 Trapped instructions are emulated using an LDREX/STREX or LDREXB/STREXB
16 Emulated SWP: 12
17 Emulated SWPB: 0
/openbmc/linux/arch/x86/kvm/
H A Dkvm_emulate.h58 * The emulator assumes that an instruction accesses only one 'emulated memory'
61 * stack operations are assumed never to access emulated memory. The emulator
63 * emulated memory, and assumes that the other operand accesses normal memory.
66 * 1. The emulator isn't very smart about emulated vs. standard memory.
67 * 'Emulated memory' access addresses should be checked for sanity.
107 * read_std: Read bytes of standard (non-emulated/special) memory.
120 * write_std: Write bytes of standard (non-emulated/special) memory.
131 * fetch: Read bytes of standard (non-emulated/special) memory.
142 * read_emulated: Read bytes from emulated/special memory area.
152 * write_emulated: Write bytes to emulated/special memory area.
[all …]
/openbmc/qemu/docs/devel/
H A Dmulti-thread-tcg.rst20 being emulated gained additional cores and per-core performance gains
43 shared data structures or when the emulated architecture requires a
44 coherent representation of the emulated machine state.
174 access in the emulated system. The SoftMMU code is designed so the
222 Emulated hardware state
229 However IO memory isn't the only way emulated hardware state can be
252 Between emulated guests and host systems there are a range of memory
289 In the case of a strongly ordered guest architecture being emulated on
363 case an EXCP_ATOMIC exit occurs and the instruction is emulated with
/openbmc/linux/drivers/target/loopback/
H A Dtcm_loop.c4 * for emulated SAS initiator ports
401 * Called from tcm_loop_fabric_init() in tcl_loop_fabric.c to load the emulated
707 pr_debug("TCM_Loop_ConfigFS: Established I_T Nexus to emulated %s Initiator Port: %s\n", in tcm_loop_make_nexus()
732 pr_debug("TCM_Loop_ConfigFS: Removing I_T Nexus to emulated %s Initiator Port: %s\n", in tcm_loop_drop_nexus()
736 * Release the SCSI I_T Nexus to the emulated Target Port in tcm_loop_drop_nexus()
786 pr_err("Emulated NAA Sas Address: %s, exceeds max: %d\n", in tcm_loop_tpg_nexus_store()
822 pr_err("Unable to locate prefix for emulated Initiator Port: %s\n", in tcm_loop_tpg_nexus_store()
938 * Register the tl_tpg as a emulated TCM Target Endpoint in tcm_loop_make_naa_tpg()
944 pr_debug("TCM_Loop_ConfigFS: Allocated Emulated %s Target Port %s,t,0x%04lx\n", in tcm_loop_make_naa_tpg()
966 * Deregister the tl_tpg as a emulated TCM Target Endpoint in tcm_loop_drop_naa_tpg()
[all …]
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/
H A D0006-FF-A-v15-arm_ffa-introduce-sandbox-FF-A-support.patch11 - Introduce an FF-A device driver for FF-A comms with emulated Secure World
125 +/* UUIDs strings of the emulated services */
129 +/* IDs of the emulated secure partitions (SPs) */
240 +/* number of emulated FF-A secure partitions (SPs) */
243 +/* Binary data of the emulated services UUIDs */
286 + * Hosts all the emulated secure world data.
336 +- An FF-A sandbox device driver for FF-A communication with the emulated Secure World.
416 + An FF-A sandbox driver is also provided for FF-A communication with the emulated
510 + * sandbox_ffa_version() - Emulated FFA_VERSION handler function
536 + * sandbox_ffa_id_get() - Emulated FFA_ID_GET handler function
[all …]
/openbmc/qemu/hw/usb/
H A Du2f-emulated.c2 * U2F USB Emulated device.
40 /* Emulated device counter */
73 /* U2F virtual emulated device */
100 #define TYPE_U2F_EMULATED "u2f-emulated"
311 "the emulated device", TYPE_U2F_EMULATED); in u2f_emulated_realize()
389 dc->desc = "QEMU U2F emulated key"; in u2f_emulated_class_init()
H A Dccid-card-emulated.c2 * CCID Card Device. Emulated card.
15 * qemu .. -usb -device usb-ccid -device ccid-card-emulated
23 * -device ccid-card-emulated,cert1=user1,cert2=user2,cert3=user3
49 #define TYPE_EMULATED_CCID "ccid-card-emulated"
54 #define BACKEND_NSS_EMULATED_NAME "nss-emulated"
431 printf("%s: warning: running emulated with certificates" in wrap_vcard_emul_init()
432 " and emulated side by side is not supported\n", in wrap_vcard_emul_init()
538 error_setg(errp, "%s: unexpected cert parameters to nss emulated " in emulated_realize()
605 dc->desc = "emulated smartcard"; in emulated_class_initfn()
/openbmc/u-boot/drivers/pci/
H A DKconfig60 PCIe host controllers, such as the one emulated by QEMU.
84 Support PCI on sandbox, as an emulated bus. This permits testing of
86 access. The available (emulated) devices are defined statically in
/openbmc/linux/arch/x86/xen/
H A Dplatform-pci-unplug.c139 /* PVH guests don't have emulated devices. */ in xen_unplug_emulated_devices()
161 "been compiled for this kernel: unplug emulated NICs.\n"); in xen_unplug_emulated_devices()
166 "been compiled for this kernel: unplug emulated disks.\n" in xen_unplug_emulated_devices()
173 /* Now unplug the emulated devices */ in xen_unplug_emulated_devices()

12345678910>>...29