X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=IntelFrameworkModulePkg%2FUniversal%2FBdsDxe%2FBootMaint%2FFileExplorer.c;h=99c1dc19ea8780c2d1d02c19580e3d70d5813104;hp=910edf6b8d977fa1a1f0a020e4e4402eb47aa5a6;hb=0a6f48249a601f88af124ae1ff6814b195b699c3;hpb=e38f26a2f7f62b69fec2d84e83bcc4b45ddefdc1 diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FileExplorer.c b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FileExplorer.c index 910edf6b8d..99c1dc19ea 100644 --- a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FileExplorer.c +++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FileExplorer.c @@ -1,7 +1,7 @@ /** @file File explorer related functions. -Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.
+Copyright (c) 2004 - 2018, 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 @@ -236,7 +236,7 @@ UpdateFileExplorer ( @param[in] This Points to the EFI_HII_CONFIG_ACCESS_PROTOCOL. @param[in] Configuration A null-terminated Unicode string in - format. + format. @param[out] Progress A pointer to a string filled in with the offset of the most recent '&' before the first failing name / value pair (or the @@ -246,7 +246,7 @@ UpdateFileExplorer ( successful. @retval EFI_SUCCESS The results have been distributed or are - awaiting distribution. + awaiting distribution. @retval EFI_OUT_OF_RESOURCES Not enough memory to store the parts of the results that must be stored awaiting possible future @@ -289,8 +289,8 @@ FileExplorerRouteConfig ( } Status = gBS->LocateProtocol ( - &gEfiHiiConfigRoutingProtocolGuid, - NULL, + &gEfiHiiConfigRoutingProtocolGuid, + NULL, (VOID**) &ConfigRouting ); if (EFI_ERROR (Status)) { @@ -393,7 +393,7 @@ FileExplorerCallback ( // return EFI_UNSUPPORTED; } - + Status = EFI_SUCCESS; Private = FE_CALLBACK_DATA_FROM_THIS (This); @@ -407,7 +407,7 @@ FileExplorerCallback ( if ((Value == NULL) || (ActionRequest == NULL)) { return EFI_INVALID_PARAMETER; } - + if (QuestionId == KEY_VALUE_SAVE_AND_EXIT_BOOT) { NvRamMap->BootOptionChanged = FALSE; *ActionRequest = EFI_BROWSER_ACTION_REQUEST_SUBMIT; @@ -451,7 +451,7 @@ FileExplorerCallback ( if (Value == NULL) { return EFI_INVALID_PARAMETER; } - + if (QuestionId >= FILE_OPTION_GOTO_OFFSET) { // // function will always return FALSE, no need to check here.