diff options
author | Marc-André Lureau | 2018-08-17 17:59:10 +0200 |
---|---|---|
committer | Paolo Bonzini | 2018-08-23 18:46:25 +0200 |
commit | 5be5df720e600502ff530cee51a7ac0622f62f6f (patch) | |
tree | 197eddca27a2cf6cdcaef10e7bf0105bc8952ca0 /pc-bios/optionrom/linuxboot_dma.c | |
parent | update-linux-headers.sh: add qemu_fw_cfg.h (diff) | |
download | qemu-5be5df720e600502ff530cee51a7ac0622f62f6f.tar.gz qemu-5be5df720e600502ff530cee51a7ac0622f62f6f.tar.xz qemu-5be5df720e600502ff530cee51a7ac0622f62f6f.zip |
fw_cfg: import & use linux/qemu_fw_cfg.h
Use kernel common header for fw_cfg.
(unfortunately, optionrom.h must have its own define, since it's
actually an assembler header)
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20180817155910.5722-2-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'pc-bios/optionrom/linuxboot_dma.c')
-rw-r--r-- | pc-bios/optionrom/linuxboot_dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pc-bios/optionrom/linuxboot_dma.c b/pc-bios/optionrom/linuxboot_dma.c index 4754282ad7..d856d41b55 100644 --- a/pc-bios/optionrom/linuxboot_dma.c +++ b/pc-bios/optionrom/linuxboot_dma.c @@ -58,8 +58,6 @@ asm( " jmp load_kernel\n" ); -#include "../../include/hw/nvram/fw_cfg_keys.h" - /* QEMU_CFG_DMA_CONTROL bits */ #define BIOS_CFG_DMA_CTL_ERROR 0x01 #define BIOS_CFG_DMA_CTL_READ 0x02 @@ -73,6 +71,8 @@ asm( #define uint32_t unsigned int #define uint16_t unsigned short +#include "../../include/standard-headers/linux/qemu_fw_cfg.h" + #define barrier() asm("" : : : "memory") typedef struct FWCfgDmaAccess { |