]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkNt32Pkg/Sec/SecMain.msa
Added support for macro/property in tools_def.txt. Now you can define a property...
[mirror_edk2.git] / EdkNt32Pkg / Sec / SecMain.msa
index eb0be177365a325bf4d21e85fbfbff0cea2c5396..f8e8f2d6c8b40dd037231be4467b7fade93a9a3f 100644 (file)
@@ -1,21 +1,13 @@
-<?xml version="1.0" encoding="UTF-8"?>\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
-<ModuleSurfaceArea  xmlns="http://www.TianoCore.org/2006/Edk2.0">\r
+<?xml version="1.0" encoding="UTF-8"?>\r
+<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0">\r
   <MsaHeader>\r
     <ModuleName>SecMain</ModuleName>\r
     <ModuleType>USER_DEFINED</ModuleType>\r
     <GuidValue>4b837b03-6587-4d19-b82b-edfad836c0a0</GuidValue>\r
     <Version>1.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
+    <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\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
@@ -42,9 +34,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.-->
     <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
@@ -53,6 +42,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.-->
     </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
@@ -60,29 +50,29 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.-->
   </SourceFiles>\r
   <PackageDependencies>\r
     <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>\r
-    <Package PackageGuid="B6EC423C-21D2-490D-85C6-DD5864EAA674"/>\r
+    <Package PackageGuid="68169ab0-d41b-4009-9060-292c253ac43d"/>\r
     <Package PackageGuid="0fb2aa2d-10d5-40a5-a9dc-060c12a4a3f3"/>\r
   </PackageDependencies>\r
   <PPIs>\r
     <Ppi Usage="ALWAYS_PRODUCED">\r
-      <PpiCName>NtThunk</PpiCName>\r
+      <PpiCName>gPeiNtThunkPpiGuid</PpiCName>\r
     </Ppi>\r
     <Ppi Usage="ALWAYS_PRODUCED">\r
-      <PpiCName>NtAutoScan</PpiCName>\r
+      <PpiCName>gPeiNtAutoScanPpiGuid</PpiCName>\r
     </Ppi>\r
     <Ppi Usage="ALWAYS_PRODUCED">\r
-      <PpiCName>NtFwh</PpiCName>\r
+      <PpiCName>gNtFwhPpiGuid</PpiCName>\r
     </Ppi>\r
     <Ppi Usage="ALWAYS_PRODUCED">\r
-      <PpiCName>StatusCode</PpiCName>\r
+      <PpiCName>gEfiPeiStatusCodePpiGuid</PpiCName>\r
     </Ppi>\r
     <Ppi Usage="ALWAYS_PRODUCED">\r
-      <PpiCName>NtPeiLoadFile</PpiCName>\r
+      <PpiCName>gNtPeiLoadFilePpiGuid</PpiCName>\r
     </Ppi>\r
   </PPIs>\r
   <Guids>\r
     <GuidCNames Usage="ALWAYS_PRODUCED">\r
-      <GuidCName>PeiPeCoffLoader</GuidCName>\r
+      <GuidCName>gEfiPeiPeCoffLoaderGuid</GuidCName>\r
     </GuidCNames>\r
   </Guids>\r
   <Externs>\r
@@ -90,23 +80,33 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.-->
     <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>\r
   </Externs>\r
   <PcdCoded>\r
-    <PcdEntry PcdItemType="FIXED_AT_BUILD">\r
+    <PcdEntry PcdItemType="DYNAMIC">\r
       <C_Name>PcdWinNtMemorySizeForSecMain</C_Name>\r
-          <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>\r
-\r
-      <HelpText/>\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.</HelpText>\r
     </PcdEntry>\r
-    <PcdEntry PcdItemType="FIXED_AT_BUILD">\r
+    <PcdEntry PcdItemType="DYNAMIC">\r
       <C_Name>PcdWinNtFirmwareVolume</C_Name>\r
-          <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>\r
-\r
-      <HelpText/>\r
+      <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>\r
+      <HelpText>This PCD defines the FD file windows path string. Simulator will load the FD file and execute.</HelpText>\r
     </PcdEntry>\r
-    <PcdEntry PcdItemType="FIXED_AT_BUILD">\r
+    <PcdEntry PcdItemType="DYNAMIC">\r
       <C_Name>PcdWinNtBootMode</C_Name>\r
-          <TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>\r
-\r
-      <HelpText/>\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.</HelpText>\r
     </PcdEntry>\r
   </PcdCoded>\r
 </ModuleSurfaceArea>
\ No newline at end of file