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