summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2011-12-07 01:35:05 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2011-12-07 01:35:05 +0000
commite69ccf580e5ee83f9eb53f4b7772d4a9bdc78b4c (patch)
treed63ffe5a65d3645f28f1a075502c3494d3133a00
parent22ed9fb70a255321f302325ec5f345ddb58ca1c2 (diff)
downloadedk2-platforms-e69ccf580e5ee83f9eb53f4b7772d4a9bdc78b4c.tar.xz
Update code comments to specify the correct language format for Driver Diagnostics Protocol and Unicode Collation Protocol.
Signed-off-by: lgao4 Reviewed-by: mdkinney Reviewed-by: vanjeff git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12825 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdePkg/Include/Protocol/DriverDiagnostics.h2
-rw-r--r--MdePkg/Include/Protocol/UnicodeCollation.h5
2 files changed, 4 insertions, 3 deletions
diff --git a/MdePkg/Include/Protocol/DriverDiagnostics.h b/MdePkg/Include/Protocol/DriverDiagnostics.h
index 8acb27e52c..36a2cc2826 100644
--- a/MdePkg/Include/Protocol/DriverDiagnostics.h
+++ b/MdePkg/Include/Protocol/DriverDiagnostics.h
@@ -114,7 +114,7 @@ EFI_STATUS
struct _EFI_DRIVER_DIAGNOSTICS_PROTOCOL {
EFI_DRIVER_DIAGNOSTICS_RUN_DIAGNOSTICS RunDiagnostics;
///
- /// A Null-terminated ASCII string that contains one or more RFC 4646
+ /// A Null-terminated ASCII string that contains one or more ISO 639-2
/// language codes. This is the list of language codes that this protocol supports.
///
CHAR8 *SupportedLanguages;
diff --git a/MdePkg/Include/Protocol/UnicodeCollation.h b/MdePkg/Include/Protocol/UnicodeCollation.h
index f45c9ead0e..e9eef61210 100644
--- a/MdePkg/Include/Protocol/UnicodeCollation.h
+++ b/MdePkg/Include/Protocol/UnicodeCollation.h
@@ -179,8 +179,9 @@ struct _EFI_UNICODE_COLLATION_PROTOCOL {
EFI_UNICODE_COLLATION_STRTOFAT StrToFat;
///
- /// A Null-terminated ASCII string array that contains one or more
- /// language codes. This array is specified in RFC 4646 format.
+ /// A Null-terminated ASCII string array that contains one or more language codes.
+ /// When this field is used for UnicodeCollation2, it is specified in RFC 4646 format.
+ /// When it is used for UnicodeCollation, it is specified in ISO 639-2 format.
///
CHAR8 *SupportedLanguages;
};