acpi: Add definitions for device sleep states
The ACPI device sleep states are different from system sleep states and many places hardcode to specific values that are difficult to decode without referring to the spec. Change-Id: If5e732725b775742fd2a9fd0df697e312aa7bf20 Signed-off-by: Duncan Laurie <dlaurie@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41791 Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
924fe94075
commit
4247ba3628
|
@ -31,6 +31,14 @@
|
||||||
#define SLP_TYP_S5 5
|
#define SLP_TYP_S5 5
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* ACPI Device Sleep States */
|
||||||
|
#define ACPI_DEVICE_SLEEP_D0 0
|
||||||
|
#define ACPI_DEVICE_SLEEP_D1 1
|
||||||
|
#define ACPI_DEVICE_SLEEP_D2 2
|
||||||
|
#define ACPI_DEVICE_SLEEP_D3 3
|
||||||
|
#define ACPI_DEVICE_SLEEP_D3_HOT ACPI_DEVICE_SLEEP_D3
|
||||||
|
#define ACPI_DEVICE_SLEEP_D3_COLD 4
|
||||||
|
|
||||||
#define ACPI_TABLE_CREATOR "COREBOOT" /* Must be exactly 8 bytes long! */
|
#define ACPI_TABLE_CREATOR "COREBOOT" /* Must be exactly 8 bytes long! */
|
||||||
#define OEM_ID "COREv4" /* Must be exactly 6 bytes long! */
|
#define OEM_ID "COREv4" /* Must be exactly 6 bytes long! */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue