Minor fixes to comments.
[AROS.git] / rom / kernel / deletecontext.c
blobe3ef0b4baa34efaa9d755462e4bda08b2a73d116
1 #include <aros/kernel.h>
2 #include <proto/exec.h>
4 #include <kernel_base.h>
6 /*****************************************************************************
8 NAME */
9 #include <proto/kernel.h>
11 AROS_LH1(void, KrnDeleteContext,
13 /* SYNOPSIS */
14 AROS_LHA(void *, context, A0),
16 /* LOCATION */
17 struct KernelBase *, KernelBase, 19, Kernel)
19 /* FUNCTION
20 Free CPU context storage area
22 INPUTS
23 context - a pointer to a CPU context storage previously allocated using
24 KrnCreateContext()
26 RESULT
27 None.
29 NOTES
31 EXAMPLE
33 BUGS
35 SEE ALSO
36 KrnCreateContext()
38 INTERNALS
40 ******************************************************************************/
42 AROS_LIBFUNC_INIT
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);
50 AROS_LIBFUNC_EXIT