]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Console/ConSplitterDxe/ComponentName.c
Update the copyright notice format
[mirror_edk2.git] / MdeModulePkg / Universal / Console / ConSplitterDxe / ComponentName.c
index e9c3f5dc94918ec8968c21db7005ef1247861aee..4f1b8fac2e1dc2d5fd912390f26460183b9b00e9 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   UEFI Component Name(2) protocol implementation for ConSplitter driver.\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+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
@@ -193,7 +193,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mConSplitterStdErrControl
                                 languages specified in SupportedLanguages. The\r
                                 number of languages supported by a driver is up\r
                                 to the driver writer. Language is specified\r
-                                in RFC 3066 or ISO 639-2 language code format.\r
+                                in RFC 4646 or ISO 639-2 language code format.\r
 \r
   @param  DriverName[out]       A pointer to the Unicode string to return.\r
                                 This Unicode string is the name of the\r
@@ -274,6 +274,9 @@ ConSplitterTestControllerHandles (
     return EFI_UNSUPPORTED;\r
   }\r
 \r
+  //\r
+  // Tests whether a controller handle is being managed by a specific driver.\r
+  //\r
   Status = EfiTestManagedDevice (\r
              ControllerHandle,\r
              DriverBindingHandle,\r
@@ -283,6 +286,9 @@ ConSplitterTestControllerHandles (
     return Status;\r
   }\r
 \r
+  //\r
+  // Tests whether a child handle is a child device of the controller.\r
+  //\r
   Status = EfiTestChildHandle (\r
              ControllerHandle,\r
              ChildHandle,\r
@@ -329,7 +335,7 @@ ConSplitterTestControllerHandles (
                                 languages specified in SupportedLanguages. The\r
                                 number of languages supported by a driver is up\r
                                 to the driver writer. Language is specified in\r
-                                RFC 3066 or ISO 639-2 language code format.\r
+                                RFC 4646 or ISO 639-2 language code format.\r
 \r
   @param  ControllerName[out]   A pointer to the Unicode string to return.\r
                                 This Unicode string is the name of the\r
@@ -375,7 +381,7 @@ ConSplitterConInComponentNameGetControllerName (
   Status = ConSplitterTestControllerHandles (\r
              ControllerHandle,\r
              gConSplitterConInDriverBinding.DriverBindingHandle,\r
-             &gEfiSimpleTextInProtocolGuid,\r
+             &gEfiConsoleInDeviceGuid,\r
              ChildHandle,\r
              &gEfiConsoleInDeviceGuid\r
              );\r
@@ -429,7 +435,7 @@ ConSplitterConInComponentNameGetControllerName (
                                 languages specified in SupportedLanguages. The\r
                                 number of languages supported by a driver is up\r
                                 to the driver writer. Language is specified in\r
-                                RFC 3066 or ISO 639-2 language code format.\r
+                                RFC 4646 or ISO 639-2 language code format.\r
 \r
   @param  ControllerName[out]   A pointer to the Unicode string to return.\r
                                 This Unicode string is the name of the\r
@@ -510,7 +516,7 @@ ConSplitterSimplePointerComponentNameGetControllerName (
                                  retrieve the name of the bus controller.  It will\r
                                  not be NULL for a bus driver that wishes to\r
                                  retrieve the name of a child controller.\r
-  @param  Language               A pointer to RFC3066 language identifier. This is\r
+  @param  Language               A pointer to RFC4646 language identifier. This is\r
                                  the language of the controller name that that the\r
                                  caller is requesting, and it must match one of the\r
                                  languages specified in SupportedLanguages.  The\r
@@ -606,7 +612,7 @@ ConSplitterAbsolutePointerComponentNameGetControllerName (
                                 languages specified in SupportedLanguages. The\r
                                 number of languages supported by a driver is up\r
                                 to the driver writer. Language is specified in\r
-                                RFC 3066 or ISO 639-2 language code format.\r
+                                RFC 4646 or ISO 639-2 language code format.\r
 \r
   @param  ControllerName[out]   A pointer to the Unicode string to return.\r
                                 This Unicode string is the name of the\r
@@ -652,7 +658,7 @@ ConSplitterConOutComponentNameGetControllerName (
   Status = ConSplitterTestControllerHandles (\r
              ControllerHandle,\r
              gConSplitterConOutDriverBinding.DriverBindingHandle,\r
-             &gEfiSimpleTextOutProtocolGuid,\r
+             &gEfiConsoleOutDeviceGuid,\r
              ChildHandle,\r
              &gEfiConsoleOutDeviceGuid\r
              );\r
@@ -706,7 +712,7 @@ ConSplitterConOutComponentNameGetControllerName (
                                 languages specified in SupportedLanguages. The\r
                                 number of languages supported by a driver is up\r
                                 to the driver writer. Language is specified in\r
-                                RFC 3066 or ISO 639-2 language code format.\r
+                                RFC 4646 or ISO 639-2 language code format.\r
 \r
   @param  ControllerName[out]   A pointer to the Unicode string to return.\r
                                 This Unicode string is the name of the\r
@@ -752,7 +758,7 @@ ConSplitterStdErrComponentNameGetControllerName (
   Status = ConSplitterTestControllerHandles (\r
              ControllerHandle,\r
              gConSplitterStdErrDriverBinding.DriverBindingHandle,\r
-             &gEfiSimpleTextOutProtocolGuid,\r
+             &gEfiStandardErrorDeviceGuid,\r
              ChildHandle,\r
              &gEfiStandardErrorDeviceGuid\r
              );\r