Deleted Added
full compact
exmisc.c (123315) exmisc.c (126372)
1
2/******************************************************************************
3 *
4 * Module Name: exmisc - ACPI AML (p-code) execution - specific opcodes
1
2/******************************************************************************
3 *
4 * Module Name: exmisc - ACPI AML (p-code) execution - specific opcodes
5 * $Revision: 116 $
5 * $Revision: 118 $
6 *
7 *****************************************************************************/
8
9/******************************************************************************
10 *
11 * 1. Copyright Notice
12 *
6 *
7 *****************************************************************************/
8
9/******************************************************************************
10 *
11 * 1. Copyright Notice
12 *
13 * Some or all of this work - Copyright (c) 1999 - 2003, Intel Corp.
13 * Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp.
14 * All rights reserved.
15 *
16 * 2. License
17 *
18 * 2.1. This is your license from Intel Corp. under its intellectual property
19 * rights. You may have additional license terms from the party that provided
20 * you this software, covering your right to use that party's intellectual
21 * property rights.

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

176
177 /* The referenced object is the pseudo-node for the local/arg */
178
179 ReferencedObj = ObjDesc->Reference.Object;
180 break;
181
182 default:
183
14 * All rights reserved.
15 *
16 * 2. License
17 *
18 * 2.1. This is your license from Intel Corp. under its intellectual property
19 * rights. You may have additional license terms from the party that provided
20 * you this software, covering your right to use that party's intellectual
21 * property rights.

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

176
177 /* The referenced object is the pseudo-node for the local/arg */
178
179 ReferencedObj = ObjDesc->Reference.Object;
180 break;
181
182 default:
183
184 ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "Unknown Reference subtype %X\n",
184 ACPI_REPORT_ERROR (("Unknown Reference subtype in get ref %X\n",
185 ObjDesc->Reference.Opcode));
186 return_ACPI_STATUS (AE_AML_INTERNAL);
187 }
188 break;
189
190
191 case ACPI_DESC_TYPE_NAMED:
192
193 /*
194 * A named reference that has already been resolved to a Node
195 */
196 ReferencedObj = ObjDesc;
197 break;
198
199
200 default:
201
185 ObjDesc->Reference.Opcode));
186 return_ACPI_STATUS (AE_AML_INTERNAL);
187 }
188 break;
189
190
191 case ACPI_DESC_TYPE_NAMED:
192
193 /*
194 * A named reference that has already been resolved to a Node
195 */
196 ReferencedObj = ObjDesc;
197 break;
198
199
200 default:
201
202 ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "%p has invalid descriptor [%s]\n",
203 ObjDesc, AcpiUtGetDescriptorName (ObjDesc)));
202 ACPI_REPORT_ERROR (("Invalid descriptor type in get ref: %X\n",
203 ACPI_GET_DESCRIPTOR_TYPE (ObjDesc)));
204 return_ACPI_STATUS (AE_TYPE);
205 }
206
207
208 /* Create a new reference object */
209
210 ReferenceObj = AcpiUtCreateInternalObject (ACPI_TYPE_LOCAL_REFERENCE);
211 if (!ReferenceObj)

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

432
433 break;
434
435
436 default:
437
438 /* Invalid object type, should not happen here */
439
204 return_ACPI_STATUS (AE_TYPE);
205 }
206
207
208 /* Create a new reference object */
209
210 ReferenceObj = AcpiUtCreateInternalObject (ACPI_TYPE_LOCAL_REFERENCE);
211 if (!ReferenceObj)

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

432
433 break;
434
435
436 default:
437
438 /* Invalid object type, should not happen here */
439
440 ACPI_REPORT_ERROR (("Concat - invalid obj type: %X\n",
441 ACPI_GET_OBJECT_TYPE (ObjDesc1)));
440 Status = AE_AML_INTERNAL;
441 ReturnDesc = NULL;
442 }
443
444 *ActualReturnDesc = ReturnDesc;
445 return (AE_OK);
446
447

--- 173 unchanged lines hidden ---
442 Status = AE_AML_INTERNAL;
443 ReturnDesc = NULL;
444 }
445
446 *ActualReturnDesc = ReturnDesc;
447 return (AE_OK);
448
449

--- 173 unchanged lines hidden ---