]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BasePrintLib/PrintLib.c
Moved attribute PcdIsDriver to PcdData element and out of PcdBuildDeclarations and...
[mirror_edk2.git] / MdePkg / Library / BasePrintLib / PrintLib.c
index 9b8285f71483b96ba9a0550a2fc03bcafe937fd9..bbd08201067689e93609b0aa9ade6b8913ccf14f 100644 (file)
@@ -333,7 +333,7 @@ BasePrintLibVSPrint (
             0, \r
             0,\r
             "%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",\r
-            TmpGuid->Data1,                    \r
+            TmpGuid->Data1,\r
             TmpGuid->Data2,\r
             TmpGuid->Data3,\r
             TmpGuid->Data4[0],\r
@@ -637,3 +637,27 @@ AsciiSPrintUnicodeFormat (
   VA_START (Marker, FormatString);\r
   return AsciiVSPrintUnicodeFormat (StartOfBuffer, BufferSize, FormatString, Marker);\r
 }\r
+\r
+UINTN\r
+EFIAPI\r
+UnicodeValueToString (\r
+  IN OUT CHAR16  *Buffer,\r
+  IN UINTN       Flags,\r
+  IN INT64       Value,\r
+  IN UINTN       Width\r
+  )\r
+{\r
+  return BasePrintLibConvertValueToString ((CHAR8 *)Buffer, Flags, Value, Width, 2);\r
+}\r
+\r
+UINTN\r
+EFIAPI\r
+AsciiValueToString (\r
+  IN OUT CHAR8  *Buffer,\r
+  IN UINTN      Flags,\r
+  IN INT64      Value,\r
+  IN UINTN      Width\r
+  )\r
+{\r
+  return BasePrintLibConvertValueToString ((CHAR8 *)Buffer, Flags, Value, Width, 1);\r
+}\r