Home
last modified time | relevance | path

Searched +full:pc +full:- +full:bios (Results 1 – 25 of 73) sorted by relevance

123

/qemu/roms/
H A DMakefile2 vgabios_variants := stdvga cirrus vmware qxl isavga virtio bochs-display ramfb ati
3 vgabios_targets := $(subst -isavga,,$(patsubst %,vgabios-%.bin,$(vgabios_variants)))
7 pxe-rom-e1000 efi-rom-e1000 : VID := 8086
8 pxe-rom-e1000 efi-rom-e1000 : DID := 100e
9 pxe-rom-e1000e efi-rom-e1000e : VID := 8086
10 pxe-rom-e1000e efi-rom-e1000e : DID := 10d3
11 pxe-rom-eepro100 efi-rom-eepro100 : VID := 8086
12 pxe-rom-eepro100 efi-rom-eepro100 : DID := 1209
13 pxe-rom-ne2k_pci efi-rom-ne2k_pci : VID := 1050
14 pxe-rom-ne2k_pci efi-rom-ne2k_pci : DID := 0940
[all …]
H A Dedk2-build.config40 desc = ovmf build (32-bit)
45 dest = ../pc-bios
46 cpy1 = FV/OVMF_CODE.fd edk2-i386-code.fd
47 cpy2 = FV/OVMF_VARS.fd edk2-i386-vars.fd
50 desc = ovmf build (32-bit, secure boot)
56 dest = ../pc-bios
57 cpy1 = FV/OVMF_CODE.fd edk2-i386-secure-code.fd
63 desc = ovmf build (64-bit)
68 dest = ../pc-bios
69 cpy1 = FV/OVMF_CODE.fd edk2-x86_64-code.fd
[all …]
/qemu/docs/system/
H A Dbootindex.rst4 QEMU can tell QEMU-aware guest firmware (like the x86 PC BIOS)
6 A simple way to set this order is to use the ``-boot order=`` option,
19 not support ``-boot order=``; on those machines you must always
23 a short-form option like ``-hda`` or ``-cdrom``, so to use
25 into long-form ``-drive`` and ``-device`` option pairs.
28 -------
33 .. parsed-literal::
35 |qemu_system| -drive file=disk1.img,if=none,id=disk1 \\
36 -device ide-hd,drive=disk1,bootindex=4 \\
37 -drive file=disk2.img,if=none,id=disk2 \\
[all …]
H A Dtarget-i386-desc.rst.inc1 The QEMU PC System emulator simulates the following peripherals:
3 - i440FX host PCI bridge and PIIX3 PCI to ISA bridge
5 - Cirrus CLGD 5446 PCI VGA card or dummy VGA card with Bochs VESA
8 - PS/2 mouse and keyboard
10 - 2 PCI IDE interfaces with hard disk and CD-ROM support
12 - Floppy disk
14 - PCI and ISA network adapters
16 - Serial ports
18 - IPMI BMC, either and internal or external one
20 - Creative SoundBlaster 16 sound card
[all …]
H A Dtarget-riscv.rst1 .. _RISC-V-System-emulator:
3 RISC-V System emulator
6 QEMU can emulate both 32-bit and 64-bit RISC-V CPUs. Use the
7 ``qemu-system-riscv64`` executable to simulate a 64-bit RISC-V machine,
8 ``qemu-system-riscv32`` executable to simulate a 32-bit RISC-V machine.
10 QEMU has generally good support for RISC-V guests. It has support for
12 RISC-V hardware is much more widely varying than x86 hardware. RISC-V
13 CPUs are generally built into "system-on-chip" (SoC) designs created by
23 ----------------------
25 For QEMU's RISC-V system emulation, you must specify which board
[all …]
/qemu/tests/tcg/s390x/
H A Dconsole.c3 * Reuses the pc-bios/s390-ccw implementation.
5 * SPDX-License-Identifier: GPL-2.0-or-later
8 #include "../../../pc-bios/s390-ccw/sclp.c"
H A Dhead64.S3 * Reuses the pc-bios/s390-ccw implementation.
5 * SPDX-License-Identifier: GPL-2.0-or-later
8 #include "../../../pc-bios/s390-ccw/start.S"
14 aghi %r15,-160 /* reserve stack for C code */
/qemu/hw/mips/
H A Dmipssim.c31 #include "system/address-spaces.h"
34 #include "hw/char/serial-mm.h"
41 #include "hw/qdev-properties.h"
42 #include "qemu/error-report.h"
93 initrd_offset, loaderparams.ram_size - initrd_offset); in load_kernel()
95 if (initrd_size == (target_ulong) -1) { in load_kernel()
107 CPUMIPSState *env = &s->cpu->env; in main_cpu_reset()
109 cpu_reset(CPU(s->cpu)); in main_cpu_reset()
110 env->active_tc.PC = s->vector & ~(target_ulong)1; in main_cpu_reset()
111 if (s->vector & 1) { in main_cpu_reset()
[all …]
H A Dfuloong2e.c2 * QEMU fuloong 2e mini pc support
4 * Copyright (c) 2008 yajin (yajin@vm-kernel.org)
9 * Contributions after 2012-01-13 are licensed under the terms of the
14 * Fuloong 2e mini pc is based on ICT/ST Loongson 2e CPU (MIPS III like, 800MHz)
15 * https://www.linux-mips.org/wiki/Fuloong_2E
18 * https://github.com/loongson-community/docs/tree/master/2E
36 #include "hw/qdev-properties.h"
42 #include "qemu/error-report.h"
55 * who want to build a pmon binary please first git-clone the source
57 * https://github.com/loongson-community/pmon
[all …]
/qemu/pc-bios/
H A DREADME1 - SeaBIOS (bios.bin) is the successor of pc bios.
4 - The VGA BIOS and the Cirrus VGA BIOS come from the LGPL VGA bios
7 - OpenBIOS (http://www.openbios.org/) is a free (GPL v2) portable
9 1275-1994 (referred to as Open Firmware) compliant firmware.
14 - SLOF (Slimline Open Firmware) is a free IEEE 1275 Open Firmware
17 built from git tag qemu-slof-20241106.
19 - VOF (Virtual Open Firmware) is a minimalistic firmware to work with
20 -machine pseries,x-vof=on. When enabled, the firmware acts as a slim shim and
23 - The PXE roms come from the iPXE project. Built with BANNER_TIME 0.
24 Sources available at http://ipxe.org. Vendor:Device ID -> ROM mapping:
[all …]
/qemu/tests/qtest/
H A Dboot-serial-test.c7 * or later. See the COPYING file in the top-level directory.
10 * (that we provide for some machines) or some small mini-kernels that
18 #include "ppc-util.h"
34 0xff, 0xf3, 0xff, 0x53, /* b -16 # loop */
47 0x01, 0x00, 0x00, 0x08, /* Initial PC */
61 0xb8, 0x00, 0xff, 0xfc /* bri -4 loop */
69 0xfc, 0xff, 0x00, 0xb8 /* bri -4 loop */
73 0x10, 0x30, 0x9f, 0xe5, /* ldr r3, [pc, #16] Get &UART0 */
74 0x10, 0x20, 0x9f, 0xe5, /* ldr r2, [pc, #16] Get &CR */
78 0xff, 0xff, 0xff, 0xea, /* b -4 (loop) */
[all …]
H A Dbios-tables-test.c10 * See the COPYING file in the top-level directory.
17 * 2. list any changed files in tests/qtest/bios-tables-test-allowed-diff.h
20 * Contributor or ACPI Maintainer (steps 4-7 need to be redone to resolve conflicts
23 * After 1-3 above tests will pass but ignore differences with the expected files.
24 * You will also notice that tests/qtest/bios-tables-test-allowed-diff.h lists
31 * output. If not - disassemble them yourself in any way you like.
32 * Look at the differences - make sure they make sense and match what the
38 * $(SRC_PATH)/tests/data/acpi/rebuild-expected-aml.sh
48 * tests/qtest/bios-tables-test-allowed-diff.h is empty - this will ensure
52 * - patch 1: list changed files in tests/qtest/bios-tables-test-allowed-diff.h.
[all …]
H A Di440fx-test.c4 * Copyright IBM, Corp. 2012-2013
12 * See the COPYING file in the top-level directory.
17 #include "libqtest-single.h"
19 #include "libqos/pci-pc.h"
30 /* decides whether we're testing -bios or -pflash */
38 cmdline = g_strdup_printf("-machine pc -smp %d", s->num_cpus); in test_start_get_bus()
77 if (s->num_cpus == 1) { /* WPE */ in test_i440fx_defaults()
161 uint32_t size = end - start + 1; in verify_area()
185 uint32_t size = end - start + 1; in write_area()
206 { 0xF0000, 0xFFFFF }, /* BIOS Area */ in test_i440fx_pam()
[all …]
/qemu/tests/qtest/migration/s390x/
H A DMakefile2 # $ make CROSS_PREFIX=s390x-linux-gnu-
5 all: a-b-bios.h
6 fwdir=../../../pc-bios/s390-ccw
8 CFLAGS+=-ffreestanding -fno-delete-null-pointer-checks -fPIE -Os \
9 -msoft-float -march=z900 -fno-asynchronous-unwind-tables \
10 -fno-stack-protector -Wl,-pie -Wl,--build-id=none -nostdlib
12 a-b-bios.h: s390x.elf
14 xxd -i $< | sed -e 's/.*int.*//' >> header.tmp
17 # We use common-page-size=16 to avoid big padding in the ELF file
18 s390x.elf: a-b-bios.c
[all …]
/qemu/docs/interop/
H A Dfirmware.json1 # -*- Mode: Python -*-
11 # later. See the COPYING file in the top-level directory.
18 'member-name-exceptions': [
25 # Lists the firmware-OS interface types provided by various firmware
28 # @bios: Traditional x86 BIOS interface. For example, firmware built
32 # 1275-1994 standard. Examples for firmware projects that
35 # @uboot: Firmware interface defined by the U-Boot project.
44 'data' : [ 'bios', 'openfirmware', 'uboot', 'uefi' ] }
71 # @aarch64: 64-bit Arm.
73 # @arm: 32-bit Arm.
[all …]
/qemu/hw/i386/
H A Dpc_sysfw.c2 * QEMU PC System Firmware
4 * Copyright (c) 2003-2004 Fabrice Bellard
5 * Copyright (c) 2011-2012 Intel Corporation
28 #include "system/block-backend.h"
29 #include "qemu/error-report.h"
34 #include "hw/i386/pc.h"
36 #include "hw/qdev-properties.h"
53 /* map the last 128KB of the BIOS in ISA space */ in pc_isa_bios_init()
56 memory_region_init_ram_guest_memfd(isa_bios, NULL, "isa-bios", in pc_isa_bios_init()
59 memory_region_init_ram(isa_bios, NULL, "isa-bios", isa_bios_size, in pc_isa_bios_init()
[all …]
/qemu/
H A Dqemu.nsi5 ; Copyright (C) 2006-2012 Stefan Weil
20 ; SPDX-License-Identifier: GPL-2.0-or-later
27 !define UNINST_EXE "$INSTDIR\qemu-uninstall.exe"
37 !define OUTFILE "qemu-setup.exe"
72 ;--------------------------------
74 ;!define MUI_HEADERIMAGE "qemu-nsis.bmp"
76 !define MUI_ICON "${SRCDIR}\pc-bios\qemu-nsis.ico"
77 !define MUI_UNICON "${SRCDIR}\pc-bios\qemu-nsis.ico"
78 !define MUI_WELCOMEFINISHPAGE_BITMAP "${SRCDIR}\pc-bios\qemu-nsis.bmp"
79 ; !define MUI_HEADERIMAGE_BITMAP "qemu-install.bmp"
[all …]
H A Dconfigure14 source_path=$(cd "$(dirname -- "$0")"; pwd)
16 if test "$PWD" -ef "$source_path"
20 MARKER=build/auto-created-by-configure
22 if test -e build
24 if test -f $MARKER
26 rm -rf build
36 echo "your source directory, or try doing an out-of-tree build."
41 # This file is auto-generated by configure to support in-source tree
46 @$(MAKE) -C build -f Makefile $(MAKECMDGOALS)
48 test -e build/auto-created-by-configure ; \
[all …]
H A Dversion.rc2 #include "config-host.h"
30 IDI_ICON1 ICON "pc-bios/qemu-nsis.ico"
/qemu/.gitlab-ci.d/
H A Dopensbi.yml1 # All jobs needing docker-opensbi must use the same rules it uses.
5 - if: '$QEMU_CI != "1" && $QEMU_CI != "2" && $CI_PROJECT_NAMESPACE != "qemu-project"'
10 - if: '$QEMU_CI == "1" && $CI_PROJECT_NAMESPACE != "qemu-project"'
12 - .gitlab-ci.d/opensbi.yml
13 - .gitlab-ci.d/opensbi/Dockerfile
14 - roms/opensbi/*
19- if: '$QEMU_CI == "1" && $CI_PROJECT_NAMESPACE != "qemu-project" && $CI_COMMIT_REF_NAME =~ /^open…
24- if: '$QEMU_CI == "1" && $CI_PROJECT_NAMESPACE != "qemu-project" && $CI_COMMIT_MESSAGE =~ /opensb…
28 - if: '$CI_PROJECT_NAMESPACE == $QEMU_CI_UPSTREAM && $CI_PIPELINE_SOURCE == "schedule"'
32 - changes:
[all …]
/qemu/docs/specs/
H A Dtpm.rst1 .. _tpm-device:
7 Guest-side hardware interface
11 -------------
14 following the Trusted Computing Group's specification "TCG PC Client
20 0xfed40000-0xfed44fff available to the guest operating system.
23 - ``hw/tpm/tpm_tis_common.c``
24 - ``hw/tpm/tpm_tis_isa.c``
25 - ``hw/tpm/tpm_tis_sysbus.c``
26 - ``hw/tpm/tpm_tis_i2c.c``
27 - ``hw/tpm/tpm_tis.h``
[all …]
/qemu/hw/arm/
H A Dorangepi.c22 #include "system/address-spaces.h"
24 #include "qemu/error-report.h"
26 #include "hw/qdev-properties.h"
27 #include "hw/arm/allwinner-h3.h"
40 /* BIOS is not supported by this board */ in orangepi_init()
41 if (machine->firmware) { in orangepi_init()
42 error_report("BIOS not supported for this machine"); in orangepi_init()
47 if (machine->ram_size != 1 * GiB) { in orangepi_init()
57 object_property_set_int(OBJECT(h3), "clk0-freq", 32768, &error_abort); in orangepi_init()
58 object_property_set_int(OBJECT(h3), "clk1-freq", 24 * 1000 * 1000, in orangepi_init()
[all …]
/qemu/tests/functional/
H A Dtest_aarch64_hotplug_pci.py10 # SPDX-License-Identifier: GPL-2.0-or-later
18 ('https://ftp.debian.org/debian/dists/stable/main/installer-arm64/'
19 '20230607+deb12u11/images/netboot/debian-installer/arm64/linux'),
23 ('https://ftp.debian.org/debian/dists/stable/main/installer-arm64/'
24 '20230607+deb12u11/images/netboot/debian-installer/arm64/initrd.gz'),
31 self.vm.add_args('-m', '512M',
32 '-cpu', 'cortex-a57',
33 '-append',
35 '-device',
36 'pcie-root-port,bus=pcie.0,chassis=1,slot=1,id=pcie.1',
[all …]
/qemu/docs/system/ppc/
H A Dppce500.rst8 -----------------
19 * Power-off functionality via one GPIO pin
26 ----------------------------------
29 which it passes to the guest, if there is no ``-dtb`` option. This provides
33 If users want to provide their own DTB, they can use the ``-dtb`` option.
36 * The number of subnodes under /cpus node should match QEMU's ``-smp`` option
37 * The /memory reg size should match QEMU’s selected ram_size via ``-m``
39 Both ``qemu-system-ppc`` and ``qemu-system-ppc64`` provide emulation for the
40 following 32-bit PowerPC CPUs:
45 Additionally ``qemu-system-ppc64`` provides support for the following 64-bit
[all …]
/qemu/include/hw/pci-host/
H A Dpam.h32 * SMRAM memory area and PAM memory area in Legacy address range for PC.
35 * 0xa0000 - 0xbffff compatible SMRAM
37 * 0xc0000 - 0xc3fff Expansion area memory segments
38 * 0xc4000 - 0xc7fff
39 * 0xc8000 - 0xcbfff
40 * 0xcc000 - 0xcffff
41 * 0xd0000 - 0xd3fff
42 * 0xd4000 - 0xd7fff
43 * 0xd8000 - 0xdbfff
44 * 0xdc000 - 0xdffff
[all …]

123