X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkNt32Pkg%2FDxe%2FPlatformBds%2FGeneric%2FBootMngr%2FBootManager.c;fp=EdkNt32Pkg%2FDxe%2FPlatformBds%2FGeneric%2FBootMngr%2FBootManager.c;h=77e079ee72a3db4b07a8969c0db4e034b729fe0d;hp=23b878961716537e29a9dd8ebe2bd77ffc926a10;hb=fa332de7493caee4d3fa22392dc6292cfbb6f224;hpb=db29f969a9eb430eb81fd027614d4933c1d450e1 diff --git a/EdkNt32Pkg/Dxe/PlatformBds/Generic/BootMngr/BootManager.c b/EdkNt32Pkg/Dxe/PlatformBds/Generic/BootMngr/BootManager.c index 23b8789617..77e079ee72 100644 --- a/EdkNt32Pkg/Dxe/PlatformBds/Generic/BootMngr/BootManager.c +++ b/EdkNt32Pkg/Dxe/PlatformBds/Generic/BootMngr/BootManager.c @@ -1,15 +1,15 @@ /*++ -Copyright (c) 2006, 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. +Copyright (c) 2006 - 2007, 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 -Module Name: +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: BootManager.c @@ -47,7 +47,7 @@ Routine Description: This is the function that is called to provide results data to the driver. This data consists of a unique key which is used to identify what data is either being passed back - or being asked for. + or being asked for. Arguments: @@ -57,7 +57,7 @@ Arguments: Data - A pointer to the data being sent to the original exporting driver. -Returns: +Returns: --*/ { @@ -170,7 +170,7 @@ Returns: // PackageList = PreparePackages (2, &BmGuid, BootManagerVfrBin, BdsStrings); Status = Hii->NewPack (Hii, PackageList, &gBootManagerHandle); - gBS->FreePool (PackageList); + FreePool (PackageList); // // This example does not implement worker functions @@ -296,20 +296,20 @@ Returns: Hii->UpdateForm (Hii, gBootManagerHandle, (EFI_FORM_LABEL) 0x0002, TRUE, UpdateData); - gBS->FreePool (UpdateData); + FreePool (UpdateData); ASSERT (gBrowser); BootMngrMenuResetRequired = FALSE; gBrowser->SendForm ( - gBrowser, - TRUE, - &gBootManagerHandle, - 1, - NULL, - NULL, - NULL, - NULL, + gBrowser, + TRUE, + &gBootManagerHandle, + 1, + NULL, + NULL, + NULL, + NULL, &BootMngrMenuResetRequired ); @@ -322,12 +322,12 @@ Returns: if (gOption == NULL) { return ; } - + // //Will leave browser, check any reset required change is applied? if yes, reset system // SetupResetReminder (); - + // // BugBug: This code looks repeated from the BDS. Need to save code space. //