Report correct system space start address in /3GB case.

svn path=/trunk/; revision=16448
This commit is contained in:
Filip Navara 2005-07-06 08:22:13 +00:00
parent 2773203033
commit 8e4e06d0de

View file

@ -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;
}
/*++