/qemu/linux-user/riscv/ |
H A D | vdso.S | 2 * RISC-V linux replacement vdso. 6 * SPDX-License-Identifier: GPL-2.0-or-later 15 #include "vdso-asmoffset.h" 22 .size \name, . - \name 45 sw zero, 0(a1) /* tz->tz_minuteswest = 0 */ 46 sw zero, 4(a1) /* tz->tz_dsttime = 0 */ 47 1: addi sp, sp, -32 57 .cfi_adjust_cfa_offset -32 58 bne a0, zero, 9f /* syscall error? */ 59 li a0, -EOVERFLOW [all …]
|
/qemu/docs/specs/ |
H A D | pci-ids.rst | 5 Red Hat, Inc. donates a part of its device ID range to QEMU, to be used for 8 Contact Gerd Hoffmann <kraxel@redhat.com> to get a device ID assigned 12 -------------- 14 The 1000 -> 10ff device ID range is used as follows for virtio-pci devices. 31 9p filesystem device (legacy) 39 specification. The Linux kernel has a header file with 40 defines for all virtio IDs (``linux/virtio_ids.h``); QEMU has a 41 copy in ``include/standard-headers/``. 43 1af4:10f0 to 1a4f:10ff 46 upstream merge or shipping a distro/product) to avoid conflicts. [all …]
|
/qemu/hw/ide/ |
H A D | ich.c | 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 * You should have received a copy of the GNU Lesser General Public 21 * lspci dump of a ICH-9 real device 23 …2801IR/IO/IH (ICH9R/DO/DH) 6 port SATA AHCI Controller [8086:2922] (rev 02) (prog-if 01 [AHCI 1.0]) 25 …* Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- Fast… 26 …* Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR… 34 * Region 5: Memory at febf9000 (32-bit, non-prefetchable) [size=2K] 35 * Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Count=1/16 Enable+ 38 * Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-) 39 * Status: D0 PME-Enable- DSel=0 DScale=0 PME- [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | common.filter | 4 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 # You should have received a copy of the GNU General Public License 24 sed -Ee 's/[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}/yyyy-mm-dd hh:mm:ss/' 29 sed -E -e 's/[0-9. ]{5} [KMGT]iB/ SIZE/' \ 30 -e 's/[0-9. ]{5} B/ SIZE/' 35 sed -Ee 's/\#block[0-9]{3,}/NODE_NAME/' 40 gsed -e '/Attached to:/s/\device[[0-9]\+\]/device[N]/g' 46 sed -e "s#$TEST_DIR/#TEST_DIR/#g" \ 47 -e "s#$SOCK_DIR/#SOCK_DIR/#g" \ [all …]
|
H A D | iotests.py | 1 # Common utilities and Python wrappers for qemu-iotests 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 # You should have received a copy of the GNU General Public License 56 qemu_img_args = [os.environ.get('QEMU_IMG_PROG', 'qemu-img')] 60 qemu_io_args = [os.environ.get('QEMU_IO_PROG', 'qemu-io')] 64 qemu_io_args_no_fmt = [os.environ.get('QEMU_IO_PROG', 'qemu-io')] 69 qemu_nbd_prog = os.environ.get('QEMU_NBD_PROG', 'qemu-nbd') 77 qsd_prog = os.environ.get('QSD_PROG', 'qemu-storage-daemon') 105 valgrind_logfile = "--log-file=" + test_dir 107 # we don't know it a priori (subprocess.Popen is [all …]
|
/qemu/target/sparc/ |
H A D | monitor.c | 4 * Copyright (c) 2003-2004 Fabrice Bellard 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 27 #include "monitor/hmp-target.h" 56 return env->regwptr[val]; in monitor_get_reg() 77 { "l1", 9, monitor_get_reg }, 101 { "f0", offsetof(CPUSPARCState, fpr[0].l.upper) }, 119 { "f18", offsetof(CPUSPARCState, fpr[9].l.upper) }, 120 { "f19", offsetof(CPUSPARCState, fpr[9].l.lower) },
|
/qemu/pc-bios/ |
HD | openbios-sparc32 | ... load-base %s occupies [%#lx-%#lx] A.out file [% |
H A D | qemu.rsrc | 1 data 'icns' (-16455) { 11 $"0333 96D9 E6E9 EAE9 9CE8 06E9 E9E8 E1B8" /* .3ñŸÊÈÍÈúË.ÈÈË·∏ */ 25 $"CFD0 B739 BE00 0318 96CB CA81 C803 C7DB" /* œ–∑9æ...ñÀ Å».«€ */ 32 $"B800 030A 7DC1 BC84 BB03 B9CD D7EE 99FE" /* ∏..¬}¡ºÑª.πÕ◊Óô˛ */ 36 $"15B5 0002 39B2 B582 B480 B201 B5EA A0FE" /* .µ..9≤µÇ¥Ä≤.µÍ†˛ */ 41 $"AB84 AC03 AAAD 9C1C B100 0231 A6A7 80A6" /* ´Ñ¨.™≠ú.±..1¶ßĶ */ 42 $"82A7 02A4 BEFD 97FE 05DC 9C83 8DAE E085" /* Çß.§æ˝ó˛.‹úÉçÆ‡Ö */ 45 $"E097 FE08 A228 110E 0F14 295A BC83 FE03" /* ‡ó˛.¢(....)ZºÉ˛. */ 47 $"013E A286 9E02 9DAE F996 FE02 F228 0181" /* .>¢Üû.ùÆ˘ñ˛.Ú(.Å */ 48 $"0004 0108 1B72 F582 FE04 FBC3 9A9E 9E82" /* .....rıDz.˚√öûûÇ */ [all …]
|
HD | openbios-ppc | ... 8h X 0 1 v 1H 1P a : o : : 9 }* :0 ; ... |
/qemu/hw/ppc/ |
H A D | mac_newworld.c | 4 * Copyright (c) 2004-2007 Fabrice Bellard 7 * Permission is hereby granted, free of charge, to any person obtaining a copy 19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 25 * PCI bus layout on a real G5 (U3 based): 27 * 0000:f0:0b.0 Host bridge [0600]: Apple Computer Inc. U3 AGP [106b:004b] 28 …* 0000:f0:10.0 VGA compatible controller [0300]: ATI Technologies Inc RV350 AP [Radeon 9600] [1002… 29 * 0001:00:00.0 Host bridge [0600]: Apple Computer Inc. CPC945 HT Bridge [106b:004a] 30 …* 0001:00:01.0 PCI bridge [0604]: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge [1022:7450] (… 31 …* 0001:00:02.0 PCI bridge [0604]: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge [1022:7450] (… 32 * 0001:00:03.0 PCI bridge [0604]: Apple Computer Inc. K2 HT-PCI Bridge [106b:0045] [all …]
|
/qemu/hw/sh4/ |
H A D | sh7750.c | 7 * Permission is hereby granted, free of charge, to any person obtaining a copy 19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 33 #include "hw/qdev-properties.h" 34 #include "hw/qdev-properties-system.h" 86 return s->cpu->env.features & SH_FEATURE_BCR3_AND_BCR4; in has_bcr3_and_bcr4() 99 EVENPORTMASK(9) | EVENPORTMASK(8) | EVENPORTMASK(7) | in portdir() 111 ODDPORTMASK(9) | ODDPORTMASK(8) | ODDPORTMASK(7) | ODDPORTMASK(6) | in portpullup() 118 return (s->portdira & s->pdtra) | /* CPU */ in porta_lines() 119 (s->periph_portdira & s->periph_pdtra) | /* Peripherals */ in porta_lines() 120 (~(s->portdira | s->periph_portdira) & s->portpullupa); /* Pullups */ in porta_lines() [all …]
|
/qemu/target/s390x/tcg/ |
H A D | translate.c | 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 * You should have received a copy of the GNU Lesser General Public 33 #include "s390x-internal.h" 34 #include "tcg/tcg-op.h" 35 #include "tcg/tcg-op-gvec.h" 37 #include "qemu/host-utils.h" 38 #include "exec/helper-proto.h" 39 #include "exec/helper-gen.h" 42 #include "exec/translation-block.h" 47 #include "exec/helper-info.c.inc" [all …]
|
/qemu/target/xtensa/core-dsp3400/ |
H A D | gdb-config.c.inc | 3 Copyright (c) 2003-2010 Tensilica Inc. 6 a copy of this software and associated documentation files (the 18 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 23 XTREG( 0, 0,32, 4, 4,0x0020,0x0006,-2, 9,0x0100,pc, 0,0,0,0,0,0) 24 XTREG( 1, 4,32, 4, 4,0x0100,0x0006,-2, 1,0x0002,ar0, 0,0,0,0,0,0) 25 XTREG( 2, 8,32, 4, 4,0x0101,0x0006,-2, 1,0x0002,ar1, 0,0,0,0,0,0) 26 XTREG( 3, 12,32, 4, 4,0x0102,0x0006,-2, 1,0x0002,ar2, 0,0,0,0,0,0) 27 XTREG( 4, 16,32, 4, 4,0x0103,0x0006,-2, 1,0x0002,ar3, 0,0,0,0,0,0) 28 XTREG( 5, 20,32, 4, 4,0x0104,0x0006,-2, 1,0x0002,ar4, 0,0,0,0,0,0) 29 XTREG( 6, 24,32, 4, 4,0x0105,0x0006,-2, 1,0x0002,ar5, 0,0,0,0,0,0) [all …]
|
/qemu/tests/tcg/i386/ |
H A D | x86.csv | 1 # x86 instruction set description version 0.2x, 2018-05-08 8 # This file contains a block of comment lines, each beginning with #, 10 # of the file, so a reader can skip past the comments and hand the 11 # rest of the file to a standard CSV reader. 22 # 5. The validity of the instruction in 32-bit (aka compatibility, legacy) mode. 24 # 6. The validity of the instruction in 64-bit mode. 28 # 8. Additional comma-separated tags containing hints about the instruction. 30 # 9. The read/write actions of the instruction on the arguments used in 42 # The instruction mnemonics are as used in the Intel manual, with a few exceptions. 56 # Immediates may have bitfield-like modifier that specifies how much bits [all …]
|
/qemu/target/xtensa/core-de233_fpu/ |
H A D | gdb-config.c.inc | 3 Copyright (c) 2003-2020 Tensilica Inc. 6 a copy of this software and associated documentation files (the 18 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 23 XTREG( 0, 0,32, 4, 4,0x0020,0x0006,-2, 9,0x2100,pc, 0,0,0,0,0,0) 24 XTREG( 1, 4,32, 4, 4,0x0100,0x0006,-2, 1,0x0002,ar0, 0,0,0,0,0,0) 25 XTREG( 2, 8,32, 4, 4,0x0101,0x0006,-2, 1,0x0002,ar1, 0,0,0,0,0,0) 26 XTREG( 3, 12,32, 4, 4,0x0102,0x0006,-2, 1,0x0002,ar2, 0,0,0,0,0,0) 27 XTREG( 4, 16,32, 4, 4,0x0103,0x0006,-2, 1,0x0002,ar3, 0,0,0,0,0,0) 28 XTREG( 5, 20,32, 4, 4,0x0104,0x0006,-2, 1,0x0002,ar4, 0,0,0,0,0,0) 29 XTREG( 6, 24,32, 4, 4,0x0105,0x0006,-2, 1,0x0002,ar5, 0,0,0,0,0,0) [all …]
|
/qemu/hw/pci/ |
H A D | pci.c | 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 33 #include "hw/qdev-properties.h" 34 #include "hw/qdev-properties-system.h" 36 #include "migration/qemu-file-types.h" 43 #include "qemu/error-report.h" 53 #include "pci-internal.h" 79 DEFINE_PROP_PCI_DEVFN("addr", PCIDevice, devfn, -1), 82 DEFINE_PROP_INT32("rombar", PCIDevice, rom_bar, -1), 85 DEFINE_PROP_BIT("x-pcie-lnksta-dllla", PCIDevice, cap_present, [all …]
|
/qemu/scripts/ |
H A D | checkpatch.pl | 5 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com> 49 $P [OPTION]... [GIT-REV-LIST] 54 -q, --quiet quiet 55 --no-tree run without a qemu tree 56 --no-signoff do not check for 'Signed-off-by' line 57 --patch treat FILE as patchfile 58 --branch treat args as GIT revision list 59 --emacs emacs compile window format 60 --terse one line per report 61 -f, --file treat FILE as regular source file [all …]
|
/qemu/disas/ |
H A D | mips.c | 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 You should have received a copy of the GNU General Public License 24 #include "disas/dis-asm.h" 41 warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See 44 You should have received a copy of the GNU General Public License 70 A breakpoint instruction uses OP, CODE and SPEC (10 bits of the 73 only use ten bits). An optional two-operand form of break/sdbbp 75 architectures allow 20 bits to be set with a signal operand 134 #define OP_MASK_COP1NORM 0x1 /* a single bit. */ 165 but 0x8-0xf don't select bytes. */ [all …]
|
H A D | alpha.c | 1 /* alpha-dis.c -- Disassemble Alpha AXP instructions 15 warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See 18 You should have received a copy of the GNU General Public License 23 #include "disas/dis-asm.h" 39 /* The opcode mask. This is used by the disassembler. This is a 52 appear in assembly code, and are terminated by a zero. */ 62 /* Values defined for the flags field of a struct alpha_opcode. */ 65 #define AXP_OPCODE_BASE 0x0001 /* Base architecture -- all cpus. */ 75 /* A macro to extract the major opcode from an instruction. */ 102 i |= (op & ((1 << o->bits) - 1)) << o->shift; [all …]
|
H A D | sparc.c | 3 * include/opcode/sparc.h, opcodes/sparc-opc.c, opcodes/sparc-dis.c 22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 You should have received a copy of the GNU General Public License 30 #include "disas/dis-asm.h" 33 the opcodes library in sparc-opc.c. If you change anything here, make 36 /* FIXME-someday: perhaps the ,a's and such should be embedded in the 38 slower, but would mess up some macros a bit. xoxorich. */ 41 These values are such that each element is either a superset of a 43 returns non-zero. 44 The values are indices into `sparc_opcode_archs' defined in sparc-opc.c. [all …]
|
H A D | nanomips.c | 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * You should have received a copy of the GNU General Public License 31 #include "disas/dis-asm.h" 60 static char *to_string(img_address a) in to_string() argument 62 return g_strdup_printf("0x%" PRIx64, a); in to_string() 68 return (data << (64 - (bit_size + bit_offset))) >> (64 - bit_size); in extract_bits() 74 uint64 shift = 63 - msb; in sign_extend() 86 info->fprintf_func(info->stream, "Invalid register mapping index %" PRIu64 in renumber_registers() 88 siglongjmp(info->buf, 1); in renumber_registers() 93 * decode_gpr_gpr4() - decoder for 'gpr4' gpr encoding type [all …]
|
/qemu/target/alpha/ |
H A D | translate.c | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * You should have received a copy of the GNU Lesser General Public 23 #include "qemu/host-utils.h" 24 #include "tcg/tcg-op.h" 25 #include "exec/helper-proto.h" 26 #include "exec/helper-gen.h" 28 #include "exec/translation-block.h" 33 #include "exec/helper-info.c.inc" 57 /* True if generating pc-relative code. */ 66 /* Current flush-to-zero setting for this TB. */ [all …]
|