xref: /haiku/src/add-ons/kernel/drivers/audio/ice1712/util.h (revision 1b8f7f13a3dc70e0e903cb94248220b40b732204)
1 /*
2  * ice1712 BeOS/Haiku Driver for VIA - VT1712 Multi Channel Audio Controller
3  *
4  * Copyright (c) 2002, Jerome Duval		(jerome.duval@free.fr)
5  * Copyright (c) 2003, Marcus Overhagen	(marcus@overhagen.de)
6  * Copyright (c) 2007, Jerome Leveque	(leveque.jerome@neuf.fr)
7  *
8  * All rights reserved
9  * Distributed under the terms of the MIT license.
10  */
11 
12 #ifndef _UTIL_H_
13 #define _UTIL_H_
14 
15 #include <KernelExport.h>
16 
17 area_id alloc_mem(void **phy, void **log, size_t size, const char *name);
18 
19 cpu_status lock(void);
20 void unlock(cpu_status status);
21 
22 #endif
23