VOID EFIAPI PlatformBdsBootFail ( IN BDS_COMMON_OPTION *Option, IN EFI_STATUS Status, IN CHAR16 *ExitData, IN UINTN ExitDataSize ) /*++ Routine Description: Hook point after a boot attempt fails. Arguments: Option - Pointer to Boot Option that failed to boot. Status - Status returned from failed boot. ExitData - Exit data returned from failed boot. ExitDataSize - Exit data size returned from failed boot. Returns: None. --*/ { CHAR16 *TmpStr; DEBUG ((EFI_D_INFO, "PlatformBdsBootFail\n")); // // If Boot returned with failed status then we need to pop up a UI and wait // for user input. // TmpStr = Option->StatusString; if (TmpStr != NULL) { BdsLibOutputStrings (gST->ConOut, TmpStr, Option->Description, L"\n\r", NULL); FreePool (TmpStr); } }
/** Hook point after a boot attempt succeeds. We don't expect a boot option to return, so the UEFI 2.0 specification defines that you will default to an interactive mode and stop processing the BootOrder list in this case. This is also a platform implementation and can be customized by IBV/OEM. @param Option Pointer to Boot Option that succeeded to boot. **/ VOID EFIAPI PlatformBdsBootSuccess ( IN BDS_COMMON_OPTION *Option ) { CHAR16 *TmpStr; DEBUG ((EFI_D_INFO, "PlatformBdsBootSuccess\n")); // // If Boot returned with EFI_SUCCESS and there is not in the boot device // select loop then we need to pop up a UI and wait for user input. // TmpStr = Option->StatusString; if (TmpStr != NULL) { BdsLibOutputStrings (gST->ConOut, TmpStr, Option->Description, L"\n\r", NULL); FreePool (TmpStr); } }
/** Hook point after a boot attempt fails. @param Option Pointer to Boot Option that failed to boot. @param Status Status returned from failed boot. @param ExitData Exit data returned from failed boot. @param ExitDataSize Exit data size returned from failed boot. **/ VOID EFIAPI PlatformBdsBootFail ( IN BDS_COMMON_OPTION *Option, IN EFI_STATUS Status, IN CHAR16 *ExitData, IN UINTN ExitDataSize ) { CHAR16 *TmpStr; DEBUG ((EFI_D_INFO, "PlatformBdsBootFail\n")); // // If Boot returned with failed status then we need to pop up a UI and wait // for user input. // TmpStr = Option->StatusString; if (TmpStr != NULL) { BdsLibOutputStrings (gST->ConOut, TmpStr, Option->Description, L"\n\r", NULL); FreePool (TmpStr); } }
VOID EFIAPI PlatformBdsBootSuccess ( IN BDS_COMMON_OPTION *Option ) /*++ Routine Description: Hook point after a boot attempt succeeds. We don't expect a boot option to return, so the EFI 1.0 specification defines that you will default to an interactive mode and stop processing the BootOrder list in this case. This is alos a platform implementation and can be customized by IBV/OEM. Arguments: Option - Pointer to Boot Option that succeeded to boot. Returns: None. --*/ { CHAR16 *TmpStr; DEBUG ((EFI_D_INFO, "PlatformBdsBootSuccess\n")); // // If Boot returned with EFI_SUCCESS and there is not in the boot device // select loop then we need to pop up a UI and wait for user input. // TmpStr = Option->StatusString; if (TmpStr != NULL) { BdsLibOutputStrings (gST->ConOut, TmpStr, Option->Description, L"\n\r", NULL); FreePool (TmpStr); } }