mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 08:30:21 +00:00
Add HYPER_SPACE, MI_MAKE_OWNER_PAGE, MI_MAKE_WRITE_PAGE and some globals
svn path=/branches/ros-amd64-bringup/; revision=43564
This commit is contained in:
parent
29106f47ec
commit
3405cb4728
2 changed files with 10 additions and 0 deletions
|
@ -17,6 +17,8 @@ MmGetPageDirectory(VOID)
|
|||
#define PAGE_MASK(x) ((x)&(~0xfff))
|
||||
#define PAE_PAGE_MASK(x) ((x)&(~0xfffLL))
|
||||
|
||||
#define HYPER_SPACE 0xFFFFF70000000000ULL
|
||||
|
||||
/* Base addresses of PTE and PDE */
|
||||
//#define PAGETABLE_MAP PTE_BASE
|
||||
//#define PAGEDIRECTORY_MAP (0xc0000000 + (PAGETABLE_MAP / (1024)))
|
||||
|
@ -56,5 +58,7 @@ MmGetPageDirectory(VOID)
|
|||
#define MI_IS_PAGE_WRITEABLE(x) ((x)->u.Hard.Write == 1)
|
||||
#define MI_IS_PAGE_COPY_ON_WRITE(x)((x)->u.Hard.CopyOnWrite == 1)
|
||||
#define MI_IS_PAGE_DIRTY(x) ((x)->u.Hard.Dirty == 1)
|
||||
#define MI_MAKE_OWNER_PAGE(x) ((x)->u.Hard.Owner = 1)
|
||||
#define MI_MAKE_WRITE_PAGE(x) ((x)->u.Hard.Write = 1)
|
||||
|
||||
#endif /* __NTOSKRNL_INCLUDE_INTERNAL_AMD64_MM_H */
|
||||
|
|
|
@ -22,6 +22,8 @@ ULONG MmMaximumNonPagedPoolPercent;
|
|||
ULONG MmSizeOfNonPagedPoolInBytes;
|
||||
ULONG MmMaximumNonPagedPoolInBytes;
|
||||
|
||||
PVOID MiSessionSpaceEnd; // 0xC0000000
|
||||
|
||||
ULONG64 MmUserProbeAddress;
|
||||
PVOID MmHighestUserAddress;
|
||||
PVOID MmSystemRangeStart;
|
||||
|
@ -50,6 +52,10 @@ ULONG MmSessionSize;
|
|||
PMEMORY_ALLOCATION_DESCRIPTOR MxFreeDescriptor;
|
||||
MEMORY_ALLOCATION_DESCRIPTOR MxOldFreeDescriptor;
|
||||
|
||||
PMMPTE MmSystemPagePtes;
|
||||
ULONG MxPfnAllocation;
|
||||
PVOID MiSystemViewStart;
|
||||
ULONG MmSystemViewSize;
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
|
|
Loading…
Reference in a new issue