• 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: 中断模块内部头文件
14  */
15 #ifndef PRT_IRQ_EXTERNAL_H
16 #define PRT_IRQ_EXTERNAL_H
17 
18 #include "prt_hwi_external.h"
19 
20 /* 模块内全局变量声明 */
21 extern U32 g_intCount;
22 #define OS_INT_COUNT g_intCount
23 
24 /* Tick中断对应的硬件定时器ID */
25 extern U16 g_tickHwTimerIndex;
26 
27 /* 模块内函数声明 */
28 extern void OsHwiDefaultHandler(HwiArg arg);
29 extern void OsHwiHookDispatcher(HwiHandle archHwi);
30 extern void OsHwiCombineDispatchHandler(HwiArg arg);
31 
32 #endif /* PRT_IRQ_EXTERNAL_H */
33