]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/UnicodeCollation.h
OvmfPkg: add driver for Virtio-RNG device
[mirror_edk2.git] / MdePkg / Include / Protocol / UnicodeCollation.h
index 759af87d513551c2b7bc048f3470ec92f3763a39..e9eef61210f054d3ae1780ab34c98e02f31289c8 100644 (file)
@@ -3,14 +3,14 @@
   This protocol is used to allow code running in the boot services environment \r
   to perform lexical comparison functions on Unicode strings for given languages.\r
 \r
-  Copyright (c) 2006 - 2008, 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 - 2011, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials are licensed and made available under \r
+the terms and conditions of the BSD License that accompanies this distribution.  \r
+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
 \r
 **/\r
 \r
@@ -55,9 +55,9 @@ typedef EFI_UNICODE_COLLATION_PROTOCOL          UNICODE_COLLATION_INTERFACE;
   @param  Str1 A pointer to a Null-terminated string.\r
   @param  Str2 A pointer to a Null-terminated string.\r
 \r
-  @retval 0   Str1 is equivalent to Str2\r
-  @retval >0  Str1 is lexically greater than Str2\r
-  @retval <0  Str1 is lexically less than Str2\r
+  @retval 0   Str1 is equivalent to Str2.\r
+  @retval >0  Str1 is lexically greater than Str2.\r
+  @retval <0  Str1 is lexically less than Str2.\r
 \r
 **/\r
 typedef\r
@@ -125,7 +125,7 @@ VOID
   @param  This    A pointer to the EFI_UNICODE_COLLATION_PROTOCOL instance.\r
   @param  FatSize The size of the string Fat in bytes.\r
   @param  Fat     A pointer to a Null-terminated string that contains an 8.3 file\r
-                  name using an OEM character set.\r
+                  name using an 8-bit OEM character set.\r
   @param  String  A pointer to a Null-terminated string. The string must\r
                   be allocated in advance to hold FatSize characters.\r
 \r
@@ -179,8 +179,9 @@ struct _EFI_UNICODE_COLLATION_PROTOCOL {
   EFI_UNICODE_COLLATION_STRTOFAT    StrToFat;\r
   \r
   ///\r
-  /// A Null-terminated ASCII string array that contains one or more \r
-  /// language codes. This array is specified in RFC 4646 format.\r
+  /// A Null-terminated ASCII string array that contains one or more language codes.\r
+  /// When this field is used for UnicodeCollation2, it is specified in RFC 4646 format.\r
+  /// When it is used for UnicodeCollation, it is specified in ISO 639-2 format.\r
   ///\r
   CHAR8                             *SupportedLanguages;\r
 };\r