WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
osal_errno.h
浏览该文件的文档.
1/*
2 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2021-2021. All rights reserved.
3 * Description: OSAL Error Definition.
4 */
5
6#ifndef OSAL_ERRNO_H_
7#define OSAL_ERRNO_H_
8
9#define OS_HWI_PRIO_IGNORE 6
10
11/* Basic common errno 1~34 */
12#define OSAL_EINTR (-4) /* Interrupted system call */
13#define OSAL_EINVAL (-22) /* Interrupted system call */
14#define OSAL_ETIME (-62) /* Timer expired */
15#define OSAL_EOVERFLOW (-75) /* Value too large for defined data type */
16
17#define OSAL_ERESTARTSYS 512
18
19#ifndef ERESTARTSYS
20#define ERESTARTSYS 512
21#endif
22
23#define OSAL_NONEOS_DEFAULT_RET (-200) /* NoneOS's default return value */
24#ifndef EOK
25#define EOK 0
26#endif
27
28#endif /* OSAL_ERRNO_H_ */