2 This PEIM will parse the hoblist from fsp and report them into pei core.
3 This file contains the main entrypoint of the PEIM.
5 Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
12 #include <Ppi/MasterBootMode.h>
14 static EFI_PEI_PPI_DESCRIPTOR mPpiList
[] = {
16 EFI_PEI_PPI_DESCRIPTOR_PPI
| EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST
,
17 &gEfiPeiMasterBootModePpiGuid
,
23 This is the entrypoint of PEIM
25 @param FileHandle Handle of the file being invoked.
26 @param PeiServices Describes the list of possible PEI Services.
28 @retval EFI_SUCCESS if it completed successfully.
32 BootModePeiEntryPoint (
33 IN EFI_PEI_FILE_HANDLE FileHandle
,
34 IN CONST EFI_PEI_SERVICES
**PeiServices
37 (*PeiServices
)->SetBootMode(PeiServices
, BOOT_WITH_FULL_CONFIGURATION
);
39 (*PeiServices
)->InstallPpi (PeiServices
, &mPpiList
[0]);