xemu/hw/i386/multiboot.h
Paolo Bonzini 3ca8ce720f 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>
2021-11-02 15:57:27 +01:00

17 lines
445 B
C

#ifndef QEMU_MULTIBOOT_H
#define QEMU_MULTIBOOT_H
#include "hw/nvram/fw_cfg.h"
#include "hw/i386/x86.h"
int load_multiboot(X86MachineState *x86ms,
FWCfgState *fw_cfg,
FILE *f,
const char *kernel_filename,
const char *initrd_filename,
const char *kernel_cmdline,
int kernel_file_size,
uint8_t *header);
#endif