]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/Include/Library/PrePiLib.h
EmbeddedPkg/PrePiLib: Export HobConstructor()
[mirror_edk2.git] / EmbeddedPkg / Include / Library / PrePiLib.h
index 61c7e4d7acb48d851e85e3aff892528f45ca918d..444d7e2885c507100f03bb80503c0cf5f849fbff 100644 (file)
@@ -1,9 +1,9 @@
 /** @file
   Library that helps implement monolithic PEI. (SEC goes to DXE)
 
-  Copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR>
+  Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
 
-  All rights reserved. This program and the accompanying materials
+  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
@@ -16,6 +16,8 @@
 #ifndef __PRE_PI_LIB_H__
 #define __PRE_PI_LIB_H__
 
+#include <Guid/ExtractSection.h>
+
 /**
   This service enables discovery of additional firmware volumes.
 
@@ -265,6 +267,13 @@ SetHobList (
   IN  VOID      *HobList
   );
 
+EFI_HOB_HANDOFF_INFO_TABLE*
+HobConstructor (
+  IN VOID   *EfiMemoryBegin,
+  IN UINTN  EfiMemoryLength,
+  IN VOID   *EfiFreeMemoryBottom,
+  IN VOID   *EfiFreeMemoryTop
+  );
 
 /**
   Retrieves the magic value from the PE/COFF header.
@@ -665,6 +674,21 @@ BuildMemoryAllocationHob (
   );
 
 
+VOID
+EFIAPI
+BuildExtractSectionHob (
+  IN  EFI_GUID                                  *Guid,
+  IN  EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER   SectionGetInfo,
+  IN  EXTRACT_GUIDED_SECTION_DECODE_HANDLER     SectionExtraction
+  );
+
+VOID
+EFIAPI
+BuildPeCoffLoaderHob (
+  VOID
+  );
+
+
 /**
   Allocates one or more 4KB pages of type EfiBootServicesData.