]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkNt32Pkg/Dxe/PlatformBds/Generic/BootMaint/UpdatePage.c
Fix the inconsistent guid for terminal driver which is used in GeneralBds libary.
[mirror_edk2.git] / EdkNt32Pkg / Dxe / PlatformBds / Generic / BootMaint / UpdatePage.c
index 9c72f23768f680c70d84d10b6712bfa836ae6ce5..435b0753d47c72b51858e5bf52df0e4e038828e8 100644 (file)
@@ -1,30 +1,23 @@
-/*++\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
+/**@file\r
+  Dynamically Update the pages.\r
+  \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
-  UpdatePage.c\r
-    \r
-AgBStract:\r
-\r
-  Dynamically Update the pages\r
-\r
---*/\r
+**/\r
 \r
 #include "Generic/Bds.h"\r
 #include "BootMaint.h"\r
 #include "BdsPlatform.h"\r
 \r
 EFI_GUID gTerminalDriverGuid = {\r
-  0x10634d8e, 0x1c05, 0x46cb, 0xbb, 0xc, 0x5a, 0xfd, 0xc8, 0x29, 0xa8, 0xc8\r
+  0x9E863906, 0xA40F, 0x4875, {0x97, 0x7F, 0x5B, 0x93, 0xFF, 0x23, 0x7F, 0xC6}\r
 };\r
 \r
 VOID\r
@@ -179,7 +172,8 @@ BootThisFile (
   CHAR16            *ExitData;\r
   BDS_COMMON_OPTION *Option;\r
 \r
-  Status                  = gBS->AllocatePool (EfiBootServicesData, sizeof (BDS_COMMON_OPTION), &Option);\r
+  Option                  = AllocatePool (sizeof (BDS_COMMON_OPTION));\r
+\r
   Option->Description     = FileContext->FileName;\r
   Option->DevicePath      = FileContext->DevicePath;\r
   Option->LoadOptionsSize = 0;\r
@@ -218,7 +212,7 @@ UpdateConCOMPage (
   if (!EFI_ERROR (Status)) {\r
     for (Index = 0; Index < TerminalMenu.MenuNumber; Index++) {\r
       NewMenuEntry = BOpt_GetMenuEntry (&TerminalMenu, Index);\r
\r
+\r
       CreateGotoOpCode (\r
         FORM_CON_COM_SETUP_ID,\r
         NewMenuEntry->DisplayStringToken,\r