]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Library/EdkDxeDebugLibReportStatusCode/DebugLib.c
A typo in comments that alignment should be 8 for IPF
[mirror_edk2.git] / EdkModulePkg / Library / EdkDxeDebugLibReportStatusCode / DebugLib.c
index fed9ba4d66335f6764523a6030b6fff2155cc796..6bc2c20dd9c17fb3ae9840dca62335d2427ef31a 100644 (file)
@@ -123,7 +123,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
@@ -225,7 +225,7 @@ DebugAssert (
 \r
   If Buffer is NULL, then ASSERT().\r
 \r
-  If Length is greater than (MAX_ADDRESS \96 Buffer + 1), then ASSERT(). \r
+  If Length is greater than (MAX_ADDRESS ? Buffer + 1), then ASSERT(). \r
 \r
   @param   Buffer  Pointer to the target buffer to fill with PcdDebugClearMemoryValue.\r
   @param   Length  Number of bytes in Buffer to fill with zeros PcdDebugClearMemoryValue. \r