]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/UefiDriverModelLib/UefiDriverModelLib.msa
Remove duplicate <Extern> for the lib constructor and destructor
[mirror_edk2.git] / MdePkg / Library / UefiDriverModelLib / UefiDriverModelLib.msa
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3 <MsaHeader>
4 <ModuleName>UefiDriverModelLib</ModuleName>
5 <ModuleType>UEFI_DRIVER</ModuleType>
6 <GuidValue>52af22ae-9901-4484-8cdc-622dd5838b09</GuidValue>
7 <Version>1.0</Version>
8 <Abstract>Component description file for the entry point to a EFIDXE Drivers</Abstract>
9 <Description>Library to abstract Framework extensions that conflict with UEFI 2.0 Specification</Description>
10 <Copyright>Copyright (c) 2006, Intel Corporation.</Copyright>
11 <License>All rights reserved. This program and the accompanying materials
12 are licensed and made available under the terms and conditions of the BSD License
13 which accompanies this distribution. The full text of the license may be found at
14 http://opensource.org/licenses/bsd-license.php
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.</License>
17 <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052</Specification>
18 </MsaHeader>
19 <ModuleDefinitions>
20 <SupportedArchitectures>IA32 X64 IPF EBC</SupportedArchitectures>
21 <BinaryModule>false</BinaryModule>
22 <OutputFileBasename>UefiDriverModelLib</OutputFileBasename>
23 </ModuleDefinitions>
24 <LibraryClassDefinitions>
25 <LibraryClass Usage="ALWAYS_PRODUCED">
26 <Keyword>UefiDriverModelLib</Keyword>
27 </LibraryClass>
28 <LibraryClass Usage="ALWAYS_CONSUMED">
29 <Keyword>DebugLib</Keyword>
30 </LibraryClass>
31 <LibraryClass Usage="ALWAYS_CONSUMED">
32 <Keyword>UefiBootServicesTableLib</Keyword>
33 </LibraryClass>
34 </LibraryClassDefinitions>
35 <SourceFiles>
36 <Filename>UefiDriverModelLib.c</Filename>
37 </SourceFiles>
38 <PackageDependencies>
39 <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
40 </PackageDependencies>
41 <Protocols>
42 <Protocol Usage="ALWAYS_CONSUMED">
43 <ProtocolCName>gEfiDriverBindingProtocolGuid</ProtocolCName>
44 </Protocol>
45 <Protocol Usage="ALWAYS_CONSUMED">
46 <ProtocolCName>gEfiComponentNameProtocolGuid</ProtocolCName>
47 </Protocol>
48 <Protocol Usage="ALWAYS_CONSUMED">
49 <ProtocolCName>gEfiDriverConfigurationProtocolGuid</ProtocolCName>
50 </Protocol>
51 <Protocol Usage="ALWAYS_CONSUMED">
52 <ProtocolCName>gEfiDriverDiagnosticsProtocolGuid</ProtocolCName>
53 </Protocol>
54 </Protocols>
55 <Externs>
56 <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
57 <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
58 <Extern>
59 <Constructor>UefiDriverModelLibConstructor</Constructor>
60 <Destructor>UefiDriverModelLibDestructor</Destructor>
61 </Extern>
62 </Externs>
63 <PcdCoded>
64 <PcdEntry PcdItemType="FEATURE_FLAG" Usage="ALWAYS_CONSUMED">
65 <C_Name>PcdComponentNameDisable</C_Name>
66 <TokenSpaceGuidCName>gEfiMdePkgTokenSpaceGuid</TokenSpaceGuidCName>
67 <HelpText>If this value is set TRUE, autogen will replace Compoent Name Protocol instance with NULL.</HelpText>
68 </PcdEntry>
69 <PcdEntry PcdItemType="FEATURE_FLAG" Usage="ALWAYS_CONSUMED">
70 <C_Name>PcdDriverDiagnosticsDisable</C_Name>
71 <TokenSpaceGuidCName>gEfiMdePkgTokenSpaceGuid</TokenSpaceGuidCName>
72 <HelpText>If this value is set TRUE, autogen will replace Driver Diagnostics Protocol instance with NULL.</HelpText>
73 </PcdEntry>
74 </PcdCoded>
75 </ModuleSurfaceArea>