[NTOS]: Allocate and initialize color tables based on MmSecondaryColors (MiInitializeColorTables).

[NTOS]: These come after the PFN database, so modify the MmPfnAllocation to account for them.

svn path=/trunk/; revision=45558
This commit is contained in:
Sir Richard 2010-02-10 18:44:30 +00:00
parent 1711020a43
commit 88d67c0d34
2 changed files with 75 additions and 1 deletions

View file

@ -130,6 +130,13 @@ typedef struct _PHYSICAL_MEMORY_DESCRIPTOR
PHYSICAL_MEMORY_RUN Run[1];
} PHYSICAL_MEMORY_DESCRIPTOR, *PPHYSICAL_MEMORY_DESCRIPTOR;
typedef struct _MMCOLOR_TABLES
{
PFN_NUMBER Flink;
PVOID Blink;
PFN_NUMBER Count;
} MMCOLOR_TABLES, *PMMCOLOR_TABLES;
extern MMPTE HyperTemplatePte;
extern MMPTE ValidKernelPde;
extern MMPTE ValidKernelPte;