[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/3] multiboot: Use DMA instead port-based transfer
From: |
Paolo Bonzini |
Subject: |
[PATCH v2 0/3] multiboot: Use DMA instead port-based transfer |
Date: |
Wed, 20 Oct 2021 16:02:41 +0200 |
An updated version of the patch at
YWM6jboU9fUib6Iy@os.inf.tu-dresden.de/">https://patchew.org/QEMU/YWM6jboU9fUib6Iy@os.inf.tu-dresden.de/,
which includes the necessary glue for compatibility with older
machine types. When fw_cfg DMA is disabled, the existing ROM
is used instead.
Marcus Hähnel (1):
optionrom: add a DMA-enabled multiboot ROM
Paolo Bonzini (2):
target/i386: move linuxboot_dma_enabled to X86MachineState
target/i386: use DMA-enabled multiboot ROM for new-enough QEMU machine
types
hw/i386/microvm.c | 5 ++-
hw/i386/multiboot.c | 10 ++++-
hw/i386/multiboot.h | 4 +-
hw/i386/pc.c | 8 ++--
hw/i386/pc_piix.c | 3 +-
hw/i386/pc_q35.c | 3 +-
hw/i386/x86.c | 7 ++--
include/hw/i386/pc.h | 3 --
include/hw/i386/x86.h | 5 ++-
pc-bios/meson.build | 1 +
pc-bios/multiboot_dma.bin | Bin 0 -> 1024 bytes
pc-bios/optionrom/Makefile | 4 +-
pc-bios/optionrom/multiboot.S | 4 +-
pc-bios/optionrom/multiboot_dma.S | 2 +
pc-bios/optionrom/optionrom.h | 66 ++++++++++++++++++++++++++++++
15 files changed, 102 insertions(+), 23 deletions(-)
create mode 100644 pc-bios/multiboot_dma.bin
create mode 100644 pc-bios/optionrom/multiboot_dma.S
--
2.31.1
- [PATCH v2 0/3] multiboot: Use DMA instead port-based transfer,
Paolo Bonzini <=