summaryrefslogtreecommitdiff
path: root/NetworkPkg
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2015-12-23 01:34:36 +0000
committerhwu1225 <hwu1225@Edk2>2015-12-23 01:34:36 +0000
commit7794116bcdf6066b6f5483f116efb00fe69cb25e (patch)
tree456ccf7f4549b097bab6a962d9a7db356e4519b9 /NetworkPkg
parentdbbf51f6bde01d36956a29543ba3ac325b41e729 (diff)
downloadedk2-platforms-7794116bcdf6066b6f5483f116efb00fe69cb25e.tar.xz
MdeModulePkg ScsiDiskDxe: Modify FlushBlocksEx() to follow UEFI spec
The function ScsiDiskFlushBlocksEx() in ScsiDiskDxe/ScsiDisk.c originally always returns EFI_SUCCESS, which is not aligned with the UEFI spec. This commit adds addtional checks to see if the media in the device is changed or removed. Check for whether the device can be written is also added. Corresponding status will be returned according to the check result. (Sync patch r19444 from main trunk.) 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> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@19465 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'NetworkPkg')
0 files changed, 0 insertions, 0 deletions