1 /* This file is a small abstraction, provided for future implementation of slab allocator */
3 #include <proto/exec.h>
5 #define krnAllocCPUContext() AllocMem(KernelBase->kb_ContextSize, MEMF_CLEAR)
6 #define krnAllocIntrNode() AllocMem(sizeof(struct IntrNode), MEMF_PUBLIC)
8 #define krnFreeIntrNode(n) FreeMem(n, sizeof(struct IntrNode))