diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2013-09-14 22:54:44 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2013-09-18 20:48:34 -0400 |
commit | 5a7545ca4acc1213d96af7ce32a707df89940f11 (patch) | |
tree | 25877b455b2fd12e631e03a422bc791c8e0bc7e1 /src/fw/acpi.c | |
parent | 3d0dfe1faedf1c026954cbf3b69bd8049cb75cab (diff) | |
download | seabios-5a7545ca4acc1213d96af7ce32a707df89940f11.tar.gz |
Move fw/acpi.h to std/acpi.h.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/fw/acpi.c')
-rw-r--r-- | src/fw/acpi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fw/acpi.c b/src/fw/acpi.c index cba3f682..8f99b34f 100644 --- a/src/fw/acpi.c +++ b/src/fw/acpi.c @@ -5,7 +5,6 @@ // // This file may be distributed under the terms of the GNU LGPLv3 license. -#include "acpi.h" // struct rsdp_descriptor #include "byteorder.h" // cpu_to_le16 #include "config.h" // CONFIG_* #include "dev-q35.h" @@ -17,6 +16,7 @@ #include "output.h" // dprintf #include "paravirt.h" // RamSize #include "romfile.h" // romfile_loadint +#include "std/acpi.h" // struct rsdp_descriptor #include "string.h" // memset #include "util.h" // MaxCountCPUs #include "x86.h" // readl @@ -756,6 +756,8 @@ find_acpi_features(void) static struct acpi_20_generic_address acpi_reset_reg; static u8 acpi_reset_val; +#define acpi_ga_to_bdf(addr) pci_to_bdf(0, (addr >> 32) & 0xffff, (addr >> 16) & 0xffff) + void acpi_reboot(void) { |