1 | # $Id: VBoxGenericBdsLib.inf 33540 2010-10-28 09:27:05Z vboxsync $
|
---|
2 | #/** @file
|
---|
3 |
|
---|
4 | #
|
---|
5 | # Copyright (C) 2010 Oracle Corporation
|
---|
6 | #
|
---|
7 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
8 | # available from http://www.virtualbox.org. This file is free software;
|
---|
9 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
10 | # General Public License (GPL) as published by the Free Software
|
---|
11 | # Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
12 | # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
13 | # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
14 | #
|
---|
15 |
|
---|
16 | #
|
---|
17 | # This code is based on:
|
---|
18 | #
|
---|
19 | # General BDS defines and produce general interfaces for platform BDS driver including:
|
---|
20 | # 1) BDS boot policy interface;
|
---|
21 | # 2) BDS boot device connect interface;
|
---|
22 | # 3) BDS Misc interfaces for maintaining boot variable, output string, etc.
|
---|
23 | #
|
---|
24 | # Copyright (c) 2007 - 2009, Intel Corporation. <BR>
|
---|
25 | # All rights reserved. This program and the accompanying materials
|
---|
26 | # are licensed and made available under the terms and conditions of the BSD License
|
---|
27 | # which accompanies this distribution. The full text of the license may be found at
|
---|
28 | # http://opensource.org/licenses/bsd-license.php
|
---|
29 | #
|
---|
30 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
---|
31 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
---|
32 | #
|
---|
33 | #**/
|
---|
34 |
|
---|
35 | [Defines]
|
---|
36 | INF_VERSION = 0x00010005
|
---|
37 | BASE_NAME = VBoxGenericBdsLib
|
---|
38 | FILE_GUID = 9d6d3138-d08f-11de-a011-c3f4983a5eb8
|
---|
39 | MODULE_TYPE = DXE_DRIVER
|
---|
40 | VERSION_STRING = 1.0
|
---|
41 | LIBRARY_CLASS = GenericBdsLib|DXE_DRIVER UEFI_APPLICATION
|
---|
42 |
|
---|
43 | #
|
---|
44 | # The following information is for reference only and not required by the build tools.
|
---|
45 | #
|
---|
46 | # VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
---|
47 | #
|
---|
48 |
|
---|
49 | [Sources.common]
|
---|
50 | DevicePath.c
|
---|
51 | Performance.c
|
---|
52 | BdsConnect.c
|
---|
53 | BdsMisc.c
|
---|
54 | BdsConsole.c
|
---|
55 | BdsBoot.c
|
---|
56 | InternalBdsLib.h
|
---|
57 | Bmp.h
|
---|
58 |
|
---|
59 | [Packages]
|
---|
60 | VBoxPkg/VBoxPkg.dec
|
---|
61 | MdePkg/MdePkg.dec
|
---|
62 | MdeModulePkg/MdeModulePkg.dec
|
---|
63 | IntelFrameworkPkg/IntelFrameworkPkg.dec
|
---|
64 | IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
|
---|
65 |
|
---|
66 | [LibraryClasses]
|
---|
67 | DevicePathLib
|
---|
68 | PeCoffGetEntryPointLib
|
---|
69 | BaseLib
|
---|
70 | HobLib
|
---|
71 | UefiRuntimeServicesTableLib
|
---|
72 | DxeServicesTableLib
|
---|
73 | MemoryAllocationLib
|
---|
74 | UefiLib
|
---|
75 | UefiBootServicesTableLib
|
---|
76 | BaseMemoryLib
|
---|
77 | DebugLib
|
---|
78 | PrintLib
|
---|
79 | PcdLib
|
---|
80 | PerformanceLib
|
---|
81 | TimerLib
|
---|
82 | PcdLib
|
---|
83 | DxeServicesLib
|
---|
84 |
|
---|
85 | [Guids]
|
---|
86 | gEfiVT100PlusGuid ## CONSUMES ## GUID (The type of terminal)
|
---|
87 | gEfiVT100Guid ## CONSUMES ## GUID (The type of terminal)
|
---|
88 | gEfiMemoryTypeInformationGuid ## CONSUMES ## GUID (The identifier of memory type information type in system table)
|
---|
89 | ## CONSUMES ## GUID HOB (The hob holding memory type information)
|
---|
90 | gEfiVTUTF8Guid ## CONSUMES ## GUID (The type of terminal)
|
---|
91 | gEfiGlobalVariableGuid ## SOMETIMES_PRODUCES ## Variable:L"BootCurrent" (The boot option of current boot)
|
---|
92 | ## SOMETIMES_CONSUMES ## Variable:L"BootXX" (Boot option variable)
|
---|
93 | ## CONSUMES ## Variable:L"Timeout" (The time out value in second of showing progress bar)
|
---|
94 | ## SOMETIMES_CONSUMES ## Variable:L"BootOrder" (The boot option array)
|
---|
95 | ## SOMETIMES_CONSUMES ## Variable:L"DriverOrder" (The driver order list)
|
---|
96 | ## SOMETIMES_CONSUMES ## Variable:L"ConIn" (The device path of console in device)
|
---|
97 | ## SOMETIMES_CONSUMES ## Variable:L"ConOut" (The device path of console out device)
|
---|
98 | ## SOMETIMES_CONSUMES ## Variable:L"ErrOut" (The device path of error out device)
|
---|
99 | gEfiFileInfoGuid ## CONSUMES ## GUID
|
---|
100 | gEfiPcAnsiGuid ## CONSUMES ## GUID (The type of terminal)
|
---|
101 | gPerformanceProtocolGuid ## SOMETIMES_PRODUCES ## Variable:L"PerfDataMemAddr" (The ACPI address of performance data)
|
---|
102 | gEfiUartDevicePathGuid ## CONSUMES ## GUID (Identify the device path for UARD device)
|
---|
103 | gEfiSasDevicePathGuid ## CONSUMES ## GUID (Identify the device path for SAS device)
|
---|
104 |
|
---|
105 | [Protocols]
|
---|
106 | gEfiSimpleFileSystemProtocolGuid # PROTOCOL CONSUMES
|
---|
107 | gEfiSimpleTextOutProtocolGuid # PROTOCOL CONSUMES
|
---|
108 | gEfiPciIoProtocolGuid # PROTOCOL CONSUMES
|
---|
109 | gEfiLoadedImageProtocolGuid # PROTOCOL CONSUMES
|
---|
110 | gEfiDevicePathToTextProtocolGuid # PROTOCOL SOMETIMES_CONSUMES
|
---|
111 | gEfiSimpleNetworkProtocolGuid # PROTOCOL CONSUMES
|
---|
112 | gEfiDebugPortProtocolGuid # PROTOCOL CONSUMES
|
---|
113 | gEfiSimpleTextInProtocolGuid # PROTOCOL CONSUMES
|
---|
114 | gEfiBlockIoProtocolGuid # PROTOCOL CONSUMES
|
---|
115 | gEfiFirmwareVolume2ProtocolGuid # PROTOCOL CONSUMES
|
---|
116 | gEfiLegacyBiosProtocolGuid # PROTOCOL SOMETIMES_CONSUMES
|
---|
117 | gEfiCpuArchProtocolGuid # PROTOCOL CONSUMES
|
---|
118 | gEfiDevicePathProtocolGuid # PROTOCOL CONSUMES
|
---|
119 | gEfiAcpiS3SaveProtocolGuid # PROTOCOL CONSUMES
|
---|
120 | gEfiGraphicsOutputProtocolGuid # PROTOCOL SOMETIMES_CONSUMES
|
---|
121 | gEfiUgaDrawProtocolGuid |PcdUgaConsumeSupport # PROTOCOL SOMETIMES_CONSUMES
|
---|
122 | gEfiOEMBadgingProtocolGuid # PROTOCOL CONSUMES
|
---|
123 | gEfiHiiFontProtocolGuid # PROTOCOL CONSUMES
|
---|
124 | gEfiSecurityArchProtocolGuid # PROTOCOL CONSUMES
|
---|
125 | gEfiDevicePathProtocolGuid
|
---|
126 |
|
---|
127 | [FeaturePcd]
|
---|
128 | gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport
|
---|
129 |
|
---|
130 | [Pcd]
|
---|
131 | gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile
|
---|