Abstract PTE list terminator into paging layer
This commit is contained in:
@@ -351,6 +351,21 @@ MM::Paging::GetPteDistance(PMMPTE EndPte,
|
||||
return PmlRoutines->GetPteDistance(EndPte, StartPte);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the terminator value for a PTE list.
|
||||
*
|
||||
* @return This routine returns the terminator value for a PTE list.
|
||||
*
|
||||
* @since XT 1.0
|
||||
*/
|
||||
XTAPI
|
||||
ULONG_PTR
|
||||
MM::Paging::GetPteListTerminator(VOID)
|
||||
{
|
||||
/* Return PTE list terminator value */
|
||||
return PmlRoutines->GetPteListTerminator();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the size of a PTE.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user