• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2009-2022 Huawei Technologies Co., Ltd. All rights reserved.
3  *
4  * UniProton is licensed under Mulan PSL v2.
5  * You can use this software according to the terms and conditions of the Mulan PSL v2.
6  * You may obtain a copy of Mulan PSL v2 at:
7  *          http://license.coscl.org.cn/MulanPSL2
8  * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
9  * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
10  * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
11  * See the Mulan PSL v2 for more details.
12  * Create: 2009-12-22
13  * Description: 模块ID编号。
14  */
15 #ifndef PRT_MODULE_H
16 #define PRT_MODULE_H
17 
18 #ifdef __cplusplus
19 #if __cplusplus
20 extern "C" {
21 #endif /* __cpluscplus */
22 #endif /* __cpluscplus */
23 
24 enum MoudleId {
25     OS_MID_SYS = 0x0, /* 系统模块 */
26     OS_MID_MEM = 0x1, /* 内存模块 */
27     OS_MID_FSCMEM = 0x2,
28     OS_MID_TSK = 0x3,
29     OS_MID_SWTMR = 0x4,
30     OS_MID_TICK = 0x5,
31     OS_MID_CPUP = 0x6,
32     OS_MID_SEM = 0x7,
33     OS_MID_HWI = 0x8,
34     OS_MID_HOOK = 0x9,
35     OS_MID_EXC = 0xa,
36     OS_MID_EVENT = 0xb,
37     OS_MID_QUEUE = 0xc,
38     OS_MID_TIMER = 0xd,
39     OS_MID_HARDDRV = 0xe,
40     OS_MID_APP = 0xf,
41     OS_MID_BUTT
42 };
43 
44 #ifdef __cplusplus
45 #if __cplusplus
46 }
47 #endif /* __cpluscplus */
48 #endif /* __cpluscplus */
49 
50 #endif /* PRT_MODULE_H */
51