From nobody Mon Feb 9 12:10:16 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+83044+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+83044+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1635796812; cv=none; d=zohomail.com; s=zohoarc; b=BgHNc0YYeR0q7DnN48AZs9Qvlc815DpGgzwXktDSTMvWDY6Guu1UU3xP27xXrgvynMZamOqNhD4Ncv3krlzYeJHyBaEWaj5hR/MNdjFxaJ0g6N5sOmKVGe1vonuhWS16I2ynqVoxl3VyG2hr3PmX/Bkz5+7dv8klPkpEs/vjGI4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1635796812; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=olNwD1NhAQMHcWJY81eE6EMEmCDNHV9eB9vpEQs/05s=; b=c2oFRHV1UM+eP91Oi2S5kD2fw0oQ/qZfHhhL157qFf0dH1Y90hRqkdMeW3JPIfuPxGsfxDiopuVXKcoNTjieKgoKr2ah+aqmOI+9UXwOCqNGMICLa4kJi+itvLAcTewtb3t1EWr6kq8TI93W92GW7ryNUi6W3rUm5Rk0n+Es4BU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+83044+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1635796812922404.2695463907039; Mon, 1 Nov 2021 13:00:12 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id HNZxYY1788612x4aMAk6m0xJ; Mon, 01 Nov 2021 13:00:12 -0700 X-Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mx.groups.io with SMTP id smtpd.web12.1628.1635796812059256325 for ; Mon, 01 Nov 2021 13:00:12 -0700 X-Received: by mail-pl1-f176.google.com with SMTP id b13so985479plg.2 for ; Mon, 01 Nov 2021 13:00:12 -0700 (PDT) X-Gm-Message-State: o6hxccKGVthhiboFQEQWLaKLx1787277AA= X-Google-Smtp-Source: ABdhPJyxPBE3YwQCQoM72G0d3jy3HX0gIoBi5q4zP7Fzc2DbJ27K5bl0vl5vktSU1LZb91pjJs8ydw== X-Received: by 2002:a17:902:c643:b0:141:cf6b:6999 with SMTP id s3-20020a170902c64300b00141cf6b6999mr13299512pls.80.1635796811395; Mon, 01 Nov 2021 13:00:11 -0700 (PDT) X-Received: from localhost.localdomain (174-21-94-94.tukw.qwest.net. [174.21.94.94]) by smtp.gmail.com with ESMTPSA id t2sm13759796pgf.35.2021.11.01.13.00.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Nov 2021 13:00:10 -0700 (PDT) From: "Bret Barkelew" X-Google-Original-From: "brbarkel@microsoft.com" To: devel@edk2.groups.io Cc: Leif Lindholm , Ard Biesheuvel , Sean Brogan Subject: [edk2-devel] [PATCH v1 14/16] ArmPkg/Library: Convert StandaloneMmCoreEntryPoint to Arm-only Date: Mon, 1 Nov 2021 12:56:46 -0700 Message-Id: <20211101195648.6420-15-brbarkel@microsoft.com> In-Reply-To: <20211101195648.6420-1-brbarkel@microsoft.com> References: <20211101195648.6420-1-brbarkel@microsoft.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,bret@corthon.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1635796812; bh=eGoFtW6fK/44NB8AUiOvadrR57wai83cwPYjdqLe2R8=; h=Cc:Date:From:Reply-To:Subject:To; b=ale/C22ukmYiRv6/4V67GsppKRojbcFPQBrk+D4gT48Qsznf5eI7sALK9M8TghiKJNA 3EWyKnu+GG9J/XGSpGWxBhP+GemLEVBFdaxkaL6ACaTIbYV8Gtv3hEwHY+/S8IZQQnmkm UNBay2uOXUL3On9jQXpCC6yx+f2ZIr58SIs= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1635796814536100002 Content-Type: text/plain; charset="utf-8" From: Bret Barkelew Drop X64 references. Update GUID. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3652 Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Sean Brogan Signed-off-by: Bret Barkelew --- ArmPkg/Library/StandaloneMmCoreEntryPoint/X64/StandaloneMmCoreEntryPoint.c= | 71 -------------------- ArmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf = | 6 +- 2 files changed, 2 insertions(+), 75 deletions(-) diff --git a/ArmPkg/Library/StandaloneMmCoreEntryPoint/X64/StandaloneMmCore= EntryPoint.c b/ArmPkg/Library/StandaloneMmCoreEntryPoint/X64/StandaloneMmCo= reEntryPoint.c deleted file mode 100644 index dffa965b8425..000000000000 --- a/ArmPkg/Library/StandaloneMmCoreEntryPoint/X64/StandaloneMmCoreEntryPo= int.c +++ /dev/null @@ -1,71 +0,0 @@ -/** @file - Entry point to the Standalone Mm Core. - -Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
-Copyright (c) Microsoft Corporation. -SPDX-License-Identifier: BSD-2-Clause-Patent - -**/ - - -#include - -#include -#include -#include - -// -// Cache copy of HobList pointer. -// -VOID *gHobList =3D NULL; - -/** - The entry point of PE/COFF Image for the STANDALONE MM Core. - - This function is the entry point for the STANDALONE MM Core. This functi= on is required to call - ProcessModuleEntryPointList() and ProcessModuleEntryPointList() is never= expected to return. - The STANDALONE MM Core is responsible for calling ProcessLibraryConstruc= torList() as soon as the EFI - System Table and the image handle for the STANDALONE MM Core itself have= been established. - If ProcessModuleEntryPointList() returns, then ASSERT() and halt the sys= tem. - - @param HobStart Pointer to the beginning of the HOB List passed in fro= m the PEI Phase. - -**/ -VOID -EFIAPI -_ModuleEntryPoint ( - IN VOID *HobStart - ) -{ - // - // Cache a pointer to the HobList - // - gHobList =3D HobStart; - - // - // Call the Standalone MM Core entry point - // - ProcessModuleEntryPointList (HobStart); - - // - // TODO: Set page table here?? AARCH64 has this step for some reason - // -} - - -/** - Required by the EBC compiler and identical in functionality to _ModuleEn= tryPoint(). - - This function is required to call _ModuleEntryPoint() passing in HobStar= t. - - @param HobStart Pointer to the beginning of the HOB List passed in fro= m the PEI Phase. - -**/ -VOID -EFIAPI -EfiMain ( - IN VOID *HobStart - ) -{ - _ModuleEntryPoint (HobStart); -} diff --git a/ArmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntr= yPoint.inf b/ArmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntr= yPoint.inf index a0629cbc1a6f..c6b283653882 100644 --- a/ArmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.= inf +++ b/ArmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.= inf @@ -10,8 +10,8 @@ =20 [Defines] INF_VERSION =3D 0x0001001A - BASE_NAME =3D StandaloneMmCoreEntryPoint - FILE_GUID =3D C97AC593-109A-4C63-905C-675FDE2689E8 + BASE_NAME =3D ArmStandaloneMmCoreEntryPoint + FILE_GUID =3D 0D7C6883-E1A8-4A7A-A35C-E0C200775B43 MODULE_TYPE =3D MM_CORE_STANDALONE VERSION_STRING =3D 1.0 PI_SPECIFICATION_VERSION =3D 0x00010032 @@ -26,8 +26,6 @@ [Sources.AARCH64, Sources.ARM] Arm/SetPermissions.c Arm/CreateHobList.c =20 -[Sources.X64] - X64/StandaloneMmCoreEntryPoint.c =20 [Packages] MdePkg/MdePkg.dec --=20 2.31.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#83044): https://edk2.groups.io/g/devel/message/83044 Mute This Topic: https://groups.io/mt/86750699/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-