DynamicTablesPkg: Make AmlNodeGetIntegerValue public
Remove the STATIC qualifier for the AmlUtility function AmlNodeGetIntegerValue() and add the definition to the header file so that it can be used by other AmlLib sub-modules. Reviewed-by: Sami Mujawar <sami.mujawar@arm.com> Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
This commit is contained in:
parent
37bd08176c
commit
6d2777d85f
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
AML Utility.
|
AML Utility.
|
||||||
|
|
||||||
Copyright (c) 2019 - 2020, Arm Limited. All rights reserved.<BR>
|
Copyright (c) 2019 - 2021, Arm Limited. All rights reserved.<BR>
|
||||||
|
|
||||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||||
**/
|
**/
|
||||||
|
@ -192,7 +192,6 @@ AmlComputeSize (
|
||||||
@retval EFI_SUCCESS The function completed successfully.
|
@retval EFI_SUCCESS The function completed successfully.
|
||||||
@retval EFI_INVALID_PARAMETER Invalid parameter.
|
@retval EFI_INVALID_PARAMETER Invalid parameter.
|
||||||
**/
|
**/
|
||||||
STATIC
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
AmlNodeGetIntegerValue (
|
AmlNodeGetIntegerValue (
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
AML Utility.
|
AML Utility.
|
||||||
|
|
||||||
Copyright (c) 2019 - 2020, Arm Limited. All rights reserved.<BR>
|
Copyright (c) 2019 - 2021, Arm Limited. All rights reserved.<BR>
|
||||||
|
|
||||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||||
**/
|
**/
|
||||||
|
@ -39,6 +39,22 @@ AmlComputeSize (
|
||||||
IN OUT UINT32 * Size
|
IN OUT UINT32 * Size
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/** Get the value contained in an integer node.
|
||||||
|
|
||||||
|
@param [in] Node Pointer to an integer node.
|
||||||
|
Must be an object node.
|
||||||
|
@param [out] Value Value contained in the integer node.
|
||||||
|
|
||||||
|
@retval EFI_SUCCESS The function completed successfully.
|
||||||
|
@retval EFI_INVALID_PARAMETER Invalid parameter.
|
||||||
|
**/
|
||||||
|
EFI_STATUS
|
||||||
|
EFIAPI
|
||||||
|
AmlNodeGetIntegerValue (
|
||||||
|
IN AML_OBJECT_NODE * Node,
|
||||||
|
OUT UINT64 * Value
|
||||||
|
);
|
||||||
|
|
||||||
/** Set the value contained in an integer node.
|
/** Set the value contained in an integer node.
|
||||||
|
|
||||||
The OpCode is updated accordingly to the new value
|
The OpCode is updated accordingly to the new value
|
||||||
|
|
Loading…
Reference in New Issue