From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) by mx.groups.io with SMTP id smtpd.web08.4024.1636590349866988900 for ; Wed, 10 Nov 2021 16:25:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@corthon-com.20210112.gappssmtp.com header.s=20210112 header.b=ZfTdUJPT; spf=none, err=permanent DNS error (domain: corthon.com, ip: 209.85.215.171, mailfrom: bret@corthon.com) Received: by mail-pg1-f171.google.com with SMTP id r28so3708102pga.0 for ; Wed, 10 Nov 2021 16:25:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corthon-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Nso8gmQkXQ0859o8K2X41DoJ3FivRHUefLg9n58j+u4=; b=ZfTdUJPTvJm7Wb4UhaN9A3QohjZh6dzCda1kEyN0X9jrlo/OeYXOwMwMkhl6P2MaUp 7YQX//UMJmpo36mjMwtosDHyktRx0OAuxJVtCNECWQUsGcG3mVbvpROTMtc69+XP0JUT JyfGyttVkzTwrxDzS75pozJ5sxdb5maooOD3tkloRaYOlXo8hNIViyU1C1e7o+VdvDL+ 5ZIa/vgPG4Ieaa5g0qaDPxYnfnCsRI8KPypXgk4DoBHb5W6CbjaORMrtV/FRGSIGBRrf W1Cbf9Fnit1/BoXmOAaycmycicNA4VqOnkb2cnwAUTzBWXHnEwQu/h+0/tboz24rHMIG Cyhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Nso8gmQkXQ0859o8K2X41DoJ3FivRHUefLg9n58j+u4=; b=S3a+gG74ggb4AnyYmnfhm3s1Dc1duy7wb8N9vTe3l3iYomK+m6zyl1baAESeUkYqpt SuaEMtBFL3NDFNDJ3VCe3XOMaj+VYHVtragVPJjQvsAPsL/pTHsi8K68jXWga3nGIQPJ z6qWwXUHyUlRjIpAShFySIWJITr4yifLua8e2xL2OvV/8vnZiwgy4su7S+r4vt8FMibM lM10SfTk8VOU3iH4tqnXcn1Vq/f++btf2dA9riToCVzecIKLVj7cxUEb723bcUkeJSb1 4hQocbEPRfrco1fm3Vw838QfKQZgKpBIq8laNVDP3ReOcie5PtcVDNbzpY51gNVmMLh7 w7Vg== X-Gm-Message-State: AOAM531YQ2HQi+w+9RQeFWV3dXYqIlCTcut0De0dMgsHT1mNDh7zS7/B sOQhlrRnM0TWw22X2qjK9VadRHJU9Iq42Leu X-Google-Smtp-Source: ABdhPJzH8e/KLysRgpazBz+lybKM/njgI3NSobaeL1QtL0shkJTvZJMhHwvGh/SrCbQwVGdH9shwMA== X-Received: by 2002:a63:545f:: with SMTP id e31mr1991478pgm.8.1636590349212; Wed, 10 Nov 2021 16:25:49 -0800 (PST) Return-Path: Received: from localhost.localdomain (174-21-94-94.tukw.qwest.net. [174.21.94.94]) by smtp.gmail.com with ESMTPSA id e14sm838890pfv.18.2021.11.10.16.25.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Nov 2021 16:25:48 -0800 (PST) From: "Bret Barkelew" X-Google-Original-From: "brbarkel@microsoft.com" To: devel@edk2.groups.io Cc: Leif Lindholm , Ard Biesheuvel , Sami Mujawar , Jiewen Yao , Supreeth Venkatesh , Sean Brogan Subject: [PATCH v3 12/14] ArmPkg: Move the StandaloneMmCpu driver to ArmPkg Date: Wed, 10 Nov 2021 16:24:14 -0800 Message-Id: <20211111002416.1770-13-brbarkel@microsoft.com> X-Mailer: git-send-email 2.31.1.windows.1 In-Reply-To: <20211111002416.1770-1-brbarkel@microsoft.com> References: <20211111002416.1770-1-brbarkel@microsoft.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Bret Barkelew This aligns better with Mu's philosophy around dependency structuring and is one of the steps to enable Basecore to have zero CI dependencies on other Mu repos. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3652 Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Sami Mujawar Cc: Jiewen Yao Cc: Supreeth Venkatesh Cc: Sean Brogan Signed-off-by: Bret Barkelew --- {StandaloneMmPkg =3D> ArmPkg}/Drivers/StandaloneMmCpu/EventHandle.c = | 0 {StandaloneMmPkg =3D> ArmPkg}/Drivers/StandaloneMmCpu/StandaloneMmCpu.c = | 0 ArmPkg/ArmPkg.dsc | = 7 +++++++ {StandaloneMmPkg =3D> ArmPkg}/Drivers/StandaloneMmCpu/StandaloneMmCpu.h = | 0 {StandaloneMmPkg =3D> ArmPkg}/Drivers/StandaloneMmCpu/StandaloneMmCpu.inf = | 0 StandaloneMmPkg/StandaloneMmPkg.dsc | = 1 - 6 files changed, 7 insertions(+), 1 deletion(-) diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/EventHandle.c b/ArmPkg= /Drivers/StandaloneMmCpu/EventHandle.c similarity index 100% rename from StandaloneMmPkg/Drivers/StandaloneMmCpu/EventHandle.c rename to ArmPkg/Drivers/StandaloneMmCpu/EventHandle.c diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.c b/Ar= mPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.c similarity index 100% rename from StandaloneMmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.c rename to ArmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.c diff --git a/ArmPkg/ArmPkg.dsc b/ArmPkg/ArmPkg.dsc index 197519a64718..04462c355922 100644 --- a/ArmPkg/ArmPkg.dsc +++ b/ArmPkg/ArmPkg.dsc @@ -93,6 +93,8 @@ [LibraryClasses.common] =0D OemMiscLib|ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLibNull.inf=0D =0D + ArmSvcLib|ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf=0D +=0D [LibraryClasses.common.PEIM]=0D HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf=0D PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf=0D @@ -106,6 +108,11 @@ [LibraryClasses.ARM, LibraryClasses.AARCH64] # Add support for GCC stack protector=0D NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf=0D =0D +[LibraryClasses.common.MM_STANDALONE]=0D + HobLib|StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf= =0D + MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/Standalon= eMmServicesTableLib.inf=0D + StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint= /StandaloneMmDriverEntryPoint.inf=0D +=0D [Components.common]=0D ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf=0D ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf=0D diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.h b/Ar= mPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.h similarity index 100% rename from StandaloneMmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.h rename to ArmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.h diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.inf b/= ArmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.inf similarity index 100% rename from StandaloneMmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.inf rename to ArmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.inf diff --git a/StandaloneMmPkg/StandaloneMmPkg.dsc b/StandaloneMmPkg/Standalo= neMmPkg.dsc index da3488e0d3fe..a7b42d9c2882 100644 --- a/StandaloneMmPkg/StandaloneMmPkg.dsc +++ b/StandaloneMmPkg/StandaloneMmPkg.dsc @@ -120,7 +120,6 @@ [Components.common] StandaloneMmPkg/Library/VariableMmDependency/VariableMmDependency.inf=0D =0D [Components.AARCH64, Components.ARM]=0D - StandaloneMmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.inf=0D StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeC= offExtraActionLib.inf=0D =0D ##########################################################################= #########################=0D --=20 2.31.1.windows.1