]> git.proxmox.com Git - mirror_edk2.git/commit
Fix 3 bugs in DiskIoDxe and PartitionDxe drivers introduced in DiskIo2 implementation.
authorRuiyu Ni <ruiyu.ni@intel.com>
Tue, 17 Sep 2013 05:11:30 +0000 (05:11 +0000)
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 17 Sep 2013 05:11:30 +0000 (05:11 +0000)
commit80c83a6995db1914cc7db012f6b8f3e223e45847
tree6c9d38811ac70a224b54ba804d2a63908a36cdd9
parentcb1366a8c465a91938a46c4b52cd4d04faa0e0d6
Fix 3 bugs in DiskIoDxe and PartitionDxe drivers introduced in DiskIo2 implementation.
1. DiskIo2 shouldn't signal the event when the *Ex interface returns failure status per the UEFI spec.
2. PartitionDxe should close DiskIo2 protocol when error happens in DriverBindingStart() otherwise Fat driver cannot open the DiskIo2 BY_DRIVER.
3. PartitionDxe should create event using TPL_NOTIFY instead of TPL_CALLBACK otherwise asynchronous FileIo may be blocked.

Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14680 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIo.c
MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c