diff options
author | Hao Wu <hao.a.wu@intel.com> | 2016-08-22 14:11:23 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-09-06 15:31:31 +0800 |
commit | 491f6026293bef88ea31b3d1848300708253f68b (patch) | |
tree | ce5e024b5408af322033e3fbb5be146507791997 /NetworkPkg/TcpDxe | |
parent | 3c52deafda51b16f665c44eec967ed03689932f9 (diff) | |
download | edk2-platforms-491f6026293bef88ea31b3d1848300708253f68b.tar.xz |
MdeModulePkg NvmExpressDxe: Add check on the attributes of NVME controller
According to UEFI spec, an EFI_NVM_EXPRESS_PASS_THRU_PROTOCOL with neither
EFI_NVM_EXPRESS_PASS_THRU_ATTRIBUTES_LOGICAL nor
EFI_NVM_EXPRESS_PASS_THRU_ATTRIBUTES_PHYSICAL set in the Attributes field
is an illegal configuration.
This commit adds this check in the PassThru API 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 'NetworkPkg/TcpDxe')
0 files changed, 0 insertions, 0 deletions