From: Michael Kubacki <michael.kuba...@microsoft.com> REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3812
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 <af...@apple.com> Cc: Kang Gao <kang....@intel.com> Cc: Michael D Kinney <michael.d.kin...@intel.com> Cc: Michael Kubacki <michael.kuba...@microsoft.com> Cc: Leif Lindholm <l...@nuviainc.com> Cc: Benjamin You <benjamin....@intel.com> Cc: Liu Yun <yun.y....@intel.com> Cc: Ankit Sinha <ankit.si...@intel.com> Cc: Nate DeSimone <nathaniel.l.desim...@intel.com> Signed-off-by: Michael Kubacki <michael.kuba...@microsoft.com> --- PrmPkg/Include/Protocol/PrmConfig.h | 32 ++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/PrmPkg/Include/Protocol/PrmConfig.h b/PrmPkg/Include/Protocol/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 libraries to + describe their resources so that a generic PRM Configuration DXE driver 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 <PrmContextBuffer.h> +#include <Uefi.h> + +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 -- 2.28.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#87844): https://edk2.groups.io/g/devel/message/87844 Mute This Topic: https://groups.io/mt/89955949/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-