]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c
The EFI_IMAGE_REL_BASED_DIR64 type has been in switch for all common relocation type...
[mirror_edk2.git] / MdePkg / Library / PeiDxeDebugLibReportStatusCode / DebugLib.c
index f2ce95ddff6a3e548947e34050eb9b845c243d8c..53f206332419309a804b581818bdf913438466b2 100644 (file)
@@ -70,7 +70,7 @@ DebugPrint (
   //\r
   VA_START (Marker, Format);\r
   for (Index = 0, ArgumentPointer = (UINT64 *)(DebugInfo + 1); Index < 12; Index++, ArgumentPointer++) {\r
-    *ArgumentPointer = VA_ARG (Marker, UINT64);\r
+    WriteUnaligned64(ArgumentPointer, VA_ARG (Marker, UINT64));\r
   }\r
   VA_END (Marker);\r
   AsciiStrCpy ((CHAR8 *)ArgumentPointer, Format);\r