]>
Commit | Line | Data |
---|---|---|
1 | ## @file\r | |
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 | |
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 | |
15 | # Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r | |
16 | # This program and the accompanying materials\r | |
17 | # are licensed and made available under the terms and conditions of the BSD License\r | |
18 | # which accompanies this distribution. The full text of the license may be found at\r | |
19 | # http://opensource.org/licenses/bsd-license.php\r | |
20 | # \r | |
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 | |
23 | # \r | |
24 | ##\r | |
25 | \r | |
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 | |
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 | |
39 | # DRIVER_BINDING = gPartitionDriverBinding\r | |
40 | # COMPONENT_NAME = gPartitionComponentName\r | |
41 | # COMPONENT_NAME2 = gPartitionComponentName2\r | |
42 | #\r | |
43 | \r | |
44 | [Sources]\r | |
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 | |
53 | [Packages]\r | |
54 | MdePkg/MdePkg.dec\r | |
55 | \r | |
56 | \r | |
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 | |
68 | [Guids]\r | |
69 | gEfiPartTypeUnusedGuid ## SOMETIMES_CONSUMES ## GUID\r | |
70 | gEfiPartTypeSystemPartGuid ## SOMETIMES_CONSUMES ## Protocol\r | |
71 | \r | |
72 | \r | |
73 | [Protocols]\r | |
74 | gEfiBlockIoProtocolGuid ## BY_START\r | |
75 | gEfiDevicePathProtocolGuid ## BY_START\r | |
76 | gEfiDiskIoProtocolGuid ## BY_START\r | |
77 | gEfiBlockIoProtocolGuid ## TO_START\r | |
78 | gEfiBlockIo2ProtocolGuid ## TO_START\r | |
79 | gEfiDevicePathProtocolGuid ## TO_START\r | |
80 | gEfiDiskIoProtocolGuid ## TO_START\r |