diff options
Diffstat (limited to 'EDK/Foundation/Framework/Ppi/DxeIpl')
-rw-r--r-- | EDK/Foundation/Framework/Ppi/DxeIpl/DxeIpl.c | 29 | ||||
-rw-r--r-- | EDK/Foundation/Framework/Ppi/DxeIpl/DxeIpl.h | 51 |
2 files changed, 80 insertions, 0 deletions
diff --git a/EDK/Foundation/Framework/Ppi/DxeIpl/DxeIpl.c b/EDK/Foundation/Framework/Ppi/DxeIpl/DxeIpl.c new file mode 100644 index 0000000..4884011 --- /dev/null +++ b/EDK/Foundation/Framework/Ppi/DxeIpl/DxeIpl.c @@ -0,0 +1,29 @@ +/*++ + +Copyright (c) 2004, Intel Corporation +All rights reserved. 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 + +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +Module Name: + + DxeIpl.c + +Abstract: + + DXE Initial Program Load PPI GUID as defined in Tiano + +--*/ + +#include "Tiano.h" +#include "PeiBind.h" +#include "PeiApi.h" +#include EFI_PPI_DEFINITION (DxeIpl) + +EFI_GUID gEfiDxeIplPpiGuid = EFI_DXE_IPL_PPI_GUID; + +EFI_GUID_STRING(&gEfiDxeIplPpiGuid, "DxeIpl", "DXE IPL PPI"); diff --git a/EDK/Foundation/Framework/Ppi/DxeIpl/DxeIpl.h b/EDK/Foundation/Framework/Ppi/DxeIpl/DxeIpl.h new file mode 100644 index 0000000..688ec8a --- /dev/null +++ b/EDK/Foundation/Framework/Ppi/DxeIpl/DxeIpl.h @@ -0,0 +1,51 @@ +/*++ + +Copyright (c) 2004, Intel Corporation +All rights reserved. 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 + +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +Module Name: + + DxeIpl.h + +Abstract: + + DXE Initial Program Load PPI as defined in Tiano + + When the PEI core is done it calls the DXE IPL via this PPI. + +--*/ + +#ifndef _DXE_IPL_H_ +#define _DXE_IPL_H_ + +#include "Tiano.h" +#include "PeiHob.h" + +#define EFI_DXE_IPL_PPI_GUID \ + { \ + 0xae8ce5d, 0xe448, 0x4437, 0xa8, 0xd7, 0xeb, 0xf5, 0xf1, 0x94, 0xf7, 0x31 \ + } + +EFI_FORWARD_DECLARATION (EFI_DXE_IPL_PPI); + +typedef +EFI_STATUS +(EFIAPI *EFI_DXE_IPL_ENTRY) ( + IN EFI_DXE_IPL_PPI * This, + IN EFI_PEI_SERVICES **PeiServices, + IN EFI_PEI_HOB_POINTERS HobList + ); + +typedef struct _EFI_DXE_IPL_PPI { + EFI_DXE_IPL_ENTRY Entry; +} EFI_DXE_IPL_PPI; + +extern EFI_GUID gEfiDxeIplPpiGuid; + +#endif |