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