/** @file\r
AML Utility.\r
\r
- Copyright (c) 2019 - 2020, Arm Limited. All rights reserved.<BR>\r
+ Copyright (c) 2019 - 2021, Arm Limited. All rights reserved.<BR>\r
\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
**/\r
@retval EFI_SUCCESS The function completed successfully.\r
@retval EFI_INVALID_PARAMETER Invalid parameter.\r
**/\r
-STATIC\r
EFI_STATUS\r
EFIAPI\r
AmlNodeGetIntegerValue (\r
/** @file\r
AML Utility.\r
\r
- Copyright (c) 2019 - 2020, Arm Limited. All rights reserved.<BR>\r
+ Copyright (c) 2019 - 2021, Arm Limited. All rights reserved.<BR>\r
\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
**/\r
IN OUT UINT32 * Size\r
);\r
\r
+/** Get the value contained in an integer node.\r
+\r
+ @param [in] Node Pointer to an integer node.\r
+ Must be an object node.\r
+ @param [out] Value Value contained in the integer node.\r
+\r
+ @retval EFI_SUCCESS The function completed successfully.\r
+ @retval EFI_INVALID_PARAMETER Invalid parameter.\r
+**/\r
+EFI_STATUS\r
+EFIAPI\r
+AmlNodeGetIntegerValue (\r
+ IN AML_OBJECT_NODE * Node,\r
+ OUT UINT64 * Value\r
+ );\r
+\r
/** Set the value contained in an integer node.\r
\r
The OpCode is updated accordingly to the new value\r