diff options
author | Feng Tian <feng.tian@intel.com> | 2015-05-22 06:53:44 +0000 |
---|---|---|
committer | erictian <erictian@Edk2> | 2015-05-22 06:53:44 +0000 |
commit | e7401ee1af263ff946a57f047124241fa4f01cd5 (patch) | |
tree | e89f0bcac133103ea07647a27a6236e12221ff68 /OvmfPkg/Include/OvmfPlatforms.h | |
parent | cbbc454b2ad9ee4359d3a145a3d622c7db22fef6 (diff) | |
download | edk2-platforms-e7401ee1af263ff946a57f047124241fa4f01cd5.tar.xz |
MdeModulePkg/AtaAtapiPassThruDxe: Support 4K bytes block size HDDs
The original code hard-codes block size to 512. But after ATA 7 spec,
the non-512 block size is also supported. The code is updated to
dynamically calculate the block size according to IDENTIFY data.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17495 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/Include/OvmfPlatforms.h')
0 files changed, 0 insertions, 0 deletions