summaryrefslogtreecommitdiff
path: root/MdePkg/Library/UefiApplicationEntryPoint
diff options
context:
space:
mode:
authorGuo Mang <mang.guo@intel.com>2017-08-02 09:54:47 +0800
committerGuo Mang <mang.guo@intel.com>2017-09-05 19:45:08 +0800
commit6c128c65b5ec0e5b8b5a0ccb165f3afd29e485f8 (patch)
tree444372d92a0ae8991fe4d15eb3937df43690dfda /MdePkg/Library/UefiApplicationEntryPoint
parentb207c6434d7a5a4502975d322312e07017e8a8cb (diff)
downloadedk2-platforms-6c128c65b5ec0e5b8b5a0ccb165f3afd29e485f8.tar.xz
Remove core packages since we can get them from edk2 repository
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Guo Mang <mang.guo@intel.com>
Diffstat (limited to 'MdePkg/Library/UefiApplicationEntryPoint')
-rw-r--r--MdePkg/Library/UefiApplicationEntryPoint/ApplicationEntryPoint.c121
-rw-r--r--MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf40
-rw-r--r--MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.unibin1742 -> 0 bytes
3 files changed, 0 insertions, 161 deletions
diff --git a/MdePkg/Library/UefiApplicationEntryPoint/ApplicationEntryPoint.c b/MdePkg/Library/UefiApplicationEntryPoint/ApplicationEntryPoint.c
deleted file mode 100644
index dc05b23fd8..0000000000
--- a/MdePkg/Library/UefiApplicationEntryPoint/ApplicationEntryPoint.c
+++ /dev/null
@@ -1,121 +0,0 @@
-/** @file
- Entry point library instance to a UEFI application.
-
-Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
-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.
-
-**/
-
-#include <Uefi.h>
-#include <Library/UefiApplicationEntryPoint.h>
-#include <Library/BaseLib.h>
-#include <Library/DebugLib.h>
-#include <Library/UefiBootServicesTableLib.h>
-
-
-/**
- Entry point to UEFI Application.
-
- This function is the entry point for a UEFI Application. This function must call
- ProcessLibraryConstructorList(), ProcessModuleEntryPointList(), and ProcessLibraryDestructorList().
- The return value from ProcessModuleEntryPointList() is returned.
- If _gUefiDriverRevision is not zero and SystemTable->Hdr.Revision is less than _gUefiDriverRevison,
- then return EFI_INCOMPATIBLE_VERSION.
-
- @param ImageHandle The image handle of the UEFI Application.
- @param SystemTable A pointer to the EFI System Table.
-
- @retval EFI_SUCCESS The UEFI Application exited normally.
- @retval EFI_INCOMPATIBLE_VERSION _gUefiDriverRevision is greater than SystemTable->Hdr.Revision.
- @retval Other Return value from ProcessModuleEntryPointList().
-
-**/
-EFI_STATUS
-EFIAPI
-_ModuleEntryPoint (
- IN EFI_HANDLE ImageHandle,
- IN EFI_SYSTEM_TABLE *SystemTable
- )
-{
- EFI_STATUS Status;
-
- if (_gUefiDriverRevision != 0) {
- //
- // Make sure that the EFI/UEFI spec revision of the platform is >= EFI/UEFI spec revision of the application.
- //
- if (SystemTable->Hdr.Revision < _gUefiDriverRevision) {
- return EFI_INCOMPATIBLE_VERSION;
- }
- }
-
- //
- // Call constructor for all libraries.
- //
- ProcessLibraryConstructorList (ImageHandle, SystemTable);
-
- //
- // Call the module's entry point
- //
- Status = ProcessModuleEntryPointList (ImageHandle, SystemTable);
-
- //
- // Process destructor for all libraries.
- //
- ProcessLibraryDestructorList (ImageHandle, SystemTable);
-
- //
- // Return the return status code from the driver entry point
- //
- return Status;
-}
-
-
-/**
- Invokes the library destructors for all dependent libraries and terminates
- the UEFI Application.
-
- This function calls ProcessLibraryDestructorList() and the EFI Boot Service Exit()
- with a status specified by Status.
-
- @param Status Status returned by the application that is exiting.
-
-**/
-VOID
-EFIAPI
-Exit (
- IN EFI_STATUS Status
- )
-
-{
- ProcessLibraryDestructorList (gImageHandle, gST);
-
- gBS->Exit (gImageHandle, Status, 0, NULL);
-}
-
-
-/**
- Required by the EBC compiler and identical in functionality to _ModuleEntryPoint().
-
- @param ImageHandle The image handle of the UEFI Application.
- @param SystemTable A pointer to the EFI System Table.
-
- @retval EFI_SUCCESS The UEFI Application exited normally.
- @retval EFI_INCOMPATIBLE_VERSION _gUefiDriverRevision is greater than SystemTable->Hdr.Revision.
- @retval Other Return value from ProcessModuleEntryPointList().
-
-**/
-EFI_STATUS
-EFIAPI
-EfiMain (
- IN EFI_HANDLE ImageHandle,
- IN EFI_SYSTEM_TABLE *SystemTable
- )
-{
- return _ModuleEntryPoint (ImageHandle, SystemTable);
-}
diff --git a/MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf b/MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
deleted file mode 100644
index be92b3dc07..0000000000
--- a/MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
+++ /dev/null
@@ -1,40 +0,0 @@
-## @file
-# Module entry point library for UEFI Application.
-#
-# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
-#
-# 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.
-#
-#
-##
-
-[Defines]
- INF_VERSION = 0x00010005
- BASE_NAME = UefiApplicationEntryPoint
- MODULE_UNI_FILE = UefiApplicationEntryPoint.uni
- FILE_GUID = DADE8301-CB29-4fd5-8148-56FD246C5B88
- MODULE_TYPE = UEFI_APPLICATION
- VERSION_STRING = 1.0
- LIBRARY_CLASS = UefiApplicationEntryPoint|UEFI_APPLICATION
-
-#
-# VALID_ARCHITECTURES = IA32 X64 IPF EBC
-#
-
-[Sources]
- ApplicationEntryPoint.c
-
-
-[Packages]
- MdePkg/MdePkg.dec
-
-[LibraryClasses]
- UefiBootServicesTableLib
- DebugLib
- BaseLib
-
diff --git a/MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.uni b/MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.uni
deleted file mode 100644
index 9efacd16d0..0000000000
--- a/MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.uni
+++ /dev/null
Binary files differ