On 2/12/21 7:14 PM, Grant Likely wrote:
On 02/02/2021 15:37, Heinrich Schuchardt wrote:
On 02.02.21 11:45, Grant Likely wrote:
Thanks Heinrich,
Changes made and new patch to be posted soon.
g.
In the protocols section we should add that the UEFI System Partition GUID has to be installed on the handle for the ESP. There is no protocol for it. EDK II simply sets the protocol interface to NULL.
Is this already covered in the UEFI spec?
It is a requirement from the UEFI spec:
"If an MBR partition has an OSType field of 0xEF (i.e., UEFI System Partition), then the firmware must add the UEFI System Partition GUID to the handle for the MBR partition using InstallProtocolInterface()."
"The firmware must add the PartitionTypeGuid to the handle of every active GPT partition using EFI_BOOT_SERVICES.InstallProtocolInterface()."
As we enumerate all required protocols we should also add this one to the list.
Best regards
Heinrich