diff options
Diffstat (limited to 'include/acpi/acutils.h')
-rw-r--r-- | include/acpi/acutils.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/include/acpi/acutils.h b/include/acpi/acutils.h index 7386eb81bd2a..4ff963323de3 100644 --- a/include/acpi/acutils.h +++ b/include/acpi/acutils.h | |||
@@ -44,6 +44,15 @@ | |||
44 | #ifndef _ACUTILS_H | 44 | #ifndef _ACUTILS_H |
45 | #define _ACUTILS_H | 45 | #define _ACUTILS_H |
46 | 46 | ||
47 | extern const u8 acpi_gbl_resource_aml_sizes[]; | ||
48 | |||
49 | /* Types for Resource descriptor entries */ | ||
50 | |||
51 | #define ACPI_INVALID_RESOURCE 0 | ||
52 | #define ACPI_FIXED_LENGTH 1 | ||
53 | #define ACPI_VARIABLE_LENGTH 2 | ||
54 | #define ACPI_SMALL_VARIABLE_LENGTH 3 | ||
55 | |||
47 | typedef | 56 | typedef |
48 | acpi_status(*acpi_pkg_callback) (u8 object_type, | 57 | acpi_status(*acpi_pkg_callback) (u8 object_type, |
49 | union acpi_operand_object * source_object, | 58 | union acpi_operand_object * source_object, |
@@ -418,13 +427,19 @@ acpi_ut_strtoul64(char *string, u32 base, acpi_integer * ret_integer); | |||
418 | 427 | ||
419 | #define ACPI_ANY_BASE 0 | 428 | #define ACPI_ANY_BASE 0 |
420 | 429 | ||
430 | acpi_status acpi_ut_validate_resource(void *aml, u8 * return_index); | ||
431 | |||
421 | u32 acpi_ut_get_descriptor_length(void *aml); | 432 | u32 acpi_ut_get_descriptor_length(void *aml); |
422 | 433 | ||
423 | u16 acpi_ut_get_resource_length(void *aml); | 434 | u16 acpi_ut_get_resource_length(void *aml); |
424 | 435 | ||
436 | u8 acpi_ut_get_resource_header_length(void *aml); | ||
437 | |||
425 | u8 acpi_ut_get_resource_type(void *aml); | 438 | u8 acpi_ut_get_resource_type(void *aml); |
426 | 439 | ||
427 | u8 *acpi_ut_get_resource_end_tag(union acpi_operand_object *obj_desc); | 440 | acpi_status |
441 | acpi_ut_get_resource_end_tag(union acpi_operand_object *obj_desc, | ||
442 | u8 ** end_tag); | ||
428 | 443 | ||
429 | u8 acpi_ut_generate_checksum(u8 * buffer, u32 length); | 444 | u8 acpi_ut_generate_checksum(u8 * buffer, u32 length); |
430 | 445 | ||