📄 os_dbg_r.lst
字号:
\ 00000000 0100 DC16 1
\ In segment DATA_C, align 2, align-sorted
95 INT16U const OSTaskStatStkSize = OS_TASK_STAT_STK_SIZE;
\ OSTaskStatStkSize:
\ 00000000 8000 DC16 128
\ In segment DATA_C, align 2, align-sorted
96 INT16U const OSTaskStatStkChkEn = OS_TASK_STAT_STK_CHK_EN;
\ OSTaskStatStkChkEn:
\ 00000000 0100 DC16 1
\ In segment DATA_C, align 2, align-sorted
97 INT16U const OSTaskSwHookEn = OS_TASK_SW_HOOK_EN;
\ OSTaskSwHookEn:
\ 00000000 0100 DC16 1
98
\ In segment DATA_C, align 2, align-sorted
99 INT16U const OSTCBPrioTblMax = OS_LOWEST_PRIO + 1; /* Number of entries in OSTCBPrioTbl[] */
\ OSTCBPrioTblMax:
\ 00000000 4000 DC16 64
\ In segment DATA_C, align 2, align-sorted
100 INT16U const OSTCBSize = sizeof(OS_TCB); /* Size in Bytes of OS_TCB */
\ OSTCBSize:
\ 00000000 6800 DC16 104
\ In segment DATA_C, align 2, align-sorted
101 INT16U const OSTicksPerSec = OS_TICKS_PER_SEC;
\ OSTicksPerSec:
\ 00000000 6400 DC16 100
\ In segment DATA_C, align 2, align-sorted
102 INT16U const OSTimeTickHookEn = OS_TIME_TICK_HOOK_EN;
\ OSTimeTickHookEn:
\ 00000000 0100 DC16 1
\ In segment DATA_C, align 2, align-sorted
103 INT16U const OSVersionNbr = OS_VERSION;
\ OSVersionNbr:
\ 00000000 0E01 DC16 270
104
105 #endif
106
107 /*$PAGE*/
108 /*
109 *********************************************************************************************************
110 * DEBUG DATA
111 * TOTAL DATA SPACE (i.e. RAM) USED BY uC/OS-II
112 *********************************************************************************************************
113 */
114 #if OS_DEBUG_EN > 0
115
\ In segment DATA_C, align 2, align-sorted
116 INT16U const OSDataSize = sizeof(OSCtxSwCtr)
\ OSDataSize:
\ 00000000 4F17 DC16 5967
117 #if (OS_EVENT_EN > 0) && (OS_MAX_EVENTS > 0)
118 + sizeof(OSEventFreeList)
119 + sizeof(OSEventTbl)
120 #endif
121 #if (OS_VERSION >= 251) && (OS_FLAG_EN > 0) && (OS_MAX_FLAGS > 0)
122 + sizeof(OSFlagTbl)
123 + sizeof(OSFlagFreeList)
124 #endif
125 #if OS_TASK_STAT_EN > 0
126 + sizeof(OSCPUUsage)
127 + sizeof(OSIdleCtrMax)
128 + sizeof(OSIdleCtrRun)
129 + sizeof(OSStatRdy)
130 + sizeof(OSTaskStatStk)
131 #endif
132 #if OS_TICK_STEP_EN > 0
133 + sizeof(OSTickStepState)
134 #endif
135 #if (OS_MEM_EN > 0) && (OS_MAX_MEM_PART > 0)
136 + sizeof(OSMemFreeList)
137 + sizeof(OSMemTbl)
138 #endif
139 #if (OS_Q_EN > 0) && (OS_MAX_QS > 0)
140 + sizeof(OSQFreeList)
141 + sizeof(OSQTbl)
142 #endif
143 #if OS_TIME_GET_SET_EN > 0
144 + sizeof(OSTime)
145 #endif
146 + sizeof(OSIntNesting)
147 + sizeof(OSIntExitY)
148 + sizeof(OSLockNesting)
149 + sizeof(OSPrioCur)
150 + sizeof(OSPrioHighRdy)
151 + sizeof(OSRdyGrp)
152 + sizeof(OSRdyTbl)
153 + sizeof(OSRunning)
154 + sizeof(OSTaskCtr)
155 + sizeof(OSIdleCtr)
156 + sizeof(OSTaskIdleStk)
157 + sizeof(OSTCBCur)
158 + sizeof(OSTCBFreeList)
159 + sizeof(OSTCBHighRdy)
160 + sizeof(OSTCBList)
161 + sizeof(OSTCBPrioTbl)
162 + sizeof(OSTCBTbl);
163
164 #endif
165
166 /*$PAGE*/
167 /*
168 *********************************************************************************************************
169 * OS DEBUG INITIALIZATION
170 *
171 * Description: This function is used to make sure that debug variables that are unused in the application
172 * are not optimized away. This function might not be necessary for all compilers. In this
173 * case, you should simply DELETE the code in this function while still leaving the declaration
174 * of the function itself.
175 *
176 * Arguments : none
177 *
178 * Returns : none
179 *
180 * Note(s) : (1) This code doesn't do anything, it simply prevents the compiler from optimizing out
181 * the 'const' variables which are declared in this file.
182 * (2) You may decide to 'compile out' the code (by using #ff 0/#endif) INSIDE the function
183 * if your compiler DOES NOT optimize out the 'const' variables above.
184 *********************************************************************************************************
185 */
186
187 #if OS_VERSION >= 270 && OS_DEBUG_EN > 0
\ In segment CODE, align 4, keep-with-next
188 void OSDebugInit (void)
189 {
190 void *ptemp;
191
192
193 ptemp = (void *)&OSDebugEn;
194
195 ptemp = (void *)&OSEndiannessTest;
196
197 ptemp = (void *)&OSEventMax;
198 ptemp = (void *)&OSEventNameSize;
199 ptemp = (void *)&OSEventEn;
200 ptemp = (void *)&OSEventSize;
201 ptemp = (void *)&OSEventTblSize;
202
203 ptemp = (void *)&OSFlagEn;
204 ptemp = (void *)&OSFlagGrpSize;
205 ptemp = (void *)&OSFlagNodeSize;
206 ptemp = (void *)&OSFlagWidth;
207 ptemp = (void *)&OSFlagMax;
208 ptemp = (void *)&OSFlagNameSize;
209
210 ptemp = (void *)&OSLowestPrio;
211
212 ptemp = (void *)&OSMboxEn;
213
214 ptemp = (void *)&OSMemEn;
215 ptemp = (void *)&OSMemMax;
216 ptemp = (void *)&OSMemNameSize;
217 ptemp = (void *)&OSMemSize;
218 ptemp = (void *)&OSMemTblSize;
219
220 ptemp = (void *)&OSMutexEn;
221
222 ptemp = (void *)&OSPtrSize;
223
224 ptemp = (void *)&OSQEn;
225 ptemp = (void *)&OSQMax;
226 ptemp = (void *)&OSQSize;
227
228 ptemp = (void *)&OSRdyTblSize;
229
230 ptemp = (void *)&OSSemEn;
231
232 ptemp = (void *)&OSStkWidth;
233
234 ptemp = (void *)&OSTaskCreateEn;
235 ptemp = (void *)&OSTaskCreateExtEn;
236 ptemp = (void *)&OSTaskDelEn;
237 ptemp = (void *)&OSTaskIdleStkSize;
238 ptemp = (void *)&OSTaskProfileEn;
239 ptemp = (void *)&OSTaskMax;
240 ptemp = (void *)&OSTaskNameSize;
241 ptemp = (void *)&OSTaskStatEn;
242 ptemp = (void *)&OSTaskStatStkSize;
243 ptemp = (void *)&OSTaskStatStkChkEn;
244 ptemp = (void *)&OSTaskSwHookEn;
245
246 ptemp = (void *)&OSTCBPrioTblMax;
247 ptemp = (void *)&OSTCBSize;
248
249 ptemp = (void *)&OSTicksPerSec;
250 ptemp = (void *)&OSTimeTickHookEn;
251
252 ptemp = (void *)&OSVersionNbr;
253
254 ptemp = (void *)&OSDataSize;
255
256 ptemp = ptemp; /* Prevent compiler warning for 'ptemp' not being used! */
257 }
\ OSDebugInit:
\ 00000000 7047 BX LR ;; return
258 #endif
Maximum stack usage in bytes:
Function CSTACK
-------- ------
OSDebugInit 0
Segment part sizes:
Function/Label Bytes
-------------- -----
OSDebugEn 2
OSEndiannessTest 4
OSEventEn 2
OSEventMax 2
OSEventNameSize 2
OSEventSize 2
OSEventTblSize 2
OSFlagEn 2
OSFlagGrpSize 2
OSFlagNodeSize 2
OSFlagWidth 2
OSFlagMax 2
OSFlagNameSize 2
OSLowestPrio 2
OSMboxEn 2
OSMemEn 2
OSMemMax 2
OSMemNameSize 2
OSMemSize 2
OSMemTblSize 2
OSMutexEn 2
OSPtrSize 2
OSQEn 2
OSQMax 2
OSQSize 2
OSRdyTblSize 2
OSSemEn 2
OSStkWidth 2
OSTaskCreateEn 2
OSTaskCreateExtEn 2
OSTaskDelEn 2
OSTaskIdleStkSize 2
OSTaskProfileEn 2
OSTaskMax 2
OSTaskNameSize 2
OSTaskStatEn 2
OSTaskStatStkSize 2
OSTaskStatStkChkEn 2
OSTaskSwHookEn 2
OSTCBPrioTblMax 2
OSTCBSize 2
OSTicksPerSec 2
OSTimeTickHookEn 2
OSVersionNbr 2
OSDataSize 2
OSDebugInit 2
Others 8
10 bytes in segment CODE
92 bytes in segment DATA_C
2 bytes of CODE memory (+ 8 bytes shared)
92 bytes of CONST memory
Errors: none
Warnings: none
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -