]>
Commit | Line | Data |
---|---|---|
6bfbb5f0 | 1 | ## @file\r |
6036e94d | 2 | # Modules that produces the logic Block I/O protocol for every partition via the physical Block I/O.\r |
48557c65 | 3 | #\r |
4 | # This module produces the logical Block I/O device that represents\r | |
5 | # the bytes from Start to End of the Parent Block I/O device.\r | |
6 | # The partition of physical BlockIo device supported is one of legacy MBR, GPT,\r | |
8aafec2c | 7 | # UDF and "El Torito" partitions.\r |
dc204d5a JY |
8 | #\r |
9 | # Caution: This module requires additional review when modified.\r | |
10 | # This driver will have external input - disk partition.\r | |
11 | # This external input must be validated carefully to avoid security issue like\r | |
12 | # buffer overflow, integer overflow.\r | |
13 | #\r | |
d1102dba | 14 | # Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r |
9d510e61 | 15 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r |
d1102dba | 16 | #\r |
6bfbb5f0 | 17 | ##\r |
adbcbf8f | 18 | \r |
adbcbf8f | 19 | [Defines]\r |
20 | INF_VERSION = 0x00010005\r | |
21 | BASE_NAME = PartitionDxe\r | |
6036e94d | 22 | MODULE_UNI_FILE = PartitionDxe.uni\r |
adbcbf8f | 23 | FILE_GUID = 1FA1F39E-FEFF-4aae-BD7B-38A070A3B609\r |
24 | MODULE_TYPE = UEFI_DRIVER\r | |
25 | VERSION_STRING = 1.0\r | |
adbcbf8f | 26 | ENTRY_POINT = InitializePartition\r |
27 | \r | |
28 | #\r | |
29 | # The following information is for reference only and not required by the build tools.\r | |
30 | #\r | |
de005223 | 31 | # VALID_ARCHITECTURES = IA32 X64 EBC\r |
adbcbf8f | 32 | #\r |
48557c65 | 33 | # DRIVER_BINDING = gPartitionDriverBinding\r |
34 | # COMPONENT_NAME = gPartitionComponentName\r | |
35 | # COMPONENT_NAME2 = gPartitionComponentName2\r | |
adbcbf8f | 36 | #\r |
37 | \r | |
6bfbb5f0 | 38 | [Sources]\r |
adbcbf8f | 39 | ComponentName.c\r |
40 | Mbr.c\r | |
41 | Gpt.c\r | |
42 | ElTorito.c\r | |
8aafec2c | 43 | Udf.c\r |
adbcbf8f | 44 | Partition.c\r |
45 | Partition.h\r | |
46 | \r | |
47 | \r | |
adbcbf8f | 48 | [Packages]\r |
49 | MdePkg/MdePkg.dec\r | |
50 | \r | |
51 | \r | |
adbcbf8f | 52 | [LibraryClasses]\r |
53 | DevicePathLib\r | |
54 | UefiBootServicesTableLib\r | |
55 | MemoryAllocationLib\r | |
56 | BaseMemoryLib\r | |
57 | UefiLib\r | |
58 | BaseLib\r | |
59 | UefiDriverEntryPoint\r | |
60 | DebugLib\r | |
61 | \r | |
62 | \r | |
adbcbf8f | 63 | [Guids]\r |
a503cc69 | 64 | gEfiPartTypeUnusedGuid ## SOMETIMES_CONSUMES ## GUID\r |
6036e94d SZ |
65 | ## SOMETIMES_CONSUMES ## GUID\r |
66 | ## SOMETIMES_CONSUMES ## GUID # Install protocol\r | |
67 | gEfiPartTypeSystemPartGuid\r | |
adbcbf8f | 68 | \r |
69 | \r | |
adbcbf8f | 70 | [Protocols]\r |
6036e94d SZ |
71 | ## BY_START\r |
72 | ## TO_START\r | |
73 | gEfiBlockIoProtocolGuid\r | |
74 | ## BY_START\r | |
75 | ## TO_START\r | |
76 | gEfiBlockIo2ProtocolGuid\r | |
77 | ## BY_START\r | |
78 | ## TO_START\r | |
79 | gEfiDevicePathProtocolGuid\r | |
3a3d62d2 | 80 | gEfiPartitionInfoProtocolGuid ## BY_START\r |
a503cc69 | 81 | gEfiDiskIoProtocolGuid ## TO_START\r |
493d8e3a | 82 | gEfiDiskIo2ProtocolGuid ## TO_START\r |
6036e94d SZ |
83 | \r |
84 | [UserExtensions.TianoCore."ExtraFiles"]\r | |
85 | PartitionDxeExtra.uni\r |