summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpivar.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2016-04-22 17:51:19 +0000
committerjhb <jhb@FreeBSD.org>2016-04-22 17:51:19 +0000
commitda15c11c3103598c772b1bbb4daf72d65af13e0c (patch)
treea09764e2f6940c58d517ee2603898467d5f69d64 /sys/dev/acpica/acpivar.h
parent7b42937a43db7453fba7437832b129f02273f6c5 (diff)
downloadFreeBSD-src-da15c11c3103598c772b1bbb4daf72d65af13e0c.zip
FreeBSD-src-da15c11c3103598c772b1bbb4daf72d65af13e0c.tar.gz
Optionally return the output capabilities list from _OSC.
Both of the callers were expecting the input cap_set to be modified. This fixes them to request cap_set to be updated with the returned buffer. Reviewed by: jkim Differential Revision: https://reviews.freebsd.org/D6040
Diffstat (limited to 'sys/dev/acpica/acpivar.h')
-rw-r--r--sys/dev/acpica/acpivar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h
index 6a31aea..dd1ceeb 100644
--- a/sys/dev/acpica/acpivar.h
+++ b/sys/dev/acpica/acpivar.h
@@ -336,7 +336,8 @@ ACPI_STATUS acpi_FindIndexedResource(ACPI_BUFFER *buf, int index,
ACPI_STATUS acpi_AppendBufferResource(ACPI_BUFFER *buf,
ACPI_RESOURCE *res);
ACPI_STATUS acpi_EvaluateOSC(ACPI_HANDLE handle, uint8_t *uuid,
- int revision, int count, uint32_t *caps);
+ int revision, int count, uint32_t *caps_in,
+ uint32_t *caps_out, bool query);
ACPI_STATUS acpi_OverrideInterruptLevel(UINT32 InterruptNumber);
ACPI_STATUS acpi_SetIntrModel(int model);
int acpi_ReqSleepState(struct acpi_softc *sc, int state);
OpenPOWER on IntegriCloud