mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTOS:MM] Fix MiIsUserPte inline
This commit is contained in:
parent
49cfac17c5
commit
b0dfe20981
1 changed files with 1 additions and 1 deletions
|
@ -729,7 +729,7 @@ FORCEINLINE
|
|||
BOOLEAN
|
||||
MiIsUserPte(PVOID Address)
|
||||
{
|
||||
return (Address <= (PVOID)MiHighestUserPte);
|
||||
return (Address >= (PVOID)PTE_BASE) && (Address <= (PVOID)MiHighestUserPte);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue