diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-05-25 10:22:13 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-05-25 13:27:03 +0200 |
commit | c4b724bd7ca65b8945ef683f33c0aa06152a381f (patch) | |
tree | 8c121bab259b888665bff6b313232610febba314 /include | |
parent | ea5e0fffab02eb12ab08dcc3563824f2dd28beac (diff) | |
download | qboot-c4b724bd7ca65b8945ef683f33c0aa06152a381f.zip qboot-c4b724bd7ca65b8945ef683f33c0aa06152a381f.tar.gz qboot-c4b724bd7ca65b8945ef683f33c0aa06152a381f.tar.bz2 |
load ACPI tables from fw_cfg
Diffstat (limited to 'include')
-rw-r--r-- | include/bios.h | 1 | ||||
-rw-r--r-- | include/fw_cfg.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/bios.h b/include/bios.h index 4ed3a1a..ed2cab4 100644 --- a/include/bios.h +++ b/include/bios.h @@ -38,6 +38,7 @@ extern void bios_irq(void); extern void bios_int10(void); extern void bios_int15(void); +extern void extract_acpi(void); extern void boot_from_fwcfg(void); extern bool boot_from_cbfs(void *base, size_t sz); diff --git a/include/fw_cfg.h b/include/fw_cfg.h index 57afa14..a846812 100644 --- a/include/fw_cfg.h +++ b/include/fw_cfg.h @@ -39,6 +39,8 @@ #define FW_CFG_CTL 0x510 #define FW_CFG_DATA 0x511 +#include "ioport.h" + static inline void fw_cfg_select(uint16_t f) { outw(FW_CFG_CTL, f); |