81{
90
91
93
94
96 {
98 }
99
101 {
102
103
105 "Misaligned resource pointer (get): %p Type 0x%2.2X Length %u",
107 }
108
109
110
112
113
114
115
116
119 {
121
122
123
124
125
128
129 switch (
Info->Opcode)
130 {
132
133
134
138 break;
139
141 break;
142
144
146 break;
147
149
150
151
154 break;
155
157
158
159
162 break;
163
165
166
167
170 break;
171
173
174
175
178 break;
179
181
184
186 (
Info->Value * (ItemCount - 1));
187 break;
188
190
191 ItemCount = AmlResourceLength;
193
195 (
Info->Value * (ItemCount - 1));
196 break;
197
199
202
204 ItemCount = ItemCount / 2;
206 break;
207
209
212
214 break;
215
217
218
219
220
223 {
224
225
228 }
229 else
230 {
231
232
233 ItemCount =
Aml->LargeHeader.ResourceLength +
236 }
237
240 break;
241
243
245
248 break;
249
251
252 ItemCount = (AmlResourceLength +
255
258 break;
259
261
263 break;
264
269
270
271
272
274 {
275 ItemCount =
Info->Value;
276 }
278 break;
279
281
282
283
285 (
Resource->Length - ItemCount * 2));
287
288
289
292 break;
293
295
296
297
301
302
303
306 break;
307
309
310
311
315
316
317
320 break;
321
323
324
325
329
330
331
335 break;
336
338
340 break;
341
343
346 break;
347
349
350
351
353 {
355 }
356 break;
357
359
360
361
365 break;
366
368
369
370
371
373 Info->AmlOffset + (ItemCount * 4));
374
377 (((ItemCount - 1) *
sizeof (
UINT32)) +
Info->Value),
379 break;
380
382
383
384
386 if (ItemCount)
387 {
388 Resource->Length += (ItemCount - 1);
389 }
390
393 break;
394
396
397
398
400
402 if (ItemCount)
403 {
404 Resource->Length += (ItemCount - 1);
405 }
406
409 break;
410
412
413
414
415 switch (
Info->ResourceOffset)
416 {
418
419 if (AmlResourceLength !=
Info->Value)
420 {
422 }
423 break;
424
426
428 {
430 }
431 break;
432
433 default:
434
437 }
438 break;
439
440 default:
441
444 }
445
448 }
449
451 if (!FlagsMode)
452 {
453
454
457 }
459}
#define AE_AML_INVALID_RESOURCE_TYPE
#define ACPI_SET8(ptr, val)
#define ACPI_MOVE_16_TO_16(d, s)
#define ACPI_ROUND_UP_TO_NATIVE_WORD(a)
#define ACPI_SET16(ptr, val)
#define ACPI_WARNING(plist)
#define return_ACPI_STATUS(s)
#define ACPI_FUNCTION_TRACE(a)
#define ACPI_ERROR(plist)
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 ACPI_STATUS const char UINT32 ACPI_STATUS const char UINT32 const char const char UINT32 const char BOOLEAN UINT8 * Aml
#define ACPI_RSC_COMPARE_AML_LENGTH
@ ACPI_RSC_COUNT_GPIO_PIN
@ ACPI_RSC_COUNT_GPIO_RES
@ ACPI_RSC_MOVE_SERIAL_VEN
@ ACPI_RSC_COUNT_SERIAL_VEN
@ ACPI_RSC_COUNT_SERIAL_RES
@ ACPI_RSC_COUNT_GPIO_VEN
@ ACPI_RSC_MOVE_SERIAL_RES
#define ACPI_RSC_COMPARE_VALUE
UINT8 AcpiRsDecodeBitmask(UINT16 Mask, UINT8 *List)
BOOLEAN AcpiRsGetAddressCommon(ACPI_RESOURCE *Resource, AML_RESOURCE *Aml)
ACPI_RS_LENGTH AcpiRsGetResourceSource(ACPI_RS_LENGTH ResourceLength, ACPI_RS_LENGTH MinimumLength, ACPI_RESOURCE_SOURCE *ResourceSource, AML_RESOURCE *Aml, char *StringPtr)
void AcpiRsMoveData(void *Destination, void *Source, UINT16 ItemCount, UINT8 MoveType)
#define ACPI_ADD_PTR(t, a, b)
#define ACPI_CAST_PTR(t, p)
UINT16 AcpiUtGetResourceLength(void *Aml)
struct aml_resource_large_header AML_RESOURCE_LARGE_HEADER
_Acquires_exclusive_lock_ Resource _Acquires_shared_lock_ Resource _Inout_ PERESOURCE Resource
#define memcpy(s1, s2, n)
_In_ UINT _In_ UINT _In_ PNDIS_PACKET Source
_In_ PUNICODE_STRING _Inout_ PUNICODE_STRING Destination
#define INIT_RESOURCE_LENGTH(i)
#define INIT_TABLE_LENGTH(i)
#define INIT_RESOURCE_TYPE(i)
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info