diff options
author | Bob Moore <robert.moore@intel.com> | 2009-06-24 01:42:00 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-08-27 10:17:21 -0400 |
commit | eb2289ba1ba994de25af0d94b5e80ba93d2c1c3c (patch) | |
tree | 906dfa6d6b25b4aadc7c4b72ad1e6ff0076617b7 /include/acpi | |
parent | 8d590c7af1152685efcf302905baeb6dda3c2d2f (diff) |
ACPICA: ACPI 4.0: Changes for existing ACPI tables.
FACS: new flag and new OspmFlags field.
SRAT: x2APIC - add ClockDomain field to descriptor #2
Includes header and disassembler support.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/actbl.h | 19 | ||||
-rw-r--r-- | include/acpi/actbl1.h | 8 |
2 files changed, 18 insertions, 9 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 | * |
diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h index 59ade0752473..ec36693f868c 100644 --- a/include/acpi/actbl1.h +++ b/include/acpi/actbl1.h | |||
@@ -1011,7 +1011,7 @@ struct acpi_madt_interrupt_source { | |||
1011 | 1011 | ||
1012 | #define ACPI_MADT_CPEI_OVERRIDE (1) | 1012 | #define ACPI_MADT_CPEI_OVERRIDE (1) |
1013 | 1013 | ||
1014 | /* 9: Processor Local X2_APIC (07/2008) */ | 1014 | /* 9: Processor Local X2APIC (ACPI 4.0) */ |
1015 | 1015 | ||
1016 | struct acpi_madt_local_x2apic { | 1016 | struct acpi_madt_local_x2apic { |
1017 | struct acpi_subtable_header header; | 1017 | struct acpi_subtable_header header; |
@@ -1021,7 +1021,7 @@ struct acpi_madt_local_x2apic { | |||
1021 | u32 uid; /* ACPI processor UID */ | 1021 | u32 uid; /* ACPI processor UID */ |
1022 | }; | 1022 | }; |
1023 | 1023 | ||
1024 | /* 10: Local X2APIC NMI (07/2008) */ | 1024 | /* 10: Local X2APIC NMI (ACPI 4.0) */ |
1025 | 1025 | ||
1026 | struct acpi_madt_local_x2apic_nmi { | 1026 | struct acpi_madt_local_x2apic_nmi { |
1027 | struct acpi_subtable_header header; | 1027 | struct acpi_subtable_header header; |
@@ -1211,7 +1211,7 @@ struct acpi_srat_mem_affinity { | |||
1211 | #define ACPI_SRAT_MEM_HOT_PLUGGABLE (1<<1) /* 01: Memory region is hot pluggable */ | 1211 | #define ACPI_SRAT_MEM_HOT_PLUGGABLE (1<<1) /* 01: Memory region is hot pluggable */ |
1212 | #define ACPI_SRAT_MEM_NON_VOLATILE (1<<2) /* 02: Memory region is non-volatile */ | 1212 | #define ACPI_SRAT_MEM_NON_VOLATILE (1<<2) /* 02: Memory region is non-volatile */ |
1213 | 1213 | ||
1214 | /* 2: Processor Local X2_APIC Affinity (07/2008) */ | 1214 | /* 2: Processor Local X2_APIC Affinity (ACPI 4.0) */ |
1215 | 1215 | ||
1216 | struct acpi_srat_x2apic_cpu_affinity { | 1216 | struct acpi_srat_x2apic_cpu_affinity { |
1217 | struct acpi_subtable_header header; | 1217 | struct acpi_subtable_header header; |
@@ -1219,6 +1219,8 @@ struct acpi_srat_x2apic_cpu_affinity { | |||
1219 | u32 proximity_domain; | 1219 | u32 proximity_domain; |
1220 | u32 apic_id; | 1220 | u32 apic_id; |
1221 | u32 flags; | 1221 | u32 flags; |
1222 | u32 clock_domain; | ||
1223 | u32 reserved2; | ||
1222 | }; | 1224 | }; |
1223 | 1225 | ||
1224 | /* Flags for struct acpi_srat_cpu_affinity and struct acpi_srat_x2apic_cpu_affinity */ | 1226 | /* Flags for struct acpi_srat_cpu_affinity and struct acpi_srat_x2apic_cpu_affinity */ |