source: rtems/cpukit/libdrvmgr/drvmgr_lock.c @ 98b52e3

5
Last change on this file since 98b52e3 was 98b52e3, checked in by Sebastian Huber <sebastian.huber@…>, on 12/04/17 at 07:48:10

drvmgr: Use API mutex

  • Property mode set to 100644
File size: 469 bytes
Line 
1/* Driver Manager Internal locking implementation
2 *
3 * COPYRIGHT (c) 2009 Cobham Gaisler AB.
4 *
5 * The license and distribution terms for this file may be
6 * found in the file LICENSE in this distribution or at
7 * http://www.rtems.org/license/LICENSE.
8 */
9
10#include <rtems.h>
11#include <drvmgr/drvmgr.h>
12#include "drvmgr_internal.h"
13
14void _DRV_Manager_Lock(void)
15{
16        _API_Mutex_Lock(&drvmgr.lock);
17}
18
19void _DRV_Manager_Unlock(void)
20{
21        _API_Mutex_Unlock(&drvmgr.lock);
22}
Note: See TracBrowser for help on using the repository browser.