]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c
apply for doxgen format.
[mirror_edk2.git] / MdeModulePkg / Universal / Console / ConPlatformDxe / ConPlatform.c
index e4f7e18e99cdb2398619065ba7845e4e6bbedee5..af2d2221fe7e97549eae71012aeb87a25912d413 100644 (file)
@@ -1,6 +1,7 @@
-/*++\r
+/** @file\r
+  Console Platfrom DXE Driver, install Console protocols.\r
 \r
-Copyright (c) 2006 - 2007, Intel Corporation\r
+Copyright (c) 2006 - 2007, Intel Corporation. <BR>\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
@@ -9,13 +10,7 @@ http://opensource.org/licenses/bsd-license.php
 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
-    ConPlatform.c\r
-\r
-Abstract:\r
-\r
---*/\r
+**/\r
 \r
 #include <ConPlatform.h>\r
 \r
@@ -60,25 +55,23 @@ InitializeConPlatform(
   //\r
   // Install driver model protocol(s).\r
   //\r
-  Status = EfiLibInstallAllDriverProtocols (\r
+  Status = EfiLibInstallDriverBindingComponentName2 (\r
              ImageHandle,\r
              SystemTable,\r
              &gConPlatformTextInDriverBinding,\r
              ImageHandle,\r
              &gConPlatformComponentName,\r
-             NULL,\r
-             NULL\r
+             &gConPlatformComponentName2\r
              );\r
   ASSERT_EFI_ERROR (Status);\r
 \r
-  Status = EfiLibInstallAllDriverProtocols (\r
+  Status = EfiLibInstallDriverBindingComponentName2 (\r
              ImageHandle,\r
              SystemTable,\r
              &gConPlatformTextOutDriverBinding,\r
              NULL,\r
              &gConPlatformComponentName,\r
-             NULL,\r
-             NULL\r
+             &gConPlatformComponentName2\r
              );\r
   ASSERT_EFI_ERROR (Status);\r
 \r