aslopcodes.c (151937) | aslopcodes.c (167802) |
---|---|
1 2/****************************************************************************** 3 * 4 * Module Name: aslopcode - AML opcode generation | 1 2/****************************************************************************** 3 * 4 * Module Name: aslopcode - AML opcode generation |
5 * $Revision: 1.71 $ | 5 * $Revision: 1.74 $ |
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 - 2005, Intel Corp. | 13 * Some or all of this work - Copyright (c) 1999 - 2007, 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. --- 186 unchanged lines hidden (view full) --- 208 UINT32 Level, 209 void *Context) 210{ 211 212 TotalParseNodes++; 213 214 OpcGenerateAmlOpcode (Op); 215 OpnGenerateAmlOperands (Op); | 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. --- 186 unchanged lines hidden (view full) --- 208 UINT32 Level, 209 void *Context) 210{ 211 212 TotalParseNodes++; 213 214 OpcGenerateAmlOpcode (Op); 215 OpnGenerateAmlOperands (Op); |
216 | |
217 return (AE_OK); 218} 219 220 221/******************************************************************************* 222 * 223 * FUNCTION: OpcGetIntegerWidth 224 * --- 363 unchanged lines hidden (view full) --- 588 if (ACPI_FAILURE (Status)) 589 { 590 AslError (ASL_ERROR, ASL_MSG_INVALID_EISAID, Op, Op->Asl.Value.String); 591 } 592 else 593 { 594 /* Create ID big-endian first (bits are contiguous) */ 595 | 216 return (AE_OK); 217} 218 219 220/******************************************************************************* 221 * 222 * FUNCTION: OpcGetIntegerWidth 223 * --- 363 unchanged lines hidden (view full) --- 587 if (ACPI_FAILURE (Status)) 588 { 589 AslError (ASL_ERROR, ASL_MSG_INVALID_EISAID, Op, Op->Asl.Value.String); 590 } 591 else 592 { 593 /* Create ID big-endian first (bits are contiguous) */ 594 |
596 BigEndianId = (UINT32) (InString[0] - 0x40) << 26 | 597 (UINT32) (InString[1] - 0x40) << 21 | 598 (UINT32) (InString[2] - 0x40) << 16 | | 595 BigEndianId = 596 (UINT32) (InString[0] - 0x40) << 26 | 597 (UINT32) (InString[1] - 0x40) << 21 | 598 (UINT32) (InString[2] - 0x40) << 16 | |
599 | 599 |
600 (UtHexCharToValue (InString[3])) << 12 | 601 (UtHexCharToValue (InString[4])) << 8 | 602 (UtHexCharToValue (InString[5])) << 4 | 603 UtHexCharToValue (InString[6]); | 600 (UtHexCharToValue (InString[3])) << 12 | 601 (UtHexCharToValue (InString[4])) << 8 | 602 (UtHexCharToValue (InString[5])) << 4 | 603 UtHexCharToValue (InString[6]); |
604 605 /* Swap to little-endian to get final ID (see function header) */ 606 607 EisaId = AcpiUtDwordByteSwap (BigEndianId); 608 } 609 610 /* 611 * Morph the Op into an integer, regardless of whether there --- 201 unchanged lines hidden --- | 604 605 /* Swap to little-endian to get final ID (see function header) */ 606 607 EisaId = AcpiUtDwordByteSwap (BigEndianId); 608 } 609 610 /* 611 * Morph the Op into an integer, regardless of whether there --- 201 unchanged lines hidden --- |