Unix version of EFI emulator
[mirror_edk2.git] / EdkUnixPkg / Sec / SecMain.msa
CommitLineData
c9093a06 1<?xml version="1.0" encoding="UTF-8"?>\r
2<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0">\r
3 <MsaHeader>\r
4 <ModuleName>SecMain</ModuleName>\r
5 <ModuleType>USER_DEFINED</ModuleType>\r
6 <GuidValue>f43be88c-8985-11db-8f78-0040d02b1835</GuidValue>\r
7 <Version>1.0</Version>\r
8 <Abstract>Entry Point of Unix Emulator</Abstract>\r
9 <Description>Main executable file of Unix Emulator that loads PEI core after initialization finished.</Description>\r
10 <Copyright>Copyright (c) 2006, Intel Corporation</Copyright>\r
11 <License>All rights reserved. This program and the accompanying materials\r
12 are licensed and made available under the terms and conditions of the BSD License\r
13 which accompanies this distribution. The full text of the license may be found at\r
14 http://opensource.org/licenses/bsd-license.php\r
15 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
16 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.</License>\r
17 <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052</Specification>\r
18 </MsaHeader>\r
19 <ModuleDefinitions>\r
20 <SupportedArchitectures>IA32 X64 IPF EBC</SupportedArchitectures>\r
21 <BinaryModule>false</BinaryModule>\r
22 <OutputFileBasename>SecMain</OutputFileBasename>\r
23 </ModuleDefinitions>\r
24 <LibraryClassDefinitions>\r
25 <LibraryClass Usage="ALWAYS_CONSUMED">\r
26 <Keyword>PeCoffLib</Keyword>\r
27 </LibraryClass>\r
28 <LibraryClass Usage="ALWAYS_CONSUMED">\r
29 <Keyword>BaseLib</Keyword>\r
30 </LibraryClass>\r
31 <LibraryClass Usage="ALWAYS_CONSUMED">\r
32 <Keyword>BaseMemoryLib</Keyword>\r
33 </LibraryClass>\r
34 <LibraryClass Usage="ALWAYS_CONSUMED">\r
35 <Keyword>PrintLib</Keyword>\r
36 </LibraryClass>\r
37 <LibraryClass Usage="ALWAYS_CONSUMED">\r
38 <Keyword>PcdLib</Keyword>\r
39 </LibraryClass>\r
40 <LibraryClass Usage="ALWAYS_CONSUMED">\r
41 <Keyword>DebugLib</Keyword>\r
42 </LibraryClass>\r
43 </LibraryClassDefinitions>\r
44 <SourceFiles>\r
45 <Filename ToolCode="DUMMY">SecMain_build.xml</Filename>\r
46 <Filename>SecMain.c</Filename>\r
47 <Filename>FwVol.c</Filename>\r
48 <Filename>UnixThunk.c</Filename>\r
49 <Filename>UgaX11.c</Filename>\r
50 <Filename>SecMain.h</Filename>\r
51 </SourceFiles>\r
52 <PackageDependencies>\r
53 <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>\r
54 <Package PackageGuid="68169ab0-d41b-4009-9060-292c253ac43d"/>\r
55 <Package PackageGuid="f2805c44-8985-11db-9e98-0040d02b1835"/>\r
56 </PackageDependencies>\r
57 <PPIs>\r
58 <Ppi Usage="ALWAYS_PRODUCED">\r
59 <PpiCName>gPeiUnixThunkPpiGuid</PpiCName>\r
60 </Ppi>\r
61 <Ppi Usage="ALWAYS_PRODUCED">\r
62 <PpiCName>gPeiUnixAutoScanPpiGuid</PpiCName>\r
63 </Ppi>\r
64 <Ppi Usage="ALWAYS_PRODUCED">\r
65 <PpiCName>gUnixFwhPpiGuid</PpiCName>\r
66 </Ppi>\r
67 <Ppi Usage="ALWAYS_PRODUCED">\r
68 <PpiCName>gEfiPeiStatusCodePpiGuid</PpiCName>\r
69 </Ppi>\r
70 <Ppi Usage="ALWAYS_PRODUCED">\r
71 <PpiCName>gUnixPeiLoadFilePpiGuid</PpiCName>\r
72 </Ppi>\r
73 </PPIs>\r
74 <Guids>\r
75 <GuidCNames Usage="ALWAYS_PRODUCED">\r
76 <GuidCName>gEfiPeiPeCoffLoaderGuid</GuidCName>\r
77 </GuidCNames>\r
78 </Guids>\r
79 <Externs>\r
80 <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>\r
81 <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>\r
82 </Externs>\r
83 <PcdCoded>\r
84 <PcdEntry PcdItemType="DYNAMIC">\r
85 <C_Name>PcdUnixMemorySizeForSecMain</C_Name>\r
86 <TokenSpaceGuidCName>gEfiEdkUnixPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
87 <HelpText>This PCD defines the memory size of simulated machine. Simulator will allocate\r
88 the size of PcdUnixMemorySizeForSecMain in windows platform.</HelpText>\r
89 </PcdEntry>\r
90 <PcdEntry PcdItemType="DYNAMIC">\r
91 <C_Name>PcdUnixFirmwareVolume</C_Name>\r
92 <TokenSpaceGuidCName>gEfiEdkUnixPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
93 <HelpText>This PCD defines the FD file windows path string. Simulator will load the FD file and execute.</HelpText>\r
94 </PcdEntry>\r
95 <PcdEntry PcdItemType="DYNAMIC">\r
96 <C_Name>PcdUnixBootMode</C_Name>\r
97 <TokenSpaceGuidCName>gEfiEdkUnixPkgTokenSpaceGuid</TokenSpaceGuidCName>\r
98 <HelpText>This PCD defines the boot mode for simualtor. \r
99 The boot mode can be set as following value:\r
100 0x0: Boot with full configuration.\r
101 0x1: Boot with minimal configuration.\r
102 0x2: Boot assume no configuration changes.\r
103 0x3: Boot with full configuration plus diagnostics.\r
104 0x4: Boot with default settings.\r
105 0x5: Boot on S4 resume.\r
106 0x6: Boot on S5 resume.\r
107 0x10: Boot on S2 resume. \r
108 0x11: Boot on S3 resume.\r
109 0x12: Boot on flash update.\r
110 0x20: Boot in reovery mode.</HelpText>\r
111 </PcdEntry>\r
112 </PcdCoded>\r
113</ModuleSurfaceArea>