diff options
Diffstat (limited to 'include/acpi/aclocal.h')
-rw-r--r-- | include/acpi/aclocal.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/include/acpi/aclocal.h b/include/acpi/aclocal.h index 5956431784d5..99785bae59b3 100644 --- a/include/acpi/aclocal.h +++ b/include/acpi/aclocal.h | |||
@@ -174,22 +174,28 @@ union acpi_name_union { | |||
174 | * | 174 | * |
175 | * The node is optimized for both 32-bit and 64-bit platforms: | 175 | * The node is optimized for both 32-bit and 64-bit platforms: |
176 | * 20 bytes for the 32-bit case, 32 bytes for the 64-bit case. | 176 | * 20 bytes for the 32-bit case, 32 bytes for the 64-bit case. |
177 | * | ||
178 | * Note: The descriptor_type and Type fields must appear in the identical | ||
179 | * position in both the struct acpi_namespace_node and union acpi_operand_object | ||
180 | * structures. | ||
177 | */ | 181 | */ |
178 | struct acpi_namespace_node { | 182 | struct acpi_namespace_node { |
179 | union acpi_operand_object *object; /* Interpreter object */ | 183 | union acpi_operand_object *object; /* Interpreter object */ |
180 | u8 descriptor_type; /* Differentiate object descriptor types */ | 184 | u8 descriptor_type; /* Differentiate object descriptor types */ |
185 | u8 type; /* ACPI Type associated with this name */ | ||
181 | u8 flags; /* Miscellaneous flags */ | 186 | u8 flags; /* Miscellaneous flags */ |
182 | acpi_owner_id owner_id; /* Node creator */ | 187 | acpi_owner_id owner_id; /* Node creator */ |
183 | u8 type; /* ACPI Type associated with this name */ | ||
184 | union acpi_name_union name; /* ACPI Name, always 4 chars per ACPI spec */ | 188 | union acpi_name_union name; /* ACPI Name, always 4 chars per ACPI spec */ |
185 | struct acpi_namespace_node *child; /* First child */ | 189 | struct acpi_namespace_node *child; /* First child */ |
186 | struct acpi_namespace_node *peer; /* Peer. Parent if ANOBJ_END_OF_PEER_LIST set */ | 190 | struct acpi_namespace_node *peer; /* Peer. Parent if ANOBJ_END_OF_PEER_LIST set */ |
187 | 191 | ||
188 | /* Fields used by the ASL compiler and disassembler only: */ | 192 | /* |
189 | 193 | * The following fields are used by the ASL compiler and disassembler only | |
194 | */ | ||
190 | #ifdef ACPI_LARGE_NAMESPACE_NODE | 195 | #ifdef ACPI_LARGE_NAMESPACE_NODE |
191 | union acpi_parse_object *op; | 196 | union acpi_parse_object *op; |
192 | u32 value; | 197 | u32 value; |
198 | u32 length; | ||
193 | #endif | 199 | #endif |
194 | }; | 200 | }; |
195 | 201 | ||
@@ -470,7 +476,7 @@ struct acpi_scope_state { | |||
470 | }; | 476 | }; |
471 | 477 | ||
472 | struct acpi_pscope_state { | 478 | struct acpi_pscope_state { |
473 | ACPI_STATE_COMMON u8 arg_count; /* Number of fixed arguments */ | 479 | ACPI_STATE_COMMON u32 arg_count; /* Number of fixed arguments */ |
474 | union acpi_parse_object *op; /* Current op being parsed */ | 480 | union acpi_parse_object *op; /* Current op being parsed */ |
475 | u8 *arg_end; /* Current argument end */ | 481 | u8 *arg_end; /* Current argument end */ |
476 | u8 *pkg_end; /* Current package end */ | 482 | u8 *pkg_end; /* Current package end */ |