mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 20:43:00 +00:00
[NTOS:MM] Implement proper refcounting of page tables on amd64
CORE-17552
This commit is contained in:
parent
3aa346c21f
commit
c8fb3f7514
8 changed files with 217 additions and 68 deletions
|
@ -879,8 +879,19 @@ typedef struct _MMWSL
|
|||
PVOID HighestPermittedHashAddress;
|
||||
ULONG NumberOfImageWaiters;
|
||||
ULONG VadBitMapHint;
|
||||
#ifndef _M_AMD64
|
||||
USHORT UsedPageTableEntries[768];
|
||||
ULONG CommittedPageTables[24];
|
||||
#else
|
||||
VOID* HighestUserAddress;
|
||||
ULONG MaximumUserPageTablePages;
|
||||
ULONG MaximumUserPageDirectoryPages;
|
||||
ULONG* CommittedPageTables;
|
||||
ULONG NumberOfCommittedPageDirectories;
|
||||
ULONG* CommittedPageDirectories;
|
||||
ULONG NumberOfCommittedPageDirectoryParents;
|
||||
ULONGLONG CommittedPageDirectoryParents[1];
|
||||
#endif
|
||||
} MMWSL, *PMMWSL;
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue