...@avagotech.com. Please update your address book.
*From:* Nguyễn Văn Hiễn [mailto:nvhien1...@gmail.com]
*Sent:* Tuesday, September 09, 2014 2:01 AM
*To:* edk2-devel@lists.sourceforge.net
*Subject:* [edk2] LastBlock and End LBA
Hi all,
I wrote a code segment to get the information of a SATA
Hi all,
I wrote a code segment to get the information of a SATA's partition:
//SATA devices have MediaId = 0.
if (SataBlockIo != NULL && SataBlockIo->Media->MediaId == 0) {
if (((HARDDRIVE_DEVICE_PATH*)TmpPath)->MBRType ==
MBR_TYPE_EFI_PARTITION_TABLE_HEADER &&
((HARDDRIVE_DEVI