mirror of
https://github.com/reactos/reactos.git
synced 2025-07-24 12:03:37 +00:00
[FREELDR] Move MachInitializeBootDevices to BootMain
This commit is contained in:
parent
f81c1910ee
commit
9daef292e9
2 changed files with 6 additions and 6 deletions
|
@ -363,12 +363,6 @@ VOID RunLoader(VOID)
|
|||
ULONG SelectedOperatingSystem;
|
||||
ULONG i;
|
||||
|
||||
if (!MachInitializeBootDevices())
|
||||
{
|
||||
UiMessageBoxCritical("Error when detecting hardware.");
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef _M_IX86
|
||||
#ifndef UEFIBOOT
|
||||
/* Load additional SCSI driver (if any) */
|
||||
|
|
|
@ -71,6 +71,12 @@ VOID __cdecl BootMain(IN PCCH CmdLine)
|
|||
goto Quit;
|
||||
}
|
||||
|
||||
if (!MachInitializeBootDevices())
|
||||
{
|
||||
UiMessageBoxCritical("Error when detecting hardware.");
|
||||
goto Quit;
|
||||
}
|
||||
|
||||
RunLoader();
|
||||
|
||||
Quit:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue