Deleted Added
full compact
rscalc.c (241973) rscalc.c (243347)
1/*******************************************************************************
2 *
3 * Module Name: rscalc - Calculate stream and list lengths
4 *
5 ******************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2012, Intel Corp.

--- 416 unchanged lines hidden (view full) ---

425 EndAml = AmlBuffer + AmlBufferLength;
426
427 /* Walk the list of AML resource descriptors */
428
429 while (AmlBuffer < EndAml)
430 {
431 /* Validate the Resource Type and Resource Length */
432
1/*******************************************************************************
2 *
3 * Module Name: rscalc - Calculate stream and list lengths
4 *
5 ******************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2012, Intel Corp.

--- 416 unchanged lines hidden (view full) ---

425 EndAml = AmlBuffer + AmlBufferLength;
426
427 /* Walk the list of AML resource descriptors */
428
429 while (AmlBuffer < EndAml)
430 {
431 /* Validate the Resource Type and Resource Length */
432
433 Status = AcpiUtValidateResource (AmlBuffer, &ResourceIndex);
433 Status = AcpiUtValidateResource (NULL, AmlBuffer, &ResourceIndex);
434 if (ACPI_FAILURE (Status))
435 {
436 /*
437 * Exit on failure. Cannot continue because the descriptor length
438 * may be bogus also.
439 */
440 return_ACPI_STATUS (Status);
441 }

--- 299 unchanged lines hidden ---
434 if (ACPI_FAILURE (Status))
435 {
436 /*
437 * Exit on failure. Cannot continue because the descriptor length
438 * may be bogus also.
439 */
440 return_ACPI_STATUS (Status);
441 }

--- 299 unchanged lines hidden ---