-<?xml version="1.0" encoding="UTF-8"?>\r
-<!--\r
-Copyright (c) 2006, Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution. The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
--->\r
-<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.TianoCore.org/2006/Edk2.0 http://www.TianoCore.org/2006/Edk2.0/SurfaceArea.xsd">\r
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!--Copyright (c) 2006, Intel Corporation
+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.-->\r
+<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0">\r
<MsaHeader>\r
- <BaseName>SecMain</BaseName>\r
- <ModuleType>SEC</ModuleType>\r
- <ComponentType>SEC</ComponentType>\r
- <Guid>4b837b03-6587-4d19-b82b-edfad836c0a0</Guid>\r
- <Version>0</Version>\r
- <Abstract>Component description file for NT32 Sec.Warning the [sources.*] does not work like you think!If you add a file you need to update the makefile in the NT32 build tipSEC_OBJECTS needs to get the OBJ of the new C file added in.We keep [sources.*] synced up with SEC_OBJECTS so dependencies workproperly.Libraries.Common does not work you must update SEC_OBJECTS in the platformmakefile</Abstract>\r
- <Description>FIX ME!</Description>\r
- <Copyright>Copyright (c) 2004-2006, Intel Corporation</Copyright>\r
- <License>\r
- All rights reserved. This program and the accompanying materials\r
- are licensed and made available under the terms and conditions of the BSD License\r
- which accompanies this distribution. The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
- </License>\r
- <Specification>0</Specification>\r
- <Created>2006-03-14 17:04</Created>\r
- <Updated>2006-03-19 15:17</Updated>\r
+ <ModuleName>SecMain</ModuleName>\r
+ <ModuleType>USER_DEFINED</ModuleType>\r
+ <GuidValue>4b837b03-6587-4d19-b82b-edfad836c0a0</GuidValue>\r
+ <Version>1.0</Version>\r
+ <Abstract>Entry Point of NT32 Emulator</Abstract>\r
+ <Description>Main executable file of NT32 Emulator that loads PEI core after initialization finished.</Description>\r
+ <Copyright>Copyright (c) 2006, Intel Corporation</Copyright>\r
+ <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>\r
+ <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052</Specification>\r
</MsaHeader>\r
+ <ModuleDefinitions>\r
+ <SupportedArchitectures>IA32 X64 IPF EBC</SupportedArchitectures>\r
+ <BinaryModule>false</BinaryModule>\r
+ <OutputFileBasename>SecMain</OutputFileBasename>\r
+ </ModuleDefinitions>\r
<LibraryClassDefinitions>\r
- <LibraryClass Usage="ALWAYS_CONSUMED">PeCoffLib</LibraryClass>\r
- <LibraryClass Usage="ALWAYS_CONSUMED">BaseLib</LibraryClass>\r
- <LibraryClass Usage="ALWAYS_CONSUMED">BaseMemoryLib</LibraryClass>\r
- <LibraryClass Usage="ALWAYS_CONSUMED">PrintLib</LibraryClass>\r
- <LibraryClass Usage="ALWAYS_CONSUMED">ReportStatusCodeLib</LibraryClass>\r
- <LibraryClass Usage="ALWAYS_CONSUMED">PcdLib</LibraryClass>\r
- <LibraryClass Usage="ALWAYS_CONSUMED">DebugLib</LibraryClass>\r
+ <LibraryClass Usage="ALWAYS_CONSUMED">\r
+ <Keyword>PeCoffLib</Keyword>\r
+ </LibraryClass>\r
+ <LibraryClass Usage="ALWAYS_CONSUMED">\r
+ <Keyword>BaseLib</Keyword>\r
+ </LibraryClass>\r
+ <LibraryClass Usage="ALWAYS_CONSUMED">\r
+ <Keyword>BaseMemoryLib</Keyword>\r
+ </LibraryClass>\r
+ <LibraryClass Usage="ALWAYS_CONSUMED">\r
+ <Keyword>PrintLib</Keyword>\r
+ </LibraryClass>\r
+ <LibraryClass Usage="ALWAYS_CONSUMED">\r
+ <Keyword>ReportStatusCodeLib</Keyword>\r
+ </LibraryClass>\r
+ <LibraryClass Usage="ALWAYS_CONSUMED">\r
+ <Keyword>PcdLib</Keyword>\r
+ </LibraryClass>\r
+ <LibraryClass Usage="ALWAYS_CONSUMED">\r
+ <Keyword>DebugLib</Keyword>\r
+ </LibraryClass>\r
</LibraryClassDefinitions>\r
<SourceFiles>\r
+ <Filename ToolCode="DUMMY">SecMain_build.xml</Filename>\r
<Filename>SecMain.c</Filename>\r
<Filename>FwVol.c</Filename>\r
<Filename>WinNtThunk.c</Filename>\r
<Filename>SecMain.h</Filename>\r
</SourceFiles>\r
- <Includes>\r
- <PackageName>MdePkg</PackageName>\r
- <PackageName>EdkModulePkg</PackageName>\r
- <PackageName>EdkNt32Pkg</PackageName>\r
- </Includes>\r
+ <PackageDependencies>\r
+ <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>\r
+ <Package PackageGuid="B6EC423C-21D2-490D-85C6-DD5864EAA674"/>\r
+ <Package PackageGuid="0fb2aa2d-10d5-40a5-a9dc-060c12a4a3f3"/>\r
+ </PackageDependencies>\r
<PPIs>\r
- <Ppi Usage="ALWAYS_PRODUCED">NtThunk</Ppi>\r
- <Ppi Usage="ALWAYS_PRODUCED">NtAutoScan</Ppi>\r
- <Ppi Usage="ALWAYS_PRODUCED">NtFwh</Ppi>\r
- <Ppi Usage="ALWAYS_PRODUCED">StatusCode</Ppi>\r
- <Ppi Usage="ALWAYS_PRODUCED">NtPeiLoadFile</Ppi>\r
+ <Ppi Usage="ALWAYS_PRODUCED">\r
+ <PpiCName>gPeiNtThunkPpiGuid</PpiCName>\r
+ </Ppi>\r
+ <Ppi Usage="ALWAYS_PRODUCED">\r
+ <PpiCName>gPeiNtAutoScanPpiGuid</PpiCName>\r
+ </Ppi>\r
+ <Ppi Usage="ALWAYS_PRODUCED">\r
+ <PpiCName>gNtFwhPpiGuid</PpiCName>\r
+ </Ppi>\r
+ <Ppi Usage="ALWAYS_PRODUCED">\r
+ <PpiCName>gEfiPeiStatusCodePpiGuid</PpiCName>\r
+ </Ppi>\r
+ <Ppi Usage="ALWAYS_PRODUCED">\r
+ <PpiCName>gNtPeiLoadFilePpiGuid</PpiCName>\r
+ </Ppi>\r
</PPIs>\r
<Guids>\r
- <GuidEntry Usage="ALWAYS_PRODUCED">\r
- <C_Name>PeiPeCoffLoader</C_Name>\r
- </GuidEntry>\r
+ <GuidCNames Usage="ALWAYS_PRODUCED">\r
+ <GuidCName>gEfiPeiPeCoffLoaderGuid</GuidCName>\r
+ </GuidCNames>\r
</Guids>\r
<Externs>\r
- <Extern>\r
- <ModuleEntryPoint></ModuleEntryPoint>\r
- </Extern>\r
+ <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>\r
+ <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>\r
</Externs>\r
- <PCDs>\r
- <PcdData ItemType="FIXED_AT_BUILD">\r
- <C_Name>PcdWinNtCpuSpeed</C_Name>\r
- <Token>0x00001008</Token>\r
- <DatumType>VOID*</DatumType>\r
- </PcdData>\r
- <PcdData ItemType="FIXED_AT_BUILD">\r
- <C_Name>PcdWinNtMemorySize</C_Name>\r
- <Token>0x00001005</Token>\r
- <DatumType>VOID*</DatumType>\r
- </PcdData>\r
- <PcdData ItemType="FIXED_AT_BUILD">\r
+ <PcdCoded>\r
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">\r
+ <C_Name>PcdWinNtMemorySizeForSecMain</C_Name>\r
+ <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>\r
+ <HelpText>This PCD defines the memory size of simulated machine. Simulator will allocate\r
+ the size of PcdWinNtMemorySizeForSecMain in windows platform.\r
+ The item type of this PCD can only be "FIXED_AT_BUILD".</HelpText>\r
+ </PcdEntry>\r
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">\r
<C_Name>PcdWinNtFirmwareVolume</C_Name>\r
- <Token>0x00001009</Token>\r
- <DatumType>VOID*</DatumType>\r
- </PcdData>\r
- <PcdData ItemType="FIXED_AT_BUILD">\r
+ <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>\r
+ <HelpText>This PCD defines the FD file windows path string. Simulator will load the FD file and execute.\r
+ The item type of this PCD can only be "FIXED_AT_BUILD".</HelpText>\r
+ </PcdEntry>\r
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">\r
<C_Name>PcdWinNtBootMode</C_Name>\r
- <Token>0x00001006</Token>\r
- <DatumType>UINT32</DatumType>\r
- </PcdData>\r
- </PCDs>\r
- <BuildOptions>\r
- <Option>BUILD_TYPE=CUSTOM_BUILD</Option>\r
- </BuildOptions>\r
-</ModuleSurfaceArea>\r
+ <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>\r
+ <HelpText>This PCD defines the boot mode for simualtor. \r
+ The boot mode can be set as following value:\r
+ 0x0: Boot with full configuration.\r
+ 0x1: Boot with minimal configuration.\r
+ 0x2: Boot assume no configuration changes.\r
+ 0x3: Boot with full configuration plus diagnostics.\r
+ 0x4: Boot with default settings.\r
+ 0x5: Boot on S4 resume.\r
+ 0x6: Boot on S5 resume.\r
+ 0x10: Boot on S2 resume. \r
+ 0x11: Boot on S3 resume.\r
+ 0x12: Boot on flash update.\r
+ 0x20: Boot in reovery mode.\r
+ The item type of this PCD can only be "FIXED_AT_BUILD".</HelpText>\r
+ </PcdEntry>\r
+ </PcdCoded>\r
+</ModuleSurfaceArea>
\ No newline at end of file