diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-10-20 15:59:44 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-11-02 15:57:27 +0100 |
commit | 3ca8ce720f1be18ed3f13d28ef7c20704fdabffb (patch) | |
tree | 90b8e9d001bb9b778aa7f3d4c0e0f4df696a2f7a /hw/i386/multiboot.h | |
parent | 48972f8cad24eb4462c97ea68003e2dd35be0444 (diff) |
target/i386: use DMA-enabled multiboot ROM for new-enough QEMU machine types
As long as fw_cfg supports DMA, the new ROM can be used also on older
machine types because it has the same size as the existing one.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/i386/multiboot.h')
-rw-r--r-- | hw/i386/multiboot.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/i386/multiboot.h b/hw/i386/multiboot.h index 60de309cd1..2b9182a8ea 100644 --- a/hw/i386/multiboot.h +++ b/hw/i386/multiboot.h @@ -2,8 +2,10 @@ #define QEMU_MULTIBOOT_H #include "hw/nvram/fw_cfg.h" +#include "hw/i386/x86.h" -int load_multiboot(FWCfgState *fw_cfg, +int load_multiboot(X86MachineState *x86ms, + FWCfgState *fw_cfg, FILE *f, const char *kernel_filename, const char *initrd_filename, |