add a error macro to prevent this file from included for now #error "UEFI 2.1 HII...
[mirror_edk2.git] / MdeModulePkg / Library / EdkFvbServiceLib / EdkFvbServiceLib.inf
CommitLineData
94774441 1#/** @file\r
2# FvbService Library for UEFI drivers\r
3#\r
4# This library instance provide sevice functions to access Firmware Volume Block protocol.\r
5# Copyright (c) 2006 - 2007, Intel Corporation\r
6#\r
7# All rights reserved. This program and the accompanying materials\r
8# are licensed and made available under the terms and conditions of the BSD License\r
9# which accompanies this distribution. The full text of the license may be found at\r
10# http://opensource.org/licenses/bsd-license.php\r
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13#\r
14#\r
15#**/\r
16\r
17################################################################################\r
18#\r
19# Defines Section - statements that will be processed to create a Makefile.\r
20#\r
21################################################################################\r
22[Defines]\r
23 INF_VERSION = 0x00010005\r
24 BASE_NAME = EdkFvbServiceLib\r
25 FILE_GUID = bd4d540e-04b0-4b10-8fd5-4a7bb533cf67\r
26 MODULE_TYPE = DXE_DRIVER\r
27 VERSION_STRING = 1.0\r
28 LIBRARY_CLASS = EdkFvbServiceLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER\r
29 EDK_RELEASE_VERSION = 0x00020000\r
30 EFI_SPECIFICATION_VERSION = 0x00020000\r
31\r
32 CONSTRUCTOR = FvbLibInitialize\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\r
38#\r
39# VIRTUAL_ADDRESS_MAP_CALLBACK = FvbVirtualAddressChangeNotifyEvent\r
40#\r
41\r
42################################################################################\r
43#\r
44# Sources Section - list of files that are required for the build to succeed.\r
45#\r
46################################################################################\r
47\r
48[Sources.common]\r
49 Fvb.h\r
50\r
51[Sources.Ia32]\r
52 Ia32/Fvb.c\r
53\r
54[Sources.X64]\r
55 x64/Fvb.c\r
56\r
57[Sources.IPF]\r
58 Ipf/Fvb.c\r
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
69 $(WORKSPACE)/MdePkg/Include/Library\r
70\r
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 IntelFrameworkPkg/IntelFrameworkPkg.dec\r
81\r
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.IA32]\r
90 UefiBootServicesTableLib\r
91 UefiRuntimeLib\r
92 BaseMemoryLib\r
93 DebugLib\r
94 BaseLib\r
95 UefiLib\r
96\r
97[LibraryClasses.X64]\r
98 UefiBootServicesTableLib\r
99 UefiRuntimeLib\r
100 BaseMemoryLib\r
101 DebugLib\r
102 BaseLib\r
103 UefiLib\r
104\r
105\r
106################################################################################\r
107#\r
108# Protocol C Name Section - list of Protocol and Protocol Notify C Names\r
109# that this module uses or produces.\r
110#\r
111################################################################################\r
112\r
113[Protocols]\r
114 gEfiFirmwareVolumeBlockProtocolGuid # PROTOCOL_NOTIFY SOMETIMES_CONSUMED\r
115\r
116[Protocols.IA32]\r
117 gEfiFvbExtensionProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
118 gEfiFirmwareVolumeBlockProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
119\r
120[Protocols.X64]\r
121 gEfiFvbExtensionProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
122 gEfiFirmwareVolumeBlockProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
123\r