From: klu2 Date: Thu, 8 May 2008 02:23:39 +0000 (+0000) Subject: Do not use EntryPoint library for EfiLdr module. X-Git-Tag: edk2-stable201903~21033 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=c51b1cb6a427bb232b335864bf3141c2cee04374 Do not use EntryPoint library for EfiLdr module. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5178 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/DuetPkg/EfiLdr/EfiLdr.inf b/DuetPkg/EfiLdr/EfiLdr.inf index 1e17775144..2419738319 100644 --- a/DuetPkg/EfiLdr/EfiLdr.inf +++ b/DuetPkg/EfiLdr/EfiLdr.inf @@ -25,7 +25,6 @@ VERSION_STRING = 1.0 EDK_RELEASE_VERSION = 0x00020000 EFI_SPECIFICATION_VERSION = 0x00020000 - ENTRY_POINT = EfiLoader [Packages] MdePkg/MdePkg.dec @@ -36,7 +35,6 @@ [LibraryClasses] BaseLib BaseMemoryLib - UefiApplicationEntryPoint PrintLib [Sources.common] diff --git a/DuetPkg/EfiLdr/EfiLoader.c b/DuetPkg/EfiLdr/EfiLoader.c index dcca41d0d2..d55dfdb791 100644 --- a/DuetPkg/EfiLdr/EfiLoader.c +++ b/DuetPkg/EfiLdr/EfiLoader.c @@ -311,3 +311,14 @@ PrintHeader ('F'); SystemHang(); } +EFI_STATUS +EFIAPI +_ModuleEntryPoint ( + UINT32 BiosMemoryMapBaseAddress + ) +{ + EfiLoader(BiosMemoryMapBaseAddress); + return EFI_SUCCESS; +} + +