⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 os_dbg.s

📁 易于atmage128和ucos的手动机器人控制程序。
💻 S
📖 第 1 页 / 共 2 页
字号:
	.module os_dbg.c
	.area lit(rom, con, rel)
_OSDebugEn::
	.word 1
_OSEndiannessTest::
	.word 22136,4660
_OSEventMax::
	.word 5
_OSEventNameSize::
	.word 0
_OSEventEn::
	.word 1
_OSEventSize::
	.word 8
_OSEventTblSize::
	.word 40
_OSFlagEn::
	.word 0
_OSFlagGrpSize::
	.word 0
_OSFlagNodeSize::
	.word 0
_OSFlagWidth::
	.word 0
_OSFlagMax::
	.word 5
_OSFlagNameSize::
	.word 0
_OSLowestPrio::
	.word 8
_OSMboxEn::
	.word 1
_OSMemEn::
	.word 0
_OSMemMax::
	.word 5
_OSMemNameSize::
	.word 0
_OSMemSize::
	.word 0
_OSMemTblSize::
	.word 0
_OSMutexEn::
	.word 0
_OSPtrSize::
	.word 2
_OSQEn::
	.word 0
_OSQMax::
	.word 4
_OSQSize::
	.word 0
_OSRdyTblSize::
	.word 2
_OSSemEn::
	.word 1
_OSStkWidth::
	.word 1
_OSTaskCreateEn::
	.word 1
_OSTaskCreateExtEn::
	.word 0
_OSTaskDelEn::
	.word 1
_OSTaskIdleStkSize::
	.word 256
_OSTaskProfileEn::
	.word 1
_OSTaskMax::
	.word 8
_OSTaskNameSize::
	.word 0
_OSTaskStatEn::
	.word 1
_OSTaskStatStkSize::
	.word 256
_OSTaskStatStkChkEn::
	.word 1
_OSTaskSwHookEn::
	.word 1
_OSTCBPrioTblMax::
	.word 9
_OSTCBSize::
	.word 38
_OSTicksPerSec::
	.word 50
_OSTimeTickHookEn::
	.word 1
_OSVersionNbr::
	.word 276
_OSDataSize::
	.word 915
	.area text(rom, con, rel)
;          ptemp -> R16,R17
	.even
_OSDebugInit::
; /*
; *********************************************************************************************************
; *                                                uC/OS-II
; *                                          The Real-Time Kernel
; *                                           DEBUGGER CONSTANTS
; *
; *                          (c) Copyright 2002-2003, Jean J. Labrosse, Weston, FL
; *                                           All Rights Reserved
; *
; * File : OS_DBG.C
; * By   : Jean J. Labrosse
; *********************************************************************************************************
; */
; 
; #include <ucos_ii.h>
; 
; #define  OS_COMPILER_OPT  
; 
; /*
; *********************************************************************************************************
; *                                             DEBUG DATA
; *********************************************************************************************************
; */
; 
; OS_COMPILER_OPT  INT16U  const  OSDebugEn          = OS_DEBUG_EN;                /* Debug constants are defined below   */
; 
; #if OS_DEBUG_EN > 0
; 
; OS_COMPILER_OPT  INT32U  const  OSEndiannessTest   = 0x12345678L;                /* Variable to test CPU endianness     */
; 
; OS_COMPILER_OPT  INT16U  const  OSEventMax         = OS_MAX_EVENTS;              /* Number of event control blocks      */
; OS_COMPILER_OPT  INT16U  const  OSEventNameSize    = OS_EVENT_NAME_SIZE;         /* Size (in bytes) of event names      */
; #if (OS_EVENT_EN > 0) && (OS_MAX_EVENTS > 0)
; OS_COMPILER_OPT  INT16U  const  OSEventEn          = OS_EVENT_EN;
; OS_COMPILER_OPT  INT16U  const  OSEventSize        = sizeof(OS_EVENT);           /* Size in Bytes of OS_EVENT           */
; OS_COMPILER_OPT  INT16U  const  OSEventTblSize     = sizeof(OSEventTbl);         /* Size of OSEventTbl[] in bytes       */
; #else
; OS_COMPILER_OPT  INT16U  const  OSEventEn          = 0;
; OS_COMPILER_OPT  INT16U  const  OSEventSize        = 0;
; OS_COMPILER_OPT  INT16U  const  OSEventTblSize     = 0;
; #endif
; 
; OS_COMPILER_OPT  INT16U  const  OSFlagEn           = OS_FLAG_EN;
; #if (OS_FLAG_EN > 0) && (OS_MAX_FLAGS > 0)
; OS_COMPILER_OPT  INT16U  const  OSFlagGrpSize      = sizeof(OS_FLAG_GRP);        /* Size in Bytes of OS_FLAG_GRP        */
; OS_COMPILER_OPT  INT16U  const  OSFlagNodeSize     = sizeof(OS_FLAG_NODE);       /* Size in Bytes of OS_FLAG_NODE       */
; OS_COMPILER_OPT  INT16U  const  OSFlagWidth        = sizeof(OS_FLAGS);           /* Width (in bytes) of OS_FLAGS        */
; #else
; OS_COMPILER_OPT  INT16U  const  OSFlagGrpSize      = 0;
; OS_COMPILER_OPT  INT16U  const  OSFlagNodeSize     = 0;
; OS_COMPILER_OPT  INT16U  const  OSFlagWidth        = 0;
; #endif
; OS_COMPILER_OPT  INT16U  const  OSFlagMax          = OS_MAX_FLAGS;
; OS_COMPILER_OPT  INT16U  const  OSFlagNameSize     = OS_FLAG_NAME_SIZE;          /* Size (in bytes) of flag names       */
; 
; OS_COMPILER_OPT  INT16U  const  OSLowestPrio       = OS_LOWEST_PRIO;
; 
; OS_COMPILER_OPT  INT16U  const  OSMboxEn           = OS_MBOX_EN;
; 
; OS_COMPILER_OPT  INT16U  const  OSMemEn            = OS_MEM_EN;
; OS_COMPILER_OPT  INT16U  const  OSMemMax           = OS_MAX_MEM_PART;            /* Number of memory partitions         */
; OS_COMPILER_OPT  INT16U  const  OSMemNameSize      = OS_MEM_NAME_SIZE;           /* Size (in bytes) of partition names  */
; #if (OS_MEM_EN > 0) && (OS_MAX_MEM_PART > 0)
; OS_COMPILER_OPT  INT16U  const  OSMemSize          = sizeof(OS_MEM);             /* Mem. Partition header sine (bytes)  */
; OS_COMPILER_OPT  INT16U  const  OSMemTblSize       = sizeof(OSMemTbl);
; #else
; OS_COMPILER_OPT  INT16U  const  OSMemSize          = 0;
; OS_COMPILER_OPT  INT16U  const  OSMemTblSize       = 0;
; #endif
; OS_COMPILER_OPT  INT16U  const  OSMutexEn          = OS_MUTEX_EN;
; 
; OS_COMPILER_OPT  INT16U  const  OSPtrSize          = sizeof(void *);             /* Size in Bytes of a pointer          */
; 
; OS_COMPILER_OPT  INT16U  const  OSQEn              = OS_Q_EN;
; OS_COMPILER_OPT  INT16U  const  OSQMax             = OS_MAX_QS;                  /* Number of queues                    */
; #if (OS_Q_EN > 0) && (OS_MAX_QS > 0)
; OS_COMPILER_OPT  INT16U  const  OSQSize            = sizeof(OS_Q);               /* Size in bytes of OS_Q structure     */
; #else
; OS_COMPILER_OPT  INT16U  const  OSQSize            = 0;
; #endif
; 
; OS_COMPILER_OPT  INT16U  const  OSRdyTblSize       = OS_RDY_TBL_SIZE;            /* Number of bytes in the ready table  */
; 
; OS_COMPILER_OPT  INT16U  const  OSSemEn            = OS_SEM_EN;
; 
; OS_COMPILER_OPT  INT16U  const  OSStkWidth         = sizeof(OS_STK);             /* Size in Bytes of a stack entry      */
; 
; OS_COMPILER_OPT  INT16U  const  OSTaskCreateEn     = OS_TASK_CREATE_EN;
; OS_COMPILER_OPT  INT16U  const  OSTaskCreateExtEn  = OS_TASK_CREATE_EXT_EN;
; OS_COMPILER_OPT  INT16U  const  OSTaskDelEn        = OS_TASK_DEL_EN;
; OS_COMPILER_OPT  INT16U  const  OSTaskIdleStkSize  = OS_TASK_IDLE_STK_SIZE;
; OS_COMPILER_OPT  INT16U  const  OSTaskProfileEn    = OS_TASK_PROFILE_EN;
; OS_COMPILER_OPT  INT16U  const  OSTaskMax          = OS_MAX_TASKS + OS_N_SYS_TASKS;  /* Total max. number of tasks      */
; OS_COMPILER_OPT  INT16U  const  OSTaskNameSize     = OS_TASK_NAME_SIZE;              /* Size (in bytes) of task names   */
; OS_COMPILER_OPT  INT16U  const  OSTaskStatEn       = OS_TASK_STAT_EN;
; OS_COMPILER_OPT  INT16U  const  OSTaskStatStkSize  = OS_TASK_STAT_STK_SIZE;
; OS_COMPILER_OPT  INT16U  const  OSTaskStatStkChkEn = OS_TASK_STAT_STK_CHK_EN;
; OS_COMPILER_OPT  INT16U  const  OSTaskSwHookEn     = OS_TASK_SW_HOOK_EN;
; 
; OS_COMPILER_OPT  INT16U  const  OSTCBPrioTblMax    = OS_LOWEST_PRIO + 1;         /* Number of entries in OSTCBPrioTbl[] */
; OS_COMPILER_OPT  INT16U  const  OSTCBSize          = sizeof(OS_TCB);             /* Size in Bytes of OS_TCB             */
; OS_COMPILER_OPT  INT16U  const  OSTicksPerSec      = OS_TICKS_PER_SEC;
; OS_COMPILER_OPT  INT16U  const  OSTimeTickHookEn   = OS_TIME_TICK_HOOK_EN;
; OS_COMPILER_OPT  INT16U  const  OSVersionNbr       = OS_VERSION;
; 
; #endif
; 
; /*$PAGE*/
; /*
; *********************************************************************************************************
; *                                             DEBUG DATA
; *                            TOTAL DATA SPACE (i.e. RAM) USED BY uC/OS-II
; *********************************************************************************************************
; */
; #if OS_DEBUG_EN > 0
; 
; OS_COMPILER_OPT  INT16U  const  OSDataSize = sizeof(OSCtxSwCtr)
; #if (OS_EVENT_EN > 0) && (OS_MAX_EVENTS > 0)
;                                            + sizeof(OSEventFreeList)
;                                            + sizeof(OSEventTbl)
; #endif
; #if (OS_VERSION >= 251) && (OS_FLAG_EN > 0) && (OS_MAX_FLAGS > 0)
;                                            + sizeof(OSFlagTbl)
;                                            + sizeof(OSFlagFreeList)
; #endif
; #if OS_TASK_STAT_EN > 0
;                                            + sizeof(OSCPUUsage)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -