Replace writable flag with AttributesMask in PTE setup
All checks were successful
Builds / ExectOS (amd64, release) (push) Successful in 29s
Builds / ExectOS (amd64, debug) (push) Successful in 33s
Builds / ExectOS (i686, debug) (push) Successful in 31s
Builds / ExectOS (i686, release) (push) Successful in 30s

This commit is contained in:
2025-11-04 17:34:49 +01:00
parent dda8f88830
commit 071c840ca8
7 changed files with 23 additions and 23 deletions

View File

@@ -371,8 +371,8 @@ MM::Paging::SetOneEntry(IN PMMPTE Pte,
* @param PageFrameNumber
* Physical frame number to map.
*
* @param Writable
* Indicates whether the page should be writable.
* @param AttributesMask
* Specifies the attributes mask to apply to the PTE.
*
* @return This routine does not return any value.
*
@@ -382,10 +382,10 @@ XTAPI
VOID
MM::Paging::SetPte(IN PMMPTE PtePointer,
IN PFN_NUMBER PageFrameNumber,
IN BOOLEAN Writable)
IN ULONG_PTR AttributesMask)
{
/* Set PTE */
PmlRoutines->SetPte(PtePointer, PageFrameNumber, (BOOLEAN)Writable);
PmlRoutines->SetPte(PtePointer, PageFrameNumber, AttributesMask);
}
/**