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

