Report correct system space start address in /3GB case.
Modified: trunk/reactos/boot/freeldr/freeldr/multiboot.c
_____
Modified: trunk/reactos/boot/freeldr/freeldr/multiboot.c
--- trunk/reactos/boot/freeldr/freeldr/multiboot.c 2005-07-06
08:20:26 UTC (rev 16447)
+++ trunk/reactos/boot/freeldr/freeldr/multiboot.c 2005-07-06
08:22:13 UTC (rev 16448)
@@ -240,6 +240,9 @@
{
PCHAR p;
+ /* Set KernelBase */
+ LoaderBlock.KernelBase = KernelBase;
+
/* Read Command Line */
p = (PCHAR)LoaderBlock.CommandLine;
while ((p = strchr(p, '/')) != NULL) {
@@ -252,14 +255,12 @@
/* Use 3GB */
KernelBase = 0xE0000000;
+ LoaderBlock.KernelBase = 0xC0000000;
}
}
p++;
}
-
- /* Set KernelBase */
- LoaderBlock.KernelBase = KernelBase;
}
/*++
Show replies by date