Deleted Added
full compact
71c71
< * RETURN: New parse node. Aborts on allocation failure
---
> * RETURN: New parse node. Aborts on allocation failure
73c73
< * DESCRIPTION: Allocate a new parse node for the parse tree. Bypass the local
---
> * DESCRIPTION: Allocate a new parse node for the parse tree. Bypass the local
101c101
< * RETURN: New parse node. Aborts on allocation failure
---
> * RETURN: New parse node. Aborts on allocation failure
136c136
< * DESCRIPTION: "release" a node. In truth, nothing is done since the node
---
> * DESCRIPTION: "release" a node. In truth, nothing is done since the node
159c159
< * DESCRIPTION: Change the parse opcode assigned to a node. Usually used to
---
> * DESCRIPTION: Change the parse opcode assigned to a node. Usually used to
161c161
< * during the code generation. Also used to set generic integers
---
> * during the code generation. Also used to set generic integers
189c189
< Op->Asl.Value.Integer = 0xFF;
---
> Op->Asl.Value.Integer = ACPI_UINT8_MAX;
193c193
< Op->Asl.Value.Integer = 0xFFFF;
---
> Op->Asl.Value.Integer = ACPI_UINT16_MAX;
197c197
< Op->Asl.Value.Integer = 0xFFFFFFFF;
---
> Op->Asl.Value.Integer = ACPI_UINT32_MAX;
199a200,201
> /* Don't need to do the QWORD case */
>
201c203
< /* Don't care about others, don't need to check QWORD */
---
> /* Don't care about others */
216c218,219
< Op = UtCheckIntegerRange (Op, 0x00, ACPI_UINT8_MAX);
---
> UtCheckIntegerRange (Op, 0x00, ACPI_UINT8_MAX);
> Op->Asl.Value.Integer &= ACPI_UINT8_MAX;
220c223,224
< Op = UtCheckIntegerRange (Op, 0x00, ACPI_UINT16_MAX);
---
> UtCheckIntegerRange (Op, 0x00, ACPI_UINT16_MAX);
> Op->Asl.Value.Integer &= ACPI_UINT16_MAX;
224c228,229
< Op = UtCheckIntegerRange (Op, 0x00, ACPI_UINT32_MAX);
---
> UtCheckIntegerRange (Op, 0x00, ACPI_UINT32_MAX);
> Op->Asl.Value.Integer &= ACPI_UINT32_MAX;
318c323
< * DESCRIPTION: Set bits in the node flags word. Will not clear bits, only set
---
> * DESCRIPTION: Set bits in the node flags word. Will not clear bits, only set
337a343,344
> return (Op);
> }
339c346,377
< return Op;
---
>
> /*******************************************************************************
> *
> * FUNCTION: TrSetNodeAmlLength
> *
> * PARAMETERS: Op - An existing parse node
> * Length - AML Length
> *
> * RETURN: The updated parser op
> *
> * DESCRIPTION: Set the AML Length in a node. Used by the parser to indicate
> * the presence of a node that must be reduced to a fixed length
> * constant.
> *
> ******************************************************************************/
>
> ACPI_PARSE_OBJECT *
> TrSetNodeAmlLength (
> ACPI_PARSE_OBJECT *Op,
> UINT32 Length)
> {
>
> DbgPrint (ASL_PARSE_OUTPUT,
> "\nSetNodeAmlLength: Op %p, %8.8X\n", Op, Length);
>
> if (!Op)
> {
> return NULL;
> }
>
> Op->Asl.AmlLength = Length;
> return (Op);
379c417
< * RETURN: Pointer to the new node. Aborts on allocation failure
---
> * RETURN: Pointer to the new node. Aborts on allocation failure
409c447
< * RETURN: Pointer to the new node. Aborts on allocation failure
---
> * RETURN: Pointer to the new node. Aborts on allocation failure
491c529
< * RETURN: Pointer to the new node. Aborts on allocation failure
---
> * RETURN: Pointer to the new node. Aborts on allocation failure
556c594
< * node. NumChildren long.
---
> * node. NumChildren long.
558c596
< * RETURN: Pointer to the new node. Aborts on allocation failure
---
> * RETURN: Pointer to the new node. Aborts on allocation failure
624c662
< * was omitted. We must create a placeholder with a special
---
> * was omitted. We must create a placeholder with a special
678c716
< * node. NumChildren long.
---
> * node. NumChildren long.
748c786
< * was omitted. We must create a placeholder with a special
---
> * was omitted. We must create a placeholder with a special
803c841
< * DESCRIPTION: Link two nodes as peers. Handles cases where one peer is null.
---
> * DESCRIPTION: Link two nodes as peers. Handles cases where one peer is null.