summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpivar.h
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2001-07-05 07:14:30 +0000
committermsmith <msmith@FreeBSD.org>2001-07-05 07:14:30 +0000
commit71d7e813044c8685803a313d803c542139d0347a (patch)
tree3334bbbf395963715dc9843de0f05a59b43d1a0f /sys/dev/acpica/acpivar.h
parentf40e6b29340f6911535768b29e8adf1fd1a49fee (diff)
downloadFreeBSD-src-71d7e813044c8685803a313d803c542139d0347a.zip
FreeBSD-src-71d7e813044c8685803a313d803c542139d0347a.tar.gz
Add a new helper function for finding resources in resource buffers.
Move the ACPI generic battery code into a new file.
Diffstat (limited to 'sys/dev/acpica/acpivar.h')
-rw-r--r--sys/dev/acpica/acpivar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h
index cda0221..f529a4c 100644
--- a/sys/dev/acpica/acpivar.h
+++ b/sys/dev/acpica/acpivar.h
@@ -197,6 +197,7 @@ extern ACPI_STATUS acpi_EvaluateInteger(ACPI_HANDLE handle, char *path, int *num
extern ACPI_STATUS acpi_ForeachPackageObject(ACPI_OBJECT *obj,
void (* func)(ACPI_OBJECT *comp, void *arg),
void *arg);
+extern ACPI_STATUS acpi_FindIndexedResource(ACPI_RESOURCE *resbuf, int index, ACPI_RESOURCE **resp);
extern ACPI_STATUS acpi_SetSleepState(struct acpi_softc *sc, int state);
extern ACPI_STATUS acpi_Enable(struct acpi_softc *sc);
OpenPOWER on IntegriCloud