]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/HiiLib/HiiLib.c
4e464855dc5e73e2208eca386c4e9137de26cd2a
[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 **/
14
15 //
16 // The package level header files this module uses
17 //
18 #include <PiDxe.h>
19 //
20 // The Library classes this module consumes
21 //
22 #include <Library/HiiLib.h>
23 #include <Library/DebugLib.h>
24 #include <Library/MemoryAllocationLib.h>
25
26 /**
27 This function allocates pool for an EFI_HII_PACKAGES structure
28 with enough space for the variable argument list of package pointers.
29 The allocated structure is initialized using NumberOfPackages, Guid,
30 and the variable length argument list of package pointers.
31
32 @param NumberOfPackages The number of HII packages to prepare.
33 @param Guid Package GUID.
34
35 @return The allocated and initialized packages.
36
37 **/
38 EFI_HII_PACKAGE_LIST_HEADER *
39 EFIAPI
40 PreparePackages (
41 IN CONST UINTN NumberOfPackages,
42 IN CONST EFI_GUID *Guid OPTIONAL,
43 ...
44 )
45 {
46 //
47 // BugBug: Need more detail on UEFI spec.
48 //
49 ASSERT (FALSE);
50 return NULL;
51 }