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

Reply via email to