diff options
author | msmith <msmith@FreeBSD.org> | 2001-07-05 07:14:30 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2001-07-05 07:14:30 +0000 |
commit | 71d7e813044c8685803a313d803c542139d0347a (patch) | |
tree | 3334bbbf395963715dc9843de0f05a59b43d1a0f /sys/dev/acpica/acpivar.h | |
parent | f40e6b29340f6911535768b29e8adf1fd1a49fee (diff) | |
download | FreeBSD-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.h | 1 |
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); |