Implement basic non-paged pool allocator
Some checks failed
Builds / ExectOS (i686, debug) (push) Failing after 22s
Builds / ExectOS (amd64, debug) (push) Failing after 23s
Builds / ExectOS (i686, release) (push) Failing after 30s
Builds / ExectOS (amd64, release) (push) Failing after 32s

This commit is contained in:
2026-02-26 20:10:03 +01:00
parent 5778a761b5
commit 7bdd0dfe2c
3 changed files with 182 additions and 4 deletions

View File

@@ -17,6 +17,9 @@ namespace MM
{
class Allocator
{
private:
STATIC LIST_ENTRY NonPagedPoolFreeList[MM_MAX_FREE_PAGE_LIST_HEADS];
public:
STATIC XTAPI XTSTATUS AllocatePages(IN MMPOOL_TYPE PoolType,
IN SIZE_T Bytes,