mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
Pass PageDirectoryStart and End so the memory manager
knows not to clobber it svn path=/trunk/; revision=13480
This commit is contained in:
@@ -244,9 +244,14 @@ VOID RunLoader(VOID)
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user