From 232055cb4d121ed9e93d5ddaa18e361e4011ec5f Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Sun, 5 Mar 2006 14:46:47 +0000 Subject: Hook acpi to ddb since we need to be able to do some live debugging. Lots and lots of help from miod@ and deraadt@ ok deraadt@ miod@ --- sys/dev/acpi/dsdt.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'sys/dev/acpi/dsdt.c') diff --git a/sys/dev/acpi/dsdt.c b/sys/dev/acpi/dsdt.c index e87855b6d1f..1ad2097edc2 100644 --- a/sys/dev/acpi/dsdt.c +++ b/sys/dev/acpi/dsdt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dsdt.c,v 1.31 2006/02/26 07:57:47 marco Exp $ */ +/* $OpenBSD: dsdt.c,v 1.32 2006/03/05 14:46:46 marco Exp $ */ /* * Copyright (c) 2005 Jordan Hargrave * @@ -22,6 +22,11 @@ #include +#ifdef DDB +#include +#include +#endif + #include #include #include @@ -110,7 +115,6 @@ struct acpi_context *acpi_alloccontext(struct acpi_softc *sc, int argc, struct aml_value *argv); -void aml_walkroot(void); struct aml_node *aml_find_name(struct acpi_softc *, struct aml_node *, const char *); int64_t aml_str2int(const char *, int, int); @@ -2892,7 +2896,7 @@ aml_walktree(struct aml_node *node) } void -aml_walkroot() +aml_walkroot(void) { aml_walktree(aml_root.child); } -- cgit v1.2.3