WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
oal_types_device_rom.h
浏览该文件的文档.
1/*
2 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2019-2020. All rights reserved.
3 * Description: oal type head file.
4 */
5
6/*****************************************************************************
7 1 其他头文件包含
8*****************************************************************************/
9
10#ifndef __OAL_TYPES_DEVICE_ROM_H__
11#define __OAL_TYPES_DEVICE_ROM_H__
12
13#include "osal_types.h"
15
16#ifdef __cplusplus
17#if __cplusplus
18extern "C" {
19#endif
20#endif
21
22#ifndef INLINE__
23#ifdef INLINE_TO_FORCEINLINE
24#define INLINE__ __inline__ __attribute__((always_inline))
25#else
26#define INLINE__ __inline
27#endif
28#endif
29#define NOINLINE__ __attribute__ ((noinline))
30#define OAL_PTR_NULL (0L) /* 空指针定义,指针判断是否为空时与OAL_PTR_NULL进行比较 */
31
32#ifndef NULL
33#define NULL OAL_PTR_NULL
34#endif
35
36/* linux错误码 */
37#define OAL_EFAIL 1 /* 内核通用错误返回值 -1 */
38#define OAL_EINVAL 22 /* Invalid argument */
39
40typedef enum {
46
47#ifdef __cplusplus
48#if __cplusplus
49}
50#endif
51#endif
52
53#endif /* end of oal_types_device.h */
osal_u8 oal_bool_enum_uint8
Definition oal_types_device_rom.h:45
oal_bool_enum
Definition oal_types_device_rom.h:40
@ OAL_BUTT
Definition oal_types_device_rom.h:43
@ OAL_FALSE
Definition oal_types_device_rom.h:41
@ OAL_TRUE
Definition oal_types_device_rom.h:42
unsigned char osal_u8
Definition osal_types.h:11