Print this page
update to acpica-unix2-20131218
acpica-unix2-20130823
PANKOVs restructure

*** 1,14 **** - /****************************************************************************** * * Module Name: exresnte - AML Interpreter object resolution * *****************************************************************************/ /* ! * Copyright (C) 2000 - 2011, Intel Corp. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: --- 1,13 ---- /****************************************************************************** * * Module Name: exresnte - AML Interpreter object resolution * *****************************************************************************/ /* ! * Copyright (C) 2000 - 2013, Intel Corp. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met:
*** 133,144 **** return_ACPI_STATUS (AE_OK); } if (!SourceDesc) { ! ACPI_ERROR ((AE_INFO, "No object attached to node %p", ! Node)); return_ACPI_STATUS (AE_AML_NO_OPERAND); } /* * Action is based on the type of the Node, which indicates the type --- 132,143 ---- return_ACPI_STATUS (AE_OK); } if (!SourceDesc) { ! ACPI_ERROR ((AE_INFO, "No object attached to node [%4.4s] %p", ! Node->Name.Ascii, Node)); return_ACPI_STATUS (AE_AML_NO_OPERAND); } /* * Action is based on the type of the Node, which indicates the type
*** 163,173 **** ObjDesc = SourceDesc; AcpiUtAddReference (ObjDesc); } break; - case ACPI_TYPE_BUFFER: if (SourceDesc->Common.Type != ACPI_TYPE_BUFFER) { ACPI_ERROR ((AE_INFO, "Object not a Buffer, type %s", --- 162,171 ----
*** 183,193 **** ObjDesc = SourceDesc; AcpiUtAddReference (ObjDesc); } break; - case ACPI_TYPE_STRING: if (SourceDesc->Common.Type != ACPI_TYPE_STRING) { ACPI_ERROR ((AE_INFO, "Object not a String, type %s", --- 181,190 ----
*** 199,209 **** ObjDesc = SourceDesc; AcpiUtAddReference (ObjDesc); break; - case ACPI_TYPE_INTEGER: if (SourceDesc->Common.Type != ACPI_TYPE_INTEGER) { ACPI_ERROR ((AE_INFO, "Object not a Integer, type %s", --- 196,205 ----
*** 215,225 **** ObjDesc = SourceDesc; AcpiUtAddReference (ObjDesc); break; - case ACPI_TYPE_BUFFER_FIELD: case ACPI_TYPE_LOCAL_REGION_FIELD: case ACPI_TYPE_LOCAL_BANK_FIELD: case ACPI_TYPE_LOCAL_INDEX_FIELD: --- 211,220 ----
*** 251,261 **** ACPI_ERROR ((AE_INFO, "Untyped entry %p, no attached object!", Node)); return_ACPI_STATUS (AE_AML_OPERAND_TYPE); /* Cannot be AE_TYPE */ - case ACPI_TYPE_LOCAL_REFERENCE: switch (SourceDesc->Reference.Class) { case ACPI_REFCLASS_TABLE: /* This is a DdbHandle */ --- 246,255 ----
*** 267,276 **** --- 261,271 ---- ObjDesc = SourceDesc; AcpiUtAddReference (ObjDesc); break; default: + /* No named references are allowed here */ ACPI_ERROR ((AE_INFO, "Unsupported Reference type 0x%X", SourceDesc->Reference.Class));
*** 277,287 **** return_ACPI_STATUS (AE_AML_OPERAND_TYPE); } break; - default: /* Default case is for unknown types */ ACPI_ERROR ((AE_INFO, --- 272,281 ----
*** 296,302 **** /* Return the object descriptor */ *ObjectPtr = (void *) ObjDesc; return_ACPI_STATUS (Status); } - - --- 290,294 ----