]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/HiiLib/HiiLib.c
Removed MdePkg usage of ModuleName: in file headers
[mirror_edk2.git] / MdePkg / Library / HiiLib / HiiLib.c
CommitLineData
dd51a993 1/** @file\r
2 HII Library implementation that uses DXE protocols and services.\r
3\r
4 Copyright (c) 2006, Intel Corporation<BR>\r
bad46384 5 All rights reserved. This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
dd51a993 9\r
bad46384 10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
dd51a993 12\r
dd51a993 13**/\r
14\r
bad46384 15//\r
16// The package level header files this module uses\r
17//\r
18#include <PiDxe.h>\r
19//\r
20// The Library classes this module consumes\r
21//\r
22#include <Library/HiiLib.h>\r
23#include <Library/DebugLib.h>\r
24#include <Library/MemoryAllocationLib.h>\r
25\r
dd51a993 26/**\r
27 This function allocates pool for an EFI_HII_PACKAGES structure\r
28 with enough space for the variable argument list of package pointers.\r
bad46384 29 The allocated structure is initialized using NumberOfPackages, Guid,\r
dd51a993 30 and the variable length argument list of package pointers.\r
31\r
32 @param NumberOfPackages The number of HII packages to prepare.\r
33 @param Guid Package GUID.\r
34\r
35 @return The allocated and initialized packages.\r
36\r
37**/\r
38EFI_HII_PACKAGE_LIST_HEADER *\r
39EFIAPI\r
40PreparePackages (\r
41 IN CONST UINTN NumberOfPackages,\r
42 IN CONST EFI_GUID *Guid OPTIONAL,\r
43 ...\r
44 )\r
45{\r
46 //\r
47 // BugBug: Need more detail on UEFI spec.\r
bad46384 48 //\r
dd51a993 49 ASSERT (FALSE);\r
bad46384 50 return NULL;\r
dd51a993 51}\r