]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/HiiLib/HiiLib.c
Add inf files for PeiSmbusLibSmbus2, PeiDxePostCodeLibReportStatusCode, PeiMemoryLib...
[mirror_edk2.git] / MdePkg / Library / HiiLib / HiiLib.c
index dc5afb7592c706e15c8539ca55899625e029d9e8..f27d5fc0c7111f8b1691333cfa21185acf22bfc8 100644 (file)
@@ -2,22 +2,33 @@
   HII Library implementation that uses DXE protocols and services.\r
 \r
   Copyright (c) 2006, Intel Corporation<BR>\r
-  All rights reserved. This program and the accompanying materials                          \r
-  are licensed and made available under the terms and conditions of the BSD License         \r
-  which accompanies this distribution.  The full text of the license may be found at        \r
-  http://opensource.org/licenses/bsd-license.php                                            \r
+  All rights reserved. This program and the accompanying materials\r
+  are licensed and made available under the terms and conditions of the BSD License\r
+  which accompanies this distribution.  The full text of the license may be found at\r
+  http://opensource.org/licenses/bsd-license.php\r
 \r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   Module Name:  HiiLib.c\r
 \r
 **/\r
 \r
+//\r
+// The package level header files this module uses\r
+//\r
+#include <PiDxe.h>\r
+//\r
+// The Library classes this module consumes\r
+//\r
+#include <Library/HiiLib.h>\r
+#include <Library/DebugLib.h>\r
+#include <Library/MemoryAllocationLib.h>\r
+\r
 /**\r
   This function allocates pool for an EFI_HII_PACKAGES structure\r
   with enough space for the variable argument list of package pointers.\r
-  The allocated structure is initialized using NumberOfPackages, Guid, \r
+  The allocated structure is initialized using NumberOfPackages, Guid,\r
   and the variable length argument list of package pointers.\r
 \r
   @param  NumberOfPackages The number of HII packages to prepare.\r
@@ -36,7 +47,7 @@ PreparePackages (
 {\r
   //\r
   // BugBug: Need more detail on UEFI spec.\r
-  // \r
+  //\r
   ASSERT (FALSE);\r
-  return NULL; \r
+  return NULL;\r
 }\r