• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3  * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without modification,
6  * are permitted provided that the following conditions are met:
7  *
8  * 1. Redistributions of source code must retain the above copyright notice, this list of
9  * conditions and the following disclaimer.
10  *
11  * 2. Redistributions in binary form must reproduce the above copyright notice, this list
12  * of conditions and the following disclaimer in the documentation and/or other materials
13  * provided with the distribution.
14  *
15  * 3. Neither the name of the copyright holder nor the names of its contributors may be used
16  * to endorse or promote products derived from this software without specific prior written
17  * permission.
18  *
19  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
21  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
23  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
26  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
28  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
29  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30  */
31 
32 #include "It_los_swtmr.h"
33 
34 
35 EVENT_CB_S g_eventCB0;
36 EVENT_CB_S g_eventCB1;
37 EVENT_CB_S g_eventCB2;
38 EVENT_CB_S g_eventCB3;
39 UINT32 g_swtmrId1;
40 UINT32 g_swtmrId2;
41 UINT32 g_swtmrId3;
42 UINT32 g_swtmrCountA;
43 UINT32 g_swtmrCountB;
44 UINT32 g_swtmrCountC;
45 UINT32 g_uwsTick1;
46 UINT32 g_uwsTick2;
47 UINT32 g_uwsTick3;
48 
ItSuiteLosSwtmr(void)49 VOID ItSuiteLosSwtmr(void)
50 {
51     ItLosSwtmr001();
52     ItLosSwtmr002();
53     ItLosSwtmr003();
54     ItLosSwtmr004();
55     ItLosSwtmr005();
56     ItLosSwtmr006();
57     ItLosSwtmr007();
58     ItLosSwtmr008();
59     ItLosSwtmr009();
60     ItLosSwtmr010();
61     ItLosSwtmr011();
62     ItLosSwtmr012();
63     ItLosSwtmr013();
64     ItLosSwtmr014();
65     ItLosSwtmr015();
66     ItLosSwtmr016();
67     ItLosSwtmr017();
68     ItLosSwtmr018();
69     ItLosSwtmr019();
70     ItLosSwtmr020();
71     ItLosSwtmr021();
72     ItLosSwtmr024();
73     ItLosSwtmr027();
74 #if (LOSCFG_BASE_CORE_SWTMR_ALIGN == 1)
75     ItLosSwtmrAlign001();
76     ItLosSwtmrAlign002();
77     ItLosSwtmrAlign003();
78     ItLosSwtmrAlign004();
79 #endif
80 
81 #if (LOS_KERNEL_TEST_FULL == 1)
82     ItLosSwtmr025();
83     ItLosSwtmr026();
84     ItLosSwtmr029();
85     ItLosSwtmr030();
86     ItLosSwtmr031();
87     ItLosSwtmr032();
88     ItLosSwtmr035();
89     ItLosSwtmr036();
90     ItLosSwtmr037();
91     ItLosSwtmr038();
92     ItLosSwtmr042();
93     ItLosSwtmr044();
94     ItLosSwtmr045();
95     ItLosSwtmr046();
96     ItLosSwtmr047();
97     ItLosSwtmr048();
98     ItLosSwtmr049();
99     ItLosSwtmr050();
100     ItLosSwtmr051();
101     ItLosSwtmr052();
102     ItLosSwtmr053();
103     ItLosSwtmr054();
104     ItLosSwtmr055();
105     ItLosSwtmr056();
106     ItLosSwtmr057();
107     ItLosSwtmr058();
108     ItLosSwtmr059();
109     ItLosSwtmr060();
110     ItLosSwtmr061();
111     ItLosSwtmr062();
112     ItLosSwtmr063();
113     ItLosSwtmr066();
114     ItLosSwtmr067();
115     ItLosSwtmr068();
116     ItLosSwtmr069();
117     ItLosSwtmr071();
118     ItLosSwtmr072();
119     ItLosSwtmr073();
120     ItLosSwtmr074();
121     ItLosSwtmr075();
122     ItLosSwtmr076();
123     ItLosSwtmr077();
124     ItLosSwtmr078();
125     ItLosSwtmr079();
126     ItLosSwtmr080();
127     ItLosSwtmr081();
128 #if (LOSCFG_BASE_CORE_SWTMR_ALIGN == 1)
129     ItLosSwtmrAlign005();
130     ItLosSwtmrAlign006();
131     ItLosSwtmrAlign007();
132     ItLosSwtmrAlign008();
133     ItLosSwtmrAlign009();
134     ItLosSwtmrAlign010();
135     ItLosSwtmrAlign011();
136     ItLosSwtmrAlign012();
137     ItLosSwtmrAlign013();
138     ItLosSwtmrAlign014();
139     ItLosSwtmrAlign015();
140     ItLosSwtmrAlign016();
141     ItLosSwtmrAlign017();
142     ItLosSwtmrAlign018();
143     ItLosSwtmrAlign019();
144     ItLosSwtmrAlign020();
145     ItLosSwtmrAlign021();
146     ItLosSwtmrAlign022();
147     ItLosSwtmrAlign023();
148     ItLosSwtmrAlign024();
149     ItLosSwtmrAlign025();
150     ItLosSwtmrAlign026();
151     ItLosSwtmrAlign027();
152     ItLosSwtmrAlign028();
153     ItLosSwtmrAlign029();
154     ItLosSwtmrAlign030();
155     ItLosSwtmrAlign031();
156 #endif
157     ItLosSwtmrDelay001();
158     ItLosSwtmrDelay003();
159     ItLosSwtmrDelay004();
160     ItLosSwtmrDelay005();
161 
162 #if (LOS_KERNEL_HWI_TEST == 1)
163     ItLosSwtmr022();
164     ItLosSwtmr023();
165     ItLosSwtmr033();
166     ItLosSwtmr034();
167     ItLosSwtmr039();
168     ItLosSwtmr040();
169     ItLosSwtmr041();
170     ItLosSwtmr043();
171     ItLosSwtmr064();
172     ItLosSwtmr065();
173 #endif
174 #endif
175 }
176 
177