CI130X SDK API手册  2.2.0
本手册用于描述CI130X SDK各个组件和驱动API
riscv_const.h
浏览该文件的文档.
1 /* Derived from <linux/const.h> */
2 
3 #ifndef _RISCV_CONST_H
4 #define _RISCV_CONST_H
5 
6 #ifdef __ASSEMBLER__
7 #define _AC(X,Y) X
8 #define _AT(T,X) X
9 #else
10 #define _AC(X,Y) (X##Y)
11 #define _AT(T,X) ((T)(X))
12 #endif /* !__ASSEMBLER__*/
13 
14 #define _BITUL(x) (_AC(1,UL) << (x))
15 #define _BITULL(x) (_AC(1,ULL) << (x))
16 
17 #endif /* _NUCLEI_CONST_H */