Home
last modified time | relevance | path

Searched +full:type +full:- +full:value (Results 1 – 25 of 992) sorted by relevance

12345678910>>...40

/qemu/
H A Dmeson_options.txt1 # These options do not correspond to a --enable/--disable-* option
3 # scripts/meson-buildoptions.py's SKIP_OPTIONS constant too.
5 option('qemu_suffix', type : 'string', value: 'qemu',
7 option('docdir', type : 'string', value : 'share/doc',
9 option('qemu_firmwarepath', type : 'array', value : ['share/qemu-firmware'],
11 option('pkgversion', type : 'string', value : '',
12 description: 'use specified string as sub-version of the package')
13 option('smbd', type : 'string', value : '',
15 option('iasl', type : 'string', value : '',
17 option('tls_priority', type : 'string', value : 'NORMAL',
[all …]
/qemu/tests/unit/
H A Dtest-visitor-serialization.c2 * Unit-tests for visitor-based serialization
4 * Copyright (C) 2014-2015 Red Hat, Inc.
11 * See the COPYING file in the top-level directory.
17 #include "test-qapi-visit.h"
21 #include "qapi/qobject-input-visitor.h"
22 #include "qapi/qobject-output-visitor.h"
23 #include "qapi/string-input-visitor.h"
24 #include "qapi/string-output-visitor.h"
25 #include "qapi/dealloc-visitor.h"
57 } value; member
[all …]
/qemu/hw/net/rocker/
H A Drocker_tlv.h2 * QEMU rocker switch emulation - TLV parsing and composing
22 (((len) + ROCKER_TLV_ALIGNTO - 1) & ~(ROCKER_TLV_ALIGNTO - 1))
26 * <------- ROCKER_TLV_HDRLEN -------> <--- ROCKER_TLV_ALIGN(payload) --->
27 * +-----------------------------+- - -+- - - - - - - - - - - - - - -+- - -+
30 * +-----------------------------+- - -+- - - - - - - - - - - - - - -+- - -+
31 * <--------------------------- tlv->len -------------------------->
36 int totlen = ROCKER_TLV_ALIGN(le16_to_cpu(tlv->len)); in rocker_tlv_next()
38 *remaining -= totlen; in rocker_tlv_next()
45 le16_to_cpu(tlv->len) >= ROCKER_TLV_HDRLEN && in rocker_tlv_ok()
46 le16_to_cpu(tlv->len) <= remaining; in rocker_tlv_ok()
[all …]
/qemu/qapi/
H A Dqapi-visit-core.c4 * Copyright (C) 2012-2016 Red Hat, Inc.
11 * See the COPYING.LIB file in the top-level directory.
16 #include "qapi/compat-policy.h"
20 #include "qapi/visitor-impl.h"
23 /* Zero-initialization must result in default policy */
29 assert(v->type != VISITOR_OUTPUT || v->complete); in visit_complete()
31 if (v->complete) { in visit_complete()
32 v->complete(v, opaque); in visit_complete()
40 v->free(v); in visit_free()
52 assert(!(v->type & VISITOR_OUTPUT) || *obj); in visit_start_struct()
[all …]
H A Dintrospect.json1 # -*- Mode: Python -*-
10 # See the COPYING file in the top-level directory.
17 # @query-qmp-schema:
19 # Command query-qmp-schema exposes the QMP wire ABI as an array of
29 # backwards-compatible across QEMU versions, the introspection output
32 # non-variant, while another lists the same member only through the
33 # object's variants; or the type of a member may change from a generic
34 # string into a specific enum or from one specific type into an
35 # alternate that includes the original type alongside something else.
38 # entity in the ABI: command, event, type, ...
[all …]
/qemu/target/arm/tcg/
H A Dtlb-insns.c6 * SPDX-License-Identifier: GPL-2.0-or-later
14 #include "cpu-features.h"
51 uint64_t value) in tlbiall_is_write() argument
59 uint64_t value) in tlbiasid_is_write() argument
67 uint64_t value) in tlbimva_is_write() argument
71 tlb_flush_page_all_cpus_synced(cs, value & TARGET_PAGE_MASK); in tlbimva_is_write()
75 uint64_t value) in tlbimvaa_is_write() argument
79 tlb_flush_page_all_cpus_synced(cs, value & TARGET_PAGE_MASK); in tlbimvaa_is_write()
83 * Non-IS variants of TLB operations are upgraded to
93 uint64_t value) in tlbiall_write() argument
[all …]
/qemu/qom/
H A Dobject.c10 * See the COPYING file in the top-level directory.
14 #include "hw/qdev-core.h"
21 #include "qapi/string-input-visitor.h"
22 #include "qapi/string-output-visitor.h"
23 #include "qapi/qobject-input-visitor.h"
24 #include "qapi/forward-visitor.h"
25 #include "qapi/qapi-builtin-visit.h"
31 #include "qom/qom-qobject.h"
36 #include "qemu/error-report.h"
77 static Type type_interface;
[all …]
/qemu/tests/tcg/multiarch/
H A Dtest-plugin-mem-access.c2 * SPDX-License-Identifier: GPL-2.0-or-later
5 * Used in conjunction with ./check-plugin-mem-access.sh check script.
27 #define PRINT_EXPECTED(function, type, value, action) \ argument
30 #function, (int) sizeof(type) * 8, action, value); \
34 #define DEFINE_STORE(name, type, value) \ argument
38 PRINT_EXPECTED(store_##name, type, #value, "store"); \
43 *((type *)data) = value; \
47 #define DEFINE_ATOMIC_OP(name, type, value) \ argument
51 PRINT_EXPECTED(atomic_op_##name, type, "0x0*42", "load"); \
52 PRINT_EXPECTED(atomic_op_##name, type, #value, "store"); \
[all …]
/qemu/tests/tcg/xtensa/
H A Dtest_load_store.S5 .macro load_ok_test op, type, data, value argument
9 \type \data
18 movi a6, \value
23 .macro load_unaligned_test will_trap, op, type, data, value argument
28 \type \data
43 movi a6, \value
61 .macro load_unaligned_test will_trap, op, type, data, value argument
65 \type \data
74 movi a6, \value
79 .macro store_ok_test op, type, value argument
[all …]
/qemu/tests/qapi-schema/
H A Dunion-invalid-union-subtype.json2 # Base's member 'type' clashes with TestTypeA's
5 'data': [ 'value-a', 'value-b' ] }
8 'data': [ 'value-a1', 'value-a2' ] }
17 'base': { 'type': 'TestEnumA' },
18 'discriminator': 'type',
19 'data': { 'value-a1': 'TestTypeA1',
20 'value-a2': 'TestTypeA2' } }
26 'base': { 'type': 'TestEnum' },
27 'discriminator': 'type',
28 'data': { 'value-a': 'TestTypeA',
[all …]
/qemu/scripts/qapi/
H A Dexpr.py1 # -*- coding: utf-8 -*-
4 # Copyright (c) 2013-2021 Red Hat Inc.
10 # Marc-André Lureau <marcandre.lureau@redhat.com>
14 # See the COPYING file in the top-level directory.
17 Normalize and validate (context-free) QAPI schema expression structures.
21 that these nested structures have the correct type(s) and key(s) where
22 appropriate for the QAPI context-free grammar.
51 valid_name = re.compile(r'(__[a-z0-9.-]+_)?'
52 r'(x-)?'
53 r'([a-z][a-z0-9_-]*)$', re.IGNORECASE)
[all …]
/qemu/include/qom/
H A Dobject.h10 * See the COPYING file in the top-level directory.
17 #include "qapi/qapi-builtin-types.h"
21 typedef struct TypeImpl *Type; typedef
92 char *type; member
126 * integer type handle.
131 Type type; member
147 * always begins at byte 0 of that structure, as long as any sub-object places
150 * As a result, #Object contains a reference to the objects type as its
151 * first member. This allows identification of the real type of the object at
168 * @TYPENAME: type name
[all …]
/qemu/include/qobject/
H A Dqlit.h8 * Marc-André Lureau <marcandre.lureau@redhat.com>
11 * See the COPYING.LIB file in the top-level directory.
23 QType type; member
30 } value; member
35 QLitObject value; member
39 { .type = QTYPE_QNULL }
41 { .type = QTYPE_QBOOL, .value.qbool = (val) }
43 { .type = QTYPE_QNUM, .value.qnum = (val) }
45 { .type = QTYPE_QSTRING, .value.qstr = (val) }
47 { .type = QTYPE_QDICT, .value.qdict = (val) }
[all …]
/qemu/target/hexagon/idef-parser/
H A Didef-parser.lex2 %option 8bit reentrant bison-bridge
4 %option bison-locations
8 * Copyright(c) 2019-2023 rev.ng Labs Srl. All Rights Reserved.
29 #include "idef-parser.h"
30 #include "idef-parser.tab.h"
33 #define YY_USER_ACTION yylloc->first_column = yylloc->last_column; \
35 yylloc->last_column++; \
44 DIGIT [0-9]
45 LOWER_ID [a-z]
46 UPPER_ID [A-Z]
[all …]
H A Dparser-helpers.c2 * Copyright(c) 2019-2023 rev.ng Labs Srl. All Rights Reserved.
28 #include "idef-parser.h"
29 #include "parser-helpers.h"
30 #include "idef-parser.tab.h"
31 #include "idef-parser.yy.h"
38 const char *code_ptr = c->input_buffer; in yyerror()
40 fprintf(stderr, "WARNING (%s): '%s'\n", c->inst.name->str, s); in yyerror()
43 for (int i = locp->first_column; i < locp->last_column; i++) { in yyerror()
52 code_ptr[locp->first_column - 10 + i] != '\0' && in yyerror()
53 code_ptr[locp->first_column - 10 + i] != '\n'; in yyerror()
[all …]
/qemu/scripts/
H A Dmeson-buildoptions.py28 # Options with nonstandard names (e.g. --with/--without) or OS-dependent
40 "coroutine_backend": "with-coroutine",
41 "debug": "debug-info",
42 "malloc": "enable-malloc",
43 "pkgversion": "with-pkgversion",
45 "qemu_suffix": "with-suffix",
46 "trace_backends": "enable-trace-backends",
47 "trace_file": "with-trace-file",
58 # via -D, because it's a mix of CFLAGS and --extra-cflags); for specific
59 # cases "../configure -D" can be used as an escape hatch.
[all …]
/qemu/python/qemu/utils/
H A Dqom_common.py13 # See the COPYING file in the top-level directory.
15 # Based on ./scripts/qmp/qom-[set|get|tree|list]
26 Type,
36 Represents the return type from e.g. qom-list.
42 self.type = type_
47 def make(cls, value: Dict[str, Any]) -> 'ObjectPropertyInfo':
51 assert value.keys() >= {'name', 'type'}
52 assert value.keys() <= {'name', 'type', 'description', 'default-value'}
53 return cls(value['name'], value['type'],
54 value.get('description'),
[all …]
/qemu/ui/
H A Dinput-keymap.c5 #include "standard-headers/linux/input.h"
7 #include "ui/input-keymap-atset1-to-qcode.c.inc"
8 #include "ui/input-keymap-linux-to-qcode.c.inc"
9 #include "ui/input-keymap-qcode-to-atset1.c.inc"
10 #include "ui/input-keymap-qcode-to-atset2.c.inc"
11 #include "ui/input-keymap-qcode-to-atset3.c.inc"
12 #include "ui/input-keymap-qcode-to-linux.c.inc"
13 #include "ui/input-keymap-qcode-to-qnum.c.inc"
14 #include "ui/input-keymap-qcode-to-sun.c.inc"
15 #include "ui/input-keymap-qnum-to-qcode.c.inc"
[all …]
H A Dinput.c4 #include "qapi/qapi-commands-ui.h"
29 } type; member
54 s->dev = dev; in qemu_input_handler_register()
55 s->handler = handler; in qemu_input_handler_register()
56 s->id = id++; in qemu_input_handler_register()
97 s->con = con; in qemu_input_handler_bind()
106 if (s->con == NULL || s->con != con) { in qemu_input_find_handler()
109 if (mask & s->handler->mask) { in qemu_input_find_handler()
115 if (s->con != NULL) { in qemu_input_find_handler()
118 if (mask & s->handler->mask) { in qemu_input_find_handler()
[all …]
/qemu/docs/devel/
H A Dqapi-domain.rst6 <https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html>`_
10 <https://www.sphinx-doc.org/en/master/usage/domains/python.html>`_
16 <https://www.sphinx-doc.org/en/master/usage/domains/index.html>`_
17 provides a set of special rST directives and cross-referencing roles to
21 <https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html>`_
31 understanding the cross-referencing syntax *will* be helpful when
64 <https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#field-lists>`_
66 <https://www.sphinx-doc.org/en/master/usage/domains/python.html#info-field-lists>`_
68 example, add cross-references. The QAPI Domain takes advantage of this
81 * May apply cross-reference roles to *either* the argument *or* the
[all …]
/qemu/include/qemu/
H A Dtimer.h6 #include "qemu/host-utils.h"
69 * with virtual clock type.
82 typedef void QEMUTimerListNotifyCB(void *opaque, QEMUClockType type);
98 * @type: the clock type
100 * Get the nanosecond value of a clock with
101 * type @type
103 * Returns: the clock value in nanoseconds
105 int64_t qemu_clock_get_ns(QEMUClockType type);
109 * @type: the clock type
111 * Get the millisecond value of a clock with
[all …]
/qemu/hw/core/
H A Dqdev-properties-system.c3 * (parts specific for qemu-system-*)
5 * This file is based on code from hw/qdev-properties.c from
10 * See the COPYING file in the top-level directory.
14 #include "hw/qdev-properties.h"
15 #include "hw/qdev-properties-system.h"
18 #include "qapi/qapi-types-block.h"
19 #include "qapi/qapi-types-machine.h"
20 #include "qapi/qapi-types-migration.h"
21 #include "qapi/qapi-visit-virtio.h"
27 #include "qemu/error-report.h"
[all …]
H A Dmachine-hmp-cmds.c10 * the COPYING file in the top-level directory.
12 * Contributions after 2012-01-13 are licensed under the terms of the
20 #include "qapi/qapi-builtin-visit.h"
21 #include "qapi/qapi-commands-machine.h"
23 #include "qapi/string-output-visitor.h"
24 #include "qemu/error-report.h"
34 for (cpu = cpu_list; cpu; cpu = cpu->next) { in hmp_info_cpus()
37 if (cpu->value->cpu_index == monitor_get_cpu_index(mon)) { in hmp_info_cpus()
42 cpu->value->cpu_index); in hmp_info_cpus()
43 monitor_printf(mon, " thread_id=%" PRId64 "\n", cpu->value->thread_id); in hmp_info_cpus()
[all …]
H A Dqdev-properties.c2 #include "hw/qdev-properties.h"
4 #include "qapi/qapi-types-misc.h"
7 #include "qemu/error-report.h"
11 #include "qdev-prop-internal.h"
12 #include "qom/qom-qobject.h"
17 if (dev->id) { in qdev_prop_set_after_realize()
19 "(type '%s') after it was realized", name, dev->id, in qdev_prop_set_after_realize()
23 "(type '%s') after it was realized", name, in qdev_prop_set_after_realize()
34 if (dev->realized && !info->realized_set_allowed) { in qdev_prop_allow_set()
47 if (dev->realized) { in qdev_prop_allow_set_link_before_realize()
[all …]
/qemu/qobject/
H A Dqlit.c10 * Marc-André Lureau <marcandre.lureau@redhat.com>
13 * See the COPYING.LIB file in the top-level directory.
30 for (i = 0; lhs->value.qdict[i].key; i++) { in qlit_equal_qdict()
31 QObject *obj = qdict_get(qdict, lhs->value.qdict[i].key); in qlit_equal_qdict()
33 if (!qlit_equal_qobject(&lhs->value.qdict[i].value, obj)) { in qlit_equal_qdict()
55 if (!qlit_equal_qobject(&lhs->value.qlist[i], obj)) { in qlit_equal_qlist()
61 return !e && lhs->value.qlist[i].type == QTYPE_NONE; in qlit_equal_qlist()
66 if (!rhs || lhs->type != qobject_type(rhs)) { in qlit_equal_qobject()
70 switch (lhs->type) { in qlit_equal_qobject()
72 return lhs->value.qbool == qbool_get_bool(qobject_to(QBool, rhs)); in qlit_equal_qobject()
[all …]

12345678910>>...40