diff options
author | Raul E Rangel <rrangel@chromium.org> | 2021-04-19 17:06:46 -0600 |
---|---|---|
committer | Raul Rangel <rrangel@chromium.org> | 2021-04-21 22:25:36 +0000 |
commit | e3f7645a8bb50b63200a14d79b3f4b8a94015691 (patch) | |
tree | 794b0381c05b60ced0fe60f2eb641387fadc8887 /src | |
parent | d3be9ba9023857aaa362e6f2c37766101f7f9d06 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/include/acpi/acpi_osc.h | 16 |
1 files changed, 16 insertions, 0 deletions
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__ */ |