mirror of
https://github.com/reactos/reactos.git
synced 2025-05-01 03:29:37 +00:00
[FREELDR] Remove the 'Setup' parameter of the LoadAndBootWindowsCommon() function.
This parameter is not needed since it's possible to determine, from within this function, whether or not we are in Setup mode, by just looking for the presence of a non NULL LoaderBlock->SetupLdrBlock.
This commit is contained in:
parent
64ca7f6427
commit
58866a112a
3 changed files with 11 additions and 15 deletions
|
@ -389,10 +389,9 @@ LoadReactOSSetup(
|
|||
|
||||
UiDrawStatusText("The Setup program is starting...");
|
||||
|
||||
/* Load ReactOS Setup */
|
||||
/* Finish loading */
|
||||
return LoadAndBootWindowsCommon(_WIN32_WINNT_WS03,
|
||||
LoaderBlock,
|
||||
BootOptions,
|
||||
BootPath,
|
||||
TRUE);
|
||||
BootPath);
|
||||
}
|
||||
|
|
|
@ -998,17 +998,15 @@ LoadAndBootWindows(
|
|||
return LoadAndBootWindowsCommon(OperatingSystemVersion,
|
||||
LoaderBlock,
|
||||
BootOptions,
|
||||
BootPath,
|
||||
FALSE);
|
||||
BootPath);
|
||||
}
|
||||
|
||||
ARC_STATUS
|
||||
LoadAndBootWindowsCommon(
|
||||
USHORT OperatingSystemVersion,
|
||||
PLOADER_PARAMETER_BLOCK LoaderBlock,
|
||||
PCSTR BootOptions,
|
||||
PCSTR BootPath,
|
||||
BOOLEAN Setup)
|
||||
IN USHORT OperatingSystemVersion,
|
||||
IN PLOADER_PARAMETER_BLOCK LoaderBlock,
|
||||
IN PCSTR BootOptions,
|
||||
IN PCSTR BootPath)
|
||||
{
|
||||
PLOADER_PARAMETER_BLOCK LoaderBlockVA;
|
||||
BOOLEAN Success;
|
||||
|
|
|
@ -120,11 +120,10 @@ WinLdrpDumpArcDisks(PLOADER_PARAMETER_BLOCK LoaderBlock);
|
|||
|
||||
ARC_STATUS
|
||||
LoadAndBootWindowsCommon(
|
||||
USHORT OperatingSystemVersion,
|
||||
PLOADER_PARAMETER_BLOCK LoaderBlock,
|
||||
PCSTR BootOptions,
|
||||
PCSTR BootPath,
|
||||
BOOLEAN Setup);
|
||||
IN USHORT OperatingSystemVersion,
|
||||
IN PLOADER_PARAMETER_BLOCK LoaderBlock,
|
||||
IN PCSTR BootOptions,
|
||||
IN PCSTR BootPath);
|
||||
|
||||
VOID
|
||||
WinLdrSetupMachineDependent(PLOADER_PARAMETER_BLOCK LoaderBlock);
|
||||
|
|
Loading…
Reference in a new issue