diff options
author | lhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-31 16:26:40 +0000 |
---|---|---|
committer | lhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-31 16:26:40 +0000 |
commit | 808def96aa4589fba9c2d0ea55837754a3b7a4f7 (patch) | |
tree | 0ea221c59abb2474c694e7ab5bd61006be77e47e /OldMdePkg/Library/UefiApplicationEntryPoint/ApplicationEntryPoint.c | |
parent | 9216450d1143056a50a5f916984a2d7faf590488 (diff) | |
download | edk2-platforms-808def96aa4589fba9c2d0ea55837754a3b7a4f7.tar.xz |
Retiring the ANT/JAVA build and removing the older EDK II packages that required ANT/JAVA.
Last Ant/Java build was r7166
Developers requiring the Java/Ant packages should checkout the branch from:
https://edk2.tianocore.org/svn/edk2/branches/AntJava
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7168 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OldMdePkg/Library/UefiApplicationEntryPoint/ApplicationEntryPoint.c')
-rw-r--r-- | OldMdePkg/Library/UefiApplicationEntryPoint/ApplicationEntryPoint.c | 103 |
1 files changed, 0 insertions, 103 deletions
diff --git a/OldMdePkg/Library/UefiApplicationEntryPoint/ApplicationEntryPoint.c b/OldMdePkg/Library/UefiApplicationEntryPoint/ApplicationEntryPoint.c deleted file mode 100644 index d6d9beaaa1..0000000000 --- a/OldMdePkg/Library/UefiApplicationEntryPoint/ApplicationEntryPoint.c +++ /dev/null @@ -1,103 +0,0 @@ -/** @file
- Entry point library instance to a UEFI application.
-
-Copyright (c) 2007, Intel Corporation<BR>
-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.
-
-**/
-
-/**
- Enrty point to UEFI application.
-
- @param ImageHandle ImageHandle of the loaded driver.
- @param SystemTable Pointer to the EFI System Table.
-
- @retval EFI_SUCCESS One or more of the drivers returned a success code.
- @retval !EFI_SUCESS The return status from the last driver entry point in the list.
-
-**/
-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;
-}
-
-/**
- Invoke the destuctors of all libraries and call gBS->Exit
- to return control to firmware core.
-
- @param Status Status returned by the application that is exiting.
-
- @retval VOID
-
-**/
-VOID
-EFIAPI
-Exit (
- IN EFI_STATUS Status
- )
-
-{
- ProcessLibraryDestructorList (gImageHandle, gST);
-
- gBS->Exit (gImageHandle, Status, 0, NULL);
-}
-
-/**
- Enrty point wrapper of UEFI Application.
-
- @param ImageHandle ImageHandle of the loaded driver.
- @param SystemTable Pointer to the EFI System Table.
-
- @retval EFI_SUCCESS One or more of the drivers returned a success code.
- @retval !EFI_SUCESS The return status from the last driver entry point in the list.
-
-**/
-EFI_STATUS
-EFIAPI
-EfiMain (
- IN EFI_HANDLE ImageHandle,
- IN EFI_SYSTEM_TABLE *SystemTable
- )
-{
- return _ModuleEntryPoint (ImageHandle, SystemTable);
-}
|