summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/x86/include/arch/acpi.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/arch/x86/include/arch/acpi.h b/src/arch/x86/include/arch/acpi.h
index 0ed89d1b12..fc250d7da0 100644
--- a/src/arch/x86/include/arch/acpi.h
+++ b/src/arch/x86/include/arch/acpi.h
@@ -979,13 +979,14 @@ void acpi_resume(void *wake_vec);
void mainboard_suspend_resume(void);
void *acpi_find_wakeup_vector(void);
+/* ACPI_Sn assignments are defined to always equal the sleep state numbers */
enum {
- ACPI_S0,
- ACPI_S1,
- ACPI_S2,
- ACPI_S3,
- ACPI_S4,
- ACPI_S5,
+ ACPI_S0 = 0,
+ ACPI_S1 = 1,
+ ACPI_S2 = 2,
+ ACPI_S3 = 3,
+ ACPI_S4 = 4,
+ ACPI_S5 = 5,
};
#if CONFIG(ACPI_INTEL_HARDWARE_SLEEP_VALUES) \