configure: when detecting linux include directory for kernel compiler use target...
[AROS.git] / rom / kernel / kernel_objects.h
blob8b9b402e1f50e70c3f2970abca164ee164668b1d
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 */
8 /* This file is a small abstraction, provided for future implementation of slab allocator */
10 #include <proto/exec.h>
12 #define krnAllocCPUContext() AllocMem(KernelBase->kb_ContextSize, MEMF_CLEAR)
13 #define krnAllocIntrNode() AllocMem(sizeof(struct IntrNode), MEMF_PUBLIC)
15 #define krnFreeIntrNode(n) FreeMem(n, sizeof(struct IntrNode))