]>
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 | |
7 | # 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 | |
6036e94d | 14 | # Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r |
e5eed7d3 | 15 | # This program and the accompanying materials\r |
adbcbf8f | 16 | # are licensed and made available under the terms and conditions of the BSD License\r |
f42be642 | 17 | # which accompanies this distribution. The full text of the license may be found at\r |
adbcbf8f | 18 | # http://opensource.org/licenses/bsd-license.php\r |
f42be642 | 19 | # \r |
adbcbf8f | 20 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r |
21 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
f42be642 | 22 | # \r |
6bfbb5f0 | 23 | ##\r |
adbcbf8f | 24 | \r |
adbcbf8f | 25 | [Defines]\r |
26 | INF_VERSION = 0x00010005\r | |
27 | BASE_NAME = PartitionDxe\r | |
6036e94d | 28 | MODULE_UNI_FILE = PartitionDxe.uni\r |
adbcbf8f | 29 | FILE_GUID = 1FA1F39E-FEFF-4aae-BD7B-38A070A3B609\r |
30 | MODULE_TYPE = UEFI_DRIVER\r | |
31 | VERSION_STRING = 1.0\r | |
adbcbf8f | 32 | ENTRY_POINT = InitializePartition\r |
33 | \r | |
34 | #\r | |
35 | # The following information is for reference only and not required by the build tools.\r | |
36 | #\r | |
37 | # VALID_ARCHITECTURES = IA32 X64 IPF EBC\r | |
38 | #\r | |
48557c65 | 39 | # DRIVER_BINDING = gPartitionDriverBinding\r |
40 | # COMPONENT_NAME = gPartitionComponentName\r | |
41 | # COMPONENT_NAME2 = gPartitionComponentName2\r | |
adbcbf8f | 42 | #\r |
43 | \r | |
6bfbb5f0 | 44 | [Sources]\r |
adbcbf8f | 45 | ComponentName.c\r |
46 | Mbr.c\r | |
47 | Gpt.c\r | |
48 | ElTorito.c\r | |
49 | Partition.c\r | |
50 | Partition.h\r | |
51 | \r | |
52 | \r | |
adbcbf8f | 53 | [Packages]\r |
54 | MdePkg/MdePkg.dec\r | |
55 | \r | |
56 | \r | |
adbcbf8f | 57 | [LibraryClasses]\r |
58 | DevicePathLib\r | |
59 | UefiBootServicesTableLib\r | |
60 | MemoryAllocationLib\r | |
61 | BaseMemoryLib\r | |
62 | UefiLib\r | |
63 | BaseLib\r | |
64 | UefiDriverEntryPoint\r | |
65 | DebugLib\r | |
66 | \r | |
67 | \r | |
adbcbf8f | 68 | [Guids]\r |
a503cc69 | 69 | gEfiPartTypeUnusedGuid ## SOMETIMES_CONSUMES ## GUID\r |
6036e94d SZ |
70 | ## SOMETIMES_CONSUMES ## GUID\r |
71 | ## SOMETIMES_CONSUMES ## GUID # Install protocol\r | |
72 | gEfiPartTypeSystemPartGuid\r | |
adbcbf8f | 73 | \r |
74 | \r | |
adbcbf8f | 75 | [Protocols]\r |
6036e94d SZ |
76 | ## BY_START\r |
77 | ## TO_START\r | |
78 | gEfiBlockIoProtocolGuid\r | |
79 | ## BY_START\r | |
80 | ## TO_START\r | |
81 | gEfiBlockIo2ProtocolGuid\r | |
82 | ## BY_START\r | |
83 | ## TO_START\r | |
84 | gEfiDevicePathProtocolGuid\r | |
a503cc69 | 85 | gEfiDiskIoProtocolGuid ## TO_START\r |
493d8e3a | 86 | gEfiDiskIo2ProtocolGuid ## TO_START\r |
6036e94d SZ |
87 | \r |
88 | [UserExtensions.TianoCore."ExtraFiles"]\r | |
89 | PartitionDxeExtra.uni\r |