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
commitc82b768d83a4b0a9bc956085b00b7d9766b3a6f9 (patch)
tree24da07e1edc1a604ad9e01f2c0a7e428566fe479
parent9d345e5edc2676244a8f396d3c0c17c251afca89 (diff)
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@12825 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--edk2/MdePkg/Include/Protocol/DriverDiagnostics.h2
-rw-r--r--edk2/MdePkg/Include/Protocol/UnicodeCollation.h5
2 files changed, 4 insertions, 3 deletions
diff --git a/edk2/MdePkg/Include/Protocol/DriverDiagnostics.h b/edk2/MdePkg/Include/Protocol/DriverDiagnostics.h
index 8acb27e52..36a2cc282 100644
--- a/edk2/MdePkg/Include/Protocol/DriverDiagnostics.h
+++ b/edk2/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/edk2/MdePkg/Include/Protocol/UnicodeCollation.h b/edk2/MdePkg/Include/Protocol/UnicodeCollation.h
index f45c9ead0..e9eef6121 100644
--- a/edk2/MdePkg/Include/Protocol/UnicodeCollation.h
+++ b/edk2/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;
};