diff options
Diffstat (limited to 'include/acpi/acdisasm.h')
-rw-r--r-- | include/acpi/acdisasm.h | 38 |
1 files changed, 28 insertions, 10 deletions
diff --git a/include/acpi/acdisasm.h b/include/acpi/acdisasm.h index 389d772c7d5b..788f88782012 100644 --- a/include/acpi/acdisasm.h +++ b/include/acpi/acdisasm.h | |||
@@ -5,7 +5,7 @@ | |||
5 | *****************************************************************************/ | 5 | *****************************************************************************/ |
6 | 6 | ||
7 | /* | 7 | /* |
8 | * Copyright (C) 2000 - 2007, R. Byron Moore | 8 | * Copyright (C) 2000 - 2008, Intel Corp. |
9 | * All rights reserved. | 9 | * All rights reserved. |
10 | * | 10 | * |
11 | * Redistribution and use in source and binary forms, with or without | 11 | * Redistribution and use in source and binary forms, with or without |
@@ -97,19 +97,23 @@ typedef const struct acpi_dmtable_info { | |||
97 | #define ACPI_DMT_CHKSUM 20 | 97 | #define ACPI_DMT_CHKSUM 20 |
98 | #define ACPI_DMT_SPACEID 21 | 98 | #define ACPI_DMT_SPACEID 21 |
99 | #define ACPI_DMT_GAS 22 | 99 | #define ACPI_DMT_GAS 22 |
100 | #define ACPI_DMT_DMAR 23 | 100 | #define ACPI_DMT_ASF 23 |
101 | #define ACPI_DMT_MADT 24 | 101 | #define ACPI_DMT_DMAR 24 |
102 | #define ACPI_DMT_SRAT 25 | 102 | #define ACPI_DMT_HEST 25 |
103 | #define ACPI_DMT_EXIT 26 | 103 | #define ACPI_DMT_HESTNTFY 26 |
104 | #define ACPI_DMT_SIG 27 | 104 | #define ACPI_DMT_HESTNTYP 27 |
105 | #define ACPI_DMT_MADT 28 | ||
106 | #define ACPI_DMT_SRAT 29 | ||
107 | #define ACPI_DMT_EXIT 30 | ||
108 | #define ACPI_DMT_SIG 31 | ||
105 | 109 | ||
106 | typedef | 110 | typedef |
107 | void (*ACPI_TABLE_HANDLER) (struct acpi_table_header * table); | 111 | void (*acpi_dmtable_handler) (struct acpi_table_header * table); |
108 | 112 | ||
109 | struct acpi_dmtable_data { | 113 | struct acpi_dmtable_data { |
110 | char *signature; | 114 | char *signature; |
111 | struct acpi_dmtable_info *table_info; | 115 | struct acpi_dmtable_info *table_info; |
112 | ACPI_TABLE_HANDLER table_handler; | 116 | acpi_dmtable_handler table_handler; |
113 | char *name; | 117 | char *name; |
114 | }; | 118 | }; |
115 | 119 | ||
@@ -149,6 +153,7 @@ extern struct acpi_dmtable_info acpi_dm_table_info_asf3[]; | |||
149 | extern struct acpi_dmtable_info acpi_dm_table_info_asf4[]; | 153 | extern struct acpi_dmtable_info acpi_dm_table_info_asf4[]; |
150 | extern struct acpi_dmtable_info acpi_dm_table_info_asf_hdr[]; | 154 | extern struct acpi_dmtable_info acpi_dm_table_info_asf_hdr[]; |
151 | extern struct acpi_dmtable_info acpi_dm_table_info_boot[]; | 155 | extern struct acpi_dmtable_info acpi_dm_table_info_boot[]; |
156 | extern struct acpi_dmtable_info acpi_dm_table_info_bert[]; | ||
152 | extern struct acpi_dmtable_info acpi_dm_table_info_cpep[]; | 157 | extern struct acpi_dmtable_info acpi_dm_table_info_cpep[]; |
153 | extern struct acpi_dmtable_info acpi_dm_table_info_cpep0[]; | 158 | extern struct acpi_dmtable_info acpi_dm_table_info_cpep0[]; |
154 | extern struct acpi_dmtable_info acpi_dm_table_info_dbgp[]; | 159 | extern struct acpi_dmtable_info acpi_dm_table_info_dbgp[]; |
@@ -158,11 +163,17 @@ extern struct acpi_dmtable_info acpi_dm_table_info_dmar_scope[]; | |||
158 | extern struct acpi_dmtable_info acpi_dm_table_info_dmar0[]; | 163 | extern struct acpi_dmtable_info acpi_dm_table_info_dmar0[]; |
159 | extern struct acpi_dmtable_info acpi_dm_table_info_dmar1[]; | 164 | extern struct acpi_dmtable_info acpi_dm_table_info_dmar1[]; |
160 | extern struct acpi_dmtable_info acpi_dm_table_info_ecdt[]; | 165 | extern struct acpi_dmtable_info acpi_dm_table_info_ecdt[]; |
166 | extern struct acpi_dmtable_info acpi_dm_table_info_einj[]; | ||
167 | extern struct acpi_dmtable_info acpi_dm_table_info_einj0[]; | ||
168 | extern struct acpi_dmtable_info acpi_dm_table_info_erst[]; | ||
161 | extern struct acpi_dmtable_info acpi_dm_table_info_facs[]; | 169 | extern struct acpi_dmtable_info acpi_dm_table_info_facs[]; |
162 | extern struct acpi_dmtable_info acpi_dm_table_info_fadt1[]; | 170 | extern struct acpi_dmtable_info acpi_dm_table_info_fadt1[]; |
163 | extern struct acpi_dmtable_info acpi_dm_table_info_fadt2[]; | 171 | extern struct acpi_dmtable_info acpi_dm_table_info_fadt2[]; |
164 | extern struct acpi_dmtable_info acpi_dm_table_info_gas[]; | 172 | extern struct acpi_dmtable_info acpi_dm_table_info_gas[]; |
165 | extern struct acpi_dmtable_info acpi_dm_table_info_header[]; | 173 | extern struct acpi_dmtable_info acpi_dm_table_info_header[]; |
174 | extern struct acpi_dmtable_info acpi_dm_table_info_hest[]; | ||
175 | extern struct acpi_dmtable_info acpi_dm_table_info_hest9[]; | ||
176 | extern struct acpi_dmtable_info acpi_dm_table_info_hest_notify[]; | ||
166 | extern struct acpi_dmtable_info acpi_dm_table_info_hpet[]; | 177 | extern struct acpi_dmtable_info acpi_dm_table_info_hpet[]; |
167 | extern struct acpi_dmtable_info acpi_dm_table_info_madt[]; | 178 | extern struct acpi_dmtable_info acpi_dm_table_info_madt[]; |
168 | extern struct acpi_dmtable_info acpi_dm_table_info_madt0[]; | 179 | extern struct acpi_dmtable_info acpi_dm_table_info_madt0[]; |
@@ -180,6 +191,7 @@ extern struct acpi_dmtable_info acpi_dm_table_info_mcfg0[]; | |||
180 | extern struct acpi_dmtable_info acpi_dm_table_info_rsdp1[]; | 191 | extern struct acpi_dmtable_info acpi_dm_table_info_rsdp1[]; |
181 | extern struct acpi_dmtable_info acpi_dm_table_info_rsdp2[]; | 192 | extern struct acpi_dmtable_info acpi_dm_table_info_rsdp2[]; |
182 | extern struct acpi_dmtable_info acpi_dm_table_info_sbst[]; | 193 | extern struct acpi_dmtable_info acpi_dm_table_info_sbst[]; |
194 | extern struct acpi_dmtable_info acpi_dm_table_info_slic[]; | ||
183 | extern struct acpi_dmtable_info acpi_dm_table_info_slit[]; | 195 | extern struct acpi_dmtable_info acpi_dm_table_info_slit[]; |
184 | extern struct acpi_dmtable_info acpi_dm_table_info_spcr[]; | 196 | extern struct acpi_dmtable_info acpi_dm_table_info_spcr[]; |
185 | extern struct acpi_dmtable_info acpi_dm_table_info_spmi[]; | 197 | extern struct acpi_dmtable_info acpi_dm_table_info_spmi[]; |
@@ -194,7 +206,7 @@ extern struct acpi_dmtable_info acpi_dm_table_info_wdrt[]; | |||
194 | */ | 206 | */ |
195 | void acpi_dm_dump_data_table(struct acpi_table_header *table); | 207 | void acpi_dm_dump_data_table(struct acpi_table_header *table); |
196 | 208 | ||
197 | void | 209 | acpi_status |
198 | acpi_dm_dump_table(u32 table_length, | 210 | acpi_dm_dump_table(u32 table_length, |
199 | u32 table_offset, | 211 | u32 table_offset, |
200 | void *table, | 212 | void *table, |
@@ -213,9 +225,13 @@ void acpi_dm_dump_cpep(struct acpi_table_header *table); | |||
213 | 225 | ||
214 | void acpi_dm_dump_dmar(struct acpi_table_header *table); | 226 | void acpi_dm_dump_dmar(struct acpi_table_header *table); |
215 | 227 | ||
228 | void acpi_dm_dump_einj(struct acpi_table_header *table); | ||
229 | |||
230 | void acpi_dm_dump_erst(struct acpi_table_header *table); | ||
231 | |||
216 | void acpi_dm_dump_fadt(struct acpi_table_header *table); | 232 | void acpi_dm_dump_fadt(struct acpi_table_header *table); |
217 | 233 | ||
218 | void acpi_dm_dump_srat(struct acpi_table_header *table); | 234 | void acpi_dm_dump_hest(struct acpi_table_header *table); |
219 | 235 | ||
220 | void acpi_dm_dump_mcfg(struct acpi_table_header *table); | 236 | void acpi_dm_dump_mcfg(struct acpi_table_header *table); |
221 | 237 | ||
@@ -227,6 +243,8 @@ void acpi_dm_dump_rsdt(struct acpi_table_header *table); | |||
227 | 243 | ||
228 | void acpi_dm_dump_slit(struct acpi_table_header *table); | 244 | void acpi_dm_dump_slit(struct acpi_table_header *table); |
229 | 245 | ||
246 | void acpi_dm_dump_srat(struct acpi_table_header *table); | ||
247 | |||
230 | void acpi_dm_dump_xsdt(struct acpi_table_header *table); | 248 | void acpi_dm_dump_xsdt(struct acpi_table_header *table); |
231 | 249 | ||
232 | /* | 250 | /* |