• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## @file
2#  Module that lays Disk I/O protocol on every Block I/O protocol.
3#
4#  This module produces Disk I/O protocol to abstract the block accesses
5#  of the Block I/O protocol to a more general offset-length protocol
6#  to provide byte-oriented access to block media. It adds this protocol
7#  to any Block I/O interface that appears in the system that does not
8#  already have a Disk I/O protocol. File systems and other disk access
9#  code utilize the Disk I/O protocol.
10#
11#  Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
12#  This program and the accompanying materials
13#  are licensed and made available under the terms and conditions of the BSD License
14#  which accompanies this distribution.  The full text of the license may be found at
15#  http://opensource.org/licenses/bsd-license.php
16#
17#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
18#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19#
20##
21
22[Defines]
23  INF_VERSION                    = 0x00010005
24  BASE_NAME                      = DiskIoDxe
25  MODULE_UNI_FILE                = DiskIoDxe.uni
26  FILE_GUID                      = 6B38F7B4-AD98-40e9-9093-ACA2B5A253C4
27  MODULE_TYPE                    = UEFI_DRIVER
28  VERSION_STRING                 = 1.0
29  ENTRY_POINT                    = InitializeDiskIo
30
31#
32# The following information is for reference only and not required by the build tools.
33#
34#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
35#
36#  DRIVER_BINDING                =  gDiskIoDriverBinding
37#  COMPONENT_NAME                =  gDiskIoComponentName
38#  COMPONENT_NAME2               =  gDiskIoComponentName2
39#
40
41[Sources]
42  ComponentName.c
43  DiskIo.h
44  DiskIo.c
45
46
47[Packages]
48  MdePkg/MdePkg.dec
49  MdeModulePkg/MdeModulePkg.dec
50
51[LibraryClasses]
52  UefiBootServicesTableLib
53  MemoryAllocationLib
54  BaseMemoryLib
55  BaseLib
56  UefiLib
57  UefiDriverEntryPoint
58  DebugLib
59  PcdLib
60
61[Protocols]
62  gEfiDiskIoProtocolGuid                        ## BY_START
63  gEfiDiskIo2ProtocolGuid                       ## BY_START
64  gEfiBlockIoProtocolGuid                       ## TO_START
65  gEfiBlockIo2ProtocolGuid                      ## TO_START
66
67[Pcd]
68  gEfiMdeModulePkgTokenSpaceGuid.PcdDiskIoDataBufferBlockNum    ## SOMETIMES_CONSUMES
69
70[UserExtensions.TianoCore."ExtraFiles"]
71  DiskIoDxeExtra.uni
72