Home
last modified time | relevance | path

Searched refs:a (Results 226 – 250 of 1355) sorted by relevance

12345678910>>...55

/qemu/hw/input/
H A Dtsc210x.c1171 ltr[2] = (int64_t) info->a[1] * info->a[3] - in tsc210x_set_transform()
1172 (int64_t) info->a[4] * info->a[0]; in tsc210x_set_transform()
1173 ltr[3] = (int64_t) info->a[2] * info->a[4] - in tsc210x_set_transform()
1174 (int64_t) info->a[5] * info->a[1]; in tsc210x_set_transform()
1178 (int64_t) info->a[1] * info->a[3]; in tsc210x_set_transform()
1180 (int64_t) info->a[5] * info->a[0]; in tsc210x_set_transform()
1195 if (abs(info->a[0]) > abs(info->a[1])) { in tsc210x_set_transform()
1199 s->tr[3] = -info->a[2] / info->a[0]; in tsc210x_set_transform()
1203 s->tr[7] = -info->a[5] / info->a[4]; in tsc210x_set_transform()
1208 s->tr[3] = -info->a[2] / info->a[1]; in tsc210x_set_transform()
[all …]
/qemu/tests/tcg/xtensa/
H A Dtest_fp0_sqrt.S8 .macro sqrt_seq r, a, y, t1, hn, h2, t5, h
9 sqrt0.s \y, \a
12 nexp01.s \hn, \a
16 nexp01.s \t1, \a
31 mksadj.s \y, \a
32 nexp01.s \a, \a
33 maddn.s \a, \r, \r
37 divn.s \r, \a, \t1
/qemu/scripts/
H A Dcocci-macro-file.h115 #define g_assert_cmpint(a, op, b) g_assert(a op b) argument
116 #define g_assert_cmpuint(a, op, b) g_assert(a op b) argument
117 #define g_assert_cmphex(a, op, b) g_assert(a op b) argument
118 #define g_assert_cmpstr(a, op, b) g_assert(strcmp(a, b) op 0) argument
/qemu/docs/system/s390x/
H A Dbootdevices.rst20 For booting from a CD-ROM ISO image (which needs to include El-Torito boot
38 not specify a boot device with the ``bootindex`` property, there is still a
39 chance that it finds a bootable device on its own and starts a guest operating
49 s390x. Due to technical limitations in the QEMU code base, you will get a
51 device type for installing a Linux distribution via ISO image. It is
52 recommended to specify a CD-ROM device via ``-device scsi-cd`` (as mentioned
66 ``<string>`` here. In that case the s390-ccw bios will show a list of
73 the kernel names, so you only get a list without names here.
82 Booting from a network device
89 directory. In case you want to load it from a different filename instead,
[all …]
/qemu/tests/tcg/openrisc/
H A Dtest_lf_add.c5 float a, b; in main() local
8 a = 1.5; in main()
13 : "+r"(a) in main()
16 if (a != res2) { in main()
17 printf("lf.add.s error, %f\n", a); in main()
H A Dtest_movhi.c5 int a; in main() local
12 : "=r"(a) in main()
14 if (a != result) { in main()
23 : "=r"(a) in main()
25 if (a != result) { in main()
H A Dtest_addi.c5 int a, b; in main() local
12 : "=r"(a) in main()
15 if (a != result) { in main()
24 : "=r"(a) in main()
27 if (a != result) { in main()
H A Dtest_divu.c5 int a, b, c; in main() local
14 : "=r"(a) in main()
17 if (a != result) { in main()
25 : "+r"(a) in main()
28 if (a != result) { in main()
H A Dtest_addc.c5 int a, b, c; in main() local
14 : "=r"(a) in main()
17 if (a != result) { in main()
31 : "=r"(a) in main()
34 if (a != result) { in main()
/qemu/docs/devel/
H A Dlockcnt.txt5 accessed and should not be freed. For example, a loop that invoke
55 - reference counting is fine-grained and limited to a single data
60 a reference for a long time; RCU critical sections in principle
67 modifications to a data structure.
80 A QemuLockCnt comprises both a counter and a mutex; it has primitives
99 because the reads are done outside a lock and a set or QLIST_INSERT_HEAD
129 during the visit any other thread will see a nonzero value for
147 than simply managing a counter using atomic operations (see
164 list) has a very small critical section.
185 Setting a variable to a non-NULL value can be done between
[all …]
H A Dloads-stores.rst19 These functions operate on a host pointer, and should be used
20 when you already have a pointer into host memory (corresponding
21 to guest ram or a local buffer). They deal with doing accesses
76 These functions operate on a guest virtual address, plus a context
80 a single argument of type ``MemOpIdx``.
247 a data read fault.
355 succeeded using a MemTxResult return code.
393 This function performs a write by physical address like
474 It takes a virtual address, converts it to a physical address via
478 This means that if the access is a write to a ROM then this
[all …]
H A Dacpi-bits.rst7 Biosbits is a software written by Josh Triplett that can be downloaded
9 `here <https://github.com/biosbits/bits/tree/master>`__. It is a software that
11 acpica bios interpreter (a freely available C based library written by Intel,
20 how by being as close to the bios on a running system as possible without a
28 written using a high level scripting language such as python. OSes and
35 For QEMU, we maintain a fork of bios bits in gitlab along with all the
68 This is the main python avocado test script that generates a
126 test so that it gets executed as a part of the ACPI tests.
142 (b) Add a SPDX license header.
147 clear. (a) and (b) can sometimes be combined into a single step.
[all …]
H A Dtcg-icount.rst10 TCG has long supported a feature known as icount which allows for
13 long an instruction would take on real hardware. That is a job for
14 other more detailed (and slower) tools that simulate the rest of a
20 fast on modern hardware. It can also provides for a degree of
27 At its heart icount is simply a count of executed instructions which
36 translator starts by allocating a budget of instructions to be
41 translated block and will cause a return to the outer loop to deal
47 loop and regenerate a new translation block with exactly the right
62 - re-compile a single [1]_ instruction block for the current PC
70 MMIO isn't the only type of operation for which we might need a
[all …]
/qemu/scripts/coccinelle/
H A Dremove_muldiv64.cocci1 // replace muldiv64(a, 1, b) by "a / b"
3 expression a, b;
5 -muldiv64(a, 1, b)
6 +a / b
/qemu/docs/system/
H A Dimages.rst15 You can create a disk image with the command::
21 a ``G`` suffix for gigabytes.
31 read only. When sectors in written, they are written in a temporary file
33 disk images by using the ``commit`` monitor command (or C-a s in the
47 Use the monitor command ``savevm`` to create a new VM snapshot or
51 Use ``loadvm`` to restore a VM snapshot and ``delvm`` to remove a VM
63 A VM snapshot is made of a VM state info (its size is shown in
64 ``info snapshots``) and a snapshot of every writable disk image. The VM
67 The size of a snapshot in a disk image is difficult to evaluate and is
70 snapshot would need a full copy of all the disk images).
[all …]
H A Dtarget-openrisc.rst17 Choosing a board model
24 If you intend to boot Linux, it is possible to have a single kernel image that
26 drivers into the kernel. This is possible because QEMU will create a device tree
27 structure that describes the QEMU machine and pass a pointer to the structure to
30 However, typically users will have specific firmware images for a specific machine.
32 If you already have a system image or a kernel that works on hardware and you
36 on QEMU. (You might be able to extract the filesystem and use that with a
37 different kernel which boots on a system that QEMU does emulate.)
39 If you don't care about reproducing the idiosyncrasies of a particular
42 is a platform which doesn't correspond to any real hardware and is designed for
[all …]
/qemu/docs/
H A Dpci_expander_bridge.txt6 PXB is a "light-weight" host bridge in the same PCI domain
13 is a primary bus and can be associated with a NUMA node
15 to recognize the proximity of a pass-through device to
32 - a pxb host bridge attached to NUMA 1 with an e1000 behind it
33 - a pxb host bridge attached to NUMA 0 with an e1000 behind it
34 - a pxb host bridge not attached to any NUMA with a hard drive behind it.
48 …It is a regular PCI Device that resides on the piix host-bridge bus and its bus uses the same PCI …
49 …However, the bus behind is exposed through ACPI as a primary PCI bus and starts a new PCI hierarch…
50 The interrupts from devices behind the PXB are routed through this device the same as if it were a
54 When adding a device to PXB it is attached to the bridge for two reasons:
H A Drdma.txt107 Using a 40gbps infiniband link performing a worst-case stress test,
143 "Everything else" is transmitted using a formal
170 receiver must have reserved space (using a receive
173 a control transport for migration of device state.
186 which is described by a formal protocol. Each SEND message has a
188 as a single SEND message).
310 transmit a few bytes of version information.
331 QEMUFileRDMA introduces a couple of new functions:
378 When a chunk is full (or a flush() occurs), the memory backed by
388 Only the last chunk in a batch must be signaled.
[all …]
/qemu/docs/system/i386/
H A Dmicrovm.rst4 ``microvm`` is a machine type inspired by ``Firecracker`` and
7 It's a minimalist machine type without ``PCI`` nor ``ACPI`` support,
8 designed for short-lived guests. microvm also establishes a baseline
62 As no current FW is able to boot from a block device using
64 using a host-side kernel and, optionally, an initrd image.
67 Running a microvm-based VM
71 legacy and non-legacy devices. In this example, a VM is created
93 This is an example of a VM with all optional legacy features
110 Triggering a guest-initiated shut down
113 As the microvm machine type includes just a small set of system
[all …]
/qemu/tests/qapi-schema/
H A Ddoc-good.json65 # @enum-member-feat: a member feature
80 # description starts on a new line,
96 # @variant1-feat: a feature
97 # @member-feat: a member feature
115 # @union-feat1: a feature
133 # @alt-feat: a feature
148 # description starts on a new line,
155 # @cmd-feat1: a feature
191 # If you're bored enough to read this, go see a video of boxed cats
194 # @cmd-feat1: a feature
[all …]
/qemu/target/riscv/insn_trans/
H A Dtrans_privileged.c.inc17 * You should have received a copy of the GNU General Public License along with
21 static bool trans_ecall(DisasContext *ctx, arg_ecall *a)
28 static bool trans_ebreak(DisasContext *ctx, arg_ebreak *a)
39 * three-instruction sequence to flag a semihosting call:
46 * here to signify a semihosting exception, rather than a breakpoint.
72 static bool trans_uret(DisasContext *ctx, arg_uret *a)
77 static bool trans_sret(DisasContext *ctx, arg_sret *a)
95 static bool trans_mret(DisasContext *ctx, arg_mret *a)
109 static bool trans_wfi(DisasContext *ctx, arg_wfi *a)
121 static bool trans_sfence_vma(DisasContext *ctx, arg_sfence_vma *a)
[all …]
/qemu/docs/interop/
H A Dqmp-spec.rst12 The QEMU Machine Protocol (QMP) is a JSON-based
45 within a json-object gives unpredictable results.
155 of a command execution: success or error.
165 The format of a success response is:
174 is defined on a per-command basis (usually a json-object or
239 known-good state, the client should provoke a lexical error.
246 client needs to deal with them, it should send a 0xFF byte.
251 When a client connects to QGA over a transport lacking proper
336 When a Client successfully establishes a connection, the Server is in
359 The QMP Server performs a type check on the arguments to a command. It
[all …]
/qemu/tests/tcg/tricore/c/
H A Dcrt0-tc2x.S57 movh.a %sp,hi:__USTACK # load %sp
140 sub.a %sp,8
176 st.a [%a3],%a4 #; store it in 1st CSA
184 mov.a %a5,%d2 #; %a5 = loop counter
224 mov.a %a2,%d0 # %a2 = loop counter
261 ld.a %a15,[%a13+]4 # %a15 = src address
262 ld.a %a14,[%a13+]4 # %a14 = dst address
269 mov.a %a2,%d0 # %a2 = loop counter
298 movh.a %a15, hi:__TESTDEVICE
317 mov.a %a14,%d14
[all …]
/qemu/hw/audio/
H A Des1370.c176 a(XCTL1); in print_ctl()
177 a(OPEN); in print_ctl()
179 a(M_SBB); in print_ctl()
182 a(M_CB); in print_ctl()
183 a(XCTL0); in print_ctl()
184 a(BREQ); in print_ctl()
185 a(DAC1_EN); in print_ctl()
187 a(ADC_EN); in print_ctl()
190 a(CDC_EN); in print_ctl()
192 #undef a in print_ctl()
[all …]
/qemu/target/s390x/tcg/
H A Dint_helper.c38 uint64_t HELPER(divs32)(CPUS390XState *env, int64_t a, int64_t b64) in HELPER()
47 q = a / b; in HELPER()
48 r = a % b; in HELPER()
59 uint64_t HELPER(divu32)(CPUS390XState *env, uint64_t a, uint64_t b64) in HELPER()
68 q = a / b; in HELPER()
69 r = a % b; in HELPER()
80 Int128 HELPER(divs64)(CPUS390XState *env, int64_t a, int64_t b) in HELPER()
83 if (b == 0 || (b == -1 && a == (1ll << 63))) { in HELPER()
86 return int128_make128(a / b, a % b); in HELPER()

12345678910>>...55