mirror of https://github.com/acidanthera/audk.git
Update BasePrintLib to handle the unaligned GUID.
Signed-off-by: lgao4 Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11697 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
4ec21e8b50
commit
244bff4e14
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
Print Library internal worker functions.
|
Print Library internal worker functions.
|
||||||
|
|
||||||
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -636,9 +636,9 @@ BasePrintLibSPrintMarker (
|
||||||
MAXIMUM_VALUE_CHARACTERS,
|
MAXIMUM_VALUE_CHARACTERS,
|
||||||
0,
|
0,
|
||||||
"%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
|
"%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
|
||||||
TmpGuid->Data1,
|
ReadUnaligned32 (&(TmpGuid->Data1)),
|
||||||
TmpGuid->Data2,
|
ReadUnaligned16 (&(TmpGuid->Data2)),
|
||||||
TmpGuid->Data3,
|
ReadUnaligned16 (&(TmpGuid->Data3)),
|
||||||
TmpGuid->Data4[0],
|
TmpGuid->Data4[0],
|
||||||
TmpGuid->Data4[1],
|
TmpGuid->Data4[1],
|
||||||
TmpGuid->Data4[2],
|
TmpGuid->Data4[2],
|
||||||
|
|
Loading…
Reference in New Issue