Pass PageDirectoryStart and End so the memory manager
knows not to clobber it
Modified: trunk/reactos/boot/freeldr/freeldr/reactos/setupldr.c

Modified: trunk/reactos/boot/freeldr/freeldr/reactos/setupldr.c
--- trunk/reactos/boot/freeldr/freeldr/reactos/setupldr.c	2005-02-09 20:53:18 UTC (rev 13479)
+++ trunk/reactos/boot/freeldr/freeldr/reactos/setupldr.c	2005-02-09 23:52:27 UTC (rev 13480)
@@ -244,9 +244,14 @@
   HINF InfHandle;
   ULONG ErrorLine;
   INFCONTEXT InfContext;
+ 
+  extern ULONG PageDirectoryStart;
+  extern ULONG PageDirectoryEnd;
 
   /* Setup multiboot information structure */
   LoaderBlock.Flags = MB_INFO_FLAG_BOOT_DEVICE | MB_INFO_FLAG_COMMAND_LINE | MB_INFO_FLAG_MODULES;
+  LoaderBlock.PageDirectoryStart = (ULONG)&PageDirectoryStart;
+  LoaderBlock.PageDirectoryEnd = (ULONG)&PageDirectoryEnd;
   LoaderBlock.BootDevice = 0xffffffff;
   LoaderBlock.CommandLine = (unsigned long)multiboot_kernel_cmdline;
   LoaderBlock.ModsCount = 0;