79840ee1 |
1 | #/** @file\r |
2 | # Component description file for Partition module.\r |
3 | #\r |
4 | # Partition driver produces the logical BlockIo device \r |
5 | # that represents the bytes Start to End of the Parent Block IO \r |
6 | # device (one partition of physical BlockIo device, \r |
7 | # which can be one of GPT, MBR, ElTorito partition).\r |
79840ee1 |
8 | #\r |
7f58a2f7 |
9 | # Copyright (c) 2006 - 2007, Intel Corporation\r |
79840ee1 |
10 | # All rights reserved. This program and the accompanying materials\r |
11 | # are licensed and made available under the terms and conditions of the BSD License\r |
12 | # which accompanies this distribution. The full text of the license may be found at\r |
13 | # http://opensource.org/licenses/bsd-license.php\r |
7f58a2f7 |
14 | # \r |
79840ee1 |
15 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r |
16 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r |
17 | #\r |
18 | #\r |
19 | #**/\r |
20 | \r |
21 | ################################################################################\r |
22 | #\r |
23 | # Defines Section - statements that will be processed to create a Makefile.\r |
24 | #\r |
25 | ################################################################################\r |
26 | [Defines]\r |
27 | INF_VERSION = 0x00010005\r |
28 | BASE_NAME = Partition\r |
29 | FILE_GUID = 1FA1F39E-FEFF-4aae-BD7B-38A070A3B609\r |
30 | MODULE_TYPE = UEFI_DRIVER\r |
31 | VERSION_STRING = 1.0\r |
32 | EDK_RELEASE_VERSION = 0x00020000\r |
33 | EFI_SPECIFICATION_VERSION = 0x00020000\r |
34 | \r |
35 | ENTRY_POINT = InitializePartition\r |
36 | \r |
37 | #\r |
38 | # The following information is for reference only and not required by the build tools.\r |
39 | #\r |
40 | # VALID_ARCHITECTURES = IA32 X64 IPF EBC\r |
41 | #\r |
42 | # DRIVER_BINDING = gPartitionDriverBinding \r |
43 | # COMPONENT_NAME = gPartitionComponentName \r |
44 | #\r |
45 | \r |
46 | ################################################################################\r |
47 | #\r |
48 | # Sources Section - list of files that are required for the build to succeed.\r |
49 | #\r |
50 | ################################################################################\r |
51 | \r |
52 | [Sources.common]\r |
53 | ComponentName.c\r |
54 | Mbr.c\r |
55 | Gpt.c\r |
56 | ElTorito.c\r |
57 | Partition.c\r |
58 | Partition.h\r |
79840ee1 |
59 | \r |
60 | \r |
61 | ################################################################################\r |
62 | #\r |
63 | # Includes Section - list of Include locations that are required for\r |
64 | # this module.\r |
65 | #\r |
66 | ################################################################################\r |
67 | \r |
68 | [Includes]\r |
b9575d60 |
69 | $(WORKSPACE)/MdePkg/Include/Library\r |
79840ee1 |
70 | \r |
7f58a2f7 |
71 | ################################################################################\r |
72 | #\r |
73 | # Package Dependency Section - list of Package files that are required for\r |
74 | # this module.\r |
75 | #\r |
76 | ################################################################################\r |
77 | \r |
78 | [Packages]\r |
79 | MdePkg/MdePkg.dec\r |
80 | \r |
81 | \r |
79840ee1 |
82 | ################################################################################\r |
83 | #\r |
84 | # Library Class Section - list of Library Classes that are required for\r |
85 | # this module.\r |
86 | #\r |
87 | ################################################################################\r |
88 | \r |
89 | [LibraryClasses]\r |
90 | DevicePathLib\r |
91 | UefiBootServicesTableLib\r |
92 | MemoryAllocationLib\r |
93 | BaseMemoryLib\r |
94 | UefiLib\r |
95 | BaseLib\r |
96 | UefiDriverEntryPoint\r |
97 | DebugLib\r |
98 | \r |
99 | \r |
100 | ################################################################################\r |
101 | #\r |
102 | # Guid C Name Section - list of Guids that this module uses or produces.\r |
103 | #\r |
104 | ################################################################################\r |
105 | \r |
106 | [Guids]\r |
107 | gEfiPartTypeUnusedGuid # SOMETIMES_CONSUMED\r |
108 | gEfiPartTypeSystemPartGuid # SOMETIMES_CONSUMED\r |
109 | \r |
110 | \r |
111 | ################################################################################\r |
112 | #\r |
113 | # Protocol C Name Section - list of Protocol and Protocol Notify C Names\r |
114 | # that this module uses or produces.\r |
115 | #\r |
116 | ################################################################################\r |
117 | \r |
118 | [Protocols]\r |
119 | gEfiBlockIoProtocolGuid # PROTOCOL BY_START\r |
120 | gEfiDevicePathProtocolGuid # PROTOCOL BY_START\r |
121 | gEfiDevicePathProtocolGuid # PROTOCOL TO_START\r |
122 | gEfiDiskIoProtocolGuid # PROTOCOL TO_START\r |
123 | gEfiBlockIoProtocolGuid # PROTOCOL TO_START\r |
124 | \r |