summaryrefslogtreecommitdiffstats
path: root/IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/DebugLib.c
diff options
context:
space:
mode:
authorMichael Kubacki <michael.kubacki@microsoft.com>2022-09-06 13:45:01 -0400
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-10-04 16:53:59 +0000
commit629709a51d76fe6ad22a5441fb979a1b8c9d2e16 (patch)
tree1ca51e763931ae3ab7f4e7ac9563d70766cd20bd /IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/DebugLib.c
parent12973359d02d59c0f856b1c1dd6d0ad2f85cdab9 (diff)
downloadedk2-629709a51d76fe6ad22a5441fb979a1b8c9d2e16.tar.gz
edk2-629709a51d76fe6ad22a5441fb979a1b8c9d2e16.tar.bz2
edk2-629709a51d76fe6ad22a5441fb979a1b8c9d2e16.zip
IntelFsp2Pkg: Fix code formatting errors
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4048 This package did not have CI enabled so code changes were merged that fail uncrustify formatting. This change updates those files to include uncustify formatting. Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Star Zeng <star.zeng@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Chasel Chiu <chasel.chiu@intel.com> Reviewed-by: Michael D Kinney <michael.d.kinney>
Diffstat (limited to 'IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/DebugLib.c')
-rw-r--r--IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/DebugLib.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/DebugLib.c b/IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/DebugLib.c
index cb2317bfb2..8e24b946cd 100644
--- a/IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/DebugLib.c
+++ b/IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/DebugLib.c
@@ -193,8 +193,8 @@ DebugBPrint (
**/
VOID
FillHex (
- UINTN Value,
- CHAR8 *Buffer
+ UINTN Value,
+ CHAR8 *Buffer
)
{
INTN Idx;
@@ -227,8 +227,8 @@ DebugAssertInternal (
VOID
)
{
- CHAR8 Buffer[MAX_DEBUG_MESSAGE_LENGTH];
- UINTN *Frame;
+ CHAR8 Buffer[MAX_DEBUG_MESSAGE_LENGTH];
+ UINTN *Frame;
Frame = (UINTN *)GetStackFramePointer ();
@@ -250,6 +250,7 @@ DebugAssertInternal (
sizeof (Buffer) / sizeof (CHAR8) - 1
);
}
+
SerialPortWrite ((UINT8 *)"ASSERT DUMP:\n", 13);
while (Frame != NULL) {
FillHex ((UINTN)Frame, Buffer + 9);