-#/** @file\r
-# \r
-# This module lays DiskIo protocol on every blockIo protocol\r
-# to provide byte-oriented access to block media. \r
+## @file\r
+# Module that lays Disk I/O protocol on every Block I/O protocol.\r
+#\r
+# This module produces Disk I/O protocol to abstract the block accesses\r
+# of the Block I/O protocol to a more general offset-length protocol\r
+# to provide byte-oriented access to block media. It adds this protocol\r
+# to any Block I/O interface that appears in the system that does not\r
+# already have a Disk I/O protocol. File systems and other disk access\r
+# code utilize the Disk I/O protocol.\r
# \r
-# Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
-# All rights reserved. This program and the accompanying materials\r
+# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# http://opensource.org/licenses/bsd-license.php\r
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
# \r
-#**/\r
+##\r
\r
[Defines]\r
INF_VERSION = 0x00010005\r
BASE_NAME = DiskIoDxe\r
+ MODULE_UNI_FILE = DiskIoDxe.uni\r
FILE_GUID = 6B38F7B4-AD98-40e9-9093-ACA2B5A253C4\r
MODULE_TYPE = UEFI_DRIVER\r
VERSION_STRING = 1.0\r
#\r
# DRIVER_BINDING = gDiskIoDriverBinding\r
# COMPONENT_NAME = gDiskIoComponentName\r
+# COMPONENT_NAME2 = gDiskIoComponentName2\r
#\r
\r
-[Sources.common]\r
+[Sources]\r
ComponentName.c\r
DiskIo.h\r
DiskIo.c\r
\r
[Packages]\r
MdePkg/MdePkg.dec\r
-\r
+ MdeModulePkg/MdeModulePkg.dec\r
\r
[LibraryClasses]\r
UefiBootServicesTableLib\r
UefiLib\r
UefiDriverEntryPoint\r
DebugLib\r
-\r
+ PcdLib\r
\r
[Protocols]\r
- gEfiDiskIoProtocolGuid # PROTOCOL BY_START\r
- gEfiBlockIoProtocolGuid # PROTOCOL TO_START\r
+ gEfiDiskIoProtocolGuid ## BY_START\r
+ gEfiDiskIo2ProtocolGuid ## BY_START\r
+ gEfiBlockIoProtocolGuid ## TO_START\r
+ gEfiBlockIo2ProtocolGuid ## TO_START\r
+\r
+[Pcd]\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdDiskIoDataBufferBlockNum ## SOMETIMES_CONSUMES\r
\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+ DiskIoDxeExtra.uni\r