]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Universal/StatusCode/Pei/SerialStatusCodeWorker.c
Print the CodeType and Value of status code with fixed length.
[mirror_edk2.git] / IntelFrameworkModulePkg / Universal / StatusCode / Pei / SerialStatusCodeWorker.c
index 943c4eba04ce3895bfcbc0d9f0b64ef432f6bac0..d62cb8f8c8502e495fc93fe7dd4dcac095bb13fa 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Serial I/O status code reporting worker.\r
 \r
-  Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -86,7 +86,7 @@ SerialStatusCodeReportWorker (
     CharCount = AsciiSPrint (\r
                   Buffer,\r
                   sizeof (Buffer),\r
-                  "ERROR: C%x:V%x I%x",\r
+                  "ERROR: C%08x:V%08x I%x",\r
                   CodeType,\r
                   Value,\r
                   Instance\r
@@ -122,7 +122,7 @@ SerialStatusCodeReportWorker (
     CharCount = AsciiSPrint (\r
                   Buffer,\r
                   sizeof (Buffer),\r
-                  "PROGRESS CODE: V%x I%x\n\r",\r
+                  "PROGRESS CODE: V%08x I%x\n\r",\r
                   Value,\r
                   Instance\r
                   );\r
@@ -145,7 +145,7 @@ SerialStatusCodeReportWorker (
     CharCount = AsciiSPrint (\r
                   Buffer,\r
                   sizeof (Buffer),\r
-                  "Undefined: C%x:V%x I%x\n\r",\r
+                  "Undefined: C%08x:V%08x I%x\n\r",\r
                   CodeType,\r
                   Value,\r
                   Instance\r