Home
last modified time | relevance | path

Searched full:end (Results 1 – 25 of 1289) sorted by relevance

12345678910>>...52

/qemu/gdb-xml/
H A Di386-32bit.xml13 <field name="" start="22" end="31"/>
14 <field name="ID" start="21" end="21"/>
15 <field name="VIP" start="20" end="20"/>
16 <field name="VIF" start="19" end="19"/>
17 <field name="AC" start="18" end="18"/>
18 <field name="VM" start="17" end="17"/>
19 <field name="RF" start="16" end="16"/>
20 <field name="" start="15" end="15"/>
21 <field name="NT" start="14" end="14"/>
22 <field name="IOPL" start="12" end="13"/>
[all …]
H A Di386-64bit.xml14 <field name="" start="22" end="31"/>
15 <field name="ID" start="21" end="21"/>
16 <field name="VIP" start="20" end="20"/>
17 <field name="VIF" start="19" end="19"/>
18 <field name="AC" start="18" end="18"/>
19 <field name="VM" start="17" end="17"/>
20 <field name="RF" start="16" end="16"/>
21 <field name="" start="15" end="15"/>
22 <field name="NT" start="14" end="14"/>
23 <field name="IOPL" start="12" end="13"/>
[all …]
H A Drx-core.xml28 <field name="C" start="0" end="0"/>
29 <field name="Z" start="1" end="1"/>
30 <field name="S" start="2" end="2"/>
31 <field name="O" start="3" end="3"/>
32 <field name="I" start="16" end="16"/>
33 <field name="U" start="17" end="17"/>
34 <field name="PM" start="20" end="20"/>
35 <field name="IPL" start="24" end="27"/>
39 <field name="RM" start="0" end="1"/>
40 <field name="CV" start="2" end="2"/>
[all …]
H A Daarch64-core.xml48 <field name="SP" start="0" end="0"/>
51 <field name="EL" start="2" end="3"/>
53 <field name="nRW" start="4" end="4"/>
56 <field name="F" start="6" end="6"/>
58 <field name="I" start="7" end="7"/>
60 <field name="A" start="8" end="8"/>
62 <field name="D" start="9" end="9"/>
65 <field name="BTYPE" start="10" end="11"/>
68 <field name="SSBS" start="12" end="12"/>
71 <field name="IL" start="20" end="20"/>
[all …]
/qemu/docs/interop/
H A Dvhost-user.rst26 The protocol defines 2 sides of the communication, *front-end* and
27 *back-end*. The *front-end* is the application that shares its virtqueues, in
28 our case QEMU. The *back-end* is the consumer of the virtqueues.
30 In the current implementation QEMU is the *front-end*, and the *back-end*
33 or a block device back-end processing read & write to a virtual
34 disk. In order to facilitate interoperability between various back-end
38 The *front-end* and *back-end* can be either a client (i.e. connecting) or
80 - Bit 2 is the reply flag - needs to be sent on each reply from the back-end
124 back-end will process. This is a free-running index that is not
140 back-end will process. This is a free-running index that is not
[all …]
/qemu/include/hw/ppc/
H A Dxive2_regs.h55 * Event Notifification Descriptor (END)
111 #define xive2_end_is_valid(end) (be32_to_cpu((end)->w0) & END2_W0_VALID) argument
112 #define xive2_end_is_enqueue(end) (be32_to_cpu((end)->w0) & END2_W0_ENQUEUE) argument
113 #define xive2_end_is_notify(end) \ argument
114 (be32_to_cpu((end)->w0) & END2_W0_UCOND_NOTIFY)
115 #define xive2_end_is_backlog(end) (be32_to_cpu((end)->w0) & END2_W0_BACKLOG) argument
116 #define xive2_end_is_precluded_escalation(end) \ argument
117 (be32_to_cpu((end)->w0) & END2_W0_PRECL_ESC_CTL)
118 #define xive2_end_is_escalate(end) \ argument
119 (be32_to_cpu((end)->w0) & END2_W0_ESCALATE_CTL)
[all …]
H A Dxive_regs.h32 * information (EAS block + EAS index) in the 8 byte data and not END
177 * Notification Descriptor (END) and provides the corresponding
178 * logical interrupt number (END data)
187 #define EAS_END_BLOCK PPC_BITMASK(4, 7) /* Destination END block# */
188 #define EAS_END_INDEX PPC_BITMASK(8, 31) /* Destination END index */
190 #define EAS_END_DATA PPC_BITMASK(33, 63) /* Data written to the END */
224 /* Event Notification Descriptor (END) */
272 #define xive_end_is_valid(end) (be32_to_cpu((end)->w0) & END_W0_VALID) argument
273 #define xive_end_is_enqueue(end) (be32_to_cpu((end)->w0) & END_W0_ENQUEUE) argument
274 #define xive_end_is_notify(end) (be32_to_cpu((end)->w0) & END_W0_UCOND_NOTIFY) argument
[all …]
/qemu/hw/intc/
H A Dxive2.c184 g_string_append_printf(buf, " %08x %s end:%02x/%04x data:%08x\n", in xive2_eas_pic_print_info()
191 void xive2_end_queue_pic_print_info(Xive2End *end, uint32_t width, GString *buf) in xive2_end_queue_pic_print_info() argument
193 uint64_t qaddr_base = xive2_end_qaddr(end); in xive2_end_queue_pic_print_info()
194 uint32_t qsize = xive_get_field32(END2_W3_QSIZE, end->w3); in xive2_end_queue_pic_print_info()
195 uint32_t qindex = xive_get_field32(END2_W1_PAGE_OFF, end->w1); in xive2_end_queue_pic_print_info()
221 void xive2_end_pic_print_info(Xive2End *end, uint32_t end_idx, GString *buf) in xive2_end_pic_print_info() argument
223 uint64_t qaddr_base = xive2_end_qaddr(end); in xive2_end_pic_print_info()
224 uint32_t qindex = xive_get_field32(END2_W1_PAGE_OFF, end->w1); in xive2_end_pic_print_info()
225 uint32_t qgen = xive_get_field32(END2_W1_GENERATION, end->w1); in xive2_end_pic_print_info()
226 uint32_t qsize = xive_get_field32(END2_W3_QSIZE, end->w3); in xive2_end_pic_print_info()
[all …]
H A Dxive.c1441 void xive_end_queue_pic_print_info(XiveEND *end, uint32_t width, GString *buf) in xive_end_queue_pic_print_info() argument
1443 uint64_t qaddr_base = xive_end_qaddr(end); in xive_end_queue_pic_print_info()
1444 uint32_t qsize = xive_get_field32(END_W0_QSIZE, end->w0); in xive_end_queue_pic_print_info()
1445 uint32_t qindex = xive_get_field32(END_W1_PAGE_OFF, end->w1); in xive_end_queue_pic_print_info()
1471 void xive_end_pic_print_info(XiveEND *end, uint32_t end_idx, GString *buf) in xive_end_pic_print_info() argument
1473 uint64_t qaddr_base = xive_end_qaddr(end); in xive_end_pic_print_info()
1474 uint32_t qindex = xive_get_field32(END_W1_PAGE_OFF, end->w1); in xive_end_pic_print_info()
1475 uint32_t qgen = xive_get_field32(END_W1_GENERATION, end->w1); in xive_end_pic_print_info()
1476 uint32_t qsize = xive_get_field32(END_W0_QSIZE, end->w0); in xive_end_pic_print_info()
1479 uint32_t nvt_blk = xive_get_field32(END_W6_NVT_BLOCK, end->w6); in xive_end_pic_print_info()
[all …]
H A Dspapr_xive.c47 * sPAPR NVT and END indexing helpers
82 * sPAPR END indexing uses a simple mapping of the CPU vcpu_id, 8
129 * On sPAPR machines, use a simplified output for the XIVE END
132 static void spapr_xive_end_pic_print_info(SpaprXive *xive, XiveEND *end, in spapr_xive_end_pic_print_info() argument
135 uint64_t qaddr_base = xive_end_qaddr(end); in spapr_xive_end_pic_print_info()
136 uint32_t qindex = xive_get_field32(END_W1_PAGE_OFF, end->w1); in spapr_xive_end_pic_print_info()
137 uint32_t qgen = xive_get_field32(END_W1_GENERATION, end->w1); in spapr_xive_end_pic_print_info()
138 uint32_t qsize = xive_get_field32(END_W0_QSIZE, end->w0); in spapr_xive_end_pic_print_info()
140 uint32_t nvt = xive_get_field32(END_W6_NVT_INDEX, end->w6); in spapr_xive_end_pic_print_info()
141 uint8_t priority = xive_get_field32(END_W7_F0_PRIORITY, end->w7); in spapr_xive_end_pic_print_info()
[all …]
/qemu/tests/qtest/
H A Dpnv-xive2-common.c163 Xive2End end; in set_end() local
171 memset(&end, 0, sizeof(end)); in set_end()
172 end.w0 = xive_set_field32(END2_W0_VALID, 0, 1); in set_end()
173 end.w0 = xive_set_field32(END2_W0_ENQUEUE, end.w0, 1); in set_end()
174 end.w0 = xive_set_field32(END2_W0_UCOND_NOTIFY, end.w0, 1); in set_end()
175 end.w0 = xive_set_field32(END2_W0_BACKLOG, end.w0, 1); in set_end()
177 end.w1 = xive_set_field32(END2_W1_GENERATION, 0, 1); in set_end()
179 end.w2 = cpu_to_be32(queue_hi); in set_end()
181 end.w3 = cpu_to_be32(queue_lo); in set_end()
182 end.w3 = xive_set_field32(END2_W3_QSIZE, end.w3, queue_size); in set_end()
[all …]
/qemu/include/hw/virtio/
H A Dvhost.h101 * @acked_features: final negotiated features with front-end driver
360 * vhost_supports_device_state(): Checks whether the back-end supports
381 * the back-end for the purpose of migration. Data is to be transferred
382 * over a pipe according to @direction and @phase. The sending end must
383 * only write to the pipe, and the receiving end must only read from it.
384 * Once the sending end is done, it closes its FD. The receiving end
385 * must take this as the end-of-transfer signal and close its FD, too.
387 * @fd is the back-end's end of the pipe: The write FD for SAVE, and the
389 * back-end, i.e. closes it in the front-end.
391 * The back-end may optionally reply with an FD of its own, if this
[all …]
/qemu/hw/nvram/
H A Dchrp_nvram.c52 int end; in chrp_nvram_create_system_partition() local
62 end = sizeof(ChrpNvramPartHdr); in chrp_nvram_create_system_partition()
64 end = chrp_nvram_set_var(data, end, prom_envs[i], max_len - end); in chrp_nvram_create_system_partition()
65 if (end == -1) { in chrp_nvram_create_system_partition()
70 /* End marker */ in chrp_nvram_create_system_partition()
71 data[end++] = '\0'; in chrp_nvram_create_system_partition()
73 end = (end + 15) & ~15; in chrp_nvram_create_system_partition()
76 if (end < min_len) { in chrp_nvram_create_system_partition()
77 end = min_len; in chrp_nvram_create_system_partition()
79 chrp_nvram_finish_partition(part_header, end); in chrp_nvram_create_system_partition()
[all …]
/qemu/target/i386/
H A Dmonitor.c251 hwaddr end, int prot) in mem_print() argument
260 addr_canonical(env, end), in mem_print()
261 addr_canonical(env, end - *pstart), in mem_print()
267 *pstart = end; in mem_print()
279 hwaddr start, end; in mem_info_32() local
287 end = l1 << 22; in mem_info_32()
291 mem_print(mon, env, &start, &last_prot, end, prot); in mem_info_32()
296 end = (l1 << 22) + (l2 << 12); in mem_info_32()
303 mem_print(mon, env, &start, &last_prot, end, prot); in mem_info_32()
308 mem_print(mon, env, &start, &last_prot, end, prot); in mem_info_32()
[all …]
/qemu/scripts/
H A Dvmstate-static-checker.py186 print("Section \"" + sec + "\",", end=' ')
187 print("Description " + "\"" + desc + "\":", end=' ')
188 print("expected field \"" + s_item["field"] + "\",", end=' ')
207 print("Section \"" + sec + "\",", end=' ')
208 print("Description \"" + desc + "\":", end=' ')
209 print("unused size mismatch near \"", end=' ')
221 print("Section \"" + sec + "\",", end=' ')
222 print("Description \"" + desc + "\":", end=' ')
223 print("unused size mismatch near \"", end=' ')
274 print("Section \"" + sec + "\",", end=' ')
[all …]
/qemu/bsd-user/
H A Dmmap.c68 abi_ulong end, host_start, host_end, addr; in target_mprotect() local
79 end = start + len; in target_mprotect()
80 if (end < start) in target_mprotect()
88 host_end = HOST_PAGE_ALIGN(end); in target_mprotect()
96 for (addr = end; addr < host_end; addr += TARGET_PAGE_SIZE) { in target_mprotect()
99 end = host_end; in target_mprotect()
107 if (end < host_end) { in target_mprotect()
109 for (addr = end; addr < host_end; addr += TARGET_PAGE_SIZE) { in target_mprotect()
189 abi_ulong start, abi_ulong end, in mmap_frag() argument
202 if (addr < start || addr >= end) in mmap_frag()
[all …]
/qemu/tests/multiboot/
H A Dmmap.out18 mmap end: 0x9090
19 real mmap end: 0x9090
35 mmap end: 0x9078
36 real mmap end: 0x9078
53 mmap end: 0x9090
54 real mmap end: 0x9090
72 mmap end: 0x90a8
73 real mmap end: 0x90a8
91 mmap end: 0x90a8
92 real mmap end: 0x90a8
/qemu/include/chardev/
H A Dchar-fe.h11 * struct CharBackend - back end as seen by front end
12 * @fe_is_open: the front end is ready for IO
30 * Initializes a front end for the given CharBackend and
89 * Set the front end char handlers. The front end takes the focus if
121 * Take the focus (if the front end is muxed).
164 * @is_open: the front end open status
166 * This is an indication that the front end is ready (or not) to begin
210 * Note that you are responsible to update the front-end sources if
226 * Write data to a character backend from the front end. This function
227 * will send data from the front end to the back end. This function
[all …]
H A Dchar.h171 * Determine how much data the front end can currently accept. This function
172 * returns the number of bytes the front end can accept. If it returns 0, the
173 * front end cannot receive data at the moment. The function must be polled
176 * Returns: the number of bytes the front end can receive via @qemu_chr_be_write
182 * @buf: a buffer to receive data from the front end
183 * @len: the number of bytes to receive from the front end
185 * Write data from the back end to the front end. Before issuing this call,
187 * the front end can currently accept.
193 * @buf: a buffer to receive data from the front end
194 * @len: the number of bytes to receive from the front end
[all …]
/qemu/hw/hyperv/
H A Dhv-balloon-page_range_tree.h25 uint64_t end = MIN(endr, start); in page_range_part_before() local
28 if (end > out->start) { in page_range_part_before()
29 out->count = end - out->start; in page_range_part_before()
40 uint64_t end = range->start + range->count; in page_range_part_after() local
44 if (end > out->start) { in page_range_part_after()
45 out->count = end - out->start; in page_range_part_after()
57 uint64_t end = MIN(end1, end2); in page_range_intersect() local
60 out->count = out->start < end ? end - out->start : 0; in page_range_intersect()
/qemu/target/i386/kvm/
H A Dtdx-quote-generator.c100 goto end; in tdx_get_quote_read()
105 error_report("End of file before reply received"); in tdx_get_quote_read()
107 goto end; in tdx_get_quote_read()
119 goto end; in tdx_get_quote_read()
137 goto end; in tdx_get_quote_read()
143 goto end; in tdx_get_quote_read()
149 goto end; in tdx_get_quote_read()
155 goto end; in tdx_get_quote_read()
164 goto end; in tdx_get_quote_read()
173 goto end; in tdx_get_quote_read()
[all …]
/qemu/qapi/
H A Dstring-input-visitor.c137 int64_t start, end; in try_parse_int64_list_entry() local
143 end = start; in try_parse_int64_list_entry()
153 /* parse the end of the range */ in try_parse_int64_list_entry()
154 if (qemu_strtoi64(endptr + 1, &endptr, 0, &end)) { in try_parse_int64_list_entry()
157 if (start > end || end - start >= RANGE_MAX_ELEMENTS) { in try_parse_int64_list_entry()
178 siv->rangeEnd.i64 = end; in try_parse_int64_list_entry()
212 /* end of range, check if there is more to parse */ in parse_type_int64()
227 uint64_t start, end; in try_parse_uint64_list_entry() local
233 end = start; in try_parse_uint64_list_entry()
243 /* parse the end of the range */ in try_parse_uint64_list_entry()
[all …]
/qemu/docs/system/
H A Ddevice-emulation.rst15 Device Front End
18 A device front end is how a device is presented to the guest. The type
26 A front end is often paired with a back end, which describes how the
53 Device Back End
56 The back end describes how the data from the emulated device will be
57 processed by QEMU. The configuration of the back end is usually
66 While the choice of back end is generally transparent to the guest,
68 the back end is unable to support it.
/qemu/tests/migration-stress/
H A Dstress.c57 char *start, *end; in get_command_arg_str() local
85 end = strstr(start, " "); in get_command_arg_str()
86 if (!end) in get_command_arg_str()
87 end = strstr(start, "\n"); in get_command_arg_str()
89 if (end == start) { in get_command_arg_str()
95 if (end) in get_command_arg_str()
96 *val = g_strndup(start, end - start); in get_command_arg_str()
107 char *end; in get_command_arg_ull() local
114 *val = strtoll(valstr, &end, 10); in get_command_arg_ull()
115 if (errno || *end) { in get_command_arg_ull()
[all …]
/qemu/system/
H A Dmemory-internal.h41 /* returns true if end is big endian. */
42 static inline bool devend_big_endian(enum device_endian end) in devend_big_endian() argument
44 if (end == DEVICE_NATIVE_ENDIAN) { in devend_big_endian()
47 return end == DEVICE_BIG_ENDIAN; in devend_big_endian()
51 static inline MemOp devend_memop(enum device_endian end) in devend_memop() argument
53 return devend_big_endian(end) ? MO_BE : MO_LE; in devend_memop()

12345678910>>...52