Module Name: src
Committed By: jmcneill
Date: Sat Jan 15 14:40:33 UTC 2022
Modified Files:
src/sys/dev/acpi: acpi_util.h
Log Message:
acpi: Add helper for querying DSM function 0.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/acpi/acpi_util.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/acpi/acpi_util.h
diff -u src/sys/dev/acpi/acpi_util.h:1.12 src/sys/dev/acpi/acpi_util.h:1.13
--- src/sys/dev/acpi/acpi_util.h:1.12 Sun Jan 9 14:28:23 2022
+++ src/sys/dev/acpi/acpi_util.h Sat Jan 15 14:40:33 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_util.h,v 1.12 2022/01/09 14:28:23 jmcneill Exp $ */
+/* $NetBSD: acpi_util.h,v 1.13 2022/01/15 14:40:33 jmcneill Exp $ */
/*-
* Copyright (c) 2003, 2007 The NetBSD Foundation, Inc.
@@ -108,6 +108,8 @@ ACPI_STATUS acpi_dsm_typed(ACPI_HANDLE,
ACPI_STATUS acpi_dsm_integer(ACPI_HANDLE, uint8_t *, ACPI_INTEGER,
ACPI_INTEGER, const ACPI_OBJECT *,
ACPI_INTEGER *);
+ACPI_STATUS acpi_dsm_query(ACPI_HANDLE, uint8_t *, ACPI_INTEGER,
+ ACPI_INTEGER *);
ACPI_STATUS acpi_claim_childdevs(device_t, struct acpi_devnode *);