5
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 | |
---|
14 | void _DRV_Manager_Lock(void) |
---|
15 | { |
---|
16 | _API_Mutex_Lock(&drvmgr.lock); |
---|
17 | } |
---|
18 | |
---|
19 | void _DRV_Manager_Unlock(void) |
---|
20 | { |
---|
21 | _API_Mutex_Unlock(&drvmgr.lock); |
---|
22 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.