1 /*
2  * Copyright (C) 2017-2019 Alibaba Group Holding Limited
3  */
4 
5 
6 /******************************************************************************
7  * @file     csi_core.h
8  * @brief    CSI Core Layer Header File
9  * @version  V1.0
10  * @date     02. June 2017
11  ******************************************************************************/
12 
13 #ifndef _CORE_H_
14 #define _CORE_H_
15 
16 #include <stdint.h>
17 
18 #if defined(__CK801__) || defined(__E801__)
19 #include <core/core_801.h>
20 #elif defined(__CK802__) || defined(__E802__) || defined(__E802T__) || defined(__S802__) || defined(__S802T__)
21 #include <core/core_802.h>
22 #elif defined(__CK804__) || defined(__E804D__) || defined(__E804DT__) || defined(__E804F__)  || defined(__E804FT__) || defined (__E804DF__) || defined(__E804DFT__)
23 #include <core/core_804.h>
24 #elif defined(__CK803__) || defined(__E803__) || defined(__E803T__) || defined(__S803__) || defined(__S803T__)
25 #include <core/core_803.h>
26 #elif defined(__CK805__) || defined(__I805__) || defined(__I805F__)
27 #include <core/core_805.h>
28 #elif defined(__CK610__)
29 #include <core/core_ck610.h>
30 #elif defined(__CK810__) || defined(__C810__) || defined(__C810T__) || defined(__C810V__) || defined(__C810VT__)
31 #include <core/core_810.h>
32 #elif defined(__CK807__) || defined(__C807__) || defined(__C807F__) || defined(__C807FV__) || defined(__R807__)
33 #include <core/core_807.h>
34 #elif defined(__riscv) && defined(CONFIG_CSKY_CORETIM)
35 #include <core/core_rv32_old.h>
36 #elif defined(__riscv) && (__riscv_xlen == 32)
37 #include <core/core_rv32.h>
38 #elif defined(__riscv) && (__riscv_xlen == 64)
39 #include <core/core_rv64.h>
40 #endif
41 
42 #if defined(__riscv) && (__riscv_xlen == 32)
43 #include <core/csi_rv32_gcc.h>
44 #elif defined(__riscv) && (__riscv_xlen == 64)
45 #include <core/csi_rv64_gcc.h>
46 #elif defined(__csky__)
47 #include <core/csi_gcc.h>
48 #endif
49 
50 #ifdef __arm__
51 #include <csi_core_cmsis.h>
52 #endif
53 
54 #ifdef __cplusplus
55 extern "C" {
56 #endif
57 
58 #ifdef __cplusplus
59 }
60 #endif
61 
62 #endif /* _CORE_H_ */
63