322e011f8acad08b5eb9e733bf94f30605103b91
[mirror_edk2.git] / EdkNt32Pkg / Sec / SecMain.msa
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0">
3 <MsaHeader>
4 <ModuleName>SecMain</ModuleName>
5 <ModuleType>SEC</ModuleType>
6 <GuidValue>4b837b03-6587-4d19-b82b-edfad836c0a0</GuidValue>
7 <Version>1.0</Version>
8 <Abstract>Entry Point of NT32 Emulator</Abstract>
9 <Description>Main executable file of NT32 Emulator that loads PEI core after initialization finished.</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>SecMain</OutputFileBasename>
23 </ModuleDefinitions>
24 <LibraryClassDefinitions>
25 <LibraryClass Usage="ALWAYS_CONSUMED">
26 <Keyword>PeCoffLib</Keyword>
27 </LibraryClass>
28 <LibraryClass Usage="ALWAYS_CONSUMED">
29 <Keyword>BaseLib</Keyword>
30 </LibraryClass>
31 <LibraryClass Usage="ALWAYS_CONSUMED">
32 <Keyword>BaseMemoryLib</Keyword>
33 </LibraryClass>
34 <LibraryClass Usage="ALWAYS_CONSUMED">
35 <Keyword>PrintLib</Keyword>
36 </LibraryClass>
37 <LibraryClass Usage="ALWAYS_CONSUMED">
38 <Keyword>PcdLib</Keyword>
39 </LibraryClass>
40 <LibraryClass Usage="ALWAYS_CONSUMED">
41 <Keyword>DebugLib</Keyword>
42 </LibraryClass>
43 </LibraryClassDefinitions>
44 <SourceFiles>
45 <Filename ToolCode="DUMMY">SecMain_build.xml</Filename>
46 <Filename>SecMain.c</Filename>
47 <Filename>FwVol.c</Filename>
48 <Filename>WinNtThunk.c</Filename>
49 <Filename>SecMain.h</Filename>
50 </SourceFiles>
51 <PackageDependencies>
52 <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
53 <Package PackageGuid="68169ab0-d41b-4009-9060-292c253ac43d"/>
54 <Package PackageGuid="0fb2aa2d-10d5-40a5-a9dc-060c12a4a3f3"/>
55 </PackageDependencies>
56 <PPIs>
57 <Ppi Usage="ALWAYS_PRODUCED">
58 <PpiCName>gPeiNtThunkPpiGuid</PpiCName>
59 </Ppi>
60 <Ppi Usage="ALWAYS_PRODUCED">
61 <PpiCName>gPeiNtAutoScanPpiGuid</PpiCName>
62 </Ppi>
63 <Ppi Usage="ALWAYS_PRODUCED">
64 <PpiCName>gNtFwhPpiGuid</PpiCName>
65 </Ppi>
66 <Ppi Usage="ALWAYS_PRODUCED">
67 <PpiCName>gEfiPeiStatusCodePpiGuid</PpiCName>
68 </Ppi>
69 <Ppi Usage="ALWAYS_PRODUCED">
70 <PpiCName>gNtPeiLoadFilePpiGuid</PpiCName>
71 </Ppi>
72 </PPIs>
73 <Guids>
74 <GuidCNames Usage="ALWAYS_PRODUCED">
75 <GuidCName>gEfiPeiPeCoffLoaderGuid</GuidCName>
76 </GuidCNames>
77 </Guids>
78 <Externs>
79 <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
80 <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
81 </Externs>
82 <PcdCoded>
83 <PcdEntry PcdItemType="DYNAMIC">
84 <C_Name>PcdWinNtMemorySizeForSecMain</C_Name>
85 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
86 <HelpText>This PCD defines the memory size of simulated machine. Simulator will allocate
87 the size of PcdWinNtMemorySizeForSecMain in windows platform.</HelpText>
88 </PcdEntry>
89 <PcdEntry PcdItemType="DYNAMIC">
90 <C_Name>PcdWinNtFirmwareVolume</C_Name>
91 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
92 <HelpText>This PCD defines the FD file windows path string. Simulator will load the FD file and execute.</HelpText>
93 </PcdEntry>
94 <PcdEntry PcdItemType="DYNAMIC">
95 <C_Name>PcdWinNtBootMode</C_Name>
96 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
97 <HelpText>This PCD defines the boot mode for simualtor.
98 The boot mode can be set as following value:
99 0x0: Boot with full configuration.
100 0x1: Boot with minimal configuration.
101 0x2: Boot assume no configuration changes.
102 0x3: Boot with full configuration plus diagnostics.
103 0x4: Boot with default settings.
104 0x5: Boot on S4 resume.
105 0x6: Boot on S5 resume.
106 0x10: Boot on S2 resume.
107 0x11: Boot on S3 resume.
108 0x12: Boot on flash update.
109 0x20: Boot in reovery mode.</HelpText>
110 </PcdEntry>
111 </PcdCoded>
112 </ModuleSurfaceArea>