📄 os_dbg_r.s79
字号:
OSPtrSize:
DATA
DC16 4
// 72
RSEG DATA_C:CONST:SORT:NOROOT(1)
// 73 INT16U const OSQEn = OS_Q_EN;
OSQEn:
DATA
DC16 1
RSEG DATA_C:CONST:SORT:NOROOT(1)
// 74 INT16U const OSQMax = OS_MAX_QS; /* Number of queues */
OSQMax:
DATA
DC16 5
// 75 #if (OS_Q_EN > 0) && (OS_MAX_QS > 0)
RSEG DATA_C:CONST:SORT:NOROOT(1)
// 76 INT16U const OSQSize = sizeof(OS_Q); /* Size in bytes of OS_Q structure */
OSQSize:
DATA
DC16 24
// 77 #else
// 78 INT16U const OSQSize = 0;
// 79 #endif
// 80
RSEG DATA_C:CONST:SORT:NOROOT(1)
// 81 INT16U const OSRdyTblSize = OS_RDY_TBL_SIZE; /* Number of bytes in the ready table */
OSRdyTblSize:
DATA
DC16 8
// 82
RSEG DATA_C:CONST:SORT:NOROOT(1)
// 83 INT16U const OSSemEn = OS_SEM_EN;
OSSemEn:
DATA
DC16 1
// 84
RSEG DATA_C:CONST:SORT:NOROOT(1)
// 85 INT16U const OSStkWidth = sizeof(OS_STK); /* Size in Bytes of a stack entry */
OSStkWidth:
DATA
DC16 4
// 86
RSEG DATA_C:CONST:SORT:NOROOT(1)
// 87 INT16U const OSTaskCreateEn = OS_TASK_CREATE_EN;
OSTaskCreateEn:
DATA
DC16 1
RSEG DATA_C:CONST:SORT:NOROOT(1)
// 88 INT16U const OSTaskCreateExtEn = OS_TASK_CREATE_EXT_EN;
OSTaskCreateExtEn:
DATA
DC16 1
RSEG DATA_C:CONST:SORT:NOROOT(1)
// 89 INT16U const OSTaskDelEn = OS_TASK_DEL_EN;
OSTaskDelEn:
DATA
DC16 1
RSEG DATA_C:CONST:SORT:NOROOT(1)
// 90 INT16U const OSTaskIdleStkSize = OS_TASK_IDLE_STK_SIZE;
OSTaskIdleStkSize:
DATA
DC16 128
RSEG DATA_C:CONST:SORT:NOROOT(1)
// 91 INT16U const OSTaskProfileEn = OS_TASK_PROFILE_EN;
OSTaskProfileEn:
DATA
DC16 1
RSEG DATA_C:CONST:SORT:NOROOT(1)
// 92 INT16U const OSTaskMax = OS_MAX_TASKS + OS_N_SYS_TASKS; /* Total max. number of tasks */
OSTaskMax:
DATA
DC16 34
RSEG DATA_C:CONST:SORT:NOROOT(1)
// 93 INT16U const OSTaskNameSize = OS_TASK_NAME_SIZE; /* Size (in bytes) of task names */
OSTaskNameSize:
DATA
DC16 32
RSEG DATA_C:CONST:SORT:NOROOT(1)
// 94 INT16U const OSTaskStatEn = OS_TASK_STAT_EN;
OSTaskStatEn:
DATA
DC16 1
RSEG DATA_C:CONST:SORT:NOROOT(1)
// 95 INT16U const OSTaskStatStkSize = OS_TASK_STAT_STK_SIZE;
OSTaskStatStkSize:
DATA
DC16 128
RSEG DATA_C:CONST:SORT:NOROOT(1)
// 96 INT16U const OSTaskStatStkChkEn = OS_TASK_STAT_STK_CHK_EN;
OSTaskStatStkChkEn:
DATA
DC16 1
RSEG DATA_C:CONST:SORT:NOROOT(1)
// 97 INT16U const OSTaskSwHookEn = OS_TASK_SW_HOOK_EN;
OSTaskSwHookEn:
DATA
DC16 1
// 98
RSEG DATA_C:CONST:SORT:NOROOT(1)
// 99 INT16U const OSTCBPrioTblMax = OS_LOWEST_PRIO + 1; /* Number of entries in OSTCBPrioTbl[] */
OSTCBPrioTblMax:
DATA
DC16 64
RSEG DATA_C:CONST:SORT:NOROOT(1)
// 100 INT16U const OSTCBSize = sizeof(OS_TCB); /* Size in Bytes of OS_TCB */
OSTCBSize:
DATA
DC16 104
RSEG DATA_C:CONST:SORT:NOROOT(1)
// 101 INT16U const OSTicksPerSec = OS_TICKS_PER_SEC;
OSTicksPerSec:
DATA
DC16 100
RSEG DATA_C:CONST:SORT:NOROOT(1)
// 102 INT16U const OSTimeTickHookEn = OS_TIME_TICK_HOOK_EN;
OSTimeTickHookEn:
DATA
DC16 1
RSEG DATA_C:CONST:SORT:NOROOT(1)
// 103 INT16U const OSVersionNbr = OS_VERSION;
OSVersionNbr:
DATA
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
RSEG DATA_C:CONST:SORT:NOROOT(1)
// 116 INT16U const OSDataSize = sizeof(OSCtxSwCtr)
OSDataSize:
DATA
DC16 5967
RSEG CODE:CODE:NOROOT(2)
CFI Block cfiBlock0 Using cfiCommon0
CFI NoFunction
CODE32
??OSDebugInit??rA:
ADD R12,PC,#+1
BX R12
CFI EndBlock cfiBlock0
REQUIRE OSDebugInit
// 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
RSEG CODE:CODE:NOROOT(2)
CFI Block cfiBlock1 Using cfiCommon1
CFI Function OSDebugInit
CODE16
// 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:
BX LR ;; return
CFI EndBlock cfiBlock1
END
// 258 #endif
//
// 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 + -