UefiPayloadPkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the UefiPayloadPkg package Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
053e878bfb
commit
e5efcf8be8
@@ -14,7 +14,7 @@
|
||||
#include <Library/PciSegmentInfoLib.h>
|
||||
#include <Library/DebugLib.h>
|
||||
|
||||
STATIC PCI_SEGMENT_INFO mPciSegment0 = {
|
||||
STATIC PCI_SEGMENT_INFO mPciSegment0 = {
|
||||
0, // Segment number
|
||||
0, // To be fixed later
|
||||
0, // Start bus number
|
||||
@@ -51,9 +51,10 @@ GetPciSegmentInfo (
|
||||
GuidHob = GetFirstGuidHob (&gUefiAcpiBoardInfoGuid);
|
||||
ASSERT (GuidHob != NULL);
|
||||
|
||||
AcpiBoardInfo = (ACPI_BOARD_INFO *) GET_GUID_HOB_DATA (GuidHob);
|
||||
AcpiBoardInfo = (ACPI_BOARD_INFO *)GET_GUID_HOB_DATA (GuidHob);
|
||||
mPciSegment0.BaseAddress = AcpiBoardInfo->PcieBaseAddress;
|
||||
}
|
||||
|
||||
*Count = 1;
|
||||
return &mPciSegment0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user