From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 9A2E678003C for ; Fri, 17 Nov 2023 09:40:37 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=u5JJD9ZuIs250lgyD4aRm/Lm4wakB56LLAML82q9j18=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1700214036; v=1; b=jvOyelOaoJGJg7vGtTGuqPBKVIwg+nmQd8mHzxxn+T26WmGe5VoQMcmO2UiqBlTMpYC/I2BP k0of3Jd0kPhnoAqK7VhE9HCBa96g2+7LXBYvaWdRetyfWx86hJXsvdMLoiQwAnKJUAaeqC7MMh6 qTSc8lwCCPbFJdGh2k5ZHgpI= X-Received: by 127.0.0.2 with SMTP id 1UJWYY7687511xUDrVEJhs8v; Fri, 17 Nov 2023 01:40:36 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web11.8460.1700214033363346575 for ; Fri, 17 Nov 2023 01:40:34 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10896"; a="376319679" X-IronPort-AV: E=Sophos;i="6.04,206,1695711600"; d="scan'208";a="376319679" X-Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Nov 2023 01:40:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10896"; a="800447600" X-IronPort-AV: E=Sophos;i="6.04,206,1695711600"; d="scan'208";a="800447600" X-Received: from shwdeopenlab702.ccr.corp.intel.com ([10.239.55.43]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Nov 2023 01:40:23 -0800 From: "duntan" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Sami Mujawar , Ray Ni , Laszlo Ersek , Gerd Hoffmann Subject: [edk2-devel] [Patch V2 3/3] StandaloneMmPkg:Remove MpInformation.h Date: Fri, 17 Nov 2023 17:39:57 +0800 Message-Id: <20231117093957.621-4-dun.tan@intel.com> In-Reply-To: <20231117093957.621-1-dun.tan@intel.com> References: <20231117093957.621-1-dun.tan@intel.com> MIME-Version: 1.0 Precedence: Bulk 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,dun.tan@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: y278ju0pNpWL09dFFcfZQGD2x7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=jvOyelOa; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Remove MpInformation.h in StandaloneMmPkg since it has been moved to UefiCpuPkg Signed-off-by: Dun Tan Cc: Ard Biesheuvel Cc: Sami Mujawar Reviewed-by: Ray Ni Acked-by: Laszlo Ersek Cc: Gerd Hoffmann --- StandaloneMmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.inf | 1 + StandaloneMmPkg/Include/Guid/MpInformation.h | 35 ----------------------------------- StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf | 1 + StandaloneMmPkg/StandaloneMmPkg.dec | 1 - 4 files changed, 2 insertions(+), 36 deletions(-) diff --git a/StandaloneMmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.inf b/StandaloneMmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.inf index 1fcb17d89d..4ed0e395c8 100644 --- a/StandaloneMmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.inf +++ b/StandaloneMmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.inf @@ -27,6 +27,7 @@ MdePkg/MdePkg.dec MdeModulePkg/MdeModulePkg.dec StandaloneMmPkg/StandaloneMmPkg.dec + UefiCpuPkg/UefiCpuPkg.dec [LibraryClasses] ArmLib diff --git a/StandaloneMmPkg/Include/Guid/MpInformation.h b/StandaloneMmPkg/Include/Guid/MpInformation.h deleted file mode 100644 index dbf88d12de..0000000000 --- a/StandaloneMmPkg/Include/Guid/MpInformation.h +++ /dev/null @@ -1,35 +0,0 @@ -/** @file - EFI MP information protocol provides a lightweight MP_SERVICES_PROTOCOL. - - MP information protocol only provides static information of MP processor. - - Copyright (c) 2009, Intel Corporation. All rights reserved.
- Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
- - SPDX-License-Identifier: BSD-2-Clause-Patent - -**/ - -#ifndef _MP_INFORMATION_H_ -#define _MP_INFORMATION_H_ - -#include -#include -#include - -#define MP_INFORMATION_GUID \ - { \ - 0xba33f15d, 0x4000, 0x45c1, {0x8e, 0x88, 0xf9, 0x16, 0x92, 0xd4, 0x57, 0xe3} \ - } - -#pragma pack(1) -typedef struct { - UINT64 NumberOfProcessors; - UINT64 NumberOfEnabledProcessors; - EFI_PROCESSOR_INFORMATION ProcessorInfoBuffer[]; -} MP_INFORMATION_HOB_DATA; -#pragma pack() - -extern EFI_GUID gMpInformationHobGuid; - -#endif diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf index 75cfb98c0e..1fc31360ce 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf +++ b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf @@ -33,6 +33,7 @@ MdePkg/MdePkg.dec MdeModulePkg/MdeModulePkg.dec StandaloneMmPkg/StandaloneMmPkg.dec + UefiCpuPkg/UefiCpuPkg.dec [Packages.ARM, Packages.AARCH64] ArmPkg/ArmPkg.dec diff --git a/StandaloneMmPkg/StandaloneMmPkg.dec b/StandaloneMmPkg/StandaloneMmPkg.dec index 46784d94e4..01f37deebb 100644 --- a/StandaloneMmPkg/StandaloneMmPkg.dec +++ b/StandaloneMmPkg/StandaloneMmPkg.dec @@ -36,7 +36,6 @@ [Guids] gStandaloneMmPkgTokenSpaceGuid = { 0x18fe7632, 0xf5c8, 0x4e63, { 0x8d, 0xe8, 0x17, 0xa5, 0x5c, 0x59, 0x13, 0xbd }} - gMpInformationHobGuid = { 0xba33f15d, 0x4000, 0x45c1, { 0x8e, 0x88, 0xf9, 0x16, 0x92, 0xd4, 0x57, 0xe3 }} gMmFvDispatchGuid = { 0xb65694cc, 0x09e3, 0x4c3b, { 0xb5, 0xcd, 0x05, 0xf4, 0x4d, 0x3c, 0xdb, 0xff }} ## Include/Guid/MmCoreData.h -- 2.31.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#111350): https://edk2.groups.io/g/devel/message/111350 Mute This Topic: https://groups.io/mt/102644632/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-