aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64/include/acpica_machdep.h
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2016-11-21 19:26:58 +0000
committerAndrew Turner <andrew@FreeBSD.org>2016-11-21 19:26:58 +0000
commiteba1a249dfc6ca98f5d10d9a56a53e3995cef1fc (patch)
treee0404e11648ba7b0cc298b0b363dec0fe12f0b9b /sys/arm64/include/acpica_machdep.h
parentb15317c43192e806f2db7d725dcec84aff9c30d8 (diff)
downloadsrc-eba1a249dfc6ca98f5d10d9a56a53e3995cef1fc.tar.gz
src-eba1a249dfc6ca98f5d10d9a56a53e3995cef1fc.zip
Add support to find the arm64 serial using the ACPI tables. This uses the
Serial Port Console Redirection Table to find the device to use. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=308938
Diffstat (limited to 'sys/arm64/include/acpica_machdep.h')
-rw-r--r--sys/arm64/include/acpica_machdep.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/arm64/include/acpica_machdep.h b/sys/arm64/include/acpica_machdep.h
index 9a3434a2bbab..282c79f5eaec 100644
--- a/sys/arm64/include/acpica_machdep.h
+++ b/sys/arm64/include/acpica_machdep.h
@@ -39,6 +39,8 @@
#ifdef _KERNEL
+#include <machine/_bus.h>
+
/* Only use the reduced hardware model */
#define ACPI_REDUCED_HARDWARE 1
@@ -50,6 +52,11 @@ void *acpi_map_table(vm_paddr_t pa, const char *sig);
void acpi_unmap_table(void *table);
vm_paddr_t acpi_find_table(const char *sig);
+struct acpi_generic_address;
+
+int acpi_map_addr(struct acpi_generic_address *, bus_space_tag_t *,
+ bus_space_handle_t *, bus_size_t);
+
#endif /* _KERNEL */
#endif /* __ACPICA_MACHDEP_H__ */