You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** @fileCopyright (c) 2017, Intel Corporation. All rights reserved.<BR>This program and the accompanying materials are licensed and made available underthe terms and conditions of the BSD License that accompanies this distribution.The full text of the license may be found athttp://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.**/#ifndef_BOARD_INIT_LIB_H_#define_BOARD_INIT_LIB_H_#include<PiPei.h>#include<Uefi.h>EFI_STATUSEFIAPIBoardDetect (
VOID
);
EFI_STATUSEFIAPIBoardDebugInit (
VOID
);
EFI_BOOT_MODEEFIAPIBoardBootModeDetect (
VOID
);
EFI_STATUSEFIAPIBoardInitBeforeMemoryInit (
VOID
);
EFI_STATUSEFIAPIBoardInitAfterMemoryInit (
VOID
);
EFI_STATUSEFIAPIBoardInitBeforeTempRamExit (
VOID
);
EFI_STATUSEFIAPIBoardInitAfterTempRamExit (
VOID
);
EFI_STATUSEFIAPIBoardInitBeforeSiliconInit (
VOID
);
EFI_STATUSEFIAPIBoardInitAfterSiliconInit (
VOID
);
EFI_STATUSEFIAPIBoardInitAfterPciEnumeration (
VOID
);
EFI_STATUSEFIAPIBoardInitReadyToBoot (
VOID
);
EFI_STATUSEFIAPIBoardInitEndOfFirmware (
VOID
);
#endif
D.2.2 MultiBoardInitSupportLib
/** @fileCopyright (c) 2017, Intel Corporation. All rights reserved.<BR>This program and the accompanying materials are licensed and made available underthe terms and conditions of the BSD License that accompanies this distribution.The full text of the license may be found athttp://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.**/#ifndef_MULTI_BOARD_INIT_SUPPORT_LIB_H_#define_MULTI_BOARD_INIT_SUPPORT_LIB_H_#include<Library/BoardInitLib.h>typedefEFI_STATUS
(EFIAPI*BOARD_DETECT) (
VOID
);
typedefEFI_STATUS
(EFIAPI*BOARD_INIT) (
VOID
);
typedefEFI_BOOT_MODE
(EFIAPI*BOARD_BOOT_MODE_DETECT) (
VOID
);
typedefstruct {
BOARD_DETECTBoardDetect;
} BOARD_DETECT_FUNC;
typedefstruct {
BOARD_INITBoardDebugInit;
BOARD_BOOT_MODE_DETECTBoardBootModeDetect;
BOARD_INITBoardInitBeforeMemoryInit;
BOARD_INITBoardInitAfterMemoryInit;
BOARD_INITBoardInitBeforeTempRamExit;
BOARD_INITBoardInitAfterTempRamExit;
} BOARD_PRE_MEM_INIT_FUNC;
typedefstruct {
BOARD_INITBoardInitBeforeSiliconInit;
BOARD_INITBoardInitAfterSiliconInit;
} BOARD_POST_MEM_INIT_FUNC;
typedefstruct {
BOARD_INITBoardInitAfterPciEnumeration;
BOARD_INITBoardInitReadyToBoot;
BOARD_INITBoardInitEndOfFirmware;
} BOARD_NOTIFICATION_INIT_FUNC;
EFI_STATUSEFIAPIRegisterBoardDetect (
INBOARD_DETECT_FUNC*BoardDetect
);
EFI_STATUSEFIAPIRegisterBoardPreMemoryInit (
INBOARD_PRE_MEM_INIT_FUNC*BoardPreMemoryInit
);
EFI_STATUSEFIAPIRegisterBoardPostMemoryInit (
INBOARD_POST_MEM_INIT_FUNC*BoardPostMemoryInit
);
EFI_STATUSEFIAPIRegisterBoardNotificationInit (
INBOARD_NOTIFICATION_INIT_FUNC*BoardNotificationInit
);
#endif