Hi folks!

I am writing bootloader.

The bootloader need to found all GPT partition with vendor GUID.

I can to get all Handles of DiskIO protocol.
I can to get a Path protocol and select only MEDIA_DEVICE_PATH,
MEDIA_HARDDRIVE_DP.
>From PathDev I can to get all UniquePartitionGUID.
But how can get PartitionTypeGUID?

I can see one way:
* find a partition.
* find a parent handle of the partition
* read PrimaryHeader
* find in the EFI_PARTITION_ENTRYs a UniquePartitionGUID that equal
the partition UniquePartitionGUID.
* save PartitionTypeGUID if it was found

How can I do it more simple?

---
Best regards,
Leonid Myravjev

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to