From 8e5b17b25e91ffa293c1cbcb30e1c6997c6bdecd Mon Sep 17 00:00:00 2001 From: klu2 Date: Mon, 22 Oct 2007 09:36:00 +0000 Subject: Update following library class/Protocol for puting 'Framework' as prefix FrameworkHii FrameworkFormBrowser FrameworkFormCallback FrameworkIfrSupportLib git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4196 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkPkg/Library/HiiLibFramework/HiiLib.c | 70 ---------------------- .../Library/HiiLibFramework/HiiLib.inf | 44 -------------- .../Library/HiiLibFramework/HiiLib.msa | 45 -------------- 3 files changed, 159 deletions(-) delete mode 100644 IntelFrameworkPkg/Library/HiiLibFramework/HiiLib.c delete mode 100644 IntelFrameworkPkg/Library/HiiLibFramework/HiiLib.inf delete mode 100644 IntelFrameworkPkg/Library/HiiLibFramework/HiiLib.msa (limited to 'IntelFrameworkPkg/Library/HiiLibFramework') diff --git a/IntelFrameworkPkg/Library/HiiLibFramework/HiiLib.c b/IntelFrameworkPkg/Library/HiiLibFramework/HiiLib.c deleted file mode 100644 index 354215af0f..0000000000 --- a/IntelFrameworkPkg/Library/HiiLibFramework/HiiLib.c +++ /dev/null @@ -1,70 +0,0 @@ -/** @file - HII Library implementation that uses DXE protocols and services. - - Copyright (c) 2006, Intel Corporation
- All rights reserved. This program and the accompanying materials - are licensed and made available under the terms and conditions of the BSD License - which accompanies this distribution. The full text of the license may be found at - http://opensource.org/licenses/bsd-license.php - - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. - - Module Name: HiiLib.c - -**/ - - -#include - - -#include -#include -#include - -/** - This function allocates pool for an EFI_HII_PACKAGES structure - with enough space for the variable argument list of package pointers. - The allocated structure is initialized using NumberOfPackages, Guid, - and the variable length argument list of package pointers. - - @param NumberOfPackages The number of HII packages to prepare. - @param Guid Package GUID. - - @return The allocated and initialized packages. - -**/ -EFI_HII_PACKAGES * -EFIAPI -PreparePackages ( - IN UINTN NumberOfPackages, - IN CONST EFI_GUID *Guid OPTIONAL, - ... - ) -{ - VA_LIST Args; - EFI_HII_PACKAGES *HiiPackages; - VOID **Package; - UINTN Index; - - ASSERT (NumberOfPackages > 0); - - HiiPackages = AllocateZeroPool (sizeof (EFI_HII_PACKAGES) + NumberOfPackages * sizeof (VOID *)); - ASSERT (HiiPackages != NULL); - - HiiPackages->GuidId = (EFI_GUID *) Guid; - HiiPackages->NumberOfPackages = NumberOfPackages; - Package = (VOID **) (((UINT8 *) HiiPackages) + sizeof (EFI_HII_PACKAGES)); - - VA_START (Args, Guid); - - for (Index = 0; Index < NumberOfPackages; Index++) { - *Package = VA_ARG (Args, VOID *); - Package++; - } - - VA_END (Args); - - return HiiPackages; - -} diff --git a/IntelFrameworkPkg/Library/HiiLibFramework/HiiLib.inf b/IntelFrameworkPkg/Library/HiiLibFramework/HiiLib.inf deleted file mode 100644 index 6a96b50859..0000000000 --- a/IntelFrameworkPkg/Library/HiiLibFramework/HiiLib.inf +++ /dev/null @@ -1,44 +0,0 @@ -#/** @file -# Library instance for HII common routines. -# -# This library instance implements the common HII routines. -# Copyright (c) 2006, Intel Corporation -# -# All rights reserved. This program and the accompanying materials -# are licensed and made available under the terms and conditions of the BSD License -# which accompanies this distribution. The full text of the license may be found at -# http://opensource.org/licenses/bsd-license.php -# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -# -# -#**/ - -[Defines] - INF_VERSION = 0x00010005 - BASE_NAME = HiiLibFramework - FILE_GUID = 1e2c4c2e-67e6-4e57-b3ae-cf5a5af72c2c - MODULE_TYPE = DXE_DRIVER - VERSION_STRING = 1.0 - LIBRARY_CLASS = HiiLibFramework|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER - EDK_RELEASE_VERSION = 0x00020000 - EFI_SPECIFICATION_VERSION = 0x00020000 - - -# -# The following information is for reference only and not required by the build tools. -# -# VALID_ARCHITECTURES = IA32 X64 IPF EBC -# - -[Sources.common] - HiiLib.c - -[Packages] - MdePkg/MdePkg.dec - IntelFrameworkPkg/IntelFrameworkPkg.dec - -[LibraryClasses] - MemoryAllocationLib - DebugLib - diff --git a/IntelFrameworkPkg/Library/HiiLibFramework/HiiLib.msa b/IntelFrameworkPkg/Library/HiiLibFramework/HiiLib.msa deleted file mode 100644 index 67e1f0d7f1..0000000000 --- a/IntelFrameworkPkg/Library/HiiLibFramework/HiiLib.msa +++ /dev/null @@ -1,45 +0,0 @@ - - - - HiiLibFramework - DXE_DRIVER - 1e2c4c2e-67e6-4e57-b3ae-cf5a5af72c2c - 1.0 - Library instance for HII common routines. - This library instance implements the common HII routines. - Copyright (c) 2006, Intel Corporation - All rights reserved. This program and the accompanying materials - are licensed and made available under the terms and conditions of the BSD License - which accompanies this distribution. The full text of the license may be found at - http://opensource.org/licenses/bsd-license.php - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052 - - - IA32 X64 IPF EBC - false - HiiLibFramework - - - - HiiLib - - - DebugLib - - - MemoryAllocationLib - - - - HiiLib.c - - - - - - EFI_SPECIFICATION_VERSION 0x00020000 - EDK_RELEASE_VERSION 0x00020000 - - \ No newline at end of file -- cgit v1.2.3