We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9853f1d commit fbadec2Copy full SHA for fbadec2
boot/freeldr/freeldr/arch/uefi/uefildr.c
@@ -57,6 +57,19 @@ EfiEntry(
57
/* Initialize I/O subsystem */
58
FsInit();
59
60
+ /* Initialize the module list */
61
+ if (!PeLdrInitializeModuleList())
62
+ {
63
+ UiMessageBoxCritical("Unable to initialize module list.");
64
+ goto Quit;
65
+ }
66
+
67
+ if (!MachInitializeBootDevices())
68
69
+ UiMessageBoxCritical("Error when detecting hardware.");
70
71
72
73
/* 0x32000 is what UEFI defines, but we can go smaller if we want */
74
BasicStack = (PVOID)((ULONG_PTR)0x32000 + (ULONG_PTR)MmAllocateMemoryWithType(0x32000, LoaderOsloaderStack));
75
_changestack();
0 commit comments