Home
last modified time | relevance | path

Searched +full:- +full:- +full:short (Results 1 – 25 of 265) sorted by relevance

1234567891011

/qemu/tests/tcg/arm/system/
H A Dtest-armv6m-undef.S2 * Test ARMv6-M UNDEFINED 32-bit instructions
7 * or later. See the COPYING file in the top-level directory.
11 * Test that UNDEFINED 32-bit instructions fault as expected. This is an
12 * interesting test because ARMv6-M shares code with its more fully-featured
16 * The emulator must be invoked with -semihosting so that the test case can
19 * Failures can be debugged with -d in_asm,int,exec,cpu and the
20 * gdbstub (-S -s).
24 .cpu cortex-m0
46 .word 0 /* 4-10. Reserved */
54 .word 0 /* 16-47. External Interrupts */
[all …]
/qemu/tests/tcg/hexagon/
H A Dscatter_gather.c2 * Copyright(c) 2019-2023 Qualcomm Innovation Center, Inc. All Rights Reserved.
24 * _16 16-bit elements and 16-bit offsets
25 * _32 32-bit elements and 32-bit offsets
26 * _16_32 16-bit elements and 32-bit offsets
51 /* fake vtcm - put buffers together and force alignment */
53 unsigned short vscatter16[SCATTER_BUFFER_SIZE];
54 unsigned short vgather16[MATRIX_SIZE];
57 unsigned short vscatter16_32[SCATTER_BUFFER_SIZE];
58 unsigned short vgather16_32[MATRIX_SIZE];
62 unsigned short vscatter16_ref[SCATTER_BUFFER_SIZE];
[all …]
/qemu/tests/tcg/x86_64/system/
H A Dboot.S7 * See the COPYING file in the top-level directory.
13 * SPDX-License-Identifier: GPL-2.0-or-later
21 .long 2f - 1f /* namesz */ ; \
22 .long 4484f - 3f /* descsz */ ; \
57 * - `ebx`: contains the physical memory address where the loader has placed
59 * - `cr0`: bit 0 (PE) must be set. All the other writable bits are cleared.
60 * - `cr4`: all bits are cleared.
61 * - `cs `: must be a 32-bit read/execute code segment with a base of ‘0’
63 * - `ds`, `es`: must be a 32-bit read/write data segment with a base of
66 * - `tr`: must be a 32-bit TSS (active) with a base of '0' and a limit
[all …]
/qemu/tests/tcg/xtensa/
H A Dtest_load_store.S98 movi a3, 1b - 1
144 movi a3, 1b - 1
163 movi a3, 1b - 1
170 load_ok_test l16si, .short, 0x00001234, 0x00001234
171 load_ok_test l16si, .short, 0x000089ab, 0xffff89ab
172 load_ok_test l16ui, .short, 0x00001234, 0x00001234
173 load_ok_test l16ui, .short, 0x000089ab, 0x000089ab
188 load_unaligned_test WILL_TRAP, l16si, .short, 0x00001234, 0x00001234
189 load_unaligned_test WILL_TRAP, l16si, .short, 0x000089ab, 0xffff89ab
190 load_unaligned_test WILL_TRAP, l16ui, .short, 0x00001234, 0x00001234
[all …]
/qemu/pc-bios/optionrom/
H A Doptionrom.h51 /* Break the translation block flow so -d cpu shows us values */
79 * Clobbers: %edx, %eax, ADDR, SIZE, memory[%esp-16] to memory[%esp]
118 * Clobbers: %eax, %edx, %es, %ecx, %edi and adresses %esp-20 to %esp
188 .short 0xaa55; \
189 .byte (_end - _start) / 512;
195 .short 0; \
196 .short _pnph; \
201 .short 0x0000; \
205 .short _manufacturer; \
206 .short _product; \
[all …]
H A Dlinuxboot_dma.c17 * Copyright (c) 2015-2016 Red Hat Inc.
27 " .short 0xaa55\n"
31 " .short 0\n"
32 " .short _pnph\n"
37 " .short 0x0000\n"
41 " .short _manufacturer\n"
42 " .short _product\n"
44 " .short 0x0000\n"
45 " .short 0x0000\n"
46 " .short _bev\n"
[all …]
H A Dpvh.S48 .short 0xaa55; \
145 /* the LJMP sets CS for us and gets us to 32-bit */
165 .short 8
197 .short (5 * 8) - 1
/qemu/linux-user/i386/
H A Dtarget_syscall.h34 #define TARGET_GDT_ENTRY_TLS_MAX (TARGET_GDT_ENTRY_TLS_MIN + TARGET_GDT_ENTRY_TLS_ENTRIES - 1)
55 #define TARGET_VM86_UNKNOWN 1 /* unhandled GP fault - IO-instruction or similar */
63 #define TARGET_VM86_TRAP 6 /* return due to DOS-debugger request */
77 * This is the stack-layout seen by the user space program when we have
99 unsigned short cs, __csh;
102 unsigned short ss, __ssh;
106 unsigned short es, __esh;
107 unsigned short ds, __dsh;
108 unsigned short fs, __fsh;
109 unsigned short gs, __gsh;
/qemu/tests/tcg/i386/
H A Dtest-i386-code16.S12 code16_func1 = . - code16_start
18 code16_func2 = . - code16_start
29 code16_func3 = . - code16_start
42 lcall $CS_SEG, $(myfunc2 - code16_start)
44 ljmp $CS_SEG, $(myjmp1 - code16_start)
47 cs lcall *myfunc2_addr - code16_start
49 cs ljmp *myjmp2_addr - code16_start
55 .short myfunc2 - code16_start
56 .short CS_SEG
59 .short myjmp2 - code16_start
[all …]
/qemu/tests/tcg/i386/system/
H A Dboot.S2 * i386 boot code, based on qemu-bmibug.
8 * See the COPYING file in the top-level directory.
10 * SPDX-License-Identifier: GPL-2.0-or-later
15 /* Multi-boot header */
19 .int -(0x10000+0x1BADB002)
69 push $((32 * 8 - 1) << 16)
79 _exit: /* output any non-zero result in eax to isa-debug-exit device */
145 .short 0
147 .short gdt_en - gdt - 1
151 .short 0xFFFF
[all …]
/qemu/bsd-user/i386/
H A Dtarget_syscall.h51 #define TARGET_GDT_ENTRY_TLS_MAX (TARGET_GDT_ENTRY_TLS_MIN + TARGET_GDT_ENTRY_TLS_ENTRIES - 1)
72 #define TARGET_VM86_UNKNOWN 1 /* unhandled GP fault - IO-instruction or similar */
80 #define TARGET_VM86_TRAP 6 /* return due to DOS-debugger request */
94 * This is the stack-layout seen by the user space program when we have
116 unsigned short cs, __csh;
119 unsigned short ss, __ssh;
123 unsigned short es, __esh;
124 unsigned short ds, __dsh;
125 unsigned short fs, __fsh;
126 unsigned short gs, __gsh;
/qemu/tests/tcg/s390x/
H A Dchrl.c12 ".short 1, 0x8000\n\t" in test_chrl()
27 ".short -1, 0x8000\n\t" in test_chrl()
33 : [r] "r" (-1) in test_chrl()
47 ".short 1, 0x8000, 0, 0\n\t" in test_cghrl()
62 ".short -1, 0x8000, 0, 0\n\t" in test_cghrl()
68 : [r] "r" (-1L) in test_cghrl()
H A Dfloat.h2 * Helpers for floating-point tests.
4 * SPDX-License-Identifier: GPL-2.0-or-later
10 * Floating-point value classes.
23 /* M4 == 2: short */ 4,
28 /* M4 == 2: short */ 8,
37 /* M4 == 2: short */
39 /* -inf */ {1, {{0xff, 0x80, 0x00, 0x00}}},
40 /* -Fn */ {2, {{0xc2, 0x28, 0x00, 0x00},
42 /* -0 */ {1, {{0x80, 0x00, 0x00, 0x00}}},
55 /* -inf */ {1, {{0xff, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}},
[all …]
/qemu/subprojects/libvduse/include/
H A Dcompiler.h4 * See the COPYING file in the top-level directory.
45 const typeof(((type *) 0)->member) *__mptr = (ptr); \
46 (type *) ((char *) __mptr - offsetof(type, member));})
49 #define sizeof_field(type, field) sizeof(((type *)0)->field)
61 -offsetof(type, field)]; \
64 #define typeof_field(type, field) typeof(((type *)0)->field)
65 #define type_check(t1,t2) ((t1*)0 - (t2*)0)
69 int:(x) ? -1 : 1; \
76 #define QEMU_BUILD_BUG_ON_ZERO(x) (sizeof(QEMU_BUILD_BUG_ON_STRUCT(x)) - \
88 #define __has_warning(x) 0 /* compatibility with non-clang compilers */
[all …]
/qemu/subprojects/libvhost-user/include/
H A Dcompiler.h4 * See the COPYING file in the top-level directory.
45 const typeof(((type *) 0)->member) *__mptr = (ptr); \
46 (type *) ((char *) __mptr - offsetof(type, member));})
49 #define sizeof_field(type, field) sizeof(((type *)0)->field)
61 -offsetof(type, field)]; \
64 #define typeof_field(type, field) typeof(((type *)0)->field)
65 #define type_check(t1,t2) ((t1*)0 - (t2*)0)
69 int:(x) ? -1 : 1; \
76 #define QEMU_BUILD_BUG_ON_ZERO(x) (sizeof(QEMU_BUILD_BUG_ON_STRUCT(x)) - \
88 #define __has_warning(x) 0 /* compatibility with non-clang compilers */
[all …]
/qemu/include/qemu/
H A Dcompiler.h4 * See the COPYING file in the top-level directory.
45 const typeof(((type *) 0)->member) *__mptr = (ptr); \
46 (type *) ((char *) __mptr - offsetof(type, member));})
49 #define sizeof_field(type, field) sizeof(((type *)0)->field)
61 -offsetof(type, field)]; \
64 #define typeof_field(type, field) typeof(((type *)0)->field)
65 #define type_check(t1,t2) ((t1*)0 - (t2*)0)
69 int:(x) ? -1 : 1; \
76 #define QEMU_BUILD_BUG_ON_ZERO(x) (sizeof(QEMU_BUILD_BUG_ON_STRUCT(x)) - \
88 #define __has_warning(x) 0 /* compatibility with non-clang compilers */
[all …]
/qemu/disas/
H A Driscv.h2 * QEMU disassembler -- RISC-V specific header.
4 * SPDX-License-Identifier: GPL-2.0-or-later
185 const short decomp_rv32;
186 const short decomp_rv64;
187 const short decomp_rv128;
188 const short decomp_data;
299 #define rv_fmt_push_rlist "O\tx,-i"
/qemu/include/hw/vfio/
H A Dvfio-device.h10 * the COPYING file in the top-level directory.
12 * Based on qemu-kvm device-assignment:
18 * Copyright (C) 2008, IBM, Muli Ben-Yehuda (muli@il.ibm.com)
30 #include "hw/vfio/vfio-container-base.h"
122 * Given a return value of either a short number of bytes read or -errno,
126 (ret < 0 ? strerror(-ret) : "short read")
129 * Given a return value of either a short number of bytes written or -errno,
133 (ret < 0 ? strerror(-ret) : "short write")
159 * ioctl() to the kernel VFIO driver, but vfio-user can use a socket to a remote
173 * Fill in @info with information on the region given by @info->index.
[all …]
/qemu/docs/system/arm/
H A Dnrf.rst4 The `Nordic nRF`_ chips are a family of ARM-based System-on-Chip that
5 are designed to be used for low-power and short-range wireless solutions.
9 The nRF51 series is the first series for short range wireless applications.
13 - ``microbit`` BBC micro:bit board with nRF51822 SoC
19 -----------------
21 * ARM Cortex-M0 (ARMv6-M)
31 ---------------
34 * Real-Time Clock (RTC) controller
42 ------------
44 The Micro:bit machine can be started using the ``-device`` option to load a
[all …]
/qemu/include/crypto/
H A Dafsplit.h4 * Copyright (c) 2015-2016 Red Hat, Inc.
26 * This module implements the anti-forensic splitter that is specified
30 * http://clemens.endorphin.org/TKS1-draft.pdf
32 * The core idea is to take a short piece of data (key material)
35 * short data. The key property of the expansion is that if any
37 * impossible to recreate the original short data.
44 * uint8_t *masterkey = ....a 32-byte AES key...
54 * return -1;
79 * return -1;
97 * @errp: pointer to a NULL-initialized error object
[all …]
/qemu/tests/qemu-iotests/
H A D1014 # Test short file I/O
46 echo "== creating short image file =="
51 $QEMU_IO -c "read -P 0 0 512" "$TEST_IMG" | _filter_qemu_io
56 rm -f $seq.full
/qemu/linux-user/mips/
H A Dtarget_fcntl.h5 * later version. See the COPYING file in the top-level directory.
33 short l_type;
34 short l_whence;
/qemu/hw/input/
H A Dvirtio-input-hid.c4 * top-level directory.
12 #include "hw/qdev-properties.h"
13 #include "hw/virtio/virtio-input.h"
17 #include "standard-headers/linux/input.h"
24 /* ----------------------------------------------------------------- */
26 static const unsigned short keymap_button[INPUT_BUTTON__MAX] = {
37 static const unsigned short axismap_rel[INPUT_AXIS__MAX] = {
42 static const unsigned short axismap_abs[INPUT_AXIS__MAX] = {
47 static const unsigned short axismap_tch[INPUT_AXIS__MAX] = {
52 /* ----------------------------------------------------------------- */
[all …]
/qemu/ui/
H A Dcurses.c75 short colors; in curses_update()
83 short color_pair = PAIR_NUMBER(line[x]); in curses_update()
95 pnoutrefresh(screenpad, py, px, sminy, sminx, smaxy - 1, smaxx - 1); in curses_update()
101 if (qemu_console_is_fixedsize(dcl->con)) { in curses_calc_pad()
118 px = (width - COLS) / 2; in curses_calc_pad()
123 sminx = (COLS - width) / 2; in curses_calc_pad()
128 py = (height - LINES) / 2; in curses_calc_pad()
133 sminy = (LINES - height) / 2; in curses_calc_pad()
156 unsigned short ws_row; in curses_winch_check()
157 unsigned short ws_col; in curses_winch_check()
[all …]
/qemu/linux-user/generic/
H A Dfcntl.h5 * later version. See the COPYING file in the top-level directory.
11 /* <asm-generic/fcntl.h> values follow. */
80 #define TARGET_F_GETFL 3 /* get file->f_flags */
81 #define TARGET_F_SETFL 4 /* set file->f_flags */
128 short l_type;
129 short l_whence;

1234567891011