aboutsummaryrefslogtreecommitdiff
path: root/acpi/acpi.c
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2022-09-12 10:39:30 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-09-12 20:32:24 +0200
commit160fb63ee0c72f165ab131c4d725d9badaa646ab (patch)
treeffb56a39d40b8e42213990ba5ce6f136eb9431ec /acpi/acpi.c
parent22676a3a6e4d99e13ee75c1ad2f4976ae6b0ce52 (diff)
downloadhurd-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.c2
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,