From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web11.3537.1662520786499265733 for ; Tue, 06 Sep 2022 20:19:46 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=mrpkyiky; spf=pass (domain: linux.microsoft.com, ip: 13.77.154.182, mailfrom: mikuback@linux.microsoft.com) Received: from localhost.localdomain (unknown [47.195.228.134]) by linux.microsoft.com (Postfix) with ESMTPSA id 9D9E520B929C; Tue, 6 Sep 2022 20:19:45 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 9D9E520B929C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1662520786; bh=aJAk8Q5e+23FlNOAvdIydPNYU2k6f3rJqUAIHsC4VVQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mrpkyikyGDGvhMoAcL9TcrTXZSnoaDY9n1rE12jDjFkWHV2pdQRTayajMN5lOTv5j Zw2zwtKe8dXXNbvo4Ii7nkpOqgW8mAPp5NB1kdamY1YgBZ+XKzI2B4cIQj+lCcs1Ib nsjbYIUwrB6FSrbhJ6GSD4mkYbciZVSyPAsi9VBM= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Chasel Chiu , Nate DeSimone , Star Zeng Subject: [PATCH v1 4/7] IntelFsp2WrapperPkg: Fix code formatting errors Date: Tue, 6 Sep 2022 23:19:11 -0400 Message-Id: <20220907031914.397-5-mikuback@linux.microsoft.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20220907031914.397-1-mikuback@linux.microsoft.com> References: <20220907031914.397-1-mikuback@linux.microsoft.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Kubacki REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D4048 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 Cc: Nate DeSimone Cc: Star Zeng Signed-off-by: Michael Kubacki --- IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/FspWrapperApiLib.c = | 4 ++++ IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/IA32/DispatchExecute.c = | 1 - IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecRamInit= Data.c | 8 ++++---- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/FspWrapperA= piLib.c b/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/FspWrapperApiL= ib.c index 5b5beb5c6557..2e82a0c1b59a 100644 --- a/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/FspWrapperApiLib.c +++ b/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/FspWrapperApiLib.c @@ -115,6 +115,7 @@ CallFspNotifyPhase ( } else { Status =3D Execute64BitCode ((UINTN)NotifyPhaseApi, (UINTN)NotifyPha= seParams, (UINTN)NULL); } + SetInterruptState (InterruptState); =20 return Status; @@ -152,6 +153,7 @@ CallFspMemoryInit ( } else { Status =3D Execute64BitCode ((UINTN)FspMemoryInitApi, (UINTN)FspmUpd= DataPtr, (UINTN)HobListPtr); } + SetInterruptState (InterruptState); =20 return Status; @@ -187,6 +189,7 @@ CallTempRamExit ( } else { Status =3D Execute64BitCode ((UINTN)TempRamExitApi, (UINTN)TempRamEx= itParam, (UINTN)NULL); } + SetInterruptState (InterruptState); =20 return Status; @@ -222,6 +225,7 @@ CallFspSiliconInit ( } else { Status =3D Execute64BitCode ((UINTN)FspSiliconInitApi, (UINTN)FspsUp= dDataPtr, (UINTN)NULL); } + SetInterruptState (InterruptState); =20 return Status; diff --git a/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/IA32/Dispat= chExecute.c b/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/IA32/Dispa= tchExecute.c index a17ca7dcabe8..c8248eb88851 100644 --- a/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/IA32/DispatchExecu= te.c +++ b/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/IA32/DispatchExecu= te.c @@ -69,4 +69,3 @@ Execute64BitCode ( { return EFI_UNSUPPORTED; } - diff --git a/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSampl= e/SecRamInitData.c b/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSec= LibSample/SecRamInitData.c index d2acb2fd46cd..fb0d9a8683a9 100644 --- a/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecRa= mInitData.c +++ b/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecRa= mInitData.c @@ -10,10 +10,10 @@ #include =20 typedef struct { - EFI_PHYSICAL_ADDRESS MicrocodeRegionBase; - UINT64 MicrocodeRegionSize; - EFI_PHYSICAL_ADDRESS CodeRegionBase; - UINT64 CodeRegionSize; + EFI_PHYSICAL_ADDRESS MicrocodeRegionBase; + UINT64 MicrocodeRegionSize; + EFI_PHYSICAL_ADDRESS CodeRegionBase; + UINT64 CodeRegionSize; } FSPT_CORE_UPD; =20 typedef struct { --=20 2.28.0.windows.1