From 4a4aeaa446a28b16dba7d17af738281940a4103d Mon Sep 17 00:00:00 2001 From: Michael Kubacki Date: Mon, 12 Oct 2020 08:23:44 -0700 Subject: PrmPkg: Replace PcdPrmPlatformGuid with EDKII_DSC_PLATFORM_GUID Bugzilla request https://bugzilla.tianocore.org/show_bug.cgi?id=2969 was recently completed which causes the PLATFORM_GUID value from the DSC file to be placed into Autogen file .c & .h files. With this change, the PRM Platform GUID can be directly matched to the DSC PLATFORM_GUID value. 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 Acked-by: Michael D Kinney Acked-by: Liming Gao Acked-by: Leif Lindholm Reviewed-by: Ankit Sinha --- PrmPkg/Include/PrmExportDescriptor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'PrmPkg/Include') diff --git a/PrmPkg/Include/PrmExportDescriptor.h b/PrmPkg/Include/PrmExportDescriptor.h index fc313fd1ac..76b67a0545 100644 --- a/PrmPkg/Include/PrmExportDescriptor.h +++ b/PrmPkg/Include/PrmExportDescriptor.h @@ -30,6 +30,7 @@ typedef struct { UINT64 Signature; UINT16 Revision; UINT16 NumberPrmHandlers; + GUID PlatformGuid; GUID ModuleGuid; } PRM_MODULE_EXPORT_DESCRIPTOR_STRUCT_HEADER; @@ -98,6 +99,7 @@ typedef struct { PRM_MODULE_EXPORT_DESCRIPTOR_SIGNATURE, \ PRM_MODULE_EXPORT_REVISION, \ VA_ARG_COUNT(__VA_ARGS__), \ + EDKII_DSC_PLATFORM_GUID, \ EFI_CALLER_ID_GUID \ }, \ { __VA_ARGS__ } \ -- cgit