📄 os_dbg.lst
字号:
\ In segment DATA_C, align 2, align-sorted, root
92 OS_COMPILER_OPT INT16U const OSSemEn = OS_SEM_EN;
\ OSSemEn:
\ 00000000 0100 DC16 1
93
\ In segment DATA_C, align 2, align-sorted, root
94 OS_COMPILER_OPT INT16U const OSStkWidth = sizeof(OS_STK); /* Size in Bytes of a stack entry */
\ OSStkWidth:
\ 00000000 0400 DC16 4
95
\ In segment DATA_C, align 2, align-sorted, root
96 OS_COMPILER_OPT INT16U const OSTaskCreateEn = OS_TASK_CREATE_EN;
\ OSTaskCreateEn:
\ 00000000 0100 DC16 1
\ In segment DATA_C, align 2, align-sorted, root
97 OS_COMPILER_OPT INT16U const OSTaskCreateExtEn = OS_TASK_CREATE_EXT_EN;
\ OSTaskCreateExtEn:
\ 00000000 0100 DC16 1
\ In segment DATA_C, align 2, align-sorted, root
98 OS_COMPILER_OPT INT16U const OSTaskDelEn = OS_TASK_DEL_EN;
\ OSTaskDelEn:
\ 00000000 0100 DC16 1
\ In segment DATA_C, align 2, align-sorted, root
99 OS_COMPILER_OPT INT16U const OSTaskIdleStkSize = OS_TASK_IDLE_STK_SIZE;
\ OSTaskIdleStkSize:
\ 00000000 8000 DC16 128
\ In segment DATA_C, align 2, align-sorted, root
100 OS_COMPILER_OPT INT16U const OSTaskProfileEn = OS_TASK_PROFILE_EN;
\ OSTaskProfileEn:
\ 00000000 0100 DC16 1
\ In segment DATA_C, align 2, align-sorted, root
101 OS_COMPILER_OPT INT16U const OSTaskMax = OS_MAX_TASKS + OS_N_SYS_TASKS; /* Total max. number of tasks */
\ OSTaskMax:
\ 00000000 2200 DC16 34
\ In segment DATA_C, align 2, align-sorted, root
102 OS_COMPILER_OPT INT16U const OSTaskNameSize = OS_TASK_NAME_SIZE; /* Size (in bytes) of task names */
\ OSTaskNameSize:
\ 00000000 2000 DC16 32
\ In segment DATA_C, align 2, align-sorted, root
103 OS_COMPILER_OPT INT16U const OSTaskStatEn = OS_TASK_STAT_EN;
\ OSTaskStatEn:
\ 00000000 0100 DC16 1
\ In segment DATA_C, align 2, align-sorted, root
104 OS_COMPILER_OPT INT16U const OSTaskStatStkSize = OS_TASK_STAT_STK_SIZE;
\ OSTaskStatStkSize:
\ 00000000 8000 DC16 128
\ In segment DATA_C, align 2, align-sorted, root
105 OS_COMPILER_OPT INT16U const OSTaskStatStkChkEn = OS_TASK_STAT_STK_CHK_EN;
\ OSTaskStatStkChkEn:
\ 00000000 0100 DC16 1
\ In segment DATA_C, align 2, align-sorted, root
106 OS_COMPILER_OPT INT16U const OSTaskSwHookEn = OS_TASK_SW_HOOK_EN;
\ OSTaskSwHookEn:
\ 00000000 0100 DC16 1
107
\ In segment DATA_C, align 2, align-sorted, root
108 OS_COMPILER_OPT 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, root
109 OS_COMPILER_OPT 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, root
110 OS_COMPILER_OPT INT16U const OSTicksPerSec = OS_TICKS_PER_SEC;
\ OSTicksPerSec:
\ 00000000 6400 DC16 100
\ In segment DATA_C, align 2, align-sorted, root
111 OS_COMPILER_OPT INT16U const OSTimeTickHookEn = OS_TIME_TICK_HOOK_EN;
\ OSTimeTickHookEn:
\ 00000000 0100 DC16 1
\ In segment DATA_C, align 2, align-sorted, root
112 OS_COMPILER_OPT INT16U const OSVersionNbr = OS_VERSION;
\ OSVersionNbr:
\ 00000000 0E01 DC16 270
113
114 #endif
115
116 /*$PAGE*/
117 /*
118 *********************************************************************************************************
119 * DEBUG DATA
120 * TOTAL DATA SPACE (i.e. RAM) USED BY uC/OS-II
121 *********************************************************************************************************
122 */
123 #if OS_DEBUG_EN > 0
124
\ In segment DATA_C, align 2, align-sorted, root
125 OS_COMPILER_OPT INT16U const OSDataSize = sizeof(OSCtxSwCtr)
\ OSDataSize:
\ 00000000 4E17 DC16 5966
126 #if (OS_EVENT_EN > 0) && (OS_MAX_EVENTS > 0)
127 + sizeof(OSEventFreeList)
128 + sizeof(OSEventTbl)
129 #endif
130 #if (OS_VERSION >= 251) && (OS_FLAG_EN > 0) && (OS_MAX_FLAGS > 0)
131 + sizeof(OSFlagTbl)
132 + sizeof(OSFlagFreeList)
133 #endif
134 #if OS_TASK_STAT_EN > 0
135 + sizeof(OSCPUUsage)
136 + sizeof(OSIdleCtrMax)
137 + sizeof(OSIdleCtrRun)
138 + sizeof(OSStatRdy)
139 + sizeof(OSTaskStatStk)
140 #endif
141 #if OS_TICK_STEP_EN > 0
142 + sizeof(OSTickStepState)
143 #endif
144 #if (OS_MEM_EN > 0) && (OS_MAX_MEM_PART > 0)
145 + sizeof(OSMemFreeList)
146 + sizeof(OSMemTbl)
147 #endif
148 #if (OS_Q_EN > 0) && (OS_MAX_QS > 0)
149 + sizeof(OSQFreeList)
150 + sizeof(OSQTbl)
151 #endif
152 #if OS_TIME_GET_SET_EN > 0
153 + sizeof(OSTime)
154 #endif
155 + sizeof(OSIntNesting)
156 + sizeof(OSLockNesting)
157 + sizeof(OSPrioCur)
158 + sizeof(OSPrioHighRdy)
159 + sizeof(OSRdyGrp)
160 + sizeof(OSRdyTbl)
161 + sizeof(OSRunning)
162 + sizeof(OSTaskCtr)
163 + sizeof(OSIdleCtr)
164 + sizeof(OSTaskIdleStk)
165 + sizeof(OSTCBCur)
166 + sizeof(OSTCBFreeList)
167 + sizeof(OSTCBHighRdy)
168 + sizeof(OSTCBList)
169 + sizeof(OSTCBPrioTbl)
170 + sizeof(OSTCBTbl);
171
172 #endif
173
174 /*$PAGE*/
175 /*
176 *********************************************************************************************************
177 * OS DEBUG INITIALIZAZTION
178 *
179 * Description: This function is used to make sure that debug variables that are unused in the application
180 * are not optimized away. This function might not be necessary for all compilers. In this
181 * case, you should simply DELETE the code in this function while still leaving the declaration
182 * of the function itself.
183 *
184 * Arguments : none
185 *
186 * Returns : none
187 *
188 * Note(s) : (1) This code doesn't do anything, it simply prevents the compiler from optimizing out
189 * the 'const' variables which are declared in this file.
190 *********************************************************************************************************
191 */
192
193 #if OS_VERSION >= 270 && OS_DEBUG_EN > 0
\ In segment CODE, align 4, keep-with-next
194 void OSDebugInit (void)
195 {
196 void *ptemp;
197
198
199 ptemp = (void *)&OSDebugEn;
\ OSDebugInit:
\ 00000000 2C48 LDR R0,??OSDebugInit_0 ;; OSDebugEn
200
201 ptemp = (void *)&OSEndiannessTest;
\ 00000002 2D49 LDR R1,??OSDebugInit_0+0x4 ;; OSEndiannessTest
\ 00000004 0800 MOVS R0,R1
202
203 ptemp = (void *)&OSEventMax;
\ 00000006 2D49 LDR R1,??OSDebugInit_0+0x8 ;; OSEventMax
\ 00000008 0800 MOVS R0,R1
204 ptemp = (void *)&OSEventNameSize;
\ 0000000A 2D49 LDR R1,??OSDebugInit_0+0xC ;; OSEventNameSize
\ 0000000C 0800 MOVS R0,R1
205 ptemp = (void *)&OSEventEn;
\ 0000000E 2D49 LDR R1,??OSDebugInit_0+0x10 ;; OSEventEn
\ 00000010 0800 MOVS R0,R1
206 ptemp = (void *)&OSEventSize;
\ 00000012 2D49 LDR R1,??OSDebugInit_0+0x14 ;; OSEventSize
\ 00000014 0800 MOVS R0,R1
207 ptemp = (void *)&OSEventTblSize;
\ 00000016 2D49 LDR R1,??OSDebugInit_0+0x18 ;; OSEventTblSize
\ 00000018 0800 MOVS R0,R1
208
209 ptemp = (void *)&OSFlagEn;
\ 0000001A 2D49 LDR R1,??OSDebugInit_0+0x1C ;; OSFlagEn
\ 0000001C 0800 MOVS R0,R1
210 ptemp = (void *)&OSFlagGrpSize;
\ 0000001E 2D49 LDR R1,??OSDebugInit_0+0x20 ;; OSFlagGrpSize
\ 00000020 0800 MOVS R0,R1
211 ptemp = (void *)&OSFlagNodeSize;
\ 00000022 2D49 LDR R1,??OSDebugInit_0+0x24 ;; OSFlagNodeSize
\ 00000024 0800 MOVS R0,R1
212 ptemp = (void *)&OSFlagWidth;
\ 00000026 2D49 LDR R1,??OSDebugInit_0+0x28 ;; OSFlagWidth
\ 00000028 0800 MOVS R0,R1
213 ptemp = (void *)&OSFlagMax;
\ 0000002A 2D49 LDR R1,??OSDebugInit_0+0x2C ;; OSFlagMax
\ 0000002C 0800 MOVS R0,R1
214 ptemp = (void *)&OSFlagNameSize;
\ 0000002E 2D49 LDR R1,??OSDebugInit_0+0x30 ;; OSFlagNameSize
\ 00000030 0800 MOVS R0,R1
215
216 ptemp = (void *)&OSLowestPrio;
\ 00000032 2D49 LDR R1,??OSDebugInit_0+0x34 ;; OSLowestPrio
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -