]>
Commit | Line | Data |
---|---|---|
6bfbb5f0 | 1 | ## @file\r |
48557c65 | 2 | # Modules that produces the logic Block I/O protocol for every partition\r |
3 | # it discovers via the physical Block I/O.\r | |
4 | #\r | |
5 | # This module produces the logical Block I/O device that represents\r | |
6 | # the bytes from Start to End of the Parent Block I/O device.\r | |
7 | # The partition of physical BlockIo device supported is one of legacy MBR, GPT,\r | |
8 | # and "El Torito" partitions.\r | |
dc204d5a JY |
9 | #\r |
10 | # Caution: This module requires additional review when modified.\r | |
11 | # This driver will have external input - disk partition.\r | |
12 | # This external input must be validated carefully to avoid security issue like\r | |
13 | # buffer overflow, integer overflow.\r | |
14 | #\r | |
493d8e3a | 15 | # Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r |
e5eed7d3 | 16 | # This program and the accompanying materials\r |
adbcbf8f | 17 | # are licensed and made available under the terms and conditions of the BSD License\r |
f42be642 | 18 | # which accompanies this distribution. The full text of the license may be found at\r |
adbcbf8f | 19 | # http://opensource.org/licenses/bsd-license.php\r |
f42be642 | 20 | # \r |
adbcbf8f | 21 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r |
22 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
f42be642 | 23 | # \r |
6bfbb5f0 | 24 | ##\r |
adbcbf8f | 25 | \r |
adbcbf8f | 26 | [Defines]\r |
27 | INF_VERSION = 0x00010005\r | |
28 | BASE_NAME = PartitionDxe\r | |
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 |
70 | gEfiPartTypeSystemPartGuid ## SOMETIMES_CONSUMES ## Protocol\r | |
adbcbf8f | 71 | \r |
72 | \r | |
adbcbf8f | 73 | [Protocols]\r |
a503cc69 | 74 | gEfiBlockIoProtocolGuid ## BY_START\r |
75 | gEfiDevicePathProtocolGuid ## BY_START\r | |
76 | gEfiDiskIoProtocolGuid ## BY_START\r | |
493d8e3a | 77 | gEfiDiskIo2ProtocolGuid ## BY_START\r |
a503cc69 | 78 | gEfiBlockIoProtocolGuid ## TO_START\r |
490b5ea1 | 79 | gEfiBlockIo2ProtocolGuid ## TO_START\r |
a503cc69 | 80 | gEfiDevicePathProtocolGuid ## TO_START\r |
81 | gEfiDiskIoProtocolGuid ## TO_START\r | |
493d8e3a | 82 | gEfiDiskIo2ProtocolGuid ## TO_START\r |