From nobody Mon Feb 9 00:56:12 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+89538+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+89538+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1651761825; cv=none; d=zohomail.com; s=zohoarc; b=jLY4bX5zKavlVBz3vMVBFBLA/31gCiflwm8WhkJ0ZMuSE8Yu3Ck5uYgrc8YbPrnv4MJPPckjr+kW2wFJE39Zl/DOOxGA606DVPtXwRtFAViiJxJzGeGkHD6r9ntFZzzTFgy5Gmh/M74NsK3Azst4H9SetYP9qfMYMwCOW0Ii9/Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1651761825; 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=0qOFrQCHeGbIXBgQuH/B7IaYLkrn2GNoGeiw+nd2slo=; b=lBBprQxrexNgeuXWitpt6Ov3ls/v5tEtBxZrI1GgJIuo3gR9DvmhMxtaE/AkJ3YJkyTvhN4Sf2SXHrAw25dqaoTvtr6jZtSvRRdkaRbs0ToX+5mbXNjSScRU7aLRB3MvaB7ho/ygBHhhZxfBkBk2nQW6aehqB8zrSYAcTZ/ZiWw= 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+89538+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1651761825418461.5483100924213; Thu, 5 May 2022 07:43:45 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id oyuHYY1788612xJJQ4aIVZtP; Thu, 05 May 2022 07:43:45 -0700 X-Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web12.12068.1651761816591790482 for ; Thu, 05 May 2022 07:43:44 -0700 X-IronPort-AV: E=McAfee;i="6400,9594,10338"; a="255604356" X-IronPort-AV: E=Sophos;i="5.91,201,1647327600"; d="scan'208";a="255604356" X-Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2022 07:43:41 -0700 X-IronPort-AV: E=Sophos;i="5.91,201,1647327600"; d="scan'208";a="563268842" X-Received: from mxu9-mobl1.ccr.corp.intel.com ([10.249.175.139]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2022 07:43:39 -0700 From: "Min Xu" To: devel@edk2.groups.io Cc: Min Xu , Eric Dong , Ray Ni , Brijesh Singh , Erdem Aktas , James Bottomley , Jiewen Yao , Tom Lendacky , Gerd Hoffmann Subject: [edk2-devel] [PATCH 2/6] OvmfPkg: Add MpInitLibDepLib related PPI/Protocol definitions Date: Thu, 5 May 2022 22:43:15 +0800 Message-Id: In-Reply-To: References: 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,min.m.xu@intel.com X-Gm-Message-State: v0IGy4dxkw6jej7fFRb8EdPFx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1651761825; bh=meV0Tq+5bF4WhIfy/fdDt7qI80IOjLlep3ThxVv5snY=; h=Cc:Date:From:Reply-To:Subject:To; b=TmSEnA3C2IUkOOkxiMeqOQcB7dKWgad2gMJwoG8eQIxoHF6SLWYVT09W51z2SzwiZpd 9JOMI6A2rzz2XlkbazrpxyAlEd3yhsSi8eyxm/jaB/NFUHwmifWDj3M/XVQo2BSzCFm5+ r57rkHwR8qFDrQZeGoqbHevShz6OgNN2ZgA= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1651761827204100001 Content-Type: text/plain; charset="utf-8" BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3918 MpInitLibDepLib is a set of libraries which depend on PPI/Protocol. This patch defines the related PPI/Protocols in OvmfPkg. Cc: Eric Dong Cc: Ray Ni Cc: Brijesh Singh Cc: Erdem Aktas Cc: James Bottomley Cc: Jiewen Yao Cc: Tom Lendacky Cc: Gerd Hoffmann Signed-off-by: Min Xu --- OvmfPkg/Include/Ppi/MpInitLibDep.h | 28 +++++++++++++++++++ .../Include/Protocol/MpInitLibDepProtocols.h | 28 +++++++++++++++++++ OvmfPkg/OvmfPkg.dec | 5 ++++ 3 files changed, 61 insertions(+) create mode 100644 OvmfPkg/Include/Ppi/MpInitLibDep.h create mode 100644 OvmfPkg/Include/Protocol/MpInitLibDepProtocols.h diff --git a/OvmfPkg/Include/Ppi/MpInitLibDep.h b/OvmfPkg/Include/Ppi/MpIni= tLibDep.h new file mode 100644 index 000000000000..232ff52e19fe --- /dev/null +++ b/OvmfPkg/Include/Ppi/MpInitLibDep.h @@ -0,0 +1,28 @@ +/** @file + MpInitLibDepLib PPI definitions + + Copyright (c) 2022, Intel Corporation. All rights reserved.
+ SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#ifndef MPINITLIB_DEP_H_ +#define MPINITLIB_DEP_H_ + +// {138F9CF4-F0E7-4721-8F49-F5FFECF42D40} +#define EFI_PEI_MPINITLIB_MP_DEP_PPI_GUID \ +{ \ + 0x138f9cf4, 0xf0e7, 0x4721, { 0x8f, 0x49, 0xf5, 0xff, 0xec, 0xf4, 0x2d, = 0x40 } \ +}; + +extern EFI_GUID gEfiPeiMpInitLibMpDepPpiGuid; + +// {0B590774-BC67-49F4-A7DB-E82E89E6B5D6} +#define EFI_PEI_MPINITLIB_UP_DEP_PPI_GUID \ +{ \ + 0xb590774, 0xbc67, 0x49f4, { 0xa7, 0xdb, 0xe8, 0x2e, 0x89, 0xe6, 0xb5, 0= xd6 } \ +}; + +extern EFI_GUID gEfiPeiMpInitLibUpDepPpiGuid; + +#endif diff --git a/OvmfPkg/Include/Protocol/MpInitLibDepProtocols.h b/OvmfPkg/Inc= lude/Protocol/MpInitLibDepProtocols.h new file mode 100644 index 000000000000..449c8fedb3c6 --- /dev/null +++ b/OvmfPkg/Include/Protocol/MpInitLibDepProtocols.h @@ -0,0 +1,28 @@ +/** @file + MpInitLibDep Protocol Guid definitions + + Copyright (c) 2022, Intel Corporation. All rights reserved.
+ SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#ifndef MPINITLIB_DEP_PROTOCOLS_H_ +#define MPINITLIB_DEP_PROTOCOLS_H_ + +// {BB00A5CA-08CE-462F-A537-43C74A825CA4} +#define EFI_MPINITLIB_MP_DEP_PROTOCOL_GUID \ +{ \ + 0xbb00a5ca, 0x8ce, 0x462f, { 0xa5, 0x37, 0x43, 0xc7, 0x4a, 0x82, 0x5c, 0= xa4 } \ +}; + +extern EFI_GUID gEfiMpInitLibMpDepProtocolGuid; + +// {A9E7CEF1-5682-42CC-B123-9930973F4A9F} +#define EFI_PEI_MPINITLIB_UP_DEP_PPI_GUID \ +{ \ + 0xa9e7cef1, 0x5682, 0x42cc, { 0xb1, 0x23, 0x99, 0x30, 0x97, 0x3f, 0x4a, = 0x9f } \ +}; + +extern EFI_GUID gEfiMpInitLibUpDepProtocolGuid; + +#endif diff --git a/OvmfPkg/OvmfPkg.dec b/OvmfPkg/OvmfPkg.dec index b9ca44120289..8c2048051bea 100644 --- a/OvmfPkg/OvmfPkg.dec +++ b/OvmfPkg/OvmfPkg.dec @@ -152,6 +152,9 @@ # the PEI phase, regardless of memory encryption gOvmfTpmMmioAccessiblePpiGuid =3D {0x35c84ff2, 0x7bfe, 0x453d, {= 0x84, 0x5f, 0x68, 0x3a, 0x49, 0x2c, 0xf7, 0xb7}} =20 + gEfiPeiMpInitLibMpDepPpiGuid =3D {0x138f9cf4, 0xf0e7, 0x4721, {= 0x8f, 0x49, 0xf5, 0xff, 0xec, 0xf4, 0x2d, 0x40}} + gEfiPeiMpInitLibUpDepPpiGuid =3D {0xb590774, 0xbc67, 0x49f4, { = 0xa7, 0xdb, 0xe8, 0x2e, 0x89, 0xe6, 0xb5, 0xd6}} + [Protocols] gVirtioDeviceProtocolGuid =3D {0xfa920010, 0x6785, 0x4941, {= 0xb6, 0xec, 0x49, 0x8c, 0x57, 0x9f, 0x16, 0x0a}} gXenBusProtocolGuid =3D {0x3d3ca290, 0xb9a5, 0x11e3, {= 0xb7, 0x5d, 0xb8, 0xac, 0x6f, 0x7d, 0x65, 0xe6}} @@ -167,6 +170,8 @@ gEfiVgaMiniPortProtocolGuid =3D {0xc7735a2f, 0x88f5, 0x4882, {= 0xae, 0x63, 0xfa, 0xac, 0x8c, 0x8b, 0x86, 0xb3}} gOvmfLoadedX86LinuxKernelProtocolGuid =3D {0xa3edc05d, 0xb618, 0x4ff6, {= 0x95, 0x52, 0x76, 0xd7, 0x88, 0x63, 0x43, 0xc8}} gQemuAcpiTableNotifyProtocolGuid =3D {0x928939b2, 0x4235, 0x462f, {= 0x95, 0x80, 0xf6, 0xa2, 0xb2, 0xc2, 0x1a, 0x4f}} + gEfiMpInitLibMpDepProtocolGuid =3D {0xbb00a5ca, 0x8ce, 0x462f, {= 0xa5, 0x37, 0x43, 0xc7, 0x4a, 0x82, 0x5c, 0xa4}} + gEfiMpInitLibUpDepProtocolGuid =3D {0xa9e7cef1, 0x5682, 0x42cc, {= 0xb1, 0x23, 0x99, 0x30, 0x97, 0x3f, 0x4a, 0x9f}} =20 [PcdsFixedAtBuild] gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|0x0|UINT32|0 --=20 2.29.2.windows.2 -=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 (#89538): https://edk2.groups.io/g/devel/message/89538 Mute This Topic: https://groups.io/mt/90912392/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-