From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web09.12092.1647966025094044207 for ; Tue, 22 Mar 2022 09:20:25 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=bYBzcoJp; spf=pass (domain: linux.microsoft.com, ip: 13.77.154.182, mailfrom: mikuback@linux.microsoft.com) Received: from localhost.localdomain (unknown [47.202.59.224]) by linux.microsoft.com (Postfix) with ESMTPSA id 706AF20B4783; Tue, 22 Mar 2022 09:20:23 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 706AF20B4783 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1647966024; bh=eV+uE6WSxDpsORDgCmnn6w4ubV/o0Y4TQG0oDzbjVCc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bYBzcoJpOGxISVu8QYx117Jw0UwynY04H81y5upJ/pZ5df8upx4DJwivhB4Yc6oym iyvYSXDMw6IA3OnK+tSM19+0VxMjD9PAMBwiz2XcatgyQKuANGveXVj+AOPEYGKWFd XyjYIrxWRLuuxAbRfWx9NbPTYAX4LU43GM7Kj64o= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Andrew Fish , Kang Gao , Michael D Kinney , Michael Kubacki , Leif Lindholm , Benjamin You , Liu Yun , Ankit Sinha , Nate DeSimone Subject: [PATCH v1 02/41] PrmPkg: Add PrmConfig protocol interface Date: Tue, 22 Mar 2022 12:19:08 -0400 Message-Id: <20220322161947.9319-3-mikuback@linux.microsoft.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20220322161947.9319-1-mikuback@linux.microsoft.com> References: <20220322161947.9319-1-mikuback@linux.microsoft.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Kubacki REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3812 The PRM Configuration protocol is used by PRM module configuration libraries to describe their resources so that a generic PRM Configuration DXE driver can prepare those resources for OS runtime. Therefore, multiple instances are expected in the system per boot with approximately one instance per PRM module. All PRM Configuration Protocol instances must be installed prior to end of DXE. Cc: Andrew Fish Cc: Kang Gao Cc: Michael D Kinney Cc: Michael Kubacki Cc: Leif Lindholm Cc: Benjamin You Cc: Liu Yun Cc: Ankit Sinha Cc: Nate DeSimone Signed-off-by: Michael Kubacki --- PrmPkg/Include/Protocol/PrmConfig.h | 32 ++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/PrmPkg/Include/Protocol/PrmConfig.h b/PrmPkg/Include/Protoco= l/PrmConfig.h new file mode 100644 index 000000000000..d90fe5a0dd73 --- /dev/null +++ b/PrmPkg/Include/Protocol/PrmConfig.h @@ -0,0 +1,32 @@ +/** @file + + PRM Configuration protocol + + PRM Configuration protocol is used by PRM module configuration librari= es to + describe their resources so that a generic PRM Configuration DXE drive= r can prepare those + resources for OS runtime. + + Copyright (c) Microsoft Corporation + SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#ifndef PRM_CONFIG_H_ +#define PRM_CONFIG_H_ + +#include +#include + +typedef struct _PRM_CONFIG_PROTOCOL PRM_CONFIG_PROTOCOL; + +#define PRM_CONFIG_PROTOCOL_SIGNATURE SIGNATURE_32('P','M','C','P') +#define PRM_CONFIG_PROTOCOL_VERSION 1 + +struct _PRM_CONFIG_PROTOCOL +{ + PRM_MODULE_CONTEXT_BUFFERS ModuleContextBuffers; +}; + +extern EFI_GUID gPrmConfigProtocolGuid; + +#endif --=20 2.28.0.windows.1