summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-08-18 07:20:14 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-08-18 07:20:14 +0000
commite310a27b5e4686ee2660c6da731cf5806510ac4c (patch)
tree9b8909f56a9cefee538426fa7795cfda462512c4
parent0368663fd609e2e008031a2025693f190d19b0c7 (diff)
downloadedk2-platforms-e310a27b5e4686ee2660c6da731cf5806510ac4c.tar.xz
Remove msa file and add more comments for DXE core entry
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5660 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.c16
-rw-r--r--MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.msa45
2 files changed, 16 insertions, 45 deletions
diff --git a/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.c b/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.c
index 489f315efa..d9c93bdf76 100644
--- a/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.c
+++ b/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.c
@@ -28,6 +28,22 @@ VOID *gHobList = NULL;
/**
Enrty point to DXE core.
+ This function is the entry point to the DXE Foundation. The PEI phase, which executes just before
+ DXE, is responsible for loading and invoking the DXE Foundation in system memory. The only
+ parameter that is passed to the DXE Foundation is HobStart. This parameter is a pointer to the
+ HOB list that describes the system state at the hand-off to the DXE Foundation. At a minimum,
+ this system state must include the following:
+ - PHIT HOB
+ - CPU HOB
+ - Description of system memory
+ - Description of one or more firmware volumes
+ The DXE Foundation is also guaranteed that only one processor is running and that the processor is
+ running with interrupts disabled. The implementation of the DXE Foundation must not make any
+ assumptions about where the DXE Foundation will be loaded or where the stack is located. In
+ general, the DXE Foundation should make as few assumptions about the state of the system as
+ possible. This lack of assumptions will allow the DXE Foundation to be portable to the widest
+ variety of system architectures.
+
@param HobStart Pointer of HobList.
**/
diff --git a/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.msa b/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.msa
deleted file mode 100644
index 787a36f80c..0000000000
--- a/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.msa
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <MsaHeader>
- <ModuleName>DxeCoreEntryPoint</ModuleName>
- <ModuleType>DXE_CORE</ModuleType>
- <GuidValue>d258d6af-2fc0-4019-9c1f-1101c3dd19b5</GuidValue>
- <Version>1.0</Version>
- <Abstract>Component description file for Dxe Core Entry Point Library</Abstract>
- <Description>Entry Point Library instance used by Dxe Core</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>DxeCoreEntryPoint</OutputFileBasename>
- </ModuleDefinitions>
- <LibraryClassDefinitions>
- <LibraryClass Usage="ALWAYS_PRODUCED" SupModuleList="DXE_CORE">
- <Keyword>DxeCoreEntryPoint</Keyword>
- </LibraryClass>
- <LibraryClass Usage="ALWAYS_CONSUMED">
- <Keyword>DebugLib</Keyword>
- </LibraryClass>
- <LibraryClass Usage="ALWAYS_CONSUMED">
- <Keyword>BaseLib</Keyword>
- </LibraryClass>
- </LibraryClassDefinitions>
- <SourceFiles>
- <Filename>DxeCoreEntryPoint.c</Filename>
- </SourceFiles>
- <PackageDependencies>
- <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
- </PackageDependencies>
- <Externs>
- <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
- <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
- </Externs>
-</ModuleSurfaceArea> \ No newline at end of file