WS63 SDK 文档
7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
soc_osal.h
浏览该文件的文档.
1
/*
2
* Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd.. 2021-2022. All rights reserved.
3
* Description: OS Abstract Layer.
4
*/
5
6
#ifndef __SOC_OSAL_H__
7
#define __SOC_OSAL_H__
8
9
#include "
osal_list.h
"
10
#include "
osal_errno.h
"
11
12
/* osal api header begin */
13
#include "
atomic/osal_atomic.h
"
14
#include "
debug/osal_debug.h
"
15
#include "
interrupt/osal_interrupt.h
"
16
#include "
lock/osal_mutex.h
"
17
#include "
schedule/osal_task.h
"
18
#include "
event/osal_event.h
"
19
#include "
msgqueue/osal_msgqueue.h
"
20
21
#if defined(__FREERTOS__)
22
#include "
memory/osal_addr.h
"
23
#include "
memory/osal_barrier.h
"
24
#include "
memory/osal_cache.h
"
25
#include "
schedule/osal_completion.h
"
26
#include "
device/osal_device.h
"
27
#include "
fileops/osal_fileops.h
"
28
#include "
math/osal_math.h
"
29
#include "
proc/osal_proc.h
"
30
#include "
semaphore/osal_semaphore.h
"
31
#include "
lock/osal_spinlock.h
"
32
#include "
string/osal_string.h
"
33
#include "
time/osal_timer.h
"
34
#include "
schedule/osal_wait.h
"
35
#include "
schedule/osal_workqueue.h
"
36
#endif
37
38
#if defined(__linux__)
39
#include "
memory/osal_addr.h
"
40
#include "
memory/osal_barrier.h
"
41
#include "
device/osal_device.h
"
42
#include "
fileops/osal_fileops.h
"
43
#include "
math/osal_math.h
"
44
#include "
proc/osal_proc.h
"
45
#include "
semaphore/osal_semaphore.h
"
46
#include "
lock/osal_spinlock.h
"
47
#include "
string/osal_string.h
"
48
#include "
time/osal_timer.h
"
49
#include "
schedule/osal_wait.h
"
50
#include "
schedule/osal_workqueue.h
"
51
#if defined(__KERNEL__)
52
#include "
memory/osal_cache.h
"
53
#include "
math/osal_bitmap.h
"
54
#include "
schedule/osal_completion.h
"
55
#include "
schedule/osal_delaywork.h
"
56
#include "
lock/osal_rwlock.h
"
57
#endif
58
#endif
59
60
#if defined(__LITEOS__)
61
#include "
memory/osal_addr.h
"
62
#include "
memory/osal_barrier.h
"
63
#include "
memory/osal_cache.h
"
64
#include "
schedule/osal_completion.h
"
65
#include "
device/osal_device.h
"
66
#include "
event/osal_event.h
"
67
#include "
fileops/osal_fileops.h
"
68
#include "
math/osal_math.h
"
69
#include "
msgqueue/osal_msgqueue.h
"
70
#include "
proc/osal_proc.h
"
71
#include "
semaphore/osal_semaphore.h
"
72
#include "
lock/osal_spinlock.h
"
73
#include "
string/osal_string.h
"
74
#include "
time/osal_timer.h
"
75
#include "
schedule/osal_wait.h
"
76
#include "
schedule/osal_workqueue.h
"
77
#endif
78
79
#if defined(__NONOS__)
80
#include "
lock/osal_spinlock.h
"
81
#include "
time/osal_timer.h
"
82
#include "
schedule/osal_wait.h
"
83
#include "
semaphore/osal_semaphore.h
"
84
#endif
85
86
#if defined(CONFIG_SEC_CORE)
87
#include "
memory/osal_addr.h
"
88
#include "
memory/osal_cache.h
"
89
#include "
drvbox/osal_drvbox.h
"
90
#include "
fileops/osal_fileops.h
"
91
#include "
schedule/osal_wait.h
"
92
#endif
93
/* osal api header end */
94
#ifdef OSAL_IRQ_RECORD_DEBUG
95
#include "
osal_adapt_debug.h
"
96
#endif
97
98
#ifdef __cplusplus
99
#if __cplusplus
100
extern
"C"
{
101
#endif
102
#endif
103
104
#define OSAL_SUCCESS 0
105
#define OSAL_FAILURE (-1)
106
107
#ifdef __cplusplus
108
#if __cplusplus
109
}
110
#endif
111
#endif
112
#endif
/* __SOC_OSAL_H__ */
osal_adapt_debug.h
osal_addr.h
osal_atomic.h
osal_barrier.h
osal_bitmap.h
osal_cache.h
osal_completion.h
osal_debug.h
osal_delaywork.h
osal_device.h
osal_drvbox.h
osal_errno.h
osal_event.h
osal_fileops.h
osal_interrupt.h
osal_list.h
osal_math.h
osal_msgqueue.h
osal_mutex.h
osal_proc.h
osal_rwlock.h
osal_semaphore.h
osal_spinlock.h
osal_string.h
osal_task.h
osal_timer.h
osal_wait.h
osal_workqueue.h
src
kernel
osal
include
soc_osal.h
由
William Goodspeed
维护 | E-mail: gongzl@stu.hebust.edu.cn | Wechat: a23333344 | ALSO CHECKOUT
WS63FLASH
!
生成于 2025年 一月 4日 星期六 17:47:12 , 为 WS63 SDK 文档使用
1.9.8