grub2: bring back build of aros-side grub2 tools
[AROS.git] / rom / expansion / releaseconfigbinding.c
blob5688ea979eb68a0a96c7209031542863a4b179ca
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Release the lock on the CurrentBinding data.
6 Lang: english
7 */
8 #include "expansion_intern.h"
9 #include <proto/exec.h>
11 /*****************************************************************************
13 NAME */
14 #include <proto/expansion.h>
16 AROS_LH0(void, ReleaseConfigBinding,
18 /* SYNOPSIS */
19 /* void */
21 /* LOCATION */
22 struct ExpansionBase *, ExpansionBase, 21, Expansion)
24 /* FUNCTION
25 This function will release the lock obtained by
26 ObtainConfigBinding(). It will release the SignalSemaphore,
27 and allow others to bind to drivers.
29 INPUTS
30 None.
32 RESULT
33 None.
35 NOTES
37 EXAMPLE
39 BUGS
41 SEE ALSO
42 ObtainConfigBinding()
44 INTERNALS
46 *****************************************************************************/
48 AROS_LIBFUNC_INIT
50 ReleaseSemaphore(&IntExpBase(ExpansionBase)->BindSemaphore);
52 AROS_LIBFUNC_EXIT
53 } /* ReleaseConfigBinding */