From e3f7645a8bb50b63200a14d79b3f4b8a94015691 Mon Sep 17 00:00:00 2001 From: Raul E Rangel Date: Mon, 19 Apr 2021 17:06:46 -0600 Subject: acpi: Add acpi_osc.h See ACPI Specification, Version 6.3, Section 6.2.11 _OSC (Operating System Capabilities) We can add more UUIDs and capability flags in the future. BUG=b:178728116 TEST=Builds Signed-off-by: Raul E Rangel Change-Id: I6e2ac1e1b47b284489932d6ed12db9d94e8d7310 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52527 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth Reviewed-by: Jason Glenesk Reviewed-by: Furquan Shaikh Reviewed-by: Angel Pons Reviewed-by: Karthik Ramasubramanian --- src/include/acpi/acpi_osc.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/include/acpi/acpi_osc.h (limited to 'src/include') diff --git a/src/include/acpi/acpi_osc.h b/src/include/acpi/acpi_osc.h new file mode 100644 index 0000000000..d8c57b9b5e --- /dev/null +++ b/src/include/acpi/acpi_osc.h @@ -0,0 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef __ACPI_ACPI_OSC_H__ +#define __ACPI_ACPI_OSC_H__ + +/* _OSC (Operating System Capabilities) */ +#define OSC_CDW1_QUERY (1 << 0) +#define OSC_CDW1_UNKNOWN_FAILURE (1 << 1) +#define OSC_CDW1_UNRECOGNIZED_UUID (1 << 2) +#define OSC_CDW1_UNRECOGNIZED_REVISION (1 << 3) +#define OSC_CDW1_CAPABILITIES_MASKED (1 << 4) + +/* Platform-Wide \_SB._OSC */ +#define OSC_SB_UUID "0811b06e-4a27-44f9-8d60-3cbbc22e7b48" + +#endif /* __ACPI_ACPI_OSC_H__ */ -- cgit v1.2.3