dmresrc.c (245582) | dmresrc.c (245636) |
---|---|
1/******************************************************************************* 2 * 3 * Module Name: dmresrc.c - Resource Descriptor disassembly 4 * 5 ******************************************************************************/ 6 7/* 8 * Copyright (C) 2000 - 2013, Intel Corp. --- 402 unchanged lines hidden (view full) --- 411 } 412 413 Aml = NextOp->Named.Data; 414 Length = (ACPI_SIZE) NextOp->Common.Value.Integer; 415 416 /* Walk the byte list, abort on any invalid descriptor type or length */ 417 418 Status = AcpiUtWalkAmlResources (WalkState, Aml, Length, | 1/******************************************************************************* 2 * 3 * Module Name: dmresrc.c - Resource Descriptor disassembly 4 * 5 ******************************************************************************/ 6 7/* 8 * Copyright (C) 2000 - 2013, Intel Corp. --- 402 unchanged lines hidden (view full) --- 411 } 412 413 Aml = NextOp->Named.Data; 414 Length = (ACPI_SIZE) NextOp->Common.Value.Integer; 415 416 /* Walk the byte list, abort on any invalid descriptor type or length */ 417 418 Status = AcpiUtWalkAmlResources (WalkState, Aml, Length, |
419 NULL, (void **) &EndAml); | 419 NULL, ACPI_CAST_INDIRECT_PTR (void, &EndAml)); |
420 if (ACPI_FAILURE (Status)) 421 { 422 return (AE_TYPE); 423 } 424 425 /* 426 * For the resource template to be valid, one EndTag must appear 427 * at the very end of the ByteList, not before. (For proper disassembly --- 16 unchanged lines hidden --- | 420 if (ACPI_FAILURE (Status)) 421 { 422 return (AE_TYPE); 423 } 424 425 /* 426 * For the resource template to be valid, one EndTag must appear 427 * at the very end of the ByteList, not before. (For proper disassembly --- 16 unchanged lines hidden --- |