-#/** @file\r
-# Component description file for DiskIo module.\r
-#\r
-# Copyright (c) 2006 - 2007, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\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 - 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
+# which accompanies this distribution. The full text of the license may be found at\r
# http://opensource.org/licenses/bsd-license.php\r
-#\r
+# \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
+##\r
\r
-################################################################################\r
-#\r
-# Defines Section - statements that will be processed to create a Makefile.\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
- EDK_RELEASE_VERSION = 0x00020000\r
- EFI_SPECIFICATION_VERSION = 0x00020000\r
-\r
ENTRY_POINT = InitializeDiskIo\r
\r
#\r
#\r
# DRIVER_BINDING = gDiskIoDriverBinding\r
# COMPONENT_NAME = gDiskIoComponentName\r
+# COMPONENT_NAME2 = gDiskIoComponentName2\r
#\r
\r
-################################################################################\r
-#\r
-# Sources Section - list of files that are required for the build to succeed.\r
-#\r
-################################################################################\r
-\r
-[Sources.common]\r
+[Sources]\r
ComponentName.c\r
DiskIo.h\r
DiskIo.c\r
\r
\r
-################################################################################\r
-#\r
-# Package Dependency Section - list of Package files that are required for\r
-# this module.\r
-#\r
-################################################################################\r
-\r
[Packages]\r
MdePkg/MdePkg.dec\r
-\r
-\r
-################################################################################\r
-#\r
-# Library Class Section - list of Library Classes that are required for\r
-# this module.\r
-#\r
-################################################################################\r
+ MdeModulePkg/MdeModulePkg.dec\r
\r
[LibraryClasses]\r
UefiBootServicesTableLib\r
UefiLib\r
UefiDriverEntryPoint\r
DebugLib\r
-\r
-\r
-################################################################################\r
-#\r
-# Protocol C Name Section - list of Protocol and Protocol Notify C Names\r
-# that this module uses or produces.\r
-#\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