1 /*
2  * Copyright (C) 2015-2020 Alibaba Group Holding Limited
3  */
4 
5 #ifndef __OS_API__H__
6 #define __OS_API__H__
7 
8 #include "bluetooth.h"
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13     typedef void (*osapi_timer_notify) (void);
14 
15     void osapi_stop_hardware(void);
16 
17     void osapi_resume_hardware(void);
18 
19     void osapi_memcopy(U8 * dest, const U8 * source, U32 numBytes);
20 
21     void osapi_lock_stack(void);
22 
23     void osapi_unlock_stack(void);
24 
25     void osapi_notify_evm(void);
26 
27 	uint8_t osapi_lock_is_exist(void);
28 
29 #ifdef __cplusplus
30 }
31 #endif
32 #endif/*__OS_API__H__*/
33