ptos: pool: Add freeing of allocated memory

Signed-off-by: Chloe M <chloe@mensia.org>
This commit is contained in:
2026-07-13 20:19:09 -04:00
parent aae870e874
commit 93acc859af
2 changed files with 43 additions and 0 deletions
+8
View File
@@ -89,6 +89,14 @@ typedef struct {
*/
VOID ExPoolRegionInit(POOL_REGION *Region);
/*
* Free a pool with an associated tag
*
* @Ptr: Base of memory to free
* @Tag: Tag associated with allocated memory
*/
VOID ExFreePoolWithTag(VOID *Ptr, ULONG Tag);
/*
* Allocate a memory pool of a specific type and assign a tag
* to it for verifying frees among other debugging needs.