]> git.proxmox.com Git - mirror_edk2.git/blob - EdkNt32Pkg/Sec/SecMain.msa
Add the following Pcds declaration in EdkModulePkg.spd file. EdkModulePkg PeiVariable...
[mirror_edk2.git] / EdkNt32Pkg / Sec / SecMain.msa
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--Copyright (c) 2006, Intel Corporation
3 All rights reserved. This program and the accompanying materials
4 are licensed and made available under the terms and conditions of the BSD License
5 which accompanies this distribution. The full text of the license may be found at
6 http://opensource.org/licenses/bsd-license.php
7
8 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
9 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.-->
10 <ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0">
11 <MsaHeader>
12 <ModuleName>SecMain</ModuleName>
13 <ModuleType>USER_DEFINED</ModuleType>
14 <GuidValue>4b837b03-6587-4d19-b82b-edfad836c0a0</GuidValue>
15 <Version>1.0</Version>
16 <Abstract>Entry Point of NT32 Emulator</Abstract>
17 <Description>Main executable file of NT32 Emulator that loads PEI core after initialization finished.</Description>
18 <Copyright>Copyright (c) 2006, Intel Corporation</Copyright>
19 <License>All rights reserved. This program and the accompanying materials
20 are licensed and made available under the terms and conditions of the BSD License
21 which accompanies this distribution. The full text of the license may be found at
22 http://opensource.org/licenses/bsd-license.php
23 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
24 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.</License>
25 <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052</Specification>
26 </MsaHeader>
27 <ModuleDefinitions>
28 <SupportedArchitectures>IA32 X64 IPF EBC</SupportedArchitectures>
29 <BinaryModule>false</BinaryModule>
30 <OutputFileBasename>SecMain</OutputFileBasename>
31 </ModuleDefinitions>
32 <LibraryClassDefinitions>
33 <LibraryClass Usage="ALWAYS_CONSUMED">
34 <Keyword>PeCoffLib</Keyword>
35 </LibraryClass>
36 <LibraryClass Usage="ALWAYS_CONSUMED">
37 <Keyword>BaseLib</Keyword>
38 </LibraryClass>
39 <LibraryClass Usage="ALWAYS_CONSUMED">
40 <Keyword>BaseMemoryLib</Keyword>
41 </LibraryClass>
42 <LibraryClass Usage="ALWAYS_CONSUMED">
43 <Keyword>PrintLib</Keyword>
44 </LibraryClass>
45 <LibraryClass Usage="ALWAYS_CONSUMED">
46 <Keyword>ReportStatusCodeLib</Keyword>
47 </LibraryClass>
48 <LibraryClass Usage="ALWAYS_CONSUMED">
49 <Keyword>PcdLib</Keyword>
50 </LibraryClass>
51 <LibraryClass Usage="ALWAYS_CONSUMED">
52 <Keyword>DebugLib</Keyword>
53 </LibraryClass>
54 </LibraryClassDefinitions>
55 <SourceFiles>
56 <Filename ToolCode="DUMMY">SecMain_build.xml</Filename>
57 <Filename>SecMain.c</Filename>
58 <Filename>FwVol.c</Filename>
59 <Filename>WinNtThunk.c</Filename>
60 <Filename>SecMain.h</Filename>
61 </SourceFiles>
62 <PackageDependencies>
63 <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
64 <Package PackageGuid="B6EC423C-21D2-490D-85C6-DD5864EAA674"/>
65 <Package PackageGuid="0fb2aa2d-10d5-40a5-a9dc-060c12a4a3f3"/>
66 </PackageDependencies>
67 <PPIs>
68 <Ppi Usage="ALWAYS_PRODUCED">
69 <PpiCName>gPeiNtThunkPpiGuid</PpiCName>
70 </Ppi>
71 <Ppi Usage="ALWAYS_PRODUCED">
72 <PpiCName>gPeiNtAutoScanPpiGuid</PpiCName>
73 </Ppi>
74 <Ppi Usage="ALWAYS_PRODUCED">
75 <PpiCName>gNtFwhPpiGuid</PpiCName>
76 </Ppi>
77 <Ppi Usage="ALWAYS_PRODUCED">
78 <PpiCName>gEfiPeiStatusCodePpiGuid</PpiCName>
79 </Ppi>
80 <Ppi Usage="ALWAYS_PRODUCED">
81 <PpiCName>gNtPeiLoadFilePpiGuid</PpiCName>
82 </Ppi>
83 </PPIs>
84 <Guids>
85 <GuidCNames Usage="ALWAYS_PRODUCED">
86 <GuidCName>gEfiPeiPeCoffLoaderGuid</GuidCName>
87 </GuidCNames>
88 </Guids>
89 <Externs>
90 <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
91 <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
92 </Externs>
93 <PcdCoded>
94 <PcdEntry PcdItemType="FIXED_AT_BUILD">
95 <C_Name>PcdWinNtMemorySizeForSecMain</C_Name>
96 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
97 <HelpText>This PCD defines the memory size of simulated machine. Simulator will allocate
98 the size of PcdWinNtMemorySizeForSecMain in windows platform.
99 The item type of this PCD can only be "FIXED_AT_BUILD".</HelpText>
100 </PcdEntry>
101 <PcdEntry PcdItemType="FIXED_AT_BUILD">
102 <C_Name>PcdWinNtFirmwareVolume</C_Name>
103 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
104 <HelpText>This PCD defines the FD file windows path string. Simulator will load the FD file and execute.
105 The item type of this PCD can only be "FIXED_AT_BUILD".</HelpText>
106 </PcdEntry>
107 <PcdEntry PcdItemType="FIXED_AT_BUILD">
108 <C_Name>PcdWinNtBootMode</C_Name>
109 <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
110 <HelpText>This PCD defines the boot mode for simualtor.
111 The boot mode can be set as following value:
112 0x0: Boot with full configuration.
113 0x1: Boot with minimal configuration.
114 0x2: Boot assume no configuration changes.
115 0x3: Boot with full configuration plus diagnostics.
116 0x4: Boot with default settings.
117 0x5: Boot on S4 resume.
118 0x6: Boot on S5 resume.
119 0x10: Boot on S2 resume.
120 0x11: Boot on S3 resume.
121 0x12: Boot on flash update.
122 0x20: Boot in reovery mode.
123 The item type of this PCD can only be "FIXED_AT_BUILD".</HelpText>
124 </PcdEntry>
125 </PcdCoded>
126 </ModuleSurfaceArea>