diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-12-12 14:14:40 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-12-17 19:33:50 +0100 |
commit | 89a289c7e9fa857f8b0af0c5f060efa7c0ebe6ba (patch) | |
tree | 30bc787854cfdcf3feb46cba922d61723966fd4f /hw/i386/fw_cfg.h | |
parent | 4ca8dabdb8b58349c309cfd9624d3f96172a752b (diff) |
x86: move more x86-generic functions out of PC files
These are needed by microvm too, so move them outside of PC-specific files.
With this patch, microvm.c need not include pc.h anymore.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/i386/fw_cfg.h')
-rw-r--r-- | hw/i386/fw_cfg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/i386/fw_cfg.h b/hw/i386/fw_cfg.h index e0856a3769..9e74278779 100644 --- a/hw/i386/fw_cfg.h +++ b/hw/i386/fw_cfg.h @@ -12,6 +12,8 @@ #include "hw/boards.h" #include "hw/nvram/fw_cfg.h" +#define FW_CFG_IO_BASE 0x510 + #define FW_CFG_ACPI_TABLES (FW_CFG_ARCH_LOCAL + 0) #define FW_CFG_SMBIOS_ENTRIES (FW_CFG_ARCH_LOCAL + 1) #define FW_CFG_IRQ0_OVERRIDE (FW_CFG_ARCH_LOCAL + 2) |