mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
12973359d0
commit
629709a51d
|
@ -184,10 +184,10 @@ EFI_STATUS
|
||||||
/// to store data in the PEI environment.
|
/// to store data in the PEI environment.
|
||||||
///
|
///
|
||||||
struct _EDKII_PEI_VARIABLE_PPI {
|
struct _EDKII_PEI_VARIABLE_PPI {
|
||||||
EDKII_PEI_GET_VARIABLE GetVariable;
|
EDKII_PEI_GET_VARIABLE GetVariable;
|
||||||
EDKII_PEI_GET_NEXT_VARIABLE_NAME GetNextVariableName;
|
EDKII_PEI_GET_NEXT_VARIABLE_NAME GetNextVariableName;
|
||||||
EDKII_PEI_SET_VARIABLE SetVariable;
|
EDKII_PEI_SET_VARIABLE SetVariable;
|
||||||
EDKII_PEI_QUERY_VARIABLE_INFO QueryVariableInfo;
|
EDKII_PEI_QUERY_VARIABLE_INFO QueryVariableInfo;
|
||||||
};
|
};
|
||||||
|
|
||||||
extern EFI_GUID gEdkiiPeiVariablePpiGuid;
|
extern EFI_GUID gEdkiiPeiVariablePpiGuid;
|
||||||
|
|
|
@ -193,8 +193,8 @@ DebugBPrint (
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
FillHex (
|
FillHex (
|
||||||
UINTN Value,
|
UINTN Value,
|
||||||
CHAR8 *Buffer
|
CHAR8 *Buffer
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
INTN Idx;
|
INTN Idx;
|
||||||
|
@ -227,8 +227,8 @@ DebugAssertInternal (
|
||||||
VOID
|
VOID
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
CHAR8 Buffer[MAX_DEBUG_MESSAGE_LENGTH];
|
CHAR8 Buffer[MAX_DEBUG_MESSAGE_LENGTH];
|
||||||
UINTN *Frame;
|
UINTN *Frame;
|
||||||
|
|
||||||
Frame = (UINTN *)GetStackFramePointer ();
|
Frame = (UINTN *)GetStackFramePointer ();
|
||||||
|
|
||||||
|
@ -250,6 +250,7 @@ DebugAssertInternal (
|
||||||
sizeof (Buffer) / sizeof (CHAR8) - 1
|
sizeof (Buffer) / sizeof (CHAR8) - 1
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
SerialPortWrite ((UINT8 *)"ASSERT DUMP:\n", 13);
|
SerialPortWrite ((UINT8 *)"ASSERT DUMP:\n", 13);
|
||||||
while (Frame != NULL) {
|
while (Frame != NULL) {
|
||||||
FillHex ((UINTN)Frame, Buffer + 9);
|
FillHex ((UINTN)Frame, Buffer + 9);
|
||||||
|
|
|
@ -31,6 +31,6 @@ SwapStack (
|
||||||
|
|
||||||
FspData = GetFspGlobalDataPointer ();
|
FspData = GetFspGlobalDataPointer ();
|
||||||
OldStack = FspData->CoreStack;
|
OldStack = FspData->CoreStack;
|
||||||
FspData->CoreStack = (UINTN) NewStack;
|
FspData->CoreStack = (UINTN)NewStack;
|
||||||
return OldStack;
|
return OldStack;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue