📄 os_dbg.lis
字号:
.module os_dbg.c
.area lit(rom, con, rel)
0000 _OSDebugEn::
0000 0100 .word 1
0002 _OSEndiannessTest::
0002 78563412 .word 22136,4660
0006 _OSEventMax::
0006 0500 .word 5
0008 _OSEventNameSize::
0008 0000 .word 0
000A _OSEventEn::
000A 0100 .word 1
000C _OSEventSize::
000C 0800 .word 8
000E _OSEventTblSize::
000E 2800 .word 40
0010 _OSFlagEn::
0010 0000 .word 0
0012 _OSFlagGrpSize::
0012 0000 .word 0
0014 _OSFlagNodeSize::
0014 0000 .word 0
0016 _OSFlagWidth::
0016 0000 .word 0
0018 _OSFlagMax::
0018 0500 .word 5
001A _OSFlagNameSize::
001A 0000 .word 0
001C _OSLowestPrio::
001C 0800 .word 8
001E _OSMboxEn::
001E 0100 .word 1
0020 _OSMemEn::
0020 0000 .word 0
0022 _OSMemMax::
0022 0500 .word 5
0024 _OSMemNameSize::
0024 0000 .word 0
0026 _OSMemSize::
0026 0000 .word 0
0028 _OSMemTblSize::
0028 0000 .word 0
002A _OSMutexEn::
002A 0000 .word 0
002C _OSPtrSize::
002C 0200 .word 2
002E _OSQEn::
002E 0000 .word 0
0030 _OSQMax::
0030 0400 .word 4
0032 _OSQSize::
0032 0000 .word 0
0034 _OSRdyTblSize::
0034 0200 .word 2
0036 _OSSemEn::
0036 0100 .word 1
0038 _OSStkWidth::
0038 0100 .word 1
003A _OSTaskCreateEn::
003A 0100 .word 1
003C _OSTaskCreateExtEn::
003C 0000 .word 0
003E _OSTaskDelEn::
003E 0100 .word 1
0040 _OSTaskIdleStkSize::
0040 0001 .word 256
0042 _OSTaskProfileEn::
0042 0100 .word 1
0044 _OSTaskMax::
0044 0800 .word 8
0046 _OSTaskNameSize::
0046 0000 .word 0
0048 _OSTaskStatEn::
0048 0100 .word 1
004A _OSTaskStatStkSize::
004A 0001 .word 256
004C _OSTaskStatStkChkEn::
004C 0100 .word 1
004E _OSTaskSwHookEn::
004E 0100 .word 1
0050 _OSTCBPrioTblMax::
0050 0900 .word 9
0052 _OSTCBSize::
0052 2600 .word 38
0054 _OSTicksPerSec::
0054 3200 .word 50
0056 _OSTimeTickHookEn::
0056 0100 .word 1
0058 _OSVersionNbr::
0058 1401 .word 276
005A _OSDataSize::
005A 9303 .word 915
.area text(rom, con, rel)
; ptemp -> R16,R17
.even
0000 _OSDebugInit::
0000 ; /*
0000 ; *********************************************************************************************************
0000 ; * uC/OS-II
0000 ; * The Real-Time Kernel
0000 ; * DEBUGGER CONSTANTS
0000 ; *
0000 ; * (c) Copyright 2002-2003, Jean J. Labrosse, Weston, FL
0000 ; * All Rights Reserved
0000 ; *
0000 ; * File : OS_DBG.C
0000 ; * By : Jean J. Labrosse
0000 ; *********************************************************************************************************
0000 ; */
0000 ;
0000 ; #include <ucos_ii.h>
0000 ;
0000 ; #define OS_COMPILER_OPT
0000 ;
0000 ; /*
0000 ; *********************************************************************************************************
0000 ; * DEBUG DATA
0000 ; *********************************************************************************************************
0000 ; */
0000 ;
0000 ; OS_COMPILER_OPT INT16U const OSDebugEn = OS_DEBUG_EN; /* Debug constants are defined below */
0000 ;
0000 ; #if OS_DEBUG_EN > 0
0000 ;
0000 ; OS_COMPILER_OPT INT32U const OSEndiannessTest = 0x12345678L; /* Variable to test CPU endianness */
0000 ;
0000 ; OS_COMPILER_OPT INT16U const OSEventMax = OS_MAX_EVENTS; /* Number of event control blocks */
0000 ; OS_COMPILER_OPT INT16U const OSEventNameSize = OS_EVENT_NAME_SIZE; /* Size (in bytes) of event names */
0000 ; #if (OS_EVENT_EN > 0) && (OS_MAX_EVENTS > 0)
0000 ; OS_COMPILER_OPT INT16U const OSEventEn = OS_EVENT_EN;
0000 ; OS_COMPILER_OPT INT16U const OSEventSize = sizeof(OS_EVENT); /* Size in Bytes of OS_EVENT */
0000 ; OS_COMPILER_OPT INT16U const OSEventTblSize = sizeof(OSEventTbl); /* Size of OSEventTbl[] in bytes */
0000 ; #else
0000 ; OS_COMPILER_OPT INT16U const OSEventEn = 0;
0000 ; OS_COMPILER_OPT INT16U const OSEventSize = 0;
0000 ; OS_COMPILER_OPT INT16U const OSEventTblSize = 0;
0000 ; #endif
0000 ;
0000 ; OS_COMPILER_OPT INT16U const OSFlagEn = OS_FLAG_EN;
0000 ; #if (OS_FLAG_EN > 0) && (OS_MAX_FLAGS > 0)
0000 ; OS_COMPILER_OPT INT16U const OSFlagGrpSize = sizeof(OS_FLAG_GRP); /* Size in Bytes of OS_FLAG_GRP */
0000 ; OS_COMPILER_OPT INT16U const OSFlagNodeSize = sizeof(OS_FLAG_NODE); /* Size in Bytes of OS_FLAG_NODE */
0000 ; OS_COMPILER_OPT INT16U const OSFlagWidth = sizeof(OS_FLAGS); /* Width (in bytes) of OS_FLAGS */
0000 ; #else
0000 ; OS_COMPILER_OPT INT16U const OSFlagGrpSize = 0;
0000 ; OS_COMPILER_OPT INT16U const OSFlagNodeSize = 0;
0000 ; OS_COMPILER_OPT INT16U const OSFlagWidth = 0;
0000 ; #endif
0000 ; OS_COMPILER_OPT INT16U const OSFlagMax = OS_MAX_FLAGS;
0000 ; OS_COMPILER_OPT INT16U const OSFlagNameSize = OS_FLAG_NAME_SIZE; /* Size (in bytes) of flag names */
0000 ;
0000 ; OS_COMPILER_OPT INT16U const OSLowestPrio = OS_LOWEST_PRIO;
0000 ;
0000 ; OS_COMPILER_OPT INT16U const OSMboxEn = OS_MBOX_EN;
0000 ;
0000 ; OS_COMPILER_OPT INT16U const OSMemEn = OS_MEM_EN;
0000 ; OS_COMPILER_OPT INT16U const OSMemMax = OS_MAX_MEM_PART; /* Number of memory partitions */
0000 ; OS_COMPILER_OPT INT16U const OSMemNameSize = OS_MEM_NAME_SIZE; /* Size (in bytes) of partition names */
0000 ; #if (OS_MEM_EN > 0) && (OS_MAX_MEM_PART > 0)
0000 ; OS_COMPILER_OPT INT16U const OSMemSize = sizeof(OS_MEM); /* Mem. Partition header sine (bytes) */
0000 ; OS_COMPILER_OPT INT16U const OSMemTblSize = sizeof(OSMemTbl);
0000 ; #else
0000 ; OS_COMPILER_OPT INT16U const OSMemSize = 0;
0000 ; OS_COMPILER_OPT INT16U const OSMemTblSize = 0;
0000 ; #endif
0000 ; OS_COMPILER_OPT INT16U const OSMutexEn = OS_MUTEX_EN;
0000 ;
0000 ; OS_COMPILER_OPT INT16U const OSPtrSize = sizeof(void *); /* Size in Bytes of a pointer */
0000 ;
0000 ; OS_COMPILER_OPT INT16U const OSQEn = OS_Q_EN;
0000 ; OS_COMPILER_OPT INT16U const OSQMax = OS_MAX_QS; /* Number of queues */
0000 ; #if (OS_Q_EN > 0) && (OS_MAX_QS > 0)
0000 ; OS_COMPILER_OPT INT16U const OSQSize = sizeof(OS_Q); /* Size in bytes of OS_Q structure */
0000 ; #else
0000 ; OS_COMPILER_OPT INT16U const OSQSize = 0;
0000 ; #endif
0000 ;
0000 ; OS_COMPILER_OPT INT16U const OSRdyTblSize = OS_RDY_TBL_SIZE; /* Number of bytes in the ready table */
0000 ;
0000 ; OS_COMPILER_OPT INT16U const OSSemEn = OS_SEM_EN;
0000 ;
0000 ; OS_COMPILER_OPT INT16U const OSStkWidth = sizeof(OS_STK); /* Size in Bytes of a stack entry */
0000 ;
0000 ; OS_COMPILER_OPT INT16U const OSTaskCreateEn = OS_TASK_CREATE_EN;
0000 ; OS_COMPILER_OPT INT16U const OSTaskCreateExtEn = OS_TASK_CREATE_EXT_EN;
0000 ; OS_COMPILER_OPT INT16U const OSTaskDelEn = OS_TASK_DEL_EN;
0000 ; OS_COMPILER_OPT INT16U const OSTaskIdleStkSize = OS_TASK_IDLE_STK_SIZE;
0000 ; OS_COMPILER_OPT INT16U const OSTaskProfileEn = OS_TASK_PROFILE_EN;
0000 ; OS_COMPILER_OPT INT16U const OSTaskMax = OS_MAX_TASKS + OS_N_SYS_TASKS; /* Total max. number of tasks */
0000 ; OS_COMPILER_OPT INT16U const OSTaskNameSize = OS_TASK_NAME_SIZE; /* Size (in bytes) of task names */
0000 ; OS_COMPILER_OPT INT16U const OSTaskStatEn = OS_TASK_STAT_EN;
0000 ; OS_COMPILER_OPT INT16U const OSTaskStatStkSize = OS_TASK_STAT_STK_SIZE;
0000 ; OS_COMPILER_OPT INT16U const OSTaskStatStkChkEn = OS_TASK_STAT_STK_CHK_EN;
0000 ; OS_COMPILER_OPT INT16U const OSTaskSwHookEn = OS_TASK_SW_HOOK_EN;
0000 ;
0000 ; OS_COMPILER_OPT INT16U const OSTCBPrioTblMax = OS_LOWEST_PRIO + 1; /* Number of entries in OSTCBPrioTbl[] */
0000 ; OS_COMPILER_OPT INT16U const OSTCBSize = sizeof(OS_TCB); /* Size in Bytes of OS_TCB */
0000 ; OS_COMPILER_OPT INT16U const OSTicksPerSec = OS_TICKS_PER_SEC;
0000 ; OS_COMPILER_OPT INT16U const OSTimeTickHookEn = OS_TIME_TICK_HOOK_EN;
0000 ; OS_COMPILER_OPT INT16U const OSVersionNbr = OS_VERSION;
0000 ;
0000 ; #endif
0000 ;
0000 ; /*$PAGE*/
0000 ; /*
0000 ; *********************************************************************************************************
0000 ; * DEBUG DATA
0000 ; * TOTAL DATA SPACE (i.e. RAM) USED BY uC/OS-II
0000 ; *********************************************************************************************************
0000 ; */
0000 ; #if OS_DEBUG_EN > 0
0000 ;
0000 ; OS_COMPILER_OPT INT16U const OSDataSize = sizeof(OSCtxSwCtr)
0000 ; #if (OS_EVENT_EN > 0) && (OS_MAX_EVENTS > 0)
0000 ; + sizeof(OSEventFreeList)
0000 ; + sizeof(OSEventTbl)
0000 ; #endif
0000 ; #if (OS_VERSION >= 251) && (OS_FLAG_EN > 0) && (OS_MAX_FLAGS > 0)
0000 ; + sizeof(OSFlagTbl)
0000 ; + sizeof(OSFlagFreeList)
0000 ; #endif
0000 ; #if OS_TASK_STAT_EN > 0
0000 ; + sizeof(OSCPUUsage)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -