mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
Make MmGetPageDirectory an inline function
svn path=/branches/ros-amd64-bringup/; revision=36361
This commit is contained in:
@@ -6,7 +6,13 @@
|
||||
#define __NTOSKRNL_INCLUDE_INTERNAL_AMD64_MM_H
|
||||
|
||||
struct _EPROCESS;
|
||||
PULONG_PTR MmGetPageDirectory(VOID);
|
||||
|
||||
PULONG64
|
||||
FORCEINLINE
|
||||
MmGetPageDirectory(VOID)
|
||||
{
|
||||
return (PULONG64)__readcr3();
|
||||
}
|
||||
|
||||
#define PAGE_MASK(x) ((x)&(~0xfff))
|
||||
#define PAE_PAGE_MASK(x) ((x)&(~0xfffLL))
|
||||
|
||||
Reference in New Issue
Block a user