diff options
author | Damien Zammit <damien@zamaudio.com> | 2022-09-12 10:39:30 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-09-12 20:32:24 +0200 |
commit | 160fb63ee0c72f165ab131c4d725d9badaa646ab (patch) | |
tree | ffb56a39d40b8e42213990ba5ce6f136eb9431ec /acpi/acpi.c | |
parent | 22676a3a6e4d99e13ee75c1ad2f4976ae6b0ce52 (diff) | |
download | hurd-160fb63ee0c72f165ab131c4d725d9badaa646ab.tar.gz hurd-160fb63ee0c72f165ab131c4d725d9badaa646ab.tar.bz2 hurd-160fb63ee0c72f165ab131c4d725d9badaa646ab.zip |
acpi: Link translator to libacpica and provide RPCs
Provides two new acpi RPCs to sleep the machine and
to get the irq of any pci device. ACPI mode is enabled
by default when the translator is started.
NB: Merging this commit means libacpica is a build dep.
Message-Id: <20220912103837.556815-2-damien@zamaudio.com>
Diffstat (limited to 'acpi/acpi.c')
-rw-r--r-- | acpi/acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/acpi/acpi.c b/acpi/acpi.c index 210a229e..9827232a 100644 --- a/acpi/acpi.c +++ b/acpi/acpi.c @@ -28,7 +28,7 @@ #include <string.h> #include <unistd.h> -#include "acpi.h" +#include "myacpi.h" int mmap_phys_acpi_header(uintptr_t base_addr, struct acpi_header **ptr_to_header, |