\r
@param UpdateData The adding data;\r
\r
- @retval EFI_SUCCESS Resource in UpdateData is released.\r
- @retval EFI_INVALID_PARAMETER UpdateData is NULL.\r
-\r
**/\r
-EFI_STATUS\r
+VOID\r
IfrLibFreeUpdateData (\r
IN EFI_HII_UPDATE_DATA *UpdateData\r
)\r
/** @file\r
- HII Library implementation that uses DXE protocols and services.\r
+Library instance for ExtendedHiiLib.\r
+ \r
+This library instance implements the common HII routines which is\r
+related to HII but reference data structures that are not defined in \r
+UEFI specification, for example HII_VENDOR_DEVICE_PATH.\r
+\r
\r
Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
All rights reserved. This program and the accompanying materials\r
\r
\r
#include <Uefi.h>\r
-\r
#include <Protocol/DevicePath.h>\r
-\r
-#include <Library/BaseMemoryLib.h>\r
#include <Library/DebugLib.h>\r
#include <Library/MemoryAllocationLib.h>\r
#include <Library/UefiBootServicesTableLib.h>\r
#/** @file\r
# \r
-# Library instance for HII common routines.\r
+# Library instance for ExtendedHiiLib.\r
# \r
-# This library instance implements the common HII routines.\r
+# This library instance implements the common HII routines which is\r
+# related to HII but reference data structures that are not defined in \r
+# UEFI specification, for example HII_VENDOR_DEVICE_PATH.\r
# \r
# Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
# All rights reserved. This program and the accompanying materials\r
[LibraryClasses]\r
MemoryAllocationLib\r
DebugLib\r
- PcdLib\r
- UefiRuntimeServicesTableLib\r
DevicePathLib\r
\r
[Protocols]\r
#/** @file\r
-# \r
-# Component name for module UefiEfiIfrSupportLib\r
+# Library instance for ExtendedIfrSupportLib.\r
+#\r
+# This library instance implements the API which is\r
+# related to IFR operations but reference data structures \r
+# that are not defined in UEFI specification, for example EFI_IFR_GUID_LABEL.\r
# \r
# Copyright (c) 2007 - 2008, Intel Corporation. <BR>\r
# All rights reserved. This program and the accompanying materials\r
\r
@param UpdateData The adding data;\r
\r
- @retval EFI_SUCCESS Resource in UpdateData is released.\r
- @retval EFI_INVALID_PARAMETER UpdateData is NULL.\r
-\r
**/\r
-EFI_STATUS\r
+VOID\r
IfrLibFreeUpdateData (\r
IN EFI_HII_UPDATE_DATA *UpdateData\r
)\r
{\r
- EFI_STATUS Status;\r
-\r
- if (UpdateData == NULL) {\r
- return EFI_INVALID_PARAMETER;\r
- }\r
-\r
- Status = gBS->FreePool (UpdateData->Data);\r
+ ASSERT (UpdateData != NULL);\r
+ \r
+ FreePool (UpdateData->Data);\r
UpdateData->Data = NULL;\r
\r
- return Status;\r
}\r
\r
/**\r