Add DiskIo2 protocol definition to MdePkg.
[mirror_edk2.git] / MdeModulePkg / Universal / Disk / PartitionDxe / PartitionDxe.inf
1 ## @file
2 # Modules that produces the logic Block I/O protocol for every partition
3 # it discovers via the physical Block I/O.
4 #
5 # This module produces the logical Block I/O device that represents
6 # the bytes from Start to End of the Parent Block I/O device.
7 # The partition of physical BlockIo device supported is one of legacy MBR, GPT,
8 # and "El Torito" partitions.
9 #
10 # Caution: This module requires additional review when modified.
11 # This driver will have external input - disk partition.
12 # This external input must be validated carefully to avoid security issue like
13 # buffer overflow, integer overflow.
14 #
15 # Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
16 # This program and the accompanying materials
17 # are licensed and made available under the terms and conditions of the BSD License
18 # which accompanies this distribution. The full text of the license may be found at
19 # http://opensource.org/licenses/bsd-license.php
20 #
21 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
22 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
23 #
24 ##
25
26 [Defines]
27 INF_VERSION = 0x00010005
28 BASE_NAME = PartitionDxe
29 FILE_GUID = 1FA1F39E-FEFF-4aae-BD7B-38A070A3B609
30 MODULE_TYPE = UEFI_DRIVER
31 VERSION_STRING = 1.0
32 ENTRY_POINT = InitializePartition
33
34 #
35 # The following information is for reference only and not required by the build tools.
36 #
37 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
38 #
39 # DRIVER_BINDING = gPartitionDriverBinding
40 # COMPONENT_NAME = gPartitionComponentName
41 # COMPONENT_NAME2 = gPartitionComponentName2
42 #
43
44 [Sources]
45 ComponentName.c
46 Mbr.c
47 Gpt.c
48 ElTorito.c
49 Partition.c
50 Partition.h
51
52
53 [Packages]
54 MdePkg/MdePkg.dec
55
56
57 [LibraryClasses]
58 DevicePathLib
59 UefiBootServicesTableLib
60 MemoryAllocationLib
61 BaseMemoryLib
62 UefiLib
63 BaseLib
64 UefiDriverEntryPoint
65 DebugLib
66
67
68 [Guids]
69 gEfiPartTypeUnusedGuid ## SOMETIMES_CONSUMES ## GUID
70 gEfiPartTypeSystemPartGuid ## SOMETIMES_CONSUMES ## Protocol
71
72
73 [Protocols]
74 gEfiBlockIoProtocolGuid ## BY_START
75 gEfiDevicePathProtocolGuid ## BY_START
76 gEfiDiskIoProtocolGuid ## BY_START
77 gEfiDiskIo2ProtocolGuid ## BY_START
78 gEfiBlockIoProtocolGuid ## TO_START
79 gEfiBlockIo2ProtocolGuid ## TO_START
80 gEfiDevicePathProtocolGuid ## TO_START
81 gEfiDiskIoProtocolGuid ## TO_START
82 gEfiDiskIo2ProtocolGuid ## TO_START