/*++\r
\r
-Copyright (c) 2006, Intel Corporation \r
-All rights reserved. This program and the accompanying materials \r
-are licensed and made available under the terms and conditions of the BSD License \r
-which accompanies this distribution. The full text of the license may be found at \r
-http://opensource.org/licenses/bsd-license.php \r
- \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+Copyright (c) 2006 - 2007, Intel Corporation\r
+All rights reserved. This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution. The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
\r
-Module Name: \r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+Module Name:\r
\r
BootManager.c\r
\r
\r
This is the function that is called to provide results data to the driver. This data\r
consists of a unique key which is used to identify what data is either being passed back\r
- or being asked for. \r
+ or being asked for.\r
\r
Arguments:\r
\r
\r
Data - A pointer to the data being sent to the original exporting driver.\r
\r
-Returns: \r
+Returns:\r
\r
--*/\r
{\r
//\r
PackageList = PreparePackages (2, &BmGuid, BootManagerVfrBin, BdsStrings);\r
Status = Hii->NewPack (Hii, PackageList, &gBootManagerHandle);\r
- gBS->FreePool (PackageList);\r
+ FreePool (PackageList);\r
\r
//\r
// This example does not implement worker functions\r
\r
Hii->UpdateForm (Hii, gBootManagerHandle, (EFI_FORM_LABEL) 0x0002, TRUE, UpdateData);\r
\r
- gBS->FreePool (UpdateData);\r
+ FreePool (UpdateData);\r
\r
ASSERT (gBrowser);\r
\r
BootMngrMenuResetRequired = FALSE;\r
gBrowser->SendForm (\r
- gBrowser, \r
- TRUE, \r
- &gBootManagerHandle, \r
- 1, \r
- NULL, \r
- NULL, \r
- NULL, \r
- NULL, \r
+ gBrowser,\r
+ TRUE,\r
+ &gBootManagerHandle,\r
+ 1,\r
+ NULL,\r
+ NULL,\r
+ NULL,\r
+ NULL,\r
&BootMngrMenuResetRequired\r
);\r
\r
if (gOption == NULL) {\r
return ;\r
}\r
- \r
+\r
//\r
//Will leave browser, check any reset required change is applied? if yes, reset system\r
//\r
SetupResetReminder ();\r
- \r
+\r
//\r
// BugBug: This code looks repeated from the BDS. Need to save code space.\r
//\r