mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
Report correct system space start address in /3GB case.
svn path=/trunk/; revision=16448
This commit is contained in:
parent
2773203033
commit
8e4e06d0de
1 changed files with 4 additions and 3 deletions
|
@ -240,6 +240,9 @@ FrLdrGetKernelBase(VOID)
|
|||
{
|
||||
PCHAR p;
|
||||
|
||||
/* Set KernelBase */
|
||||
LoaderBlock.KernelBase = KernelBase;
|
||||
|
||||
/* Read Command Line */
|
||||
p = (PCHAR)LoaderBlock.CommandLine;
|
||||
while ((p = strchr(p, '/')) != NULL) {
|
||||
|
@ -252,14 +255,12 @@ FrLdrGetKernelBase(VOID)
|
|||
|
||||
/* Use 3GB */
|
||||
KernelBase = 0xE0000000;
|
||||
LoaderBlock.KernelBase = 0xC0000000;
|
||||
}
|
||||
}
|
||||
|
||||
p++;
|
||||
}
|
||||
|
||||
/* Set KernelBase */
|
||||
LoaderBlock.KernelBase = KernelBase;
|
||||
}
|
||||
|
||||
/*++
|
||||
|
|
Loading…
Reference in a new issue