]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[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 # SPDX-License-Identifier: BSD-2-Clause-Patent
16 #
17 ##
18
19 [Defines]
20 INF_VERSION = 0x00010005
21 BASE_NAME = PartitionDxe
22 MODULE_UNI_FILE = PartitionDxe.uni
23 FILE_GUID = 1FA1F39E-FEFF-4aae-BD7B-38A070A3B609
24 MODULE_TYPE = UEFI_DRIVER
25 VERSION_STRING = 1.0
26 ENTRY_POINT = InitializePartition
27
28 #
29 # The following information is for reference only and not required by the build tools.
30 #
31 # VALID_ARCHITECTURES = IA32 X64 EBC
32 #
33 # DRIVER_BINDING = gPartitionDriverBinding
34 # COMPONENT_NAME = gPartitionComponentName
35 # COMPONENT_NAME2 = gPartitionComponentName2
36 #
37
38 [Sources]
39 ComponentName.c
40 Mbr.c
41 Gpt.c
42 ElTorito.c
43 Udf.c
44 Partition.c
45 Partition.h
46
47
48 [Packages]
49 MdePkg/MdePkg.dec
50
51
52 [LibraryClasses]
53 DevicePathLib
54 UefiBootServicesTableLib
55 MemoryAllocationLib
56 BaseMemoryLib
57 UefiLib
58 BaseLib
59 UefiDriverEntryPoint
60 DebugLib
61
62
63 [Guids]
64 gEfiPartTypeUnusedGuid ## SOMETIMES_CONSUMES ## GUID
65 ## SOMETIMES_CONSUMES ## GUID
66 ## SOMETIMES_CONSUMES ## GUID # Install protocol
67 gEfiPartTypeSystemPartGuid
68
69
70 [Protocols]
71 ## BY_START
72 ## TO_START
73 gEfiBlockIoProtocolGuid
74 ## BY_START
75 ## TO_START
76 gEfiBlockIo2ProtocolGuid
77 ## BY_START
78 ## TO_START
79 gEfiDevicePathProtocolGuid
80 gEfiPartitionInfoProtocolGuid ## BY_START
81 gEfiDiskIoProtocolGuid ## TO_START
82 gEfiDiskIo2ProtocolGuid ## TO_START
83
84 [UserExtensions.TianoCore."ExtraFiles"]
85 PartitionDxeExtra.uni