mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 18:02:55 +00:00
Remove accidentally enabled debugging function, and apply the FreeLDR 6MB hack when building the ARC Memory Descriptor List as well. This will reflect the memory in use (thus representing the ARC-based glorious hack) when parsing the memory descriptor list, something we'll soon have to do in MmInitializePageList.
svn path=/trunk/; revision=32370
This commit is contained in:
parent
cb5d314ff3
commit
d6cd3275f2
|
@ -906,7 +906,7 @@ KiRosFrldrLpbToNtLpb(IN PROS_LOADER_PARAMETER_BLOCK RosLoaderBlock,
|
|||
{
|
||||
PLOADER_PARAMETER_BLOCK LoaderBlock;
|
||||
PLDR_DATA_TABLE_ENTRY LdrEntry;
|
||||
PLOADER_MODULE RosEntry;
|
||||
PLOADER_MODULE RosEntry = NULL;
|
||||
ULONG i, j, ModSize;
|
||||
PVOID ModStart;
|
||||
PCHAR DriverName;
|
||||
|
@ -1147,6 +1147,14 @@ KiRosFrldrLpbToNtLpb(IN PROS_LOADER_PARAMETER_BLOCK RosLoaderBlock,
|
|||
InsertTailList(&LoaderBlock->LoadOrderListHead,
|
||||
&LdrEntry->InLoadOrderLinks);
|
||||
}
|
||||
|
||||
/* Now mark the remainder of the FreeLDR 6MB area as "in use" */
|
||||
KiRosAllocateNtDescriptor(LoaderMemoryData,
|
||||
KERNEL_DESCRIPTOR_PAGE(RosEntry->ModEnd),
|
||||
KERNEL_DESCRIPTOR_PAGE((0x80800000 + 0x600000)) -
|
||||
KERNEL_DESCRIPTOR_PAGE(RosEntry->ModEnd),
|
||||
0,
|
||||
&Base);
|
||||
|
||||
/* Setup command line */
|
||||
LoaderBlock->LoadOptions = BldrCommandLine;
|
||||
|
|
|
@ -348,7 +348,7 @@ MmInit1(IN PADDRESS_RANGE BIOSMemoryMap,
|
|||
PLDR_DATA_TABLE_ENTRY LdrEntry;
|
||||
|
||||
/* Dump memory descriptors */
|
||||
if (TRUE) MiDbgDumpMemoryDescriptors();
|
||||
if (MiDbgEnableMdDump) MiDbgDumpMemoryDescriptors();
|
||||
if (MiDbgEnableMdDump) MiDbgDumpBiosMap(BIOSMemoryMap, AddressRangeCount);
|
||||
|
||||
/* Set the page directory */
|
||||
|
|
Loading…
Reference in a new issue