]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OldMdePkg/Include/Ppi/DxeIpl.h
Moved the MdePkg to OldMdePkg so that new code in MdePkg does not break existing...
[mirror_edk2.git] / OldMdePkg / Include / Ppi / DxeIpl.h
diff --git a/OldMdePkg/Include/Ppi/DxeIpl.h b/OldMdePkg/Include/Ppi/DxeIpl.h
new file mode 100644 (file)
index 0000000..3a92135
--- /dev/null
@@ -0,0 +1,68 @@
+/** @file\r
+  This file declares DXE Initial Program Load PPI.\r
+  When the PEI core is done it calls the DXE IPL via this PPI.\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:  DxeIpl.h\r
+\r
+  @par Revision Reference:\r
+  This PPI is defined in PEI CIS.\r
+  Version 0.91.\r
+\r
+**/\r
+\r
+#ifndef __DXE_IPL_H__\r
+#define __DXE_IPL_H__\r
+\r
+#define EFI_DXE_IPL_PPI_GUID \\r
+  { \\r
+    0xae8ce5d, 0xe448, 0x4437, {0xa8, 0xd7, 0xeb, 0xf5, 0xf1, 0x94, 0xf7, 0x31 } \\r
+  }\r
+\r
+typedef struct _EFI_DXE_IPL_PPI EFI_DXE_IPL_PPI;\r
+\r
+/**\r
+  The architectural PPI that the PEI Foundation invokes when \r
+  there are no additional PEIMs to invoke.\r
+\r
+  @param  This           Pointer to the DXE IPL PPI instance\r
+  @param  PeiServices    Pointer to the PEI Services Table.\r
+  @param  HobList        Pointer to the list of Hand-Off Block (HOB) entries.\r
+\r
+  @retval EFI_SUCCESS           Upon this return code, the PEI Foundation should enter\r
+                                some exception handling.Under normal circumstances, the DXE IPL PPI should not return.\r
+\r
+**/\r
+typedef\r
+EFI_STATUS\r
+(EFIAPI *EFI_DXE_IPL_ENTRY) (\r
+  IN EFI_DXE_IPL_PPI              *This,\r
+  IN EFI_PEI_SERVICES             **PeiServices,\r
+  IN EFI_PEI_HOB_POINTERS         HobList\r
+  );\r
+\r
+/**\r
+  @par Ppi Description:\r
+  Final service to be invoked by the PEI Foundation.\r
+  The DXE IPL PPI is responsible for locating and loading the DXE Foundation.\r
+  The DXE IPL PPI may use PEI services to locate and load the DXE Foundation.\r
+\r
+  @param Entry\r
+  The entry point to the DXE IPL PPI.\r
+\r
+**/\r
+struct _EFI_DXE_IPL_PPI {\r
+  EFI_DXE_IPL_ENTRY Entry;\r
+};\r
+\r
+extern EFI_GUID gEfiDxeIplPpiGuid;\r
+\r
+#endif\r