summaryrefslogtreecommitdiff
path: root/Nt32Pkg
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2016-08-22 13:55:52 +0800
committerHao Wu <hao.a.wu@intel.com>2016-09-06 15:31:29 +0800
commit3c52deafda51b16f665c44eec967ed03689932f9 (patch)
treed50f517b18ce5b78e1d57bc69fbb5870b4204b52 /Nt32Pkg
parent114358eaa856d4f48ecb0a9da68d9bb7659226c7 (diff)
downloadedk2-platforms-3c52deafda51b16f665c44eec967ed03689932f9.tar.xz
MdeModulePkg NvmExpressDxe: Add buffer alignment check in PassThru API
According to the UEFI spec, the 'TransferBuffer' and 'MetadataBuffer' used in a data transfer should be aligned on the boundary specified by the IoAlign field in the EFI_NVM_EXPRESS_PASS_THRU_MODE structure. This commit adds this check to follow the spec. Cc: Feng Tian <feng.tian@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com>
Diffstat (limited to 'Nt32Pkg')
0 files changed, 0 insertions, 0 deletions