summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaylor Beebe <tabeebe@microsoft.com>2023-06-29 09:17:55 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-07-03 14:29:32 +0000
commitcdbdd1246005669d5b4f66dff692c398920c3c2b (patch)
tree83e6212d3a5852312ab32adb27714bf94507faad
parentf2188fe5d1553ad1896e27b2514d2f8d0308da8a (diff)
downloadedk2-cdbdd1246005669d5b4f66dff692c398920c3c2b.tar.gz
edk2-cdbdd1246005669d5b4f66dff692c398920c3c2b.tar.bz2
edk2-cdbdd1246005669d5b4f66dff692c398920c3c2b.zip
ArmPkg: Apply Uncrustify to Non-Compliant Files
This patch applies Uncrustify to the following files: ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.c ArmPkg/Include/IndustryStandard/ArmStdSmc.h Signed-off-by: Taylor Beebe <t@taylorbeebe.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
-rw-r--r--ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.c6
-rw-r--r--ArmPkg/Include/IndustryStandard/ArmStdSmc.h8
2 files changed, 7 insertions, 7 deletions
diff --git a/ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.c b/ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.c
index 5dbe99fc31..ccb182668d 100644
--- a/ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.c
+++ b/ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.c
@@ -159,8 +159,8 @@ MmCommunicationPeim (
}
CopyMem (CommBuffer, CommunicateHeader, BufferSize);
- *CommSize = BufferSize;
- Status = EFI_SUCCESS;
+ *CommSize = BufferSize;
+ Status = EFI_SUCCESS;
break;
case ARM_SMC_MM_RET_INVALID_PARAMS:
@@ -197,7 +197,7 @@ STATIC CONST EFI_PEI_MM_COMMUNICATION_PPI mPeiMmCommunication = {
STATIC CONST EFI_PEI_PPI_DESCRIPTOR mPeiMmCommunicationPpi = {
(EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST),
&gEfiPeiMmCommunicationPpiGuid,
- (VOID*)&mPeiMmCommunication
+ (VOID *)&mPeiMmCommunication
};
/**
diff --git a/ArmPkg/Include/IndustryStandard/ArmStdSmc.h b/ArmPkg/Include/IndustryStandard/ArmStdSmc.h
index 616c650d07..f3d78d8e78 100644
--- a/ArmPkg/Include/IndustryStandard/ArmStdSmc.h
+++ b/ArmPkg/Include/IndustryStandard/ArmStdSmc.h
@@ -248,9 +248,9 @@
* SMC64 SiP Service Calls
*/
-#define SMC_FASTCALL 0x80000000
-#define SMC64_FUNCTION (SMC_FASTCALL | 0x40000000)
-#define SMC_SIP_FUNCTION (SMC64_FUNCTION | 0x02000000)
-#define SMC_SIP_FUNCTION_ID(n) (SMC_SIP_FUNCTION | (n))
+#define SMC_FASTCALL 0x80000000
+#define SMC64_FUNCTION (SMC_FASTCALL | 0x40000000)
+#define SMC_SIP_FUNCTION (SMC64_FUNCTION | 0x02000000)
+#define SMC_SIP_FUNCTION_ID(n) (SMC_SIP_FUNCTION | (n))
#endif // ARM_STD_SMC_H_