summaryrefslogtreecommitdiff
path: root/DuetPkg/EfiLdr
diff options
context:
space:
mode:
Diffstat (limited to 'DuetPkg/EfiLdr')
-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;
+}
+
+