diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-05-08 02:23:39 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-05-08 02:23:39 +0000 |
commit | c51b1cb6a427bb232b335864bf3141c2cee04374 (patch) | |
tree | 608c45b612cee401ce608e1815074c60f97e3c25 /DuetPkg | |
parent | df166ce57448db0df33b2ea77d1142610103677e (diff) | |
download | edk2-c51b1cb6a427bb232b335864bf3141c2cee04374.zip edk2-c51b1cb6a427bb232b335864bf3141c2cee04374.tar.gz edk2-c51b1cb6a427bb232b335864bf3141c2cee04374.tar.bz2 |
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.inf | 2 | ||||
-rw-r--r-- | DuetPkg/EfiLdr/EfiLoader.c | 11 |
2 files changed, 11 insertions, 2 deletions
diff --git a/DuetPkg/EfiLdr/EfiLdr.inf b/DuetPkg/EfiLdr/EfiLdr.inf index 1e17775..2419738 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 dcca41d..d55dfdb 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;
+}
+
+
|