Raul Rangel has submitted this change. ( https://review.coreboot.org/c/coreboot/+/52527 )
Change subject: acpi: Add acpi_osc.h ......................................................................
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 rrangel@chromium.org Change-Id: I6e2ac1e1b47b284489932d6ed12db9d94e8d7310 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52527 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Martin Roth martinroth@google.com Reviewed-by: Jason Glenesk jason.glenesk@amd.corp-partner.google.com Reviewed-by: Furquan Shaikh furquan@google.com Reviewed-by: Angel Pons th3fanbus@gmail.com Reviewed-by: Karthik Ramasubramanian kramasub@google.com --- A src/include/acpi/acpi_osc.h 1 file changed, 16 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Martin Roth: Looks good to me, approved Furquan Shaikh: Looks good to me, approved Angel Pons: Looks good to me, but someone else must approve Karthik Ramasubramanian: Looks good to me, approved Jason Glenesk: Looks good to me, but someone else must approve
diff --git a/src/include/acpi/acpi_osc.h b/src/include/acpi/acpi_osc.h new file mode 100644 index 0000000..d8c57b9 --- /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__ */