summaryrefslogtreecommitdiff
path: root/DuetPkg
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-05-08 02:23:39 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-05-08 02:23:39 +0000
commitc51b1cb6a427bb232b335864bf3141c2cee04374 (patch)
tree608c45b612cee401ce608e1815074c60f97e3c25 /DuetPkg
parentdf166ce57448db0df33b2ea77d1142610103677e (diff)
downloadedk2-platforms-c51b1cb6a427bb232b335864bf3141c2cee04374.tar.xz
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
Diffstat (limited to 'DuetPkg')
-rw-r--r--DuetPkg/EfiLdr/EfiLdr.inf2
-rw-r--r--DuetPkg/EfiLdr/EfiLoader.c11
2 files changed, 11 insertions, 2 deletions
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;
+}
+
+