diff options
author | Bob Moore <robert.moore@intel.com> | 2006-10-03 00:00:00 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-04-01 01:26:39 -0500 |
commit | 8313524a0d466f451a62709aaedf988d8257b21c (patch) | |
tree | d612fc796ae07d8a39542c95eec0f5169c9f64eb /include/acpi/acdisasm.h | |
parent | ea936b78f46cbe089a4ac363e1682dee7d427096 (diff) |
ACPI: ACPICA 20060310
Tagged all external interfaces to the subsystem with the
new ACPI_EXPORT_SYMBOL macro. This macro can be defined
as necessary to assist kernel integration. For Linux,
the macro resolves to the EXPORT_SYMBOL macro. The default
definition is NULL.
Added the ACPI_THREAD_ID type for the return value from
acpi_os_get_thread_id(). This allows the host to define this
as necessary to simplify kernel integration. The default
definition is ACPI_NATIVE_UINT.
Valery Podrezov fixed two interpreter problems related
to error processing, the deletion of objects, and placing
invalid pointers onto the internal operator result stack.
http://bugzilla.kernel.org/show_bug.cgi?id=6028
http://bugzilla.kernel.org/show_bug.cgi?id=6151
Increased the reference count threshold where a warning is
emitted for large reference counts in order to eliminate
unnecessary warnings on systems with large namespaces
(especially 64-bit.) Increased the value from 0x400
to 0x800.
Due to universal disagreement as to the meaning of the
'c' in the calloc() function, the ACPI_MEM_CALLOCATE
macro has been renamed to ACPI_ALLOCATE_ZEROED so that the
purpose of the interface is 'clear'. ACPI_MEM_ALLOCATE and
ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and ACPI_FREE.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/acdisasm.h')
-rw-r--r-- | include/acpi/acdisasm.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/acpi/acdisasm.h b/include/acpi/acdisasm.h index 0727c132bd3c..f004461a7753 100644 --- a/include/acpi/acdisasm.h +++ b/include/acpi/acdisasm.h | |||
@@ -50,6 +50,7 @@ | |||
50 | #define BLOCK_PAREN 1 | 50 | #define BLOCK_PAREN 1 |
51 | #define BLOCK_BRACE 2 | 51 | #define BLOCK_BRACE 2 |
52 | #define BLOCK_COMMA_LIST 4 | 52 | #define BLOCK_COMMA_LIST 4 |
53 | #define ACPI_DEFAULT_RESNAME *(u32 *) "__RD" | ||
53 | 54 | ||
54 | struct acpi_external_list { | 55 | struct acpi_external_list { |
55 | char *path; | 56 | char *path; |
@@ -78,6 +79,11 @@ typedef | |||
78 | acpi_status(*asl_walk_callback) (union acpi_parse_object * op, | 79 | acpi_status(*asl_walk_callback) (union acpi_parse_object * op, |
79 | u32 level, void *context); | 80 | u32 level, void *context); |
80 | 81 | ||
82 | struct acpi_resource_tag { | ||
83 | u32 bit_index; | ||
84 | char *tag; | ||
85 | }; | ||
86 | |||
81 | /* | 87 | /* |
82 | * dmwalk | 88 | * dmwalk |
83 | */ | 89 | */ |
@@ -85,6 +91,11 @@ void | |||
85 | acpi_dm_disassemble(struct acpi_walk_state *walk_state, | 91 | acpi_dm_disassemble(struct acpi_walk_state *walk_state, |
86 | union acpi_parse_object *origin, u32 num_opcodes); | 92 | union acpi_parse_object *origin, u32 num_opcodes); |
87 | 93 | ||
94 | void | ||
95 | acpi_dm_walk_parse_tree(union acpi_parse_object *op, | ||
96 | asl_walk_callback descending_callback, | ||
97 | asl_walk_callback ascending_callback, void *context); | ||
98 | |||
88 | /* | 99 | /* |
89 | * dmopcode | 100 | * dmopcode |
90 | */ | 101 | */ |
@@ -167,6 +178,7 @@ void acpi_dm_dump_integer64(u64 value, char *name); | |||
167 | 178 | ||
168 | void | 179 | void |
169 | acpi_dm_resource_template(struct acpi_op_walk_info *info, | 180 | acpi_dm_resource_template(struct acpi_op_walk_info *info, |
181 | union acpi_parse_object *op, | ||
170 | u8 * byte_data, u32 byte_count); | 182 | u8 * byte_data, u32 byte_count); |
171 | 183 | ||
172 | u8 acpi_dm_is_resource_template(union acpi_parse_object *op); | 184 | u8 acpi_dm_is_resource_template(union acpi_parse_object *op); |
@@ -177,6 +189,8 @@ void acpi_dm_bit_list(u16 mask); | |||
177 | 189 | ||
178 | void acpi_dm_decode_attribute(u8 attribute); | 190 | void acpi_dm_decode_attribute(u8 attribute); |
179 | 191 | ||
192 | void acpi_dm_descriptor_name(void); | ||
193 | |||
180 | /* | 194 | /* |
181 | * dmresrcl | 195 | * dmresrcl |
182 | */ | 196 | */ |
@@ -251,4 +265,13 @@ acpi_dm_vendor_small_descriptor(union aml_resource *resource, | |||
251 | */ | 265 | */ |
252 | void acpi_dm_add_to_external_list(char *path); | 266 | void acpi_dm_add_to_external_list(char *path); |
253 | 267 | ||
268 | /* | ||
269 | * dmrestag | ||
270 | */ | ||
271 | void acpi_dm_find_resources(union acpi_parse_object *root); | ||
272 | |||
273 | void | ||
274 | acpi_dm_check_resource_reference(union acpi_parse_object *op, | ||
275 | struct acpi_walk_state *walk_state); | ||
276 | |||
254 | #endif /* __ACDISASM_H__ */ | 277 | #endif /* __ACDISASM_H__ */ |