Add runlevel verification to memory pool allocations
All checks were successful
Builds / ExectOS (amd64, release) (push) Successful in 23s
Builds / ExectOS (i686, release) (push) Successful in 39s
Builds / ExectOS (amd64, debug) (push) Successful in 41s
Builds / ExectOS (i686, debug) (push) Successful in 28s

This commit is contained in:
2026-03-16 15:33:36 +01:00
parent 76d99dc9db
commit 184ce5735e
3 changed files with 72 additions and 0 deletions

View File

@@ -29,6 +29,10 @@
/* Memory manager pool type mask definition */
#define MM_POOL_TYPE_MASK 1
/* Bad pool caller reasons */
#define MM_POOL_INVALID_ALLOC_RUNLEVEL 8
#define MM_POOL_INVALID_FREE_RUNLEVEL 9
/* Number of reserved zeroed PTEs */
#define MM_RESERVED_ZERO_PTES 32