1) Fix a bug in UC2_PRIVATE_DATA_FROM_THIS

2) Fix a typo

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5224 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12 2008-05-20 01:40:17 +00:00
parent a9c908f298
commit 29ec49a58a
2 changed files with 3 additions and 3 deletions

View File

@ -163,7 +163,7 @@ typedef struct {
EFI_UNICODE_COLLATION_PROTOCOL *UC;
} UC2_PRIVATE_DATA;
#define UC2_PRIVATE_DATA_FROM_THIS(a) CR (a, UC2_PRIVATE_DATA, UC, UC2_PRIVATE_DATA_SIGNATURE)
#define UC2_PRIVATE_DATA_FROM_THIS(a) CR (a, UC2_PRIVATE_DATA, UC2, UC2_PRIVATE_DATA_SIGNATURE)
//
// Firmware Volume Protocol template
@ -251,7 +251,7 @@ Uc2NotificationEvent (
// Fill in rest of private data structure
//
Private->UC2.SupportedLanguages = AllocateZeroPool (RFC_3066_ENTRY_SIZE);
Status = ConvertIso639LanguageToRfc3066Language (Private->UC->SupportedLanguages ,Private->UC2.SupportedLanguages);
Status = ConvertIso639LanguageToRfc3066Language (Private->UC->SupportedLanguages, Private->UC2.SupportedLanguages);
if (!EFI_ERROR (Status)) {

View File

@ -2,7 +2,7 @@
# Module produce UC2 on top of UC.
#
# UEFI 2.1 specification supersedes Inte's EFI Specification 1.10.
# EFI_UNICODE_COLLATION_PROTOCOL defined in Inte's EFI Specification 1.10 is replaced by
# UNICODE_COLLATION_PROTOCOL defined in Inte's EFI Specification 1.10 is replaced by
# EFI_UNICODE_COLLATION_PROTOCOL in UEFI 2.1.
# This module produces UC2 on top of UC. This module is used on platform when both of
# these two conditions are true: