From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mx.groups.io with SMTP id smtpd.web10.1394.1688055633179943356 for ; Thu, 29 Jun 2023 09:20:33 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@taylorbeebe.com header.s=google header.b=KW1O30Mo; spf=pass (domain: taylorbeebe.com, ip: 209.85.210.174, mailfrom: t@taylorbeebe.com) Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-66c729f5618so868760b3a.1 for ; Thu, 29 Jun 2023 09:20:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=taylorbeebe.com; s=google; t=1688055632; x=1690647632; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=eFTJoVlCialKKQS8paL4R98NiwtxRRkPBn0UCx9XawY=; b=KW1O30Mok9HBqQN2DC6orCybjx/d4Ar6U4DFz6YRdCgknf+9mkIC67mEK2JOcBba9j IzxJ3/tqOeqakiVX0tKaoMpGxUdOV2NQ/aKHLGY89BzkmvO02TKp2FeH6PD43Hp8xQBv LRcj2wu/DOd5oD9tg4ck4x4AVP5C3D4Dghzy2QRMIiIrskyTAko4FS1iILTGl0q2BiHv zTvVzTwIxXq0ShCfxKCuZF7Un3QOAe/xzvRlgC2xkgDJuUeR4Qrj4p8foTqyJ0Pq6+gR vNDL0mnyJh3zsnLkVePYRe13aeqRTp2kbI5AthZmhmlQNvBFS4xw/Sa09DEKuFMqvAQS Hqsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688055632; x=1690647632; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eFTJoVlCialKKQS8paL4R98NiwtxRRkPBn0UCx9XawY=; b=ZWU7KTwiHms5QX3lv3A4sLSgdzyDnSWXeLrLA09VCqHJZyOmxo/tinVW81Zs+DBxLM BvtHEjb0yd/gQpUK5KX2TIes6ucWTLJ0FIMSqV6bA6Z4ipQh4zPmu2uN+ZE80oWst+tN brCvObn9zFVb4QtsmdGcJ7ZpcfV+1kbMwKdWPNh87GMMk9S34I4v3IARo7bIN3t2Bdf4 b/n+JuquouIjTwaaAgWI2/+QzdkfrwuF1LNQ8xJvOIZX4ekWGQ0tQgxYlavBQl/a0byT RZHzqIDVgpcyOB0ZqNHfIUZIomdTmqY+n0tgZcia7wwSTNLXwNOMCI6Iso1NFbdE5bzy kg6A== X-Gm-Message-State: AC+VfDxPJZTtKAo9bGJ4s7XI6zdP+OYlZ9wNnVXk24mrjm1nho7AZDc4 QU7Jwb6CslM5l5GRMHa8xM1a1vyGM28bVDR3Z5lAqQ== X-Google-Smtp-Source: ACHHUZ547zaD7ObhlD2y3D6OaCBNL4NKFdQJQtOK7tep8QfAg1vFH+vQ59Cch7to3UwRRmN9AQcCYA== X-Received: by 2002:a05:6a20:6a0f:b0:12b:6898:2986 with SMTP id p15-20020a056a206a0f00b0012b68982986mr302838pzk.1.1688055632438; Thu, 29 Jun 2023 09:20:32 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([50.46.230.135]) by smtp.gmail.com with ESMTPSA id b5-20020aa78705000000b0064f7c56d8b7sm6993578pfo.219.2023.06.29.09.20.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jun 2023 09:20:31 -0700 (PDT) From: "Taylor Beebe" To: devel@edk2.groups.io Cc: Taylor Beebe , Leif Lindholm , Ard Biesheuvel , Taylor Beebe Subject: [PATCH 1/4] ArmPkg: Apply Uncrustify to Non-Compliant Files Date: Thu, 29 Jun 2023 09:17:55 -0700 Message-ID: <515e0f28b1aaa5599bc976fcf34dc07c26e36368.1687989723.git.t@taylorbeebe.com> X-Mailer: git-send-email 2.41.0.windows.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Taylor Beebe This patch applies Uncrustify to the following files: ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.c ArmPkg/Include/IndustryStandard/ArmStdSmc.h Cc: Leif Lindholm Cc: Ard Biesheuvel Signed-off-by: Taylor Beebe --- ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.c | 6 +++--- ArmPkg/Include/IndustryStandard/ArmStdSmc.h | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.c b/ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.c index 5dbe99fc3134..ccb182668d6a 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 616c650d07c8..f3d78d8e789b 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_ -- 2.41.0.windows.1