summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpivar.h
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2001-07-21 04:04:03 +0000
committermsmith <msmith@FreeBSD.org>2001-07-21 04:04:03 +0000
commitfdc534151a6e846ad0d22cde61a680cc4a7d5b09 (patch)
treed0487c69ae5b71f59c39ce52a2e49b7b42c15d99 /sys/dev/acpica/acpivar.h
parent183b6c470d461cb7d3d5947c5ff76a9028cdd241 (diff)
downloadFreeBSD-src-fdc534151a6e846ad0d22cde61a680cc4a7d5b09.zip
FreeBSD-src-fdc534151a6e846ad0d22cde61a680cc4a7d5b09.tar.gz
The API for loading tables changed (we no longer explicitly search for the
RSDP, it's now found via a callback). AcpiOsSleepUsec() went away, use AcpiOsSleep() instead (we could use AcpiOsStall() too) AcpiFormatException() was changed to make more sense (it behaves like our old acpi_strerror() did), so throw acpi_strerror() away (still #defined in acpivar.h though, we need to sweep these seperately).
Diffstat (limited to 'sys/dev/acpica/acpivar.h')
-rw-r--r--sys/dev/acpica/acpivar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h
index 5a6f737..22be040 100644
--- a/sys/dev/acpica/acpivar.h
+++ b/sys/dev/acpica/acpivar.h
@@ -231,8 +231,8 @@ extern struct acpi_parse_resource_set acpi_res_parse_set;
extern ACPI_STATUS acpi_parse_resources(device_t dev, ACPI_HANDLE handle,
struct acpi_parse_resource_set *set);
-/* XXX this is ugly */
-extern char *acpi_strerror(ACPI_STATUS excep);
+/* XXX hack to handle old code, should be fixed */
+#define acpi_strerror(e) AcpiFormatException(e)
/*
* ACPI event handling
OpenPOWER on IntegriCloud