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