Abstract PTE list terminator into paging layer
All checks were successful
Builds / ExectOS (amd64, debug) (push) Successful in 25s
Builds / ExectOS (i686, debug) (push) Successful in 24s
Builds / ExectOS (i686, release) (push) Successful in 44s
Builds / ExectOS (amd64, release) (push) Successful in 48s

This commit is contained in:
2026-01-03 21:03:14 +01:00
parent cc76ea40ee
commit 329143b4f6
7 changed files with 66 additions and 0 deletions

View File

@@ -330,6 +330,21 @@ MM::PageMap::GetPteDistance(PMMPTE EndPte,
return ((ULONG_PTR)EndPte - (ULONG_PTR)StartPte) / sizeof(MMPTE);
}
/**
* 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::PageMap::GetPteListTerminator(VOID)
{
/* Return PTE list terminator value */
return 0xFFFFFFFF;
}
/**
* Gets the Offset of the PTE (Page Table Entry), that maps given address.
*