include/acpi: add defines for CPPC versions 1-3

Change-Id: I6abbf98398057b9774fcfd9046ba933b5286e4cd
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46986
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Michael Niewöhner 2020-10-29 22:38:32 +01:00 committed by Patrick Georgi
parent 5b10ec4361
commit d5fc04bdc9
1 changed files with 4 additions and 0 deletions
src/include/acpi

View File

@ -231,6 +231,10 @@ struct dsm_uuid {
void *arg;
};
#define CPPC_VERSION_1 1
#define CPPC_VERSION_2 2
#define CPPC_VERSION_3 3
/*version 1 has 15 fields, version 2 has 19, and version 3 has 21 */
enum cppc_fields {
CPPC_HIGHEST_PERF, /* can be DWORD */