I forgot to search *.inf. I find gEfiPlatformInfoGuid in 3, but they are all under [Guids] section. It seems like the PPI isn't needed.
-----Original Message----- From: Tim Lewis [mailto:[email protected]] Sent: Thursday, August 27, 2015 3:31 PM To: Hamel, Lee M; [email protected] Subject: RE: install a PPI with a NULL Ppi value? That looks like it is setting up for a dependency expression. Check your .infs to see if anyone uses it in their [depex] section. Tim -----Original Message----- From: edk2-devel [mailto:[email protected]] On Behalf Of Hamel, Lee M Sent: Friday, August 28, 2015 6:24 AM To: [email protected] Subject: [edk2] install a PPI with a NULL Ppi value? Is there a reason why platform code would install a PPI with a NULL Ppi value for the EFI_PEI_PPI_DESCRIPTOR structure? static EFI_PEI_PPI_DESCRIPTOR mPlatformInfoPpi = { EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST, &gEfiPlatformInfoGuid, NULL }; The only thing that gEfiPlatformInfoGuid is used for is to find a HOB via GetFirstGuidHob(). A HOB is created with BuildGuidDataHob(&gEfiPlatformInfoGuid, ...). I don't see why a PPI using the GUID would be necessary just for the HOB for the GUID to exist. _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

