📄 os_dbg.lis
字号:
.module os_dbg.c
.area text(rom, con, rel)
0000 .dbfile D:\MICRIUM\ICC\os_dbg.c
.area lit(rom, con, rel)
0000 _OSDebugEn::
0000 0000 .word 0
0002 .dbsym e OSDebugEn _OSDebugEn ki
0002 ; /*
0002 ; *********************************************************************************************************
0002 ; * uC/OS-II
0002 ; * The Real-Time Kernel
0002 ; * DEBUGGER CONSTANTS
0002 ; *
0002 ; * (c) Copyright 2002-2003, Jean J. Labrosse, Weston, FL
0002 ; * All Rights Reserved
0002 ; *
0002 ; * File : OS_DBG.C
0002 ; * By : Jean J. Labrosse
0002 ; *********************************************************************************************************
0002 ; */
0002 ;
0002 ;
0002 ; #include <ucos_ii.h>
0002 ;
0002 ; #define OS_COMPILER_OPT
0002 ;
0002 ; /*
0002 ; *********************************************************************************************************
0002 ; * DEBUG DATA
0002 ; *********************************************************************************************************
0002 ; */
0002 ;
0002 ; OS_COMPILER_OPT INT16U const OSDebugEn = OS_DEBUG_EN; /* Debug constants are defined below */
0002 ;
0002 ; #if OS_DEBUG_EN > 0
0002 ;
0002 ; OS_COMPILER_OPT INT32U const OSEndiannessTest = 0x12345678L; /* Variable to test CPU endianness */
0002 ;
0002 ; OS_COMPILER_OPT INT16U const OSEventMax = OS_MAX_EVENTS; /* Number of event control blocks */
0002 ; OS_COMPILER_OPT INT16U const OSEventNameSize = OS_EVENT_NAME_SIZE; /* Size (in bytes) of event names */
0002 ; #if (OS_EVENT_EN > 0) && (OS_MAX_EVENTS > 0)
0002 ; OS_COMPILER_OPT INT16U const OSEventEn = OS_EVENT_EN;
0002 ; OS_COMPILER_OPT INT16U const OSEventSize = sizeof(OS_EVENT); /* Size in Bytes of OS_EVENT */
0002 ; OS_COMPILER_OPT INT16U const OSEventTblSize = sizeof(OSEventTbl); /* Size of OSEventTbl[] in bytes */
0002 ; #else
0002 ; OS_COMPILER_OPT INT16U const OSEventEn = 0;
0002 ; OS_COMPILER_OPT INT16U const OSEventSize = 0;
0002 ; OS_COMPILER_OPT INT16U const OSEventTblSize = 0;
0002 ; #endif
0002 ;
0002 ; OS_COMPILER_OPT INT16U const OSFlagEn = OS_FLAG_EN;
0002 ; #if (OS_FLAG_EN > 0) && (OS_MAX_FLAGS > 0)
0002 ; OS_COMPILER_OPT INT16U const OSFlagGrpSize = sizeof(OS_FLAG_GRP); /* Size in Bytes of OS_FLAG_GRP */
0002 ; OS_COMPILER_OPT INT16U const OSFlagNodeSize = sizeof(OS_FLAG_NODE); /* Size in Bytes of OS_FLAG_NODE */
0002 ; OS_COMPILER_OPT INT16U const OSFlagWidth = sizeof(OS_FLAGS); /* Width (in bytes) of OS_FLAGS */
0002 ; #else
0002 ; OS_COMPILER_OPT INT16U const OSFlagGrpSize = 0;
0002 ; OS_COMPILER_OPT INT16U const OSFlagNodeSize = 0;
0002 ; OS_COMPILER_OPT INT16U const OSFlagWidth = 0;
0002 ; #endif
0002 ; OS_COMPILER_OPT INT16U const OSFlagMax = OS_MAX_FLAGS;
0002 ; OS_COMPILER_OPT INT16U const OSFlagNameSize = OS_FLAG_NAME_SIZE; /* Size (in bytes) of flag names */
0002 ;
0002 ; OS_COMPILER_OPT INT16U const OSLowestPrio = OS_LOWEST_PRIO;
0002 ;
0002 ; OS_COMPILER_OPT INT16U const OSMboxEn = OS_MBOX_EN;
0002 ;
0002 ; OS_COMPILER_OPT INT16U const OSMemEn = OS_MEM_EN;
0002 ; OS_COMPILER_OPT INT16U const OSMemMax = OS_MAX_MEM_PART; /* Number of memory partitions */
0002 ; OS_COMPILER_OPT INT16U const OSMemNameSize = OS_MEM_NAME_SIZE; /* Size (in bytes) of partition names */
0002 ; #if (OS_MEM_EN > 0) && (OS_MAX_MEM_PART > 0)
0002 ; OS_COMPILER_OPT INT16U const OSMemSize = sizeof(OS_MEM); /* Mem. Partition header sine (bytes) */
0002 ; OS_COMPILER_OPT INT16U const OSMemTblSize = sizeof(OSMemTbl);
0002 ; #else
0002 ; OS_COMPILER_OPT INT16U const OSMemSize = 0;
0002 ; OS_COMPILER_OPT INT16U const OSMemTblSize = 0;
0002 ; #endif
0002 ; OS_COMPILER_OPT INT16U const OSMutexEn = OS_MUTEX_EN;
0002 ;
0002 ; OS_COMPILER_OPT INT16U const OSPtrSize = sizeof(void *); /* Size in Bytes of a pointer */
0002 ;
0002 ; OS_COMPILER_OPT INT16U const OSQEn = OS_Q_EN;
0002 ; OS_COMPILER_OPT INT16U const OSQMax = OS_MAX_QS; /* Number of queues */
0002 ; #if (OS_Q_EN > 0) && (OS_MAX_QS > 0)
0002 ; OS_COMPILER_OPT INT16U const OSQSize = sizeof(OS_Q); /* Size in bytes of OS_Q structure */
0002 ; #else
0002 ; OS_COMPILER_OPT INT16U const OSQSize = 0;
0002 ; #endif
0002 ;
0002 ; OS_COMPILER_OPT INT16U const OSRdyTblSize = OS_RDY_TBL_SIZE; /* Number of bytes in the ready table */
0002 ;
0002 ; OS_COMPILER_OPT INT16U const OSSemEn = OS_SEM_EN;
0002 ;
0002 ; OS_COMPILER_OPT INT16U const OSStkWidth = sizeof(OS_STK); /* Size in Bytes of a stack entry */
0002 ;
0002 ; OS_COMPILER_OPT INT16U const OSTaskCreateEn = OS_TASK_CREATE_EN;
0002 ; OS_COMPILER_OPT INT16U const OSTaskCreateExtEn = OS_TASK_CREATE_EXT_EN;
0002 ; OS_COMPILER_OPT INT16U const OSTaskDelEn = OS_TASK_DEL_EN;
0002 ; OS_COMPILER_OPT INT16U const OSTaskIdleStkSize = OS_TASK_IDLE_STK_SIZE;
0002 ; OS_COMPILER_OPT INT16U const OSTaskProfileEn = OS_TASK_PROFILE_EN;
0002 ; OS_COMPILER_OPT INT16U const OSTaskMax = OS_MAX_TASKS + OS_N_SYS_TASKS; /* Total max. number of tasks */
0002 ; OS_COMPILER_OPT INT16U const OSTaskNameSize = OS_TASK_NAME_SIZE; /* Size (in bytes) of task names */
0002 ; OS_COMPILER_OPT INT16U const OSTaskStatEn = OS_TASK_STAT_EN;
0002 ; OS_COMPILER_OPT INT16U const OSTaskStatStkSize = OS_TASK_STAT_STK_SIZE;
0002 ; OS_COMPILER_OPT INT16U const OSTaskStatStkChkEn = OS_TASK_STAT_STK_CHK_EN;
0002 ; OS_COMPILER_OPT INT16U const OSTaskSwHookEn = OS_TASK_SW_HOOK_EN;
0002 ;
0002 ; OS_COMPILER_OPT INT16U const OSTCBPrioTblMax = OS_LOWEST_PRIO + 1; /* Number of entries in OSTCBPrioTbl[] */
0002 ; OS_COMPILER_OPT INT16U const OSTCBSize = sizeof(OS_TCB); /* Size in Bytes of OS_TCB */
0002 ; OS_COMPILER_OPT INT16U const OSTicksPerSec = OS_TICKS_PER_SEC;
0002 ; OS_COMPILER_OPT INT16U const OSTimeTickHookEn = OS_TIME_TICK_HOOK_EN;
0002 ; OS_COMPILER_OPT INT16U const OSVersionNbr = OS_VERSION;
0002 ;
0002 ; #endif
0002 ;
0002 ; /*$PAGE*/
0002 ; /*
0002 ; *********************************************************************************************************
0002 ; * DEBUG DATA
0002 ; * TOTAL DATA SPACE (i.e. RAM) USED BY uC/OS-II
0002 ; *********************************************************************************************************
0002 ; */
0002 ; #if OS_DEBUG_EN > 0
0002 ;
0002 ; OS_COMPILER_OPT INT16U const OSDataSize = sizeof(OSCtxSwCtr)
0002 ; #if (OS_EVENT_EN > 0) && (OS_MAX_EVENTS > 0)
0002 ; + sizeof(OSEventFreeList)
0002 ; + sizeof(OSEventTbl)
0002 ; #endif
0002 ; #if (OS_VERSION >= 251) && (OS_FLAG_EN > 0) && (OS_MAX_FLAGS > 0)
0002 ; + sizeof(OSFlagTbl)
0002 ; + sizeof(OSFlagFreeList)
0002 ; #endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -