aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/actbl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/acpi/actbl.h')
-rw-r--r--include/acpi/actbl.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/include/acpi/actbl.h b/include/acpi/actbl.h
index 222733d01f36..0649a5670026 100644
--- a/include/acpi/actbl.h
+++ b/include/acpi/actbl.h
@@ -161,17 +161,24 @@ struct acpi_table_facs {
161 u32 flags; 161 u32 flags;
162 u64 xfirmware_waking_vector; /* 64-bit version of the Firmware Waking Vector (ACPI 2.0+) */ 162 u64 xfirmware_waking_vector; /* 64-bit version of the Firmware Waking Vector (ACPI 2.0+) */
163 u8 version; /* Version of this table (ACPI 2.0+) */ 163 u8 version; /* Version of this table (ACPI 2.0+) */
164 u8 reserved[31]; /* Reserved, must be zero */ 164 u8 reserved[3]; /* Reserved, must be zero */
165 u32 ospm_flags; /* Flags to be set by OSPM (ACPI 4.0) */
166 u8 reserved1[24]; /* Reserved, must be zero */
165}; 167};
166 168
167/* Flag macros */ 169/* global_lock flags */
170
171#define ACPI_GLOCK_PENDING (1) /* 00: Pending global lock ownership */
172#define ACPI_GLOCK_OWNED (1<<1) /* 01: Global lock is owned */
173
174/* Flags */
168 175
169#define ACPI_FACS_S4_BIOS_PRESENT (1) /* 00: S4BIOS support is present */ 176#define ACPI_FACS_S4_BIOS_PRESENT (1) /* 00: S4BIOS support is present */
177#define ACPI_FACS_64BIT_WAKE (1<<1) /* 01: 64-bit wake vector supported (ACPI 4.0) */
170 178
171/* Global lock flags */ 179/* ospm_flags */
172 180
173#define ACPI_GLOCK_PENDING 0x01 /* 00: Pending global lock ownership */ 181#define ACPI_FACS_64BIT_ENVIRONMENT (1) /* 00: 64-bit wake environment is required (ACPI 4.0) */
174#define ACPI_GLOCK_OWNED 0x02 /* 01: Global lock is owned */
175 182
176/******************************************************************************* 183/*******************************************************************************
177 * 184 *