]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/EfiLdr/PeLoader.h
Add missing module for duet package.
[mirror_edk2.git] / DuetPkg / EfiLdr / PeLoader.h
diff --git a/DuetPkg/EfiLdr/PeLoader.h b/DuetPkg/EfiLdr/PeLoader.h
new file mode 100644 (file)
index 0000000..895c0b7
--- /dev/null
@@ -0,0 +1,42 @@
+/*++\r
+\r
+Copyright (c) 2006, Intel Corporation                                                         \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
+\r
+Module Name:\r
+  PeLoader.h\r
+\r
+Abstract:\r
+\r
+Revision History:\r
+\r
+--*/\r
+\r
+#ifndef _EFILDR_PELOADER_H_\r
+#define _EFILDR_PELOADER_H_\r
+\r
+#include "EfiLdr.h"\r
+\r
+EFI_STATUS\r
+EfiLdrGetPeImageInfo (\r
+  IN VOID                     *FHand,\r
+  OUT UINT64                  *ImageBase,\r
+  OUT UINT32                  *ImageSize\r
+  );\r
+\r
+EFI_STATUS\r
+EfiLdrPeCoffLoadPeImage (\r
+  IN VOID                     *FHand,\r
+  IN EFILDR_LOADED_IMAGE      *Image,\r
+  IN UINTN                    *NumberOfMemoryMapEntries,\r
+  IN EFI_MEMORY_DESCRIPTOR    *EfiMemoryDescriptor\r
+  );\r
+\r
+\r
+#endif\r