Updated PCI IDs to latest snapshot.
[tangerine.git] / rom / exec / remmemhandler.c
blob9c1ff7f40187cd7b03a52cbde616ce6a3e380b36
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Remove a memory handler.
6 Lang: english
7 */
8 #include <exec/execbase.h>
9 #include <aros/libcall.h>
10 #include <proto/exec.h>
12 /*****************************************************************************
14 NAME */
16 AROS_LH1(void, RemMemHandler,
18 /* SYNOPSIS */
19 AROS_LHA(struct Interrupt *, memHandler, A1),
21 /* LOCATION */
22 struct ExecBase *, SysBase, 130, Exec)
24 /* FUNCTION
25 Remove some function added with AddMemHandler again.
27 INPUTS
28 memHandler - The same Interrupt structure you gave to AddMemHandler().
30 RESULT
32 NOTES
34 EXAMPLE
36 BUGS
38 SEE ALSO
40 INTERNALS
42 ******************************************************************************/
44 AROS_LIBFUNC_INIT
46 /* Protect the low memory handler list */
47 Forbid();
48 /* Nothing spectacular: Just remove node */
49 Remove(&memHandler->is_Node);
50 Permit();
51 AROS_LIBFUNC_EXIT
52 } /* RemMemHandler */