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>
This commit is contained in:
Raul E Rangel 2021-04-19 17:06:46 -06:00 committed by Raul Rangel
parent d3be9ba902
commit e3f7645a8b
1 changed files with 16 additions and 0 deletions

View File

@ -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__ */