Split Nt32OemHookStatusCodeLib to PEI/DXE instances
[mirror_edk2.git] / EdkNt32Pkg / Library / Nt32OemHookStatusCodeLib / Nt32OemHookStatusCodeLib.msa
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0">
3 <MsaHeader>
4 <ModuleName>Nt32OemHookStatusCodeLib</ModuleName>
5 <ModuleType>PEIM</ModuleType>
6 <GuidValue>F3E4E221-D5CA-4dc9-8CB2-C5123C4827D5</GuidValue>
7 <Version>1.0</Version>
8 <Abstract>Memory Status Code Library for UEFI drivers</Abstract>
9 <Description>Lib to provide memory journal status code reporting Routines</Description>
10 <Copyright>Copyright (c) 2006, Intel Corporation.</Copyright>
11 <License>
12 All rights reserved.
13 This software and associated documentation (if any) is furnished
14 under a license and may only be used or copied in accordance
15 with the terms of the license. Except as permitted by such
16 license, no part of this software or documentation may be
17 reproduced, stored in a retrieval system, or transmitted in any
18 form or by any means without the express written consent of
19 Intel Corporation.
20 </License>
21 <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052</Specification>
22 </MsaHeader>
23 <ModuleDefinitions>
24 <SupportedArchitectures>IA32</SupportedArchitectures>
25 <BinaryModule>false</BinaryModule>
26 <OutputFileBasename>Nt32OemHookStatusCodeLib</OutputFileBasename>
27 </ModuleDefinitions>
28 <LibraryClassDefinitions>
29 <LibraryClass Usage="ALWAYS_PRODUCED">
30 <Keyword>OemHookStatusCodeLib</Keyword>
31 </LibraryClass>
32 <LibraryClass Usage="ALWAYS_CONSUMED">
33 <Keyword>BaseLib</Keyword>
34 </LibraryClass>
35 <LibraryClass Usage="ALWAYS_CONSUMED">
36 <Keyword>DebugLib</Keyword>
37 </LibraryClass>
38 <LibraryClass Usage="ALWAYS_CONSUMED">
39 <Keyword>PcdLib</Keyword>
40 </LibraryClass>
41 <LibraryClass Usage="ALWAYS_CONSUMED">
42 <Keyword>HobLib</Keyword>
43 </LibraryClass>
44 <LibraryClass Usage="ALWAYS_CONSUMED">
45 <Keyword>PrintLib</Keyword>
46 </LibraryClass>
47 <LibraryClass Usage="ALWAYS_CONSUMED">
48 <Keyword>BaseMemoryLib</Keyword>
49 </LibraryClass>
50 <LibraryClass Usage="ALWAYS_CONSUMED">
51 <Keyword>ReportStatusCodeLib</Keyword>
52 </LibraryClass>
53 <LibraryClass Usage="ALWAYS_CONSUMED">
54 <Keyword>PeiServicesLib</Keyword>
55 </LibraryClass>
56 <LibraryClass Usage="ALWAYS_CONSUMED">
57 <Keyword>WinNtLib</Keyword>
58 </LibraryClass>
59 </LibraryClassDefinitions>
60 <SourceFiles>
61 <Filename>Nt32OemHookStatusCodeLib.c</Filename>
62 </SourceFiles>
63 <PackageDependencies>
64 <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
65 <Package PackageGuid="68169ab0-d41b-4009-9060-292c253ac43d"/>
66 <Package PackageGuid="0fb2aa2d-10d5-40a5-a9dc-060c12a4a3f3"/>
67 </PackageDependencies>
68 <Protocols>
69 <Protocol Usage="ALWAYS_CONSUMED">
70 <ProtocolCName>gEfiWinNtThunkProtocolGuid</ProtocolCName>
71 </Protocol>
72 </Protocols>
73 <PPIs>
74 <Ppi Usage="ALWAYS_CONSUMED">
75 <PpiCName>gPeiNtThunkPpiGuid</PpiCName>
76 </Ppi>
77 </PPIs>
78 <Externs>
79 <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
80 <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
81 </Externs>
82 <PcdCoded xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
83 <PcdEntry PcdItemType="FEATURE_FLAG">
84 <C_Name>PcdNt32StatusCodeLibUseForPei</C_Name>
85 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
86 <HelpText>Select which type of driver the library links against.</HelpText>
87 </PcdEntry>
88 </PcdCoded>
89 </ModuleSurfaceArea>