mirror of
https://github.com/reactos/reactos.git
synced 2025-04-21 20:50:29 +00:00
Moved the hardcoded command line string to loadros.
svn path=/trunk/; revision=2854
This commit is contained in:
parent
d3b50da3ce
commit
d3e627f08c
1 changed files with 6 additions and 12 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: main.c,v 1.116 2002/03/16 00:00:13 ekohl Exp $
|
/* $Id: main.c,v 1.117 2002/04/17 11:56:33 ekohl Exp $
|
||||||
*
|
*
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
* FILE: ntoskrnl/ke/main.c
|
* FILE: ntoskrnl/ke/main.c
|
||||||
|
@ -1102,15 +1102,9 @@ _main (ULONG MultiBootMagic, PLOADER_PARAMETER_BLOCK _LoaderBlock)
|
||||||
KeLoaderBlock.ModsCount++;
|
KeLoaderBlock.ModsCount++;
|
||||||
KeLoaderBlock.ModsAddr = (ULONG)&KeLoaderModules;
|
KeLoaderBlock.ModsAddr = (ULONG)&KeLoaderModules;
|
||||||
|
|
||||||
/*
|
strcpy(KeLoaderCommandLine, (PUCHAR)_LoaderBlock->CommandLine);
|
||||||
* FIXME: Preliminary hack!!!! Add boot device to beginning of command line.
|
|
||||||
* This should be done by the boot loader.
|
|
||||||
*/
|
|
||||||
strcpy (KeLoaderCommandLine,
|
|
||||||
"multi(0)disk(0)rdisk(0)partition(1)\\reactos /DEBUGPORT=SCREEN");
|
|
||||||
/* strcat (KeLoaderCommandLine, (PUCHAR)KeLoaderBlock.CommandLine); */
|
|
||||||
|
|
||||||
KeLoaderBlock.CommandLine = (ULONG)KeLoaderCommandLine;
|
KeLoaderBlock.CommandLine = (ULONG)KeLoaderCommandLine;
|
||||||
|
|
||||||
strcpy(KeLoaderModuleStrings[0], "ntoskrnl.exe");
|
strcpy(KeLoaderModuleStrings[0], "ntoskrnl.exe");
|
||||||
KeLoaderModules[0].String = (ULONG)KeLoaderModuleStrings[0];
|
KeLoaderModules[0].String = (ULONG)KeLoaderModuleStrings[0];
|
||||||
KeLoaderModules[0].ModStart = 0xC0000000;
|
KeLoaderModules[0].ModStart = 0xC0000000;
|
||||||
|
|
Loading…
Reference in a new issue