summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2006-11-27 03:20:00 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2006-11-27 03:20:00 +0000
commitb672349a8cb15d44bcf4228ec2140857b158263b (patch)
treee03fe29a9e781e7f101efe15db18497ed5e7b67f
parentf5103f2a21871c587d00c92251c44961857ece32 (diff)
downloadedk2-b672349a8cb15d44bcf4228ec2140857b158263b.zip
edk2-b672349a8cb15d44bcf4228ec2140857b158263b.tar.gz
edk2-b672349a8cb15d44bcf4228ec2140857b158263b.tar.bz2
Sync with PeiDxeDebugLibReportStatusCodeLib to fix IPF alignment issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2016 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--EdkModulePkg/Library/EdkDxeDebugLibReportStatusCode/DebugLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/EdkModulePkg/Library/EdkDxeDebugLibReportStatusCode/DebugLib.c b/EdkModulePkg/Library/EdkDxeDebugLibReportStatusCode/DebugLib.c
index 482e12e..6bc2c20 100644
--- a/EdkModulePkg/Library/EdkDxeDebugLibReportStatusCode/DebugLib.c
+++ b/EdkModulePkg/Library/EdkDxeDebugLibReportStatusCode/DebugLib.c
@@ -123,7 +123,7 @@ DebugPrint (
//
VA_START (Marker, Format);
for (Index = 0, ArgumentPointer = (UINT64 *)(DebugInfo + 1); Index < 12; Index++, ArgumentPointer++) {
- *ArgumentPointer = VA_ARG (Marker, UINT64);
+ WriteUnaligned64(ArgumentPointer, VA_ARG (Marker, UINT64));
}
VA_END (Marker);
AsciiStrCpy ((CHAR8 *)ArgumentPointer, Format);