psargs.c (e5e1f58a87fc8cfe8597a1cf14ee4de2c7c16dd8) | psargs.c (278f0de60d655b6b28d4c92affe3603a49228645) |
---|---|
1/****************************************************************************** 2 * 3 * Module Name: psargs - Parse AML opcode arguments 4 * 5 *****************************************************************************/ 6 7/****************************************************************************** 8 * --- 300 unchanged lines hidden (view full) --- 309 } 310 End++; 311 break; 312 313 case AML_DUAL_NAME_PREFIX: 314 315 /* Two name segments */ 316 | 1/****************************************************************************** 2 * 3 * Module Name: psargs - Parse AML opcode arguments 4 * 5 *****************************************************************************/ 6 7/****************************************************************************** 8 * --- 300 unchanged lines hidden (view full) --- 309 } 310 End++; 311 break; 312 313 case AML_DUAL_NAME_PREFIX: 314 315 /* Two name segments */ 316 |
317 End += 1 + (2 * ACPI_NAME_SIZE); | 317 End += 1 + (2 * ACPI_NAMESEG_SIZE); |
318 break; 319 320 case AML_MULTI_NAME_PREFIX: 321 322 /* Multiple name segments, 4 chars each, count in next byte */ 323 | 318 break; 319 320 case AML_MULTI_NAME_PREFIX: 321 322 /* Multiple name segments, 4 chars each, count in next byte */ 323 |
324 End += 2 + (*(End + 1) * ACPI_NAME_SIZE); | 324 End += 2 + (*(End + 1) * ACPI_NAMESEG_SIZE); |
325 break; 326 327 default: 328 329 /* Single name segment */ 330 | 325 break; 326 327 default: 328 329 /* Single name segment */ 330 |
331 End += ACPI_NAME_SIZE; | 331 End += ACPI_NAMESEG_SIZE; |
332 break; 333 } 334 335 ParserState->Aml = End; 336 return_PTR ((char *) Start); 337} 338 339 --- 363 unchanged lines hidden (view full) --- 703 switch (Opcode) 704 { 705 case AML_INT_NAMEDFIELD_OP: 706 707 /* Get the 4-character name */ 708 709 ACPI_MOVE_32_TO_32 (&Name, ParserState->Aml); 710 AcpiPsSetName (Field, Name); | 332 break; 333 } 334 335 ParserState->Aml = End; 336 return_PTR ((char *) Start); 337} 338 339 --- 363 unchanged lines hidden (view full) --- 703 switch (Opcode) 704 { 705 case AML_INT_NAMEDFIELD_OP: 706 707 /* Get the 4-character name */ 708 709 ACPI_MOVE_32_TO_32 (&Name, ParserState->Aml); 710 AcpiPsSetName (Field, Name); |
711 ParserState->Aml += ACPI_NAME_SIZE; | 711 ParserState->Aml += ACPI_NAMESEG_SIZE; |
712 713 714 ASL_CV_CAPTURE_COMMENTS_ONLY (ParserState); 715 716#ifdef ACPI_ASL_COMPILER 717 /* 718 * Because the package length isn't represented as a parse tree object, 719 * take comments surrounding this and add to the previously created --- 384 unchanged lines hidden --- | 712 713 714 ASL_CV_CAPTURE_COMMENTS_ONLY (ParserState); 715 716#ifdef ACPI_ASL_COMPILER 717 /* 718 * Because the package length isn't represented as a parse tree object, 719 * take comments surrounding this and add to the previously created --- 384 unchanged lines hidden --- |