📄 os_dbg.lis
字号:
0002 ; #if OS_TASK_STAT_EN > 0
0002 ; + sizeof(OSCPUUsage)
0002 ; + sizeof(OSIdleCtrMax)
0002 ; + sizeof(OSIdleCtrRun)
0002 ; + sizeof(OSStatRdy)
0002 ; + sizeof(OSTaskStatStk)
0002 ; #endif
0002 ; #if OS_TICK_STEP_EN > 0
0002 ; + sizeof(OSTickStepState)
0002 ; #endif
0002 ; #if (OS_MEM_EN > 0) && (OS_MAX_MEM_PART > 0)
0002 ; + sizeof(OSMemFreeList)
0002 ; + sizeof(OSMemTbl)
0002 ; #endif
0002 ; #if (OS_Q_EN > 0) && (OS_MAX_QS > 0)
0002 ; + sizeof(OSQFreeList)
0002 ; + sizeof(OSQTbl)
0002 ; #endif
0002 ; #if OS_TIME_GET_SET_EN > 0
0002 ; + sizeof(OSTime)
0002 ; #endif
0002 ; + sizeof(OSIntNesting)
0002 ; + sizeof(OSLockNesting)
0002 ; + sizeof(OSPrioCur)
0002 ; + sizeof(OSPrioHighRdy)
0002 ; + sizeof(OSRdyGrp)
0002 ; + sizeof(OSRdyTbl)
0002 ; + sizeof(OSRunning)
0002 ; + sizeof(OSTaskCtr)
0002 ; + sizeof(OSIdleCtr)
0002 ; + sizeof(OSTaskIdleStk)
0002 ; + sizeof(OSTCBCur)
0002 ; + sizeof(OSTCBFreeList)
0002 ; + sizeof(OSTCBHighRdy)
0002 ; + sizeof(OSTCBList)
0002 ; + sizeof(OSTCBPrioTbl)
0002 ; + sizeof(OSTCBTbl);
0002 ;
0002 ; #endif
0002 ;
0002 ; /*$PAGE*/
0002 ; /*
0002 ; *********************************************************************************************************
0002 ; * OS DEBUG INITIALIZAZTION
0002 ; *
0002 ; * Description: This function is used to make sure that debug variables that are unused in the application
0002 ; * are not optimized away. This function might not be necessary for all compilers. In this
0002 ; * case, you should simply DELETE the code in this function while still leaving the declaration
0002 ; * of the function itself.
0002 ; *
0002 ; * Arguments : none
0002 ; *
0002 ; * Returns : none
0002 ; *
0002 ; * Note(s) : (1) This code doesn't do anything, it simply prevents the compiler from optimizing out
0002 ; * the 'const' variables which are declared in this file.
0002 ; *********************************************************************************************************
0002 ; */
0002 ;
0002 ; #if OS_VERSION >= 270 && OS_DEBUG_EN > 0
0002 ; void OSDebugInit (void)
0002 ; {
0002 ; void *ptemp;
0002 ;
0002 ;
0002 ; ptemp = (void *)&OSDebugEn;
0002 ;
0002 ; ptemp = (void *)&OSEndiannessTest;
0002 ;
0002 ; ptemp = (void *)&OSEventMax;
0002 ; ptemp = (void *)&OSEventNameSize;
0002 ; ptemp = (void *)&OSEventEn;
0002 ; ptemp = (void *)&OSEventSize;
0002 ; ptemp = (void *)&OSEventTblSize;
0002 ;
0002 ; ptemp = (void *)&OSFlagEn;
0002 ; ptemp = (void *)&OSFlagGrpSize;
0002 ; ptemp = (void *)&OSFlagNodeSize;
0002 ; ptemp = (void *)&OSFlagWidth;
0002 ; ptemp = (void *)&OSFlagMax;
0002 ; ptemp = (void *)&OSFlagNameSize;
0002 ;
0002 ; ptemp = (void *)&OSLowestPrio;
0002 ;
0002 ; ptemp = (void *)&OSMboxEn;
0002 ;
0002 ; ptemp = (void *)&OSMemEn;
0002 ; ptemp = (void *)&OSMemMax;
0002 ; ptemp = (void *)&OSMemNameSize;
0002 ; ptemp = (void *)&OSMemSize;
0002 ; ptemp = (void *)&OSMemTblSize;
0002 ;
0002 ; ptemp = (void *)&OSMutexEn;
0002 ;
0002 ; ptemp = (void *)&OSPtrSize;
0002 ;
0002 ; ptemp = (void *)&OSQEn;
0002 ; ptemp = (void *)&OSQMax;
0002 ; ptemp = (void *)&OSQSize;
0002 ;
0002 ; ptemp = (void *)&OSRdyTblSize;
0002 ;
0002 ; ptemp = (void *)&OSSemEn;
0002 ;
0002 ; ptemp = (void *)&OSStkWidth;
0002 ;
0002 ; ptemp = (void *)&OSTaskCreateEn;
0002 ; ptemp = (void *)&OSTaskCreateExtEn;
0002 ; ptemp = (void *)&OSTaskDelEn;
0002 ; ptemp = (void *)&OSTaskIdleStkSize;
0002 ; ptemp = (void *)&OSTaskProfileEn;
0002 ; ptemp = (void *)&OSTaskMax;
0002 ; ptemp = (void *)&OSTaskNameSize;
0002 ; ptemp = (void *)&OSTaskStatEn;
0002 ; ptemp = (void *)&OSTaskStatStkSize;
0002 ; ptemp = (void *)&OSTaskStatStkChkEn;
0002 ; ptemp = (void *)&OSTaskSwHookEn;
0002 ;
0002 ; ptemp = (void *)&OSTCBPrioTblMax;
0002 ; ptemp = (void *)&OSTCBSize;
0002 ;
0002 ; ptemp = (void *)&OSTicksPerSec;
0002 ; ptemp = (void *)&OSTimeTickHookEn;
0002 ;
0002 ; ptemp = (void *)&OSVersionNbr;
0002 ;
0002 ; ptemp = (void *)&OSDataSize;
0002 ;
0002 ; ptemp = ptemp; /* Prevent compiler warning for 'ptemp' not being used! */
0002 ; }
0002 ; #endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -