diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-09 08:17:21 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-09 08:17:21 +0000 |
commit | b244c7dc74ba82c687aa0bb67b52943ed951208e (patch) | |
tree | 4abaf8f3afd51e44f9c1f0be93bb9323c832ba99 /MdePkg/MdePkg.spd | |
parent | fe64f4ffd6dba2d37f5adf77969ef8ef4a2bb220 (diff) | |
download | edk2-platforms-b244c7dc74ba82c687aa0bb67b52943ed951208e.tar.xz |
Add in UefiApplicationEntryPoint library class and library instance.
The major difference between UefiApplicationEntryPoint and UefiDriverEntryPoint is that:
1) UEFI application will always be unloaded no matter what is the return status code from the application. Therefore, the library destructors should be called always.
2) UEFI application should not register any callback to evevnt such as EFI_EVENT_GROUP_VIRTUAL_ADDRESS_CHANGE and EFI_EVENT_GROUP_EXIT_BOOT_SERVICES.
3) UEFI application does not support module merger like Uefi Driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2199 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/MdePkg.spd')
-rw-r--r-- | MdePkg/MdePkg.spd | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/MdePkg/MdePkg.spd b/MdePkg/MdePkg.spd index 86fa64c265..e92e203b01 100644 --- a/MdePkg/MdePkg.spd +++ b/MdePkg/MdePkg.spd @@ -6,7 +6,7 @@ <Version>0.3</Version>
<Abstract>Framework Module Development Environment Industry Standards</Abstract>
<Description>This Package provides headers and libraries that conform to EFI/Framework Industry standards.</Description>
- <Copyright>Copyright (c) 2006, Intel Corporation.</Copyright>
+ <Copyright>Copyright (c) 2006 - 2007, 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. @@ -174,6 +174,10 @@ <IncludeHeader>Include/Library/UefiRuntimeServicesTableLib.h</IncludeHeader>
<HelpText/>
</LibraryClass>
+ <LibraryClass Name="UefiApplicationEntryPoint" SupArchList="IA32 X64 IPF EBC ARM PPC" SupModuleList="UEFI_APPLICATION">
+ <IncludeHeader>Include/Library/UefiApplicationEntryPoint.h</IncludeHeader>
+ <HelpText>Library to abstract entry point to a EFI Application.</HelpText>
+ </LibraryClass>
</LibraryClassDeclarations>
<IndustryStdIncludes>
<IndustryStdHeader Name="BaseTypes">
@@ -1180,6 +1184,7 @@ <Filename>Library/UefiLib/UefiLib.msa</Filename>
<Filename>Library/DxeMemoryLib/DxeMemoryLib.msa</Filename>
<Filename>Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.msa</Filename>
+ <Filename>Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.msa</Filename>
</MsaFiles>
<PackageHeaders>
<IncludePkgHeader ModuleType="BASE">Include/Base.h</IncludePkgHeader>
|