dsmethod.c (241973) | dsmethod.c (243347) |
---|---|
1/****************************************************************************** 2 * 3 * Module Name: dsmethod - Parser/Interpreter interface - control method parsing 4 * 5 *****************************************************************************/ 6 7/* 8 * Copyright (C) 2000 - 2012, Intel Corp. --- 395 unchanged lines hidden (view full) --- 404 /* 405 * Allocate and initialize the evaluation information block 406 * TBD: this is somewhat inefficient, should change interface to 407 * DsInitAmlWalk. For now, keeps this struct off the CPU stack 408 */ 409 Info = ACPI_ALLOCATE_ZEROED (sizeof (ACPI_EVALUATE_INFO)); 410 if (!Info) 411 { | 1/****************************************************************************** 2 * 3 * Module Name: dsmethod - Parser/Interpreter interface - control method parsing 4 * 5 *****************************************************************************/ 6 7/* 8 * Copyright (C) 2000 - 2012, Intel Corp. --- 395 unchanged lines hidden (view full) --- 404 /* 405 * Allocate and initialize the evaluation information block 406 * TBD: this is somewhat inefficient, should change interface to 407 * DsInitAmlWalk. For now, keeps this struct off the CPU stack 408 */ 409 Info = ACPI_ALLOCATE_ZEROED (sizeof (ACPI_EVALUATE_INFO)); 410 if (!Info) 411 { |
412 return_ACPI_STATUS (AE_NO_MEMORY); | 412 Status = AE_NO_MEMORY; 413 goto Cleanup; |
413 } 414 415 Info->Parameters = &ThisWalkState->Operands[0]; 416 417 Status = AcpiDsInitAmlWalk (NextWalkState, NULL, MethodNode, 418 ObjDesc->Method.AmlStart, ObjDesc->Method.AmlLength, 419 Info, ACPI_IMODE_EXECUTE); 420 --- 304 unchanged lines hidden --- | 414 } 415 416 Info->Parameters = &ThisWalkState->Operands[0]; 417 418 Status = AcpiDsInitAmlWalk (NextWalkState, NULL, MethodNode, 419 ObjDesc->Method.AmlStart, ObjDesc->Method.AmlLength, 420 Info, ACPI_IMODE_EXECUTE); 421 --- 304 unchanged lines hidden --- |