]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Universal / Disk / PartitionDxe / PartitionDxe.inf
1 ## @file
2 # Modules that produces the logic Block I/O protocol for every partition via the physical Block I/O.
3 #
4 # This module produces the logical Block I/O device that represents
5 # the bytes from Start to End of the Parent Block I/O device.
6 # The partition of physical BlockIo device supported is one of legacy MBR, GPT,
7 # UDF and "El Torito" partitions.
8 #
9 # Caution: This module requires additional review when modified.
10 # This driver will have external input - disk partition.
11 # This external input must be validated carefully to avoid security issue like
12 # buffer overflow, integer overflow.
13 #
14 # Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
15 # This program and the accompanying materials
16 # are licensed and made available under the terms and conditions of the BSD License
17 # which accompanies this distribution. The full text of the license may be found at
18 # http://opensource.org/licenses/bsd-license.php
19 #
20 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
21 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
22 #
23 ##
24
25 [Defines]
26 INF_VERSION = 0x00010005
27 BASE_NAME = PartitionDxe
28 MODULE_UNI_FILE = PartitionDxe.uni
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 Udf.c
50 Partition.c
51 Partition.h
52
53
54 [Packages]
55 MdePkg/MdePkg.dec
56
57
58 [LibraryClasses]
59 DevicePathLib
60 UefiBootServicesTableLib
61 MemoryAllocationLib
62 BaseMemoryLib
63 UefiLib
64 BaseLib
65 UefiDriverEntryPoint
66 DebugLib
67
68
69 [Guids]
70 gEfiPartTypeUnusedGuid ## SOMETIMES_CONSUMES ## GUID
71 ## SOMETIMES_CONSUMES ## GUID
72 ## SOMETIMES_CONSUMES ## GUID # Install protocol
73 gEfiPartTypeSystemPartGuid
74
75
76 [Protocols]
77 ## BY_START
78 ## TO_START
79 gEfiBlockIoProtocolGuid
80 ## BY_START
81 ## TO_START
82 gEfiBlockIo2ProtocolGuid
83 ## BY_START
84 ## TO_START
85 gEfiDevicePathProtocolGuid
86 gEfiPartitionInfoProtocolGuid ## BY_START
87 gEfiDiskIoProtocolGuid ## TO_START
88 gEfiDiskIo2ProtocolGuid ## TO_START
89
90 [UserExtensions.TianoCore."ExtraFiles"]
91 PartitionDxeExtra.uni