ptos: pool: Add freeing of allocated memory
Signed-off-by: Chloe M <chloe@mensia.org>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user