diff options
Diffstat (limited to 'include/acpi/acresrc.h')
-rw-r--r-- | include/acpi/acresrc.h | 27 |
1 files changed, 4 insertions, 23 deletions
diff --git a/include/acpi/acresrc.h b/include/acpi/acresrc.h index 25cff0d5ba58..2bf53940f259 100644 --- a/include/acpi/acresrc.h +++ b/include/acpi/acresrc.h | |||
@@ -101,27 +101,11 @@ typedef const struct acpi_rsconvert_info { | |||
101 | #define ACPI_RS_OFFSET(f) (u8) ACPI_OFFSET (struct acpi_resource,f) | 101 | #define ACPI_RS_OFFSET(f) (u8) ACPI_OFFSET (struct acpi_resource,f) |
102 | #define AML_OFFSET(f) (u8) ACPI_OFFSET (union aml_resource,f) | 102 | #define AML_OFFSET(f) (u8) ACPI_OFFSET (union aml_resource,f) |
103 | 103 | ||
104 | /* | ||
105 | * Resource dispatch and info tables | ||
106 | */ | ||
107 | typedef const struct acpi_resource_info { | ||
108 | u8 length_type; | ||
109 | u8 minimum_aml_resource_length; | ||
110 | u8 minimum_internal_struct_length; | ||
111 | |||
112 | } acpi_resource_info; | ||
113 | |||
114 | /* Types for length_type above */ | ||
115 | |||
116 | #define ACPI_FIXED_LENGTH 0 | ||
117 | #define ACPI_VARIABLE_LENGTH 1 | ||
118 | #define ACPI_SMALL_VARIABLE_LENGTH 2 | ||
119 | |||
120 | typedef const struct acpi_rsdump_info { | 104 | typedef const struct acpi_rsdump_info { |
121 | u8 opcode; | 105 | u8 opcode; |
122 | u8 offset; | 106 | u8 offset; |
123 | char *name; | 107 | char *name; |
124 | const void *pointer; | 108 | const char **pointer; |
125 | 109 | ||
126 | } acpi_rsdump_info; | 110 | } acpi_rsdump_info; |
127 | 111 | ||
@@ -153,10 +137,9 @@ extern struct acpi_rsconvert_info *acpi_gbl_set_resource_dispatch[]; | |||
153 | 137 | ||
154 | /* Resource tables indexed by raw AML resource descriptor type */ | 138 | /* Resource tables indexed by raw AML resource descriptor type */ |
155 | 139 | ||
156 | extern struct acpi_resource_info acpi_gbl_sm_resource_info[]; | 140 | extern struct acpi_rsconvert_info *acpi_gbl_get_resource_dispatch[]; |
157 | extern struct acpi_resource_info acpi_gbl_lg_resource_info[]; | 141 | |
158 | extern struct acpi_rsconvert_info *acpi_gbl_sm_get_resource_dispatch[]; | 142 | extern const u8 acpi_gbl_resource_struct_sizes[]; |
159 | extern struct acpi_rsconvert_info *acpi_gbl_lg_get_resource_dispatch[]; | ||
160 | 143 | ||
161 | /* | 144 | /* |
162 | * rscreate | 145 | * rscreate |
@@ -272,8 +255,6 @@ void | |||
272 | acpi_rs_set_resource_length(acpi_rsdesc_size total_length, | 255 | acpi_rs_set_resource_length(acpi_rsdesc_size total_length, |
273 | union aml_resource *aml); | 256 | union aml_resource *aml); |
274 | 257 | ||
275 | struct acpi_resource_info *acpi_rs_get_resource_info(u8 resource_type); | ||
276 | |||
277 | /* | 258 | /* |
278 | * rsdump | 259 | * rsdump |
279 | */ | 260 | */ |