| .. | .. |
|---|
| 3 | 3 | * |
|---|
| 4 | 4 | * Name: acstruct.h - Internal structs |
|---|
| 5 | 5 | * |
|---|
| 6 | | - * Copyright (C) 2000 - 2018, Intel Corp. |
|---|
| 6 | + * Copyright (C) 2000 - 2020, Intel Corp. |
|---|
| 7 | 7 | * |
|---|
| 8 | 8 | *****************************************************************************/ |
|---|
| 9 | 9 | |
|---|
| .. | .. |
|---|
| 60 | 60 | struct acpi_parse_state parser_state; /* Current state of parser */ |
|---|
| 61 | 61 | u32 prev_arg_types; |
|---|
| 62 | 62 | u32 arg_count; /* push for fixed or var args */ |
|---|
| 63 | + u16 method_nesting_depth; |
|---|
| 64 | + u8 method_is_nested; |
|---|
| 63 | 65 | |
|---|
| 64 | 66 | struct acpi_namespace_node arguments[ACPI_METHOD_NUM_ARGS]; /* Control method arguments */ |
|---|
| 65 | 67 | struct acpi_namespace_node local_variables[ACPI_METHOD_NUM_LOCALS]; /* Control method locals */ |
|---|
| .. | .. |
|---|
| 74 | 76 | struct acpi_namespace_node *method_call_node; /* Called method Node */ |
|---|
| 75 | 77 | union acpi_parse_object *method_call_op; /* method_call Op if running a method */ |
|---|
| 76 | 78 | union acpi_operand_object *method_desc; /* Method descriptor if running a method */ |
|---|
| 77 | | - struct acpi_namespace_node *method_node; /* Method node if running a method. */ |
|---|
| 79 | + struct acpi_namespace_node *method_node; /* Method node if running a method */ |
|---|
| 80 | + char *method_pathname; /* Full pathname of running method */ |
|---|
| 78 | 81 | union acpi_parse_object *op; /* Current parser op */ |
|---|
| 79 | 82 | const struct acpi_opcode_info *op_info; /* Info on current opcode */ |
|---|
| 80 | 83 | union acpi_parse_object *origin; /* Start of walk [Obsolete] */ |
|---|
| .. | .. |
|---|
| 164 | 167 | u32 return_flags; /* Used for return value analysis */ |
|---|
| 165 | 168 | u32 return_btype; /* Bitmapped type of the returned object */ |
|---|
| 166 | 169 | u16 param_count; /* Count of the input argument list */ |
|---|
| 170 | + u16 node_flags; /* Same as Node->Flags */ |
|---|
| 167 | 171 | u8 pass_number; /* Parser pass number */ |
|---|
| 168 | 172 | u8 return_object_type; /* Object type of the returned object */ |
|---|
| 169 | | - u8 node_flags; /* Same as Node->Flags */ |
|---|
| 170 | 173 | u8 flags; /* General flags */ |
|---|
| 171 | 174 | }; |
|---|
| 172 | 175 | |
|---|
| .. | .. |
|---|
| 189 | 192 | u32 num_INI; |
|---|
| 190 | 193 | }; |
|---|
| 191 | 194 | |
|---|
| 195 | +/* Info used by Acpi acpi_db_display_fields */ |
|---|
| 196 | + |
|---|
| 197 | +struct acpi_region_walk_info { |
|---|
| 198 | + u32 debug_level; |
|---|
| 199 | + u32 count; |
|---|
| 200 | + acpi_owner_id owner_id; |
|---|
| 201 | + u8 display_type; |
|---|
| 202 | + u32 address_space_id; |
|---|
| 203 | +}; |
|---|
| 204 | + |
|---|
| 192 | 205 | /* TBD: [Restructure] Merge with struct above */ |
|---|
| 193 | 206 | |
|---|
| 194 | 207 | struct acpi_walk_info { |
|---|