1 | # $Id: PartitionDxe.inf 48674 2013-09-25 08:26:15Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # PartitionDxe.inf
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2010-2012 Oracle Corporation
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | # available from http://www.virtualbox.org. This file is free software;
|
---|
11 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | # General Public License (GPL) as published by the Free Software
|
---|
13 | # Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | #
|
---|
17 | # The contents of this file may alternatively be used under the terms
|
---|
18 | # of the Common Development and Distribution License Version 1.0
|
---|
19 | # (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
20 | # VirtualBox OSE distribution, in which case the provisions of the
|
---|
21 | # CDDL are applicable instead of those of the GPL.
|
---|
22 | #
|
---|
23 | # You may elect to license modified versions of this file under the
|
---|
24 | # terms and conditions of either the GPL or the CDDL or both.
|
---|
25 | #
|
---|
26 |
|
---|
27 | ## @file
|
---|
28 | # Modules that produces the logic Block I/O protocol for every partition
|
---|
29 | # it discovers via the physical Block I/O.
|
---|
30 | #
|
---|
31 | # This module produces the logical Block I/O device that represents
|
---|
32 | # the bytes from Start to End of the Parent Block I/O device.
|
---|
33 | # The partition of physical BlockIo device supported is one of legacy MBR, GPT,
|
---|
34 | # and "El Torito" partitions.
|
---|
35 | #
|
---|
36 | # Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
|
---|
37 | # This program and the accompanying materials
|
---|
38 | # are licensed and made available under the terms and conditions of the BSD License
|
---|
39 | # which accompanies this distribution. The full text of the license may be found at
|
---|
40 | # http://opensource.org/licenses/bsd-license.php
|
---|
41 | #
|
---|
42 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
---|
43 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
---|
44 | #
|
---|
45 | ##
|
---|
46 |
|
---|
47 | [Defines]
|
---|
48 | INF_VERSION = 0x00010005
|
---|
49 | BASE_NAME = PartitionDxe
|
---|
50 | FILE_GUID = 1FA1F39E-FEFF-4aae-BD7B-38A070A3B609
|
---|
51 | MODULE_TYPE = UEFI_DRIVER
|
---|
52 | VERSION_STRING = 1.0
|
---|
53 | ENTRY_POINT = InitializePartition
|
---|
54 |
|
---|
55 | #
|
---|
56 | # The following information is for reference only and not required by the build tools.
|
---|
57 | #
|
---|
58 | # VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
---|
59 | #
|
---|
60 | # DRIVER_BINDING = gPartitionDriverBinding
|
---|
61 | # COMPONENT_NAME = gPartitionComponentName
|
---|
62 | # COMPONENT_NAME2 = gPartitionComponentName2
|
---|
63 | #
|
---|
64 |
|
---|
65 | [Sources]
|
---|
66 | ComponentName.c
|
---|
67 | Mbr.c
|
---|
68 | Gpt.c
|
---|
69 | ElTorito.c
|
---|
70 | Apple.c
|
---|
71 | Partition.c
|
---|
72 | Partition.h
|
---|
73 |
|
---|
74 |
|
---|
75 | [Packages]
|
---|
76 | MdePkg/MdePkg.dec
|
---|
77 |
|
---|
78 |
|
---|
79 | [LibraryClasses]
|
---|
80 | DevicePathLib
|
---|
81 | UefiBootServicesTableLib
|
---|
82 | MemoryAllocationLib
|
---|
83 | BaseMemoryLib
|
---|
84 | UefiLib
|
---|
85 | BaseLib
|
---|
86 | UefiDriverEntryPoint
|
---|
87 | DebugLib
|
---|
88 |
|
---|
89 |
|
---|
90 | [Guids]
|
---|
91 | gEfiPartTypeUnusedGuid ## SOMETIMES_CONSUMES ## GUID
|
---|
92 | gEfiPartTypeSystemPartGuid ## SOMETIMES_CONSUMES ## Protocol
|
---|
93 |
|
---|
94 |
|
---|
95 | [Protocols]
|
---|
96 | gEfiBlockIoProtocolGuid ## BY_START
|
---|
97 | gEfiDevicePathProtocolGuid ## BY_START
|
---|
98 | gEfiDiskIoProtocolGuid ## BY_START
|
---|
99 | gEfiBlockIoProtocolGuid ## TO_START
|
---|
100 | gEfiBlockIo2ProtocolGuid ## TO_START
|
---|
101 | gEfiDevicePathProtocolGuid ## TO_START
|
---|
102 | gEfiDiskIoProtocolGuid ## TO_START
|
---|
103 |
|
---|
104 | [BuildOptions.common]
|
---|
105 | GCC:*_*_*_CC_FLAGS = -DEFI_LOG_ENABLED=1
|
---|
106 | MSFT:*_*_*_CC_FLAGS = -DEFI_LOG_ENABLED=1
|
---|
107 | INTEL:*_*_*_CC_FLAGS = -DEFI_LOG_ENABLED=1
|
---|
108 |
|
---|