Add definition for guarded PTE flag and remove hardcoded value
All checks were successful
Builds / ExectOS (i686, debug) (push) Successful in 31s
Builds / ExectOS (amd64, debug) (push) Successful in 32s
Builds / ExectOS (amd64, release) (push) Successful in 39s
Builds / ExectOS (i686, release) (push) Successful in 36s

This commit is contained in:
2026-02-25 12:14:26 +01:00
parent a136f21f4b
commit 7a44901064
3 changed files with 3 additions and 1 deletions

View File

@@ -52,7 +52,7 @@ MM::KernelPool::AllocateKernelStack(OUT PVOID *Stack,
}
/* Set up a template for an invalid PTE */
MM::Paging::SetPte(&InvalidPte, 0, 0x18);
MM::Paging::SetPte(&InvalidPte, 0, MM_PTE_GUARDED);
/* Set up a template for a valid, writable stack PTE */
MM::Paging::ClearPte(&TempPte);