/qemu/include/qemu/ |
A D | module.h | 28 #define module_init(function, type) \ argument 29 static void __attribute__((constructor)) do_qemu_init_ ## function(void) \ 31 register_dso_module_init(function, type); \ 54 #define block_init(function) module_init(function, MODULE_INIT_BLOCK) argument 55 #define opts_init(function) module_init(function, MODULE_INIT_OPTS) argument 56 #define type_init(function) module_init(function, MODULE_INIT_QOM) argument 57 #define trace_init(function) module_init(function, MODULE_INIT_TRACE) argument 58 #define xen_backend_init(function) module_init(function, \ argument 60 #define libqos_init(function) module_init(function, MODULE_INIT_LIBQOS) argument 61 #define fuzz_target_init(function) module_init(function, \ argument [all …]
|
/qemu/target/riscv/ |
A D | insn16.decode | 21 %rs1_3 7:3 !function=ex_rvc_register 22 %rs2_3 2:3 !function=ex_rvc_register 24 %r1s 7:3 !function=ex_sreg_register 25 %r2s 2:3 !function=ex_sreg_register 29 %nzuimm_ciw 7:4 11:2 5:1 6:1 !function=ex_shift_2 30 %uimm_cl_q 10:1 5:2 11:2 !function=ex_shift_4 31 %uimm_cl_d 5:2 10:3 !function=ex_shift_3 32 %uimm_cl_w 5:1 10:3 6:1 !function=ex_shift_2 38 %uimm_6bit_lq 2:4 12:1 6:1 !function=ex_shift_4 39 %uimm_6bit_ld 2:3 12:1 5:2 !function=ex_shift_3 [all …]
|
/qemu/docs/devel/ |
A D | control-flow-integrity.rst | 13 function calls have not been altered by an attacker. 15 function calls performed through function pointers, always call a "compatible" 16 function. A compatible function is a function with the same signature of the 17 function pointer declared in the source code. 20 the signature of every function and every function pointer used in the code. 84 Disabling CFI for a specific function 87 If you are working on function that is performing a call using an 89 for such function by using the decorator ``QEMU_DISABLE_CFI`` at function 97 * indirect function call. Since such function did not exist at compile time, 107 when the function call is performed. [all …]
|
A D | block-coroutine-wrapper.rst | 9 needed function from it and wait for the coroutine to finish in a 10 BDRV_POLL_WHILE() loop. To run a coroutine we need a function with one 11 void* argument. So for each coroutine_fn function which needs a 13 parameters, define a separate function to unpack the parameters and 14 call the original function and finally define a new interface function 23 Assume we have defined the ``coroutine_fn`` function
|
A D | decodetree.rst | 26 field_def := '%' identifier ( field )* ( !function=identifier )? 54 If ``!function`` is specified, the concatenated result is passed through the 55 named function, taking and returning an integral value. 57 One may use ``!function`` with zero ``fields``. This case is called 58 a *parameter*, and the named function is only passed the ``DisasContext`` 61 A field with no ``fields`` and no ``!function`` is in error. 77 | !function=expand_shimm8 | extract(i, 13, 1)) | 80 | !function=expand_sz_imm | extract(a->sz, 0, 3)) | 182 The decoder will call a translator function for each pattern matched. 214 for a pattern match, its translate function will be called. If the [all …]
|
A D | reset.rst | 87 parameter. Still, it is a programming error to call a resettable function on a 164 The ``resettable_class_set_parent_phases()`` class function may be used to 226 only some of them by passing NULL instead of a function pointer to 240 Resettable interface provides the ``resettable_is_in_reset()`` function. 241 This function returns true if the object parameter is currently under reset. 249 This function may be used if the object behavior has to be adapted 256 one of the reset phases, the only cases when this function will return 308 This function can be used at any time when not in a reset operation. During 315 There is currently 2 cases where this function is used: 331 reset will happen asynchronously after the function returns. [all …]
|
/qemu/hw/acpi/ |
A D | tpm.c | 113 function = aml_arg(2); in tpm_build_ppi_acpi() 124 ifctx2 = aml_if(aml_equal(function, zero)); in tpm_build_ppi_acpi() 141 ifctx2 = aml_if(aml_equal(function, one)); in tpm_build_ppi_acpi() 158 ifctx2 = aml_if(aml_equal(function, aml_int(2))); in tpm_build_ppi_acpi() 204 ifctx2 = aml_if(aml_equal(function, aml_int(3))); in tpm_build_ppi_acpi() 249 ifctx2 = aml_if(aml_equal(function, aml_int(4))); in tpm_build_ppi_acpi() 275 ifctx2 = aml_if(aml_equal(function, aml_int(5))); in tpm_build_ppi_acpi() 299 ifctx2 = aml_if(aml_equal(function, aml_int(6))); in tpm_build_ppi_acpi() 320 ifctx2 = aml_if(aml_equal(function, aml_int(7))); in tpm_build_ppi_acpi() 422 ifctx2 = aml_if(aml_equal(function, zero)); in tpm_build_ppi_acpi() [all …]
|
/qemu/hw/misc/ |
A D | mps2-scc.c | 111 static bool scc_cfg_write(MPS2SCC *s, unsigned function, in scc_cfg_write() argument 114 trace_mps2_scc_cfg_write(function, device, value); in scc_cfg_write() 116 if (function != 1 || device >= s->num_oscclk) { in scc_cfg_write() 119 function, device); in scc_cfg_write() 131 static bool scc_cfg_read(MPS2SCC *s, unsigned function, in scc_cfg_read() argument 134 if (function != 1 || device >= s->num_oscclk) { in scc_cfg_read() 137 function, device); in scc_cfg_read() 143 trace_mps2_scc_cfg_read(function, device, *value); in scc_cfg_read() 318 int function = extract32(s->cfgctrl, R_CFGCTRL_FUNCTION_SHIFT, in mps2_scc_write() local 323 if (!scc_cfg_write(s, function, device, s->cfgdata_out)) { in mps2_scc_write() [all …]
|
A D | arm_sysctl.c | 258 unsigned int function, unsigned int site, in vexpress_cfgctrl_read() argument 270 switch (function) { in vexpress_cfgctrl_read() 304 function, dcc, site, position, device); in vexpress_cfgctrl_read() 319 unsigned int function, unsigned int site, in vexpress_cfgctrl_write() argument 331 switch (function) { in vexpress_cfgctrl_write() 383 function, dcc, site, position, device); in vexpress_cfgctrl_write() 526 unsigned int function = extract32(s->sys_cfgctrl, 20, 6); in arm_sysctl_write() local 532 if (!vexpress_cfgctrl_write(s, dcc, function, site, position, in arm_sysctl_write() 538 if (!vexpress_cfgctrl_read(s, dcc, function, site, position, in arm_sysctl_write()
|
/qemu/target/hppa/ |
A D | insns.decode | 39 %sm_imm 16:10 !function=expand_sm_imm 50 %len5 0:5 !function=assemble_6 54 %ma_to_m 5:1 13:1 !function=ma_to_m 55 %ma2_to_m 2:2 !function=ma_to_m 56 %pos_to_m 0:1 !function=pos_to_m 57 %neg_to_m 0:1 !function=neg_to_m 58 %a_to_m 2:1 !function=neg_to_m 59 %cmpbid_c 13:2 !function=cmpbid_c 60 %d_5 5:1 !function=pa20_d 61 %d_11 11:1 !function=pa20_d [all …]
|
/qemu/target/arm/tcg/ |
A D | t16.decode | 40 %s !function=t16_setflags 86 %imm5_6x4 6:5 !function=times_4 100 %imm5_6x2 6:5 !function=times_2 109 %imm8_0x4 0:8 !function=times_4 180 %imm7_0x4 0:7 !function=times_4 207 %imod 4:1 !function=plus_2 244 %imm6_9_3 9:1 3:5 !function=times_2 252 %push_list 0:9 !function=t16_push_list 253 %pop_list 0:9 !function=t16_pop_list 262 %imm8_0x2 0:s8 !function=times_2 [all …]
|
A D | mve.decode | 27 %size_28 28:1 !function=plus_1 33 %2op_fp_size_rev 20:1 !function=plus_1 108 %rshift_i5 16:5 !function=rsub_32 109 %rshift_i4 16:4 !function=rsub_16 110 %rshift_i3 16:3 !function=rsub_8 400 %imm_vidup 7:1 0:1 !function=vidup_imm 405 %vidup_rn 17:3 !function=times_2 425 %rdahi 20:3 !function=times_2_plus_1 426 %rdalo 13:3 !function=times_2 428 %size_16 16:1 !function=plus_1 [all …]
|
/qemu/target/avr/ |
A D | insn.decode | 29 %rd_a 4:4 !function=to_regs_16_31_by_one 30 %rd_b 4:3 !function=to_regs_16_23_by_one 31 %rd_c 4:2 !function=to_regs_24_30_by_two 32 %rr_a 0:4 !function=to_regs_16_31_by_one 33 %rr_b 0:3 !function=to_regs_16_23_by_one 85 %imm_call 4:5 0:1 !function=append_16 115 %rd_d 4:4 !function=to_regs_00_30_by_two 116 %rr_d 0:4 !function=to_regs_00_30_by_two
|
/qemu/tests/decode/ |
A D | err_field5.decode | 4 # Diagnose duplicate function specifier. 5 %field 0:1 !function=a !function=a
|
/qemu/tests/qtest/libqos/ |
A D | qgraph.h | 196 void qos_node_create_machine(const char *name, QOSCreateMachineFunc function); 207 QOSCreateMachineFunc function, 219 void qos_node_create_driver(const char *name, QOSCreateDriverFunc function); 235 QOSCreateDriverFunc function);
|
A D | qgraph.c | 602 node->u.test.function = test_func; in qos_add_test() 614 void qos_node_create_machine(const char *name, QOSCreateMachineFunc function) in qos_node_create_machine() argument 616 qos_node_create_machine_args(name, function, NULL); in qos_node_create_machine() 620 QOSCreateMachineFunc function, in qos_node_create_machine_args() argument 625 node->u.machine.constructor = function; in qos_node_create_machine_args() 629 void qos_node_create_driver(const char *name, QOSCreateDriverFunc function) in qos_node_create_driver() argument 633 node->u.driver.constructor = function; in qos_node_create_driver() 637 QOSCreateDriverFunc function) in qos_node_create_driver_named() argument 642 node->u.driver.constructor = function; in qos_node_create_driver_named()
|
/qemu/scripts/coccinelle/ |
A D | reset-type.cocci | 21 // Look for where we use a function as a ResettableHoldPhase method, 23 // resettable_class_set_parent_phases, and remember the function name. 37 // Look for the definition of the function we found in holdfn_assigned, 38 // and add the new argument. If the function calls a hold function 86 // to ensure that they only match in a particular function. See 88 // which recommends this as the way to do "match only in this function".
|
/qemu/common-user/host/riscv/ |
A D | safe-syscall.inc.S | 16 .type safe_syscall_base, @function 17 .type safe_syscall_start, @function 18 .type safe_syscall_end, @function
|
/qemu/common-user/host/aarch64/ |
A D | safe-syscall.inc.S | 16 .type safe_syscall_base, #function 17 .type safe_syscall_start, #function 18 .type safe_syscall_end, #function
|
/qemu/common-user/host/loongarch64/ |
A D | safe-syscall.inc.S | 19 .type safe_syscall_base, @function 20 .type safe_syscall_start, @function 21 .type safe_syscall_end, @function
|
/qemu/target/mips/tcg/ |
A D | msa.decode | 24 %elm_df 16:6 !function=elm_df 25 %elm_n 16:6 !function=elm_n 26 %bit_df 16:7 !function=bit_df 27 %bit_m 16:7 !function=bit_m 28 %2r_df_w 16:1 !function=plus_2 29 %3r_df_h 21:1 !function=plus_1 30 %3r_df_w 21:1 !function=plus_2
|
/qemu/common-user/host/sparc64/ |
A D | safe-syscall.inc.S | 22 .type safe_syscall_base, @function 23 .type safe_syscall_start, @function 24 .type safe_syscall_end, @function
|
/qemu/tests/functional/acpi-bits/bits-tests/ |
A D | testcpuid.py2 | 37 def cpuid_helper(function, index=None, shift=0, mask=~0, eax_mask=~0, ebx_mask=~0, ecx_mask=~0, edx… 52 …regs = bits.cpuid_result(*[(r >> shift) & m for r, m in zip(bits.cpuid(cpu, function, index), mask… 55 desc = ["CPUID function {:#x}{}".format(function, indexdesc)] 79 def test_cpuid_consistency(text, function, index=None, shift=0, mask=~0, eax_mask=~0, ebx_mask=~0, … 80 … uniques, desc = cpuid_helper(function, index, shift, mask, eax_mask, ebx_mask, ecx_mask, edx_mask)
|
/qemu/docs/ |
A D | pcie_sriov.txt | 7 of a PCI Express device. It allows a single physical function (PF) to appear as multiple 22 A virtual function is different from a physical function in that the BAR 37 supports functions beyond it's "own" function space (0-7), 70 2) Similarly in the implementation of the virtual function, you need to
|
/qemu/docs/devel/migration/ |
A D | vfio.rst | 48 * A ``save_setup`` function that sets up migration on the source. 50 * A ``load_setup`` function that sets the VFIO device on the destination in 53 * A ``state_pending_estimate`` function that reports an estimate of the 57 * A ``state_pending_exact`` function that reads pending_bytes from the vendor 61 * An ``is_active_iterate`` function that indicates ``save_live_iterate`` is 64 * A ``save_live_iterate`` function that reads the VFIO device's data from the 67 * A ``switchover_ack_needed`` function that checks if the VFIO device uses 70 * A ``save_state`` function to save the device config space if it is present. 72 * A ``save_live_complete_precopy`` function that sets the VFIO device in 76 * A ``load_state`` function that loads the config section and the data
|