/openbmc/qemu/roms/ |
H A D | Makefile | 2 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 D | edk2-build.config | 40 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 …]
|
/openbmc/linux/drivers/platform/x86/ |
H A D | pcengines-apuv2.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * PC-Engines APUv2/APUv3 board platform driver 22 #include <linux/platform_data/gpio/gpio-amd-fch.h> 25 * NOTE: this driver only supports APUv2/3 - not APUv1, as this one 60 [APU2_GPIO_LINE_LED1] = "front-led1", 61 [APU2_GPIO_LINE_LED2] = "front-led2", 62 [APU2_GPIO_LINE_LED3] = "front-led3", 63 [APU2_GPIO_LINE_MODESW] = "front-button", 89 .dev_id = "leds-gpio", 119 .name = "apu2-keys", [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 x86 platforms, including vendor-specific laptop extension drivers. 23 This driver adds support for the ACPI-WMI (Windows Management 26 ACPI-WMI is a proprietary extension to ACPI to expose parts of the 27 ACPI firmware to userspace - this is done through various vendor 38 any ACPI-WMI devices. 45 Say Y here if you want to be able to read a firmware-embedded 50 be called wmi-bmof. 64 control, fn-lock, mic-mute LED, and other extra features. 67 will be called huawei-wmi. [all …]
|
/openbmc/qemu/docs/system/ |
H A D | bootindex.rst | 4 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 D | target-i386-desc.rst.inc | 1 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 …]
|
/openbmc/openbmc-test-automation/redfish/systems/ |
H A D | test_boot_devices.robot | 29 &{redfish_ipmi_target_map} Hdd=Force Boot from default Hard-Drive 31 ... Diags=Force Boot from default Hard-Drive, request Safe-Mode 33 ... BiosSetup=Force Boot into BIOS Setup 38 &{redfish_ipmi_mode_map} Legacy=BIOS PC Compatible (legacy) boot 39 ... UEFI=BIOS EFI boot 181 Verify Boot Source Override With Enabled Mode As Once After Host Reboot For Bios Setup 182 …mentation] Verify Boot Source Override with Enabled Mode As Once After Host Reboot For Bios Setup. 191 Verify Boot Source Override With Enabled Mode As Continuous After Host Reboot For Bios Setup 192 …ion] Verify Boot Source Override with Enabled Mode As Continuous After Host Reboot For Bios Setup. 237 # - Boot Flag Valid [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | dp.c | 24 #include <subdev/bios.h> 25 #include <subdev/bios/bit.h> 26 #include <subdev/bios/dp.h> 29 nvbios_dp_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_dp_table() argument 33 if (!bit_entry(bios, 'd', &d)) { in nvbios_dp_table() 35 u16 data = nvbios_rd16(bios, d.offset); in nvbios_dp_table() 37 *ver = nvbios_rd08(bios, data + 0x00); in nvbios_dp_table() 45 *hdr = nvbios_rd08(bios, data + 0x01); in nvbios_dp_table() 46 *len = nvbios_rd08(bios, data + 0x02); in nvbios_dp_table() 47 *cnt = nvbios_rd08(bios, data + 0x03); in nvbios_dp_table() [all …]
|
/openbmc/qemu/tests/tcg/s390x/ |
H A D | console.c | 3 * 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 D | head64.S | 3 * 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 */
|
/openbmc/qemu/tests/qtest/ |
H A D | boot-serial-test.c | 7 * 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 0x08, 0x30, 0x9f, 0xe5, /* ldr r3,[pc,#8] Get base */ 84 0xfd, 0xff, 0xff, 0x17, /* b -12 (loop) */ 90 0x04, 0x4a, /* ldr r2, [pc, #16] Get ENABLE */ [all …]
|
H A D | bios-tables-test.c | 10 * 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 …]
|
/openbmc/qemu/docs/interop/ |
H A D | firmware.json | 1 # -*- 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 …]
|
/openbmc/qemu/hw/mips/ |
H A D | mipssim.c | 31 #include "exec/address-spaces.h" 34 #include "hw/char/serial-mm.h" 41 #include "hw/qdev-properties.h" 42 #include "qemu/error-report.h" 98 initrd_offset, loaderparams.ram_size - initrd_offset); in load_kernel() 100 if (initrd_size == (target_ulong) -1) { in load_kernel() 112 CPUMIPSState *env = &s->cpu->env; in main_cpu_reset() 114 cpu_reset(CPU(s->cpu)); in main_cpu_reset() 115 env->active_tc.PC = s->vector & ~(target_ulong)1; in main_cpu_reset() 116 if (s->vector & 1) { in main_cpu_reset() [all …]
|
H A D | fuloong2e.c | 2 * 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" 54 * who want to build a pmon binary please first git-clone the source 56 * https://github.com/loongson-community/pmon [all …]
|
/openbmc/qemu/pc-bios/ |
H A D | README | 1 - 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-20230918. 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 …]
|
/openbmc/qemu/tests/migration/s390x/ |
H A D | Makefile | 2 # $ 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 …]
|
/openbmc/qemu/tests/avocado/ |
H A D | boot_linux.py | 3 # Copyright (c) 2018-2020 Red Hat, Inc. 9 # later. See the COPYING file in the top-level directory. 27 :avocado: tags=machine:pc 31 self.vm.add_args("-accel", "tcg") 36 :avocado: tags=machine:pc 40 self.vm.add_args("-accel", "kvm") 49 self.vm.add_args("-accel", "tcg") 58 self.vm.add_args("-accel", "kvm") 78 self.vm.add_args("-accel", "kvm") 79 self.vm.add_args("-machine", "virt,gic-version=host") [all …]
|
/openbmc/linux/drivers/leds/ |
H A D | leds-apu.c | 2 * drivers/leds/leds-apu.c 86 /* PC Engines APU with factory bios "SageBios_PCEngines_APU-45" */ 90 DMI_MATCH(DMI_SYS_VENDOR, "PC Engines"), 94 /* PC Engines APU with "Mainline" bios >= 4.6.8 */ 98 DMI_MATCH(DMI_SYS_VENDOR, "PC Engines"), 110 spin_lock(&apu_led->lock); in apu1_led_brightness_set() 111 iowrite8(value ? APU1_LEDON : APU1_LEDOFF, pled->param.addr); in apu1_led_brightness_set() 112 spin_unlock(&apu_led->lock); in apu1_led_brightness_set() 120 apu_led->pled = devm_kcalloc(dev, in apu_led_config() 124 if (!apu_led->pled) in apu_led_config() [all …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | ebda.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * This function reserves all conventional PC system BIOS related 15 * The BIOS places the EBDA/XBDA at the top of conventional 20 * guess the reserved BIOS area by looking at the low BIOS RAM size 26 * - This code also contains a quirk for Dell systems that neglect 29 * - The same quirk also avoids a problem with the AMD768MPX 34 * - Plus paravirt systems don't have a reliable value in the 35 * 'BIOS RAM size' pointer we can rely on, so we must quirk 46 * Using memory that is in use by the BIOS or by some DMA device 47 * the BIOS didn't shut down *is* a big problem to the kernel, [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-firmware-lefi-boardinfo | 5 Get mainboard and BIOS info easily on the Loongson platform, 7 and BIOS version when there exists problems related with 20 Board Name : LEMOTE-LS3A4000-7A1000-1w-V01-pc 23 BIOS Info 25 Version : Kunlun-A1901-V4.1.3-20200414093938 27 Release Date : 2020-04-14
|
/openbmc/linux/drivers/cpufreq/ |
H A D | powernow-k7.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * - We cli/sti on stepping A0 CPUs around the FID/VID transition. 13 * - We disable half multipliers if ACPI is used on A0 stepping CPUs. 38 #include "powernow-k7.h" 82 150, 225, 160, 165, 170, 180, -1, -1, 95 static unsigned int minimum_speed = -1; 107 delta = (fsbspeed > f) ? fsbspeed - f : f - fsbspeed; in check_fsb() 134 if ((c->x86_model == 6) && (c->x86_stepping == 0)) { in check_powernow() 180 return -ENOMEM; in get_ranges() 300 union powernow_acpi_control_t pc; in powernow_acpi_init() local [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | dmi.c | 1 // SPDX-License-Identifier: ISC 24 BRCM_CC_4345_CHIP_ID, 6, "acepc-t8" 28 * and the nvram for the Vi8 Plus is already in linux-firmware, so use that. 31 BRCM_CC_43430_CHIP_ID, 0, "ilife-S806" 35 BRCM_CC_4356_CHIP_ID, 2, "gpd-win-pocket" 39 BRCM_CC_43430_CHIP_ID, 0, "jumper-ezpad-mini3" 43 BRCM_CC_43340_CHIP_ID, 2, "meegopad-t08" 47 BRCM_CC_43340_CHIP_ID, 2, "pov-tab-p1006w-data" 51 BRCM_CC_43341_CHIP_ID, 2, "predia-basic" 55 * exact same nvram file as the Prowise-PT301 tablet. Since the nvram for the [all …]
|
/openbmc/qemu/ |
H A D | qemu.nsi | 5 ; 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 …]
|
/openbmc/qemu/.gitlab-ci.d/ |
H A D | opensbi.yml | 1 # 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 …]
|