Add DiskIo2 protocol definition to MdePkg.
Change DiskIoDxe to produce DiskIo2 protocol when the BlockIo2 protocol is available. Change PartitionDxe to produce BlockIo2 protocol based on DiskIo2 protocol instead of BlockIo2 protocol. Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Kinney Michael <michael.d.kinney@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14570 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
# already have a Disk I/O protocol. File systems and other disk access
|
||||
# code utilize the Disk I/O protocol.
|
||||
#
|
||||
# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
# which accompanies this distribution. The full text of the license may be found at
|
||||
@@ -59,5 +59,7 @@
|
||||
|
||||
[Protocols]
|
||||
gEfiDiskIoProtocolGuid ## BY_START
|
||||
gEfiDiskIo2ProtocolGuid ## BY_START
|
||||
gEfiBlockIoProtocolGuid ## TO_START
|
||||
gEfiBlockIo2ProtocolGuid ## TO_START
|
||||
|
||||
|
Reference in New Issue
Block a user