/** @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
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
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
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
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
Status = ConSplitterTestControllerHandles (\r
ControllerHandle,\r
gConSplitterConInDriverBinding.DriverBindingHandle,\r
- &gEfiSimpleTextInProtocolGuid,\r
+ &gEfiConsoleInDeviceGuid,\r
ChildHandle,\r
&gEfiConsoleInDeviceGuid\r
);\r
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
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
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
Status = ConSplitterTestControllerHandles (\r
ControllerHandle,\r
gConSplitterConOutDriverBinding.DriverBindingHandle,\r
- &gEfiSimpleTextOutProtocolGuid,\r
+ &gEfiConsoleOutDeviceGuid,\r
ChildHandle,\r
&gEfiConsoleOutDeviceGuid\r
);\r
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
Status = ConSplitterTestControllerHandles (\r
ControllerHandle,\r
gConSplitterStdErrDriverBinding.DriverBindingHandle,\r
- &gEfiSimpleTextOutProtocolGuid,\r
+ &gEfiStandardErrorDeviceGuid,\r
ChildHandle,\r
&gEfiStandardErrorDeviceGuid\r
);\r