utcopy.c (193529) | utcopy.c (200553) |
---|---|
1/****************************************************************************** 2 * 3 * Module Name: utcopy - Internal to external object translation utilities 4 * 5 *****************************************************************************/ 6 7/****************************************************************************** 8 * --- 408 unchanged lines hidden (view full) --- 417 * 418 * PARAMETERS: InternalObject - Pointer to the object we are returning 419 * Buffer - Where the object is returned 420 * SpaceUsed - Where the object length is returned 421 * 422 * RETURN: Status 423 * 424 * DESCRIPTION: This function is called to place a package object in a user | 1/****************************************************************************** 2 * 3 * Module Name: utcopy - Internal to external object translation utilities 4 * 5 *****************************************************************************/ 6 7/****************************************************************************** 8 * --- 408 unchanged lines hidden (view full) --- 417 * 418 * PARAMETERS: InternalObject - Pointer to the object we are returning 419 * Buffer - Where the object is returned 420 * SpaceUsed - Where the object length is returned 421 * 422 * RETURN: Status 423 * 424 * DESCRIPTION: This function is called to place a package object in a user |
425 * buffer. A package object by definition contains other objects. | 425 * buffer. A package object by definition contains other objects. |
426 * 427 * The buffer is assumed to have sufficient space for the object. | 426 * 427 * The buffer is assumed to have sufficient space for the object. |
428 * The caller must have verified the buffer length needed using the 429 * AcpiUtGetObjectSize function before calling this function. | 428 * The caller must have verified the buffer length needed using 429 * the AcpiUtGetObjectSize function before calling this function. |
430 * 431 ******************************************************************************/ 432 433static ACPI_STATUS 434AcpiUtCopyIpackageToEpackage ( 435 ACPI_OPERAND_OBJECT *InternalObject, 436 UINT8 *Buffer, 437 ACPI_SIZE *SpaceUsed) --- 42 unchanged lines hidden (view full) --- 480} 481 482 483/******************************************************************************* 484 * 485 * FUNCTION: AcpiUtCopyIobjectToEobject 486 * 487 * PARAMETERS: InternalObject - The internal object to be converted | 430 * 431 ******************************************************************************/ 432 433static ACPI_STATUS 434AcpiUtCopyIpackageToEpackage ( 435 ACPI_OPERAND_OBJECT *InternalObject, 436 UINT8 *Buffer, 437 ACPI_SIZE *SpaceUsed) --- 42 unchanged lines hidden (view full) --- 480} 481 482 483/******************************************************************************* 484 * 485 * FUNCTION: AcpiUtCopyIobjectToEobject 486 * 487 * PARAMETERS: InternalObject - The internal object to be converted |
488 * BufferPtr - Where the object is returned | 488 * RetBuffer - Where the object is returned |
489 * 490 * RETURN: Status 491 * | 489 * 490 * RETURN: Status 491 * |
492 * DESCRIPTION: This function is called to build an API object to be returned to 493 * the caller. | 492 * DESCRIPTION: This function is called to build an API object to be returned 493 * to the caller. |
494 * 495 ******************************************************************************/ 496 497ACPI_STATUS 498AcpiUtCopyIobjectToEobject ( 499 ACPI_OPERAND_OBJECT *InternalObject, 500 ACPI_BUFFER *RetBuffer) 501{ --- 235 unchanged lines hidden (view full) --- 737 738/******************************************************************************* 739 * 740 * FUNCTION: AcpiUtCopyEobjectToIobject 741 * 742 * PARAMETERS: ExternalObject - The external object to be converted 743 * InternalObject - Where the internal object is returned 744 * | 494 * 495 ******************************************************************************/ 496 497ACPI_STATUS 498AcpiUtCopyIobjectToEobject ( 499 ACPI_OPERAND_OBJECT *InternalObject, 500 ACPI_BUFFER *RetBuffer) 501{ --- 235 unchanged lines hidden (view full) --- 737 738/******************************************************************************* 739 * 740 * FUNCTION: AcpiUtCopyEobjectToIobject 741 * 742 * PARAMETERS: ExternalObject - The external object to be converted 743 * InternalObject - Where the internal object is returned 744 * |
745 * RETURN: Status - the status of the call | 745 * RETURN: Status |
746 * 747 * DESCRIPTION: Converts an external object to an internal object. 748 * 749 ******************************************************************************/ 750 751ACPI_STATUS 752AcpiUtCopyEobjectToIobject ( 753 ACPI_OBJECT *ExternalObject, --- 25 unchanged lines hidden (view full) --- 779 * 780 * FUNCTION: AcpiUtCopySimpleObject 781 * 782 * PARAMETERS: SourceDesc - The internal object to be copied 783 * DestDesc - New target object 784 * 785 * RETURN: Status 786 * | 746 * 747 * DESCRIPTION: Converts an external object to an internal object. 748 * 749 ******************************************************************************/ 750 751ACPI_STATUS 752AcpiUtCopyEobjectToIobject ( 753 ACPI_OBJECT *ExternalObject, --- 25 unchanged lines hidden (view full) --- 779 * 780 * FUNCTION: AcpiUtCopySimpleObject 781 * 782 * PARAMETERS: SourceDesc - The internal object to be copied 783 * DestDesc - New target object 784 * 785 * RETURN: Status 786 * |
787 * DESCRIPTION: Simple copy of one internal object to another. Reference count | 787 * DESCRIPTION: Simple copy of one internal object to another. Reference count |
788 * of the destination object is preserved. 789 * 790 ******************************************************************************/ 791 792static ACPI_STATUS 793AcpiUtCopySimpleObject ( 794 ACPI_OPERAND_OBJECT *SourceDesc, 795 ACPI_OPERAND_OBJECT *DestDesc) --- 233 unchanged lines hidden (view full) --- 1029 return (Status); 1030} 1031 1032 1033/******************************************************************************* 1034 * 1035 * FUNCTION: AcpiUtCopyIpackageToIpackage 1036 * | 788 * of the destination object is preserved. 789 * 790 ******************************************************************************/ 791 792static ACPI_STATUS 793AcpiUtCopySimpleObject ( 794 ACPI_OPERAND_OBJECT *SourceDesc, 795 ACPI_OPERAND_OBJECT *DestDesc) --- 233 unchanged lines hidden (view full) --- 1029 return (Status); 1030} 1031 1032 1033/******************************************************************************* 1034 * 1035 * FUNCTION: AcpiUtCopyIpackageToIpackage 1036 * |
1037 * PARAMETERS: *SourceObj - Pointer to the source package object 1038 * *DestObj - Where the internal object is returned | 1037 * PARAMETERS: SourceObj - Pointer to the source package object 1038 * DestObj - Where the internal object is returned 1039 * WalkState - Current Walk state descriptor |
1039 * | 1040 * |
1040 * RETURN: Status - the status of the call | 1041 * RETURN: Status |
1041 * 1042 * DESCRIPTION: This function is called to copy an internal package object 1043 * into another internal package object. 1044 * 1045 ******************************************************************************/ 1046 1047static ACPI_STATUS 1048AcpiUtCopyIpackageToIpackage ( --- 39 unchanged lines hidden (view full) --- 1088 return_ACPI_STATUS (Status); 1089} 1090 1091 1092/******************************************************************************* 1093 * 1094 * FUNCTION: AcpiUtCopyIobjectToIobject 1095 * | 1042 * 1043 * DESCRIPTION: This function is called to copy an internal package object 1044 * into another internal package object. 1045 * 1046 ******************************************************************************/ 1047 1048static ACPI_STATUS 1049AcpiUtCopyIpackageToIpackage ( --- 39 unchanged lines hidden (view full) --- 1089 return_ACPI_STATUS (Status); 1090} 1091 1092 1093/******************************************************************************* 1094 * 1095 * FUNCTION: AcpiUtCopyIobjectToIobject 1096 * |
1096 * PARAMETERS: WalkState - Current walk state 1097 * SourceDesc - The internal object to be copied | 1097 * PARAMETERS: SourceDesc - The internal object to be copied |
1098 * DestDesc - Where the copied object is returned | 1098 * DestDesc - Where the copied object is returned |
1099 * WalkState - Current walk state |
|
1099 * 1100 * RETURN: Status 1101 * 1102 * DESCRIPTION: Copy an internal object to a new internal object 1103 * 1104 ******************************************************************************/ 1105 1106ACPI_STATUS --- 35 unchanged lines hidden --- | 1100 * 1101 * RETURN: Status 1102 * 1103 * DESCRIPTION: Copy an internal object to a new internal object 1104 * 1105 ******************************************************************************/ 1106 1107ACPI_STATUS --- 35 unchanged lines hidden --- |