mirror of https://github.com/acidanthera/audk.git
Print the CodeType and Value of status code with fixed length.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Li, Elvin <elvin.li@intel.com> Reviewed-by: Gao, Liming <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15687 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
324c886410
commit
5d0f0ac480
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
Serial I/O status code reporting worker.
|
Serial I/O status code reporting worker.
|
||||||
|
|
||||||
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -86,7 +86,7 @@ SerialStatusCodeReportWorker (
|
||||||
CharCount = AsciiSPrint (
|
CharCount = AsciiSPrint (
|
||||||
Buffer,
|
Buffer,
|
||||||
sizeof (Buffer),
|
sizeof (Buffer),
|
||||||
"ERROR: C%x:V%x I%x",
|
"ERROR: C%08x:V%08x I%x",
|
||||||
CodeType,
|
CodeType,
|
||||||
Value,
|
Value,
|
||||||
Instance
|
Instance
|
||||||
|
@ -122,7 +122,7 @@ SerialStatusCodeReportWorker (
|
||||||
CharCount = AsciiSPrint (
|
CharCount = AsciiSPrint (
|
||||||
Buffer,
|
Buffer,
|
||||||
sizeof (Buffer),
|
sizeof (Buffer),
|
||||||
"PROGRESS CODE: V%x I%x\n\r",
|
"PROGRESS CODE: V%08x I%x\n\r",
|
||||||
Value,
|
Value,
|
||||||
Instance
|
Instance
|
||||||
);
|
);
|
||||||
|
@ -145,7 +145,7 @@ SerialStatusCodeReportWorker (
|
||||||
CharCount = AsciiSPrint (
|
CharCount = AsciiSPrint (
|
||||||
Buffer,
|
Buffer,
|
||||||
sizeof (Buffer),
|
sizeof (Buffer),
|
||||||
"Undefined: C%x:V%x I%x\n\r",
|
"Undefined: C%08x:V%08x I%x\n\r",
|
||||||
CodeType,
|
CodeType,
|
||||||
Value,
|
Value,
|
||||||
Instance
|
Instance
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
Serial I/O status code reporting worker.
|
Serial I/O status code reporting worker.
|
||||||
|
|
||||||
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -84,7 +84,7 @@ SerialStatusCodeReportWorker (
|
||||||
CharCount = AsciiSPrint (
|
CharCount = AsciiSPrint (
|
||||||
Buffer,
|
Buffer,
|
||||||
sizeof (Buffer),
|
sizeof (Buffer),
|
||||||
"ERROR: C%x:V%x I%x",
|
"ERROR: C%08x:V%08x I%x",
|
||||||
CodeType,
|
CodeType,
|
||||||
Value,
|
Value,
|
||||||
Instance
|
Instance
|
||||||
|
@ -120,7 +120,7 @@ SerialStatusCodeReportWorker (
|
||||||
CharCount = AsciiSPrint (
|
CharCount = AsciiSPrint (
|
||||||
Buffer,
|
Buffer,
|
||||||
sizeof (Buffer),
|
sizeof (Buffer),
|
||||||
"PROGRESS CODE: V%x I%x\n\r",
|
"PROGRESS CODE: V%08x I%x\n\r",
|
||||||
Value,
|
Value,
|
||||||
Instance
|
Instance
|
||||||
);
|
);
|
||||||
|
@ -143,7 +143,7 @@ SerialStatusCodeReportWorker (
|
||||||
CharCount = AsciiSPrint (
|
CharCount = AsciiSPrint (
|
||||||
Buffer,
|
Buffer,
|
||||||
sizeof (Buffer),
|
sizeof (Buffer),
|
||||||
"Undefined: C%x:V%x I%x\n\r",
|
"Undefined: C%08x:V%08x I%x\n\r",
|
||||||
CodeType,
|
CodeType,
|
||||||
Value,
|
Value,
|
||||||
Instance
|
Instance
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
Serial I/O status code reporting worker.
|
Serial I/O status code reporting worker.
|
||||||
|
|
||||||
Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -89,7 +89,7 @@ SerialStatusCodeReportWorker (
|
||||||
CharCount = AsciiSPrint (
|
CharCount = AsciiSPrint (
|
||||||
Buffer,
|
Buffer,
|
||||||
sizeof (Buffer),
|
sizeof (Buffer),
|
||||||
"ERROR: C%x:V%x I%x",
|
"ERROR: C%08x:V%08x I%x",
|
||||||
CodeType,
|
CodeType,
|
||||||
Value,
|
Value,
|
||||||
Instance
|
Instance
|
||||||
|
@ -127,7 +127,7 @@ SerialStatusCodeReportWorker (
|
||||||
CharCount = AsciiSPrint (
|
CharCount = AsciiSPrint (
|
||||||
Buffer,
|
Buffer,
|
||||||
sizeof (Buffer),
|
sizeof (Buffer),
|
||||||
"PROGRESS CODE: V%x I%x\n\r",
|
"PROGRESS CODE: V%08x I%x\n\r",
|
||||||
Value,
|
Value,
|
||||||
Instance
|
Instance
|
||||||
);
|
);
|
||||||
|
@ -150,7 +150,7 @@ SerialStatusCodeReportWorker (
|
||||||
CharCount = AsciiSPrint (
|
CharCount = AsciiSPrint (
|
||||||
Buffer,
|
Buffer,
|
||||||
sizeof (Buffer),
|
sizeof (Buffer),
|
||||||
"Undefined: C%x:V%x I%x\n\r",
|
"Undefined: C%08x:V%08x I%x\n\r",
|
||||||
CodeType,
|
CodeType,
|
||||||
Value,
|
Value,
|
||||||
Instance
|
Instance
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
Serial I/O status code reporting worker.
|
Serial I/O status code reporting worker.
|
||||||
|
|
||||||
Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -85,7 +85,7 @@ SerialStatusCodeReportWorker (
|
||||||
CharCount = AsciiSPrint (
|
CharCount = AsciiSPrint (
|
||||||
Buffer,
|
Buffer,
|
||||||
sizeof (Buffer),
|
sizeof (Buffer),
|
||||||
"ERROR: C%x:V%x I%x",
|
"ERROR: C%08x:V%08x I%x",
|
||||||
CodeType,
|
CodeType,
|
||||||
Value,
|
Value,
|
||||||
Instance
|
Instance
|
||||||
|
@ -122,7 +122,7 @@ SerialStatusCodeReportWorker (
|
||||||
CharCount = AsciiSPrint (
|
CharCount = AsciiSPrint (
|
||||||
Buffer,
|
Buffer,
|
||||||
sizeof (Buffer),
|
sizeof (Buffer),
|
||||||
"PROGRESS CODE: V%x I%x\n\r",
|
"PROGRESS CODE: V%08x I%x\n\r",
|
||||||
Value,
|
Value,
|
||||||
Instance
|
Instance
|
||||||
);
|
);
|
||||||
|
@ -145,7 +145,7 @@ SerialStatusCodeReportWorker (
|
||||||
CharCount = AsciiSPrint (
|
CharCount = AsciiSPrint (
|
||||||
Buffer,
|
Buffer,
|
||||||
sizeof (Buffer),
|
sizeof (Buffer),
|
||||||
"Undefined: C%x:V%x I%x\n\r",
|
"Undefined: C%08x:V%08x I%x\n\r",
|
||||||
CodeType,
|
CodeType,
|
||||||
Value,
|
Value,
|
||||||
Instance
|
Instance
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
Serial I/O status code reporting worker.
|
Serial I/O status code reporting worker.
|
||||||
|
|
||||||
Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -85,7 +85,7 @@ SerialStatusCodeReportWorker (
|
||||||
CharCount = AsciiSPrint (
|
CharCount = AsciiSPrint (
|
||||||
Buffer,
|
Buffer,
|
||||||
sizeof (Buffer),
|
sizeof (Buffer),
|
||||||
"ERROR: C%x:V%x I%x",
|
"ERROR: C%08x:V%08x I%x",
|
||||||
CodeType,
|
CodeType,
|
||||||
Value,
|
Value,
|
||||||
Instance
|
Instance
|
||||||
|
@ -122,7 +122,7 @@ SerialStatusCodeReportWorker (
|
||||||
CharCount = AsciiSPrint (
|
CharCount = AsciiSPrint (
|
||||||
Buffer,
|
Buffer,
|
||||||
sizeof (Buffer),
|
sizeof (Buffer),
|
||||||
"PROGRESS CODE: V%x I%x\n\r",
|
"PROGRESS CODE: V%08x I%x\n\r",
|
||||||
Value,
|
Value,
|
||||||
Instance
|
Instance
|
||||||
);
|
);
|
||||||
|
@ -145,7 +145,7 @@ SerialStatusCodeReportWorker (
|
||||||
CharCount = AsciiSPrint (
|
CharCount = AsciiSPrint (
|
||||||
Buffer,
|
Buffer,
|
||||||
sizeof (Buffer),
|
sizeof (Buffer),
|
||||||
"Undefined: C%x:V%x I%x\n\r",
|
"Undefined: C%08x:V%08x I%x\n\r",
|
||||||
CodeType,
|
CodeType,
|
||||||
Value,
|
Value,
|
||||||
Instance
|
Instance
|
||||||
|
|
Loading…
Reference in New Issue