|
NeKernel dev
|
#include <DriverKit/ddk.h>Functions | |
| DDK_EXTERN void * | kalloc (size_t sz) |
| Allocates a new heap on the Kernel's side. | |
| DDK_EXTERN void | kfree (void *ptr) |
| Frees a pointer from the heap. | |
| DDK_EXTERN void * kalloc | ( | size_t | sz | ) |
Allocates a new heap on the Kernel's side.
Allocates an heap ptr.
| sz | the size of the heap block. |
| DDK_EXTERN void kfree | ( | void * | ptr | ) |
Frees a pointer from the heap.
Frees an heap ptr.
| ptr | the pointer to free. |