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