]> 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 8c8bbc27198999a4ca360f482568ea9a83740e92..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
@@ -172,7 +172,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