blob: c7a1104eef7da7ce1b6da5d13e0b7f3ab4f97aa1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* Driver Manager Internal locking implementation
*
* COPYRIGHT (c) 2009 Cobham Gaisler AB.
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
*/
#include <rtems.h>
#include <drvmgr/drvmgr.h>
#include "drvmgr_internal.h"
void _DRV_Manager_Lock(void)
{
_API_Mutex_Lock(&drvmgr.lock);
}
void _DRV_Manager_Unlock(void)
{
_API_Mutex_Unlock(&drvmgr.lock);
}
|