训练营PLSR题目
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 

503 linhas
20 KiB

  1. /*
  2. ************************************************************************************************************************
  3. * uC/OS-III
  4. * The Real-Time Kernel
  5. *
  6. * (c) Copyright 2009-2014; Micrium, Inc.; Weston, FL
  7. * All rights reserved. Protected by international copyright laws.
  8. *
  9. * DEBUGGER CONSTANTS
  10. *
  11. * File : OS_DBG.C
  12. * By : JJL
  13. * Version : V3.04.04
  14. *
  15. * LICENSING TERMS:
  16. * ---------------
  17. * uC/OS-III is provided in source form for FREE short-term evaluation, for educational use or
  18. * for peaceful research. If you plan or intend to use uC/OS-III in a commercial application/
  19. * product then, you need to contact Micrium to properly license uC/OS-III for its use in your
  20. * application/product. We provide ALL the source code for your convenience and to help you
  21. * experience uC/OS-III. The fact that the source is provided does NOT mean that you can use
  22. * it commercially without paying a licensing fee.
  23. *
  24. * Knowledge of the source code may NOT be used to develop a similar product.
  25. *
  26. * Please help us continue to provide the embedded community with the finest software available.
  27. * Your honesty is greatly appreciated.
  28. *
  29. * You can find our product's user manual, API reference, release notes and
  30. * more information at https://doc.micrium.com.
  31. * You can contact us at www.micrium.com.
  32. ************************************************************************************************************************
  33. */
  34. #define MICRIUM_SOURCE
  35. #include "os.h"
  36. #ifdef VSC_INCLUDE_SOURCE_FILE_NAMES
  37. const CPU_CHAR *os_dbg__c = "$Id: $";
  38. #endif
  39. CPU_INT08U const OSDbg_DbgEn = OS_CFG_DBG_EN; /* Debug constants are defined below */
  40. #if OS_CFG_DBG_EN > 0u
  41. /*
  42. ************************************************************************************************************************
  43. * DEBUG DATA
  44. ************************************************************************************************************************
  45. */
  46. CPU_INT08U const OSDbg_ArgChkEn = OS_CFG_ARG_CHK_EN;
  47. CPU_INT08U const OSDbg_AppHooksEn = OS_CFG_APP_HOOKS_EN;
  48. CPU_INT32U const OSDbg_EndiannessTest = 0x12345678LU; /* Variable to test CPU endianness */
  49. CPU_INT08U const OSDbg_CalledFromISRChkEn = OS_CFG_CALLED_FROM_ISR_CHK_EN;
  50. CPU_INT08U const OSDbg_FlagEn = OS_CFG_FLAG_EN;
  51. OS_FLAG_GRP const OSDbg_FlagGrp = { 0u };
  52. #if OS_CFG_FLAG_EN > 0u
  53. CPU_INT08U const OSDbg_FlagDelEn = OS_CFG_FLAG_DEL_EN;
  54. CPU_INT08U const OSDbg_FlagModeClrEn = OS_CFG_FLAG_MODE_CLR_EN;
  55. CPU_INT08U const OSDbg_FlagPendAbortEn = OS_CFG_FLAG_PEND_ABORT_EN;
  56. CPU_INT16U const OSDbg_FlagGrpSize = sizeof(OS_FLAG_GRP); /* Size in Bytes of OS_FLAG_GRP */
  57. CPU_INT16U const OSDbg_FlagWidth = sizeof(OS_FLAGS); /* Width (in bytes) of OS_FLAGS */
  58. #else
  59. CPU_INT08U const OSDbg_FlagDelEn = 0u;
  60. CPU_INT08U const OSDbg_FlagModeClrEn = 0u;
  61. CPU_INT08U const OSDbg_FlagPendAbortEn = 0u;
  62. CPU_INT16U const OSDbg_FlagGrpSize = 0u;
  63. CPU_INT16U const OSDbg_FlagWidth = 0u;
  64. #endif
  65. #if OS_CFG_ISR_POST_DEFERRED_EN > 0u
  66. CPU_INT16U const OSDbg_IntQ = sizeof(OS_INT_Q);
  67. #else
  68. CPU_INT16U const OSDbg_IntQ = 0u;
  69. #endif
  70. CPU_INT08U const OSDbg_ISRPostDeferredEn = OS_CFG_ISR_POST_DEFERRED_EN;
  71. OS_MEM const OSDbg_Mem = { 0u };
  72. CPU_INT08U const OSDbg_MemEn = OS_CFG_MEM_EN;
  73. #if OS_CFG_MEM_EN > 0u
  74. CPU_INT16U const OSDbg_MemSize = sizeof(OS_MEM); /* Mem. Partition header size (bytes) */
  75. #else
  76. CPU_INT16U const OSDbg_MemSize = 0u;
  77. #endif
  78. #if (OS_MSG_EN) > 0u
  79. CPU_INT08U const OSDbg_MsgEn = 1u;
  80. CPU_INT16U const OSDbg_MsgSize = sizeof(OS_MSG); /* OS_MSG size */
  81. CPU_INT16U const OSDbg_MsgPoolSize = sizeof(OS_MSG_POOL);
  82. CPU_INT16U const OSDbg_MsgQSize = sizeof(OS_MSG_Q);
  83. #else
  84. CPU_INT08U const OSDbg_MsgEn = 0u;
  85. CPU_INT16U const OSDbg_MsgSize = 0u;
  86. CPU_INT16U const OSDbg_MsgPoolSize = 0u;
  87. CPU_INT16U const OSDbg_MsgQSize = 0u;
  88. #endif
  89. OS_MUTEX const OSDbg_Mutex = { 0u };
  90. CPU_INT08U const OSDbg_MutexEn = OS_CFG_MUTEX_EN;
  91. #if OS_CFG_MUTEX_EN > 0u
  92. CPU_INT08U const OSDbg_MutexDelEn = OS_CFG_MUTEX_DEL_EN;
  93. CPU_INT08U const OSDbg_MutexPendAbortEn = OS_CFG_MUTEX_PEND_ABORT_EN;
  94. CPU_INT16U const OSDbg_MutexSize = sizeof(OS_MUTEX); /* Size in bytes of OS_MUTEX */
  95. #else
  96. CPU_INT08U const OSDbg_MutexDelEn = 0u;
  97. CPU_INT08U const OSDbg_MutexPendAbortEn = 0u;
  98. CPU_INT16U const OSDbg_MutexSize = 0u;
  99. #endif
  100. CPU_INT08U const OSDbg_ObjTypeChkEn = OS_CFG_OBJ_TYPE_CHK_EN;
  101. CPU_INT08U const OSDbg_PendMultiEn = OS_CFG_PEND_MULTI_EN;
  102. CPU_INT16U const OSDbg_PendDataSize = sizeof(OS_PEND_DATA);
  103. CPU_INT16U const OSDbg_PendListSize = sizeof(OS_PEND_LIST);
  104. CPU_INT16U const OSDbg_PendObjSize = sizeof(OS_PEND_OBJ);
  105. CPU_INT16U const OSDbg_PrioMax = OS_CFG_PRIO_MAX; /* Maximum number of priorities */
  106. CPU_INT16U const OSDbg_PrioTblSize = sizeof(OSPrioTbl);
  107. CPU_INT16U const OSDbg_PtrSize = sizeof(void *); /* Size in Bytes of a pointer */
  108. OS_Q const OSDbg_Q = { 0u };
  109. CPU_INT08U const OSDbg_QEn = OS_CFG_Q_EN;
  110. #if OS_CFG_Q_EN > 0u
  111. CPU_INT08U const OSDbg_QDelEn = OS_CFG_Q_DEL_EN;
  112. CPU_INT08U const OSDbg_QFlushEn = OS_CFG_Q_FLUSH_EN;
  113. CPU_INT08U const OSDbg_QPendAbortEn = OS_CFG_Q_PEND_ABORT_EN;
  114. CPU_INT16U const OSDbg_QSize = sizeof(OS_Q); /* Size in bytes of OS_Q structure */
  115. #else
  116. CPU_INT08U const OSDbg_QDelEn = 0u;
  117. CPU_INT08U const OSDbg_QFlushEn = 0u;
  118. CPU_INT08U const OSDbg_QPendAbortEn = 0u;
  119. CPU_INT16U const OSDbg_QSize = 0u;
  120. #endif
  121. CPU_INT08U const OSDbg_SchedRoundRobinEn = OS_CFG_SCHED_ROUND_ROBIN_EN;
  122. OS_SEM const OSDbg_Sem = { 0u };
  123. CPU_INT08U const OSDbg_SemEn = OS_CFG_SEM_EN;
  124. #if OS_CFG_SEM_EN > 0u
  125. CPU_INT08U const OSDbg_SemDelEn = OS_CFG_SEM_DEL_EN;
  126. CPU_INT08U const OSDbg_SemPendAbortEn = OS_CFG_SEM_PEND_ABORT_EN;
  127. CPU_INT08U const OSDbg_SemSetEn = OS_CFG_SEM_SET_EN;
  128. CPU_INT16U const OSDbg_SemSize = sizeof(OS_SEM); /* Size in bytes of OS_SEM */
  129. #else
  130. CPU_INT08U const OSDbg_SemDelEn = 0u;
  131. CPU_INT08U const OSDbg_SemPendAbortEn = 0u;
  132. CPU_INT08U const OSDbg_SemSetEn = 0u;
  133. CPU_INT16U const OSDbg_SemSize = 0u;
  134. #endif
  135. CPU_INT16U const OSDbg_RdyList = sizeof(OS_RDY_LIST);
  136. CPU_INT32U const OSDbg_RdyListSize = sizeof(OSRdyList); /* Number of bytes in the ready table */
  137. CPU_INT08U const OSDbg_StkWidth = sizeof(CPU_STK);
  138. CPU_INT08U const OSDbg_StatTaskEn = OS_CFG_STAT_TASK_EN;
  139. CPU_INT08U const OSDbg_StatTaskStkChkEn = OS_CFG_STAT_TASK_STK_CHK_EN;
  140. CPU_INT08U const OSDbg_TaskChangePrioEn = OS_CFG_TASK_CHANGE_PRIO_EN;
  141. CPU_INT08U const OSDbg_TaskDelEn = OS_CFG_TASK_DEL_EN;
  142. CPU_INT08U const OSDbg_TaskQEn = OS_CFG_TASK_Q_EN;
  143. CPU_INT08U const OSDbg_TaskQPendAbortEn = OS_CFG_TASK_Q_PEND_ABORT_EN;
  144. CPU_INT08U const OSDbg_TaskProfileEn = OS_CFG_TASK_PROFILE_EN;
  145. CPU_INT16U const OSDbg_TaskRegTblSize = OS_CFG_TASK_REG_TBL_SIZE;
  146. CPU_INT08U const OSDbg_TaskSemPendAbortEn = OS_CFG_TASK_SEM_PEND_ABORT_EN;
  147. CPU_INT08U const OSDbg_TaskSuspendEn = OS_CFG_TASK_SUSPEND_EN;
  148. CPU_INT16U const OSDbg_TCBSize = sizeof(OS_TCB); /* Size in Bytes of OS_TCB */
  149. CPU_INT16U const OSDbg_TickListSize = sizeof(OS_TICK_LIST);
  150. CPU_INT08U const OSDbg_TimeDlyHMSMEn = OS_CFG_TIME_DLY_HMSM_EN;
  151. CPU_INT08U const OSDbg_TimeDlyResumeEn = OS_CFG_TIME_DLY_RESUME_EN;
  152. #if defined(OS_CFG_TLS_TBL_SIZE) && (OS_CFG_TLS_TBL_SIZE > 0u)
  153. CPU_INT16U const OSDbg_TLS_TblSize = OS_CFG_TLS_TBL_SIZE * sizeof(OS_TLS);
  154. #else
  155. CPU_INT16U const OSDbg_TLS_TblSize = 0u;
  156. #endif
  157. OS_TMR const OSDbg_Tmr = { 0u };
  158. CPU_INT08U const OSDbg_TmrEn = OS_CFG_TMR_EN;
  159. #if OS_CFG_TMR_EN > 0u
  160. CPU_INT08U const OSDbg_TmrDelEn = OS_CFG_TMR_DEL_EN;
  161. CPU_INT16U const OSDbg_TmrSize = sizeof(OS_TMR);
  162. #else
  163. CPU_INT08U const OSDbg_TmrDelEn = 0u;
  164. CPU_INT16U const OSDbg_TmrSize = 0u;
  165. #endif
  166. CPU_INT16U const OSDbg_VersionNbr = OS_VERSION;
  167. /*
  168. ************************************************************************************************************************
  169. * DEBUG DATA
  170. * TOTAL DATA SPACE (i.e. RAM) USED BY uC/OS-III
  171. ************************************************************************************************************************
  172. */
  173. CPU_INT32U const OSDbg_DataSize = sizeof(OSIntNestingCtr)
  174. #if OS_CFG_APP_HOOKS_EN > 0u
  175. + sizeof(OS_AppTaskCreateHookPtr)
  176. + sizeof(OS_AppTaskDelHookPtr)
  177. + sizeof(OS_AppTaskReturnHookPtr)
  178. + sizeof(OS_AppIdleTaskHookPtr)
  179. + sizeof(OS_AppStatTaskHookPtr)
  180. + sizeof(OS_AppTaskSwHookPtr)
  181. + sizeof(OS_AppTimeTickHookPtr)
  182. #endif
  183. + sizeof(OSIdleTaskCtr)
  184. + sizeof(OSIdleTaskTCB)
  185. #ifdef CPU_CFG_INT_DIS_MEAS_EN
  186. + sizeof(OSIntDisTimeMax)
  187. #endif
  188. #if OS_CFG_ISR_POST_DEFERRED_EN > 0u
  189. + sizeof(OSIntQInPtr)
  190. + sizeof(OSIntQOutPtr)
  191. + sizeof(OSIntQNbrEntries)
  192. + sizeof(OSIntQNbrEntriesMax)
  193. + sizeof(OSIntQOvfCtr)
  194. + sizeof(OSIntQTaskTCB)
  195. + sizeof(OSIntQTaskTimeMax)
  196. #endif
  197. + sizeof(OSRunning)
  198. #ifdef OS_SAFETY_CRITICAL_IEC61508
  199. + sizeof(OSSafetyCriticalStartFlag)
  200. #endif
  201. #if OS_CFG_FLAG_EN > 0u
  202. + sizeof(OSFlagDbgListPtr)
  203. + sizeof(OSFlagQty)
  204. #endif
  205. #if OS_CFG_MEM_EN > 0u
  206. #if OS_CFG_DBG_EN > 0u
  207. + sizeof(OSMemDbgListPtr)
  208. #endif
  209. + sizeof(OSMemQty)
  210. #endif
  211. #if OS_MSG_EN > 0u
  212. + sizeof(OSMsgPool)
  213. #endif
  214. #if OS_CFG_MUTEX_EN > 0u
  215. #if OS_CFG_DBG_EN > 0u
  216. + sizeof(OSMutexDbgListPtr)
  217. #endif
  218. + sizeof(OSMutexQty)
  219. #endif
  220. + sizeof(OSPrioCur)
  221. + sizeof(OSPrioHighRdy)
  222. + sizeof(OSPrioSaved)
  223. + sizeof(OSPrioTbl)
  224. #if OS_CFG_Q_EN > 0u
  225. #if OS_CFG_DBG_EN > 0u
  226. + sizeof(OSQDbgListPtr)
  227. #endif
  228. + sizeof(OSQQty)
  229. #endif
  230. + sizeof(OSRdyList)
  231. + sizeof(OSSchedLockNestingCtr)
  232. #if OS_CFG_SCHED_LOCK_TIME_MEAS_EN > 0u
  233. + sizeof(OSSchedLockTimeBegin)
  234. + sizeof(OSSchedLockTimeMax)
  235. + sizeof(OSSchedLockTimeMaxCur)
  236. #endif
  237. #if OS_CFG_SCHED_ROUND_ROBIN_EN
  238. + sizeof(OSSchedRoundRobinDfltTimeQuanta)
  239. + sizeof(OSSchedRoundRobinEn)
  240. #endif
  241. #if OS_CFG_SEM_EN > 0u
  242. #if OS_CFG_DBG_EN > 0u
  243. + sizeof(OSSemDbgListPtr)
  244. #endif
  245. + sizeof(OSSemQty)
  246. #endif
  247. + sizeof(OSTaskCtxSwCtr)
  248. #if OS_CFG_DBG_EN > 0u
  249. + sizeof(OSTaskDbgListPtr)
  250. #endif
  251. + sizeof(OSTaskQty)
  252. #if OS_CFG_STAT_TASK_EN > 0u
  253. + sizeof(OSStatResetFlag)
  254. + sizeof(OSStatTaskCPUUsage)
  255. + sizeof(OSStatTaskCPUUsageMax)
  256. + sizeof(OSStatTaskCtr)
  257. + sizeof(OSStatTaskCtrMax)
  258. + sizeof(OSStatTaskCtrRun)
  259. + sizeof(OSStatTaskRdy)
  260. + sizeof(OSStatTaskTCB)
  261. + sizeof(OSStatTaskTimeMax)
  262. #endif
  263. + sizeof(OSTickCtr)
  264. + sizeof(OSTickTaskTCB)
  265. + sizeof(OSTickTaskTimeMax)
  266. + sizeof(OSTickListDly)
  267. + sizeof(OSTickListTimeout)
  268. #if OS_CFG_TMR_EN > 0u
  269. #if OS_CFG_DBG_EN > 0u
  270. + sizeof(OSTmrDbgListPtr)
  271. #endif
  272. + sizeof(OSTmrListEntries)
  273. + sizeof(OSTmrListPtr)
  274. #if OS_CFG_MUTEX_EN > 0u
  275. + sizeof(OSTmrMutex)
  276. #endif
  277. + sizeof(OSTmrQty)
  278. + sizeof(OSTmrTaskTCB)
  279. + sizeof(OSTmrTaskTimeMax)
  280. + sizeof(OSTmrTickCtr)
  281. + sizeof(OSTmrUpdateCnt)
  282. + sizeof(OSTmrUpdateCtr)
  283. #endif
  284. #if OS_CFG_TASK_REG_TBL_SIZE > 0u
  285. + sizeof(OSTaskRegNextAvailID)
  286. #endif
  287. + sizeof(OSTCBCurPtr)
  288. + sizeof(OSTCBHighRdyPtr);
  289. /*
  290. ************************************************************************************************************************
  291. * OS DEBUG INITIALIZATION
  292. *
  293. * Description: This function is used to make sure that debug variables that are unused in the application are not
  294. * optimized away. This function might not be necessary for all compilers. In this case, you should simply
  295. * DELETE the code in this function while still leaving the declaration of the function itself.
  296. *
  297. * Arguments : none
  298. *
  299. * Returns : none
  300. *
  301. * Note(s) : (1) This code doesn't do anything, it simply prevents the compiler from optimizing out the 'const'
  302. * variables which are declared in this file.
  303. * (2) You may decide to 'compile out' the code (by using #if 0/#endif) INSIDE the function if your compiler
  304. * DOES NOT optimize out the 'const' variables above.
  305. ************************************************************************************************************************
  306. */
  307. void OS_Dbg_Init (void)
  308. {
  309. CPU_INT08U const *p_temp08;
  310. CPU_INT16U const *p_temp16;
  311. CPU_INT32U const *p_temp32;
  312. p_temp08 = (CPU_INT08U const *)&OSDbg_DbgEn;
  313. p_temp32 = (CPU_INT32U const *)&OSDbg_DataSize;
  314. p_temp08 = (CPU_INT08U const *)&OSDbg_ArgChkEn;
  315. p_temp08 = (CPU_INT08U const *)&OSDbg_AppHooksEn;
  316. p_temp32 = (CPU_INT32U const *)&OSDbg_EndiannessTest;
  317. p_temp08 = (CPU_INT08U const *)&OSDbg_CalledFromISRChkEn;
  318. p_temp16 = (CPU_INT16U const *)&OSDbg_FlagGrp;
  319. p_temp08 = (CPU_INT08U const *)&OSDbg_FlagEn;
  320. #if OS_CFG_FLAG_EN > 0u
  321. p_temp08 = (CPU_INT08U const *)&OSDbg_FlagDelEn;
  322. p_temp08 = (CPU_INT08U const *)&OSDbg_FlagModeClrEn;
  323. p_temp08 = (CPU_INT08U const *)&OSDbg_FlagPendAbortEn;
  324. p_temp16 = (CPU_INT16U const *)&OSDbg_FlagGrpSize;
  325. p_temp16 = (CPU_INT16U const *)&OSDbg_FlagWidth;
  326. #endif
  327. #if OS_CFG_ISR_POST_DEFERRED_EN > 0u
  328. p_temp16 = (CPU_INT16U const *)&OSDbg_IntQ;
  329. #endif
  330. p_temp08 = (CPU_INT08U const *)&OSDbg_ISRPostDeferredEn;
  331. p_temp16 = (CPU_INT16U const *)&OSDbg_Mem;
  332. p_temp08 = (CPU_INT08U const *)&OSDbg_MemEn;
  333. #if OS_CFG_MEM_EN > 0u
  334. p_temp16 = (CPU_INT16U const *)&OSDbg_MemSize;
  335. #endif
  336. p_temp08 = (CPU_INT08U const *)&OSDbg_MsgEn;
  337. #if (OS_MSG_EN) > 0u
  338. p_temp16 = (CPU_INT16U const *)&OSDbg_MsgSize;
  339. p_temp16 = (CPU_INT16U const *)&OSDbg_MsgPoolSize;
  340. p_temp16 = (CPU_INT16U const *)&OSDbg_MsgQSize;
  341. #endif
  342. p_temp16 = (CPU_INT16U const *)&OSDbg_Mutex;
  343. p_temp08 = (CPU_INT08U const *)&OSDbg_MutexEn;
  344. #if (OS_CFG_MUTEX_EN) > 0u
  345. p_temp08 = (CPU_INT08U const *)&OSDbg_MutexDelEn;
  346. p_temp08 = (CPU_INT08U const *)&OSDbg_MutexPendAbortEn;
  347. p_temp16 = (CPU_INT16U const *)&OSDbg_MutexSize;
  348. #endif
  349. p_temp08 = (CPU_INT08U const *)&OSDbg_ObjTypeChkEn;
  350. p_temp08 = (CPU_INT08U const *)&OSDbg_PendMultiEn;
  351. p_temp16 = (CPU_INT16U const *)&OSDbg_PendDataSize;
  352. p_temp16 = (CPU_INT16U const *)&OSDbg_PendListSize;
  353. p_temp16 = (CPU_INT16U const *)&OSDbg_PendObjSize;
  354. p_temp16 = (CPU_INT16U const *)&OSDbg_PrioMax;
  355. p_temp16 = (CPU_INT16U const *)&OSDbg_PrioTblSize;
  356. p_temp16 = (CPU_INT16U const *)&OSDbg_PtrSize;
  357. p_temp16 = (CPU_INT16U const *)&OSDbg_Q;
  358. p_temp08 = (CPU_INT08U const *)&OSDbg_QEn;
  359. #if (OS_CFG_Q_EN) > 0u
  360. p_temp08 = (CPU_INT08U const *)&OSDbg_QDelEn;
  361. p_temp08 = (CPU_INT08U const *)&OSDbg_QFlushEn;
  362. p_temp08 = (CPU_INT08U const *)&OSDbg_QPendAbortEn;
  363. p_temp16 = (CPU_INT16U const *)&OSDbg_QSize;
  364. #endif
  365. p_temp16 = (CPU_INT16U const *)&OSDbg_SchedRoundRobinEn;
  366. p_temp16 = (CPU_INT16U const *)&OSDbg_Sem;
  367. p_temp08 = (CPU_INT08U const *)&OSDbg_SemEn;
  368. #if (OS_CFG_SEM_EN) > 0u
  369. p_temp08 = (CPU_INT08U const *)&OSDbg_SemDelEn;
  370. p_temp08 = (CPU_INT08U const *)&OSDbg_SemPendAbortEn;
  371. p_temp16 = (CPU_INT16U const *)&OSDbg_SemSetEn;
  372. p_temp16 = (CPU_INT16U const *)&OSDbg_SemSize;
  373. #endif
  374. p_temp16 = (CPU_INT16U const *)&OSDbg_RdyList;
  375. p_temp32 = (CPU_INT32U const *)&OSDbg_RdyListSize;
  376. p_temp16 = (CPU_INT16U const *)&OSDbg_StkWidth;
  377. p_temp08 = (CPU_INT08U const *)&OSDbg_StatTaskEn;
  378. p_temp08 = (CPU_INT08U const *)&OSDbg_StatTaskStkChkEn;
  379. p_temp08 = (CPU_INT08U const *)&OSDbg_TaskChangePrioEn;
  380. p_temp08 = (CPU_INT08U const *)&OSDbg_TaskDelEn;
  381. p_temp08 = (CPU_INT08U const *)&OSDbg_TaskQEn;
  382. p_temp08 = (CPU_INT08U const *)&OSDbg_TaskQPendAbortEn;
  383. p_temp08 = (CPU_INT08U const *)&OSDbg_TaskProfileEn;
  384. p_temp16 = (CPU_INT16U const *)&OSDbg_TaskRegTblSize;
  385. p_temp08 = (CPU_INT08U const *)&OSDbg_TaskSemPendAbortEn;
  386. p_temp08 = (CPU_INT08U const *)&OSDbg_TaskSuspendEn;
  387. p_temp16 = (CPU_INT16U const *)&OSDbg_TCBSize;
  388. p_temp16 = (CPU_INT16U const *)&OSDbg_TickListSize;
  389. p_temp08 = (CPU_INT08U const *)&OSDbg_TimeDlyHMSMEn;
  390. p_temp08 = (CPU_INT08U const *)&OSDbg_TimeDlyResumeEn;
  391. p_temp16 = (CPU_INT16U const *)&OSDbg_Tmr;
  392. p_temp08 = (CPU_INT08U const *)&OSDbg_TmrEn;
  393. #if (OS_CFG_TMR_EN) > 0u
  394. p_temp08 = (CPU_INT08U const *)&OSDbg_TmrDelEn;
  395. p_temp16 = (CPU_INT16U const *)&OSDbg_TmrSize;
  396. #endif
  397. p_temp16 = (CPU_INT16U const *)&OSDbg_VersionNbr;
  398. p_temp08 = p_temp08; /* Prevent compiler warning for not using 'p_temp' */
  399. p_temp16 = p_temp16;
  400. p_temp32 = p_temp32;
  401. }
  402. #endif