mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +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:
parent
2da2045b7f
commit
00c444e957
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue