diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-12-07 17:54:41 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-12-09 12:32:42 +0800 |
commit | 3c12f346a148d0adbd3d3cbcae7bf8d543c34462 (patch) | |
tree | 447ff625ee97f775f482764e0fb024b5022053e4 /SecurityPkg | |
parent | a5be96819fb66b5ce7a5251b6680c71b2dd459c1 (diff) | |
download | edk2-3c12f346a148d0adbd3d3cbcae7bf8d543c34462.zip edk2-3c12f346a148d0adbd3d3cbcae7bf8d543c34462.tar.gz edk2-3c12f346a148d0adbd3d3cbcae7bf8d543c34462.tar.bz2 |
MdeModulePkg/ScsiDisk: Return EFI_NO_MEDIA when no media presents
Current code always return EFI_MEDIA_CHANGED no matter the media
is removed from CD/DVD drive or the media is changed.
It doesn't strictly follow the UEFI Spec.
Update code to return EFI_NO_MEDIA when media is removed.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Diffstat (limited to 'SecurityPkg')
0 files changed, 0 insertions, 0 deletions