Thanks Ramesh,

I think these info are enough.

From: Ramesh R. [mailto:[email protected]]
Sent: Monday, October 21, 2013 4:50 PM
To: [email protected]
Subject: Re: [edk2] how to get DISK geometry

Hi,

  BLOCKIO has some of the disk geometry information.

typedef struct {
UINT32 MediaId;
BOOLEAN RemovableMedia;
BOOLEAN MediaPresent;
BOOLEAN LogicalPartition;
BOOLEAN ReadOnly;
BOOLEAN WriteCaching;
UINT32 BlockSize;
UINT32 IoAlign;
EFI_LBA LastBlock;
EFI_LBA LowestAlignedLba; //added in Revision 2
UINT32 LogicalBlocksPerPhysicalBlock;
//added in Revision 2
UINT32 OptimalTransferLengthGranularity;
// added in Revision 3
} EFI_BLOCK_IO_MEDIA;


Is any other specific Disk information you are looking?

Thanks,
Ramesh

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]]
Sent: Monday, October 21, 2013 3:14 PM
To: [email protected]<mailto:[email protected]>
Subject: [edk2] how to get DISK geometry


Dell - Internal Use - Confidential

Hi All,

How to get geometry of all available disk through UEFI application ?


Best Regards,
Parmeshwr Prasad
Tel : +91-9743262018
[cid:[email protected]]


The information contained in this message may be confidential and proprietary 
to American Megatrends, Inc. This communication is intended to be read only by 
the individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited. Please 
promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and 
then delete or destroy all copies of the transmission.

<<inline: image001.png>>

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to