mirror of https://github.com/acidanthera/audk.git
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:
parent
a9c908f298
commit
29ec49a58a
|
@ -163,7 +163,7 @@ typedef struct {
|
||||||
EFI_UNICODE_COLLATION_PROTOCOL *UC;
|
EFI_UNICODE_COLLATION_PROTOCOL *UC;
|
||||||
} UC2_PRIVATE_DATA;
|
} 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
|
// Firmware Volume Protocol template
|
||||||
|
@ -251,7 +251,7 @@ Uc2NotificationEvent (
|
||||||
// Fill in rest of private data structure
|
// Fill in rest of private data structure
|
||||||
//
|
//
|
||||||
Private->UC2.SupportedLanguages = AllocateZeroPool (RFC_3066_ENTRY_SIZE);
|
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)) {
|
if (!EFI_ERROR (Status)) {
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Module produce UC2 on top of UC.
|
# Module produce UC2 on top of UC.
|
||||||
#
|
#
|
||||||
# UEFI 2.1 specification supersedes Inte's EFI Specification 1.10.
|
# 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.
|
# 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
|
# This module produces UC2 on top of UC. This module is used on platform when both of
|
||||||
# these two conditions are true:
|
# these two conditions are true:
|
||||||
|
|
Loading…
Reference in New Issue