1 #include <aros/kernel.h>
2 #include <proto/exec.h>
4 #include <kernel_base.h>
6 /*****************************************************************************
9 #include <proto/kernel.h>
11 AROS_LH1(void, KrnDeleteContext
,
14 AROS_LHA(void *, context
, A0
),
17 struct KernelBase
*, KernelBase
, 19, Kernel
)
20 Free CPU context storage area
23 context - a pointer to a CPU context storage previously allocated using
40 ******************************************************************************/
45 * This is actually a pair to krnAllocCPUContext().
46 * Needs to be reimplemented on a per-architecture basis if needed.
48 FreeMem(context
, KernelBase
->kb_ContextSize
);