From 6c0da2da7ca9f4bf75e384dc679bcb4575a9940e Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Tue, 22 Sep 2020 12:45:08 -0600 Subject: x86: Add a few common Intel CPU functions Add functions to query CPU information, needed for ACPI. Signed-off-by: Simon Glass --- include/acpi/acpigen.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'include/acpi') diff --git a/include/acpi/acpigen.h b/include/acpi/acpigen.h index 34b3115..c4128981 100644 --- a/include/acpi/acpigen.h +++ b/include/acpi/acpigen.h @@ -74,6 +74,18 @@ enum { }; /** + * enum psd_coord - Coordination types for P-states + * + * The type of coordination that exists (hardware) or is required (software) as + * a result of the underlying hardware dependency + */ +enum psd_coord { + SW_ALL = 0xfc, + SW_ANY = 0xfd, + HW_ALL = 0xfe +}; + +/** * acpigen_get_current() - Get the current ACPI code output pointer * * @ctx: ACPI context pointer -- cgit v1.1