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

📄 os_dbg.s79

📁 ARM仿真案例
💻 S79
📖 第 1 页 / 共 2 页
字号:
//   79 

        RSEG DATA_C:CONST:SORT:ROOT(1)
//   80 OS_COMPILER_OPT  INT16U  const  OSPtrSize          = sizeof(void *);             /* Size in Bytes of a pointer          */
OSPtrSize:
        DATA
        DC16 4
//   81 

        RSEG DATA_C:CONST:SORT:ROOT(1)
//   82 OS_COMPILER_OPT  INT16U  const  OSQEn              = OS_Q_EN;
OSQEn:
        DATA
        DC16 1

        RSEG DATA_C:CONST:SORT:ROOT(1)
//   83 OS_COMPILER_OPT  INT16U  const  OSQMax             = OS_MAX_QS;                  /* Number of queues                    */
OSQMax:
        DATA
        DC16 5
//   84 #if (OS_Q_EN > 0) && (OS_MAX_QS > 0)

        RSEG DATA_C:CONST:SORT:ROOT(1)
//   85 OS_COMPILER_OPT  INT16U  const  OSQSize            = sizeof(OS_Q);               /* Size in bytes of OS_Q structure     */
OSQSize:
        DATA
        DC16 24
//   86 #else
//   87 OS_COMPILER_OPT  INT16U  const  OSQSize            = 0;
//   88 #endif
//   89 

        RSEG DATA_C:CONST:SORT:ROOT(1)
//   90 OS_COMPILER_OPT  INT16U  const  OSRdyTblSize       = OS_RDY_TBL_SIZE;            /* Number of bytes in the ready table  */
OSRdyTblSize:
        DATA
        DC16 8
//   91 

        RSEG DATA_C:CONST:SORT:ROOT(1)
//   92 OS_COMPILER_OPT  INT16U  const  OSSemEn            = OS_SEM_EN;
OSSemEn:
        DATA
        DC16 1
//   93 

        RSEG DATA_C:CONST:SORT:ROOT(1)
//   94 OS_COMPILER_OPT  INT16U  const  OSStkWidth         = sizeof(OS_STK);             /* Size in Bytes of a stack entry      */
OSStkWidth:
        DATA
        DC16 4
//   95 

        RSEG DATA_C:CONST:SORT:ROOT(1)
//   96 OS_COMPILER_OPT  INT16U  const  OSTaskCreateEn     = OS_TASK_CREATE_EN;
OSTaskCreateEn:
        DATA
        DC16 1

        RSEG DATA_C:CONST:SORT:ROOT(1)
//   97 OS_COMPILER_OPT  INT16U  const  OSTaskCreateExtEn  = OS_TASK_CREATE_EXT_EN;
OSTaskCreateExtEn:
        DATA
        DC16 1

        RSEG DATA_C:CONST:SORT:ROOT(1)
//   98 OS_COMPILER_OPT  INT16U  const  OSTaskDelEn        = OS_TASK_DEL_EN;
OSTaskDelEn:
        DATA
        DC16 1

        RSEG DATA_C:CONST:SORT:ROOT(1)
//   99 OS_COMPILER_OPT  INT16U  const  OSTaskIdleStkSize  = OS_TASK_IDLE_STK_SIZE;
OSTaskIdleStkSize:
        DATA
        DC16 128

        RSEG DATA_C:CONST:SORT:ROOT(1)
//  100 OS_COMPILER_OPT  INT16U  const  OSTaskProfileEn    = OS_TASK_PROFILE_EN;
OSTaskProfileEn:
        DATA
        DC16 1

        RSEG DATA_C:CONST:SORT:ROOT(1)
//  101 OS_COMPILER_OPT  INT16U  const  OSTaskMax          = OS_MAX_TASKS + OS_N_SYS_TASKS;  /* Total max. number of tasks      */
OSTaskMax:
        DATA
        DC16 34

        RSEG DATA_C:CONST:SORT:ROOT(1)
//  102 OS_COMPILER_OPT  INT16U  const  OSTaskNameSize     = OS_TASK_NAME_SIZE;              /* Size (in bytes) of task names   */
OSTaskNameSize:
        DATA
        DC16 32

        RSEG DATA_C:CONST:SORT:ROOT(1)
//  103 OS_COMPILER_OPT  INT16U  const  OSTaskStatEn       = OS_TASK_STAT_EN;
OSTaskStatEn:
        DATA
        DC16 1

        RSEG DATA_C:CONST:SORT:ROOT(1)
//  104 OS_COMPILER_OPT  INT16U  const  OSTaskStatStkSize  = OS_TASK_STAT_STK_SIZE;
OSTaskStatStkSize:
        DATA
        DC16 128

        RSEG DATA_C:CONST:SORT:ROOT(1)
//  105 OS_COMPILER_OPT  INT16U  const  OSTaskStatStkChkEn = OS_TASK_STAT_STK_CHK_EN;
OSTaskStatStkChkEn:
        DATA
        DC16 1

        RSEG DATA_C:CONST:SORT:ROOT(1)
//  106 OS_COMPILER_OPT  INT16U  const  OSTaskSwHookEn     = OS_TASK_SW_HOOK_EN;
OSTaskSwHookEn:
        DATA
        DC16 1
//  107 

        RSEG DATA_C:CONST:SORT:ROOT(1)
//  108 OS_COMPILER_OPT  INT16U  const  OSTCBPrioTblMax    = OS_LOWEST_PRIO + 1;         /* Number of entries in OSTCBPrioTbl[] */
OSTCBPrioTblMax:
        DATA
        DC16 64

        RSEG DATA_C:CONST:SORT:ROOT(1)
//  109 OS_COMPILER_OPT  INT16U  const  OSTCBSize          = sizeof(OS_TCB);             /* Size in Bytes of OS_TCB             */
OSTCBSize:
        DATA
        DC16 104

        RSEG DATA_C:CONST:SORT:ROOT(1)
//  110 OS_COMPILER_OPT  INT16U  const  OSTicksPerSec      = OS_TICKS_PER_SEC;
OSTicksPerSec:
        DATA
        DC16 100

        RSEG DATA_C:CONST:SORT:ROOT(1)
//  111 OS_COMPILER_OPT  INT16U  const  OSTimeTickHookEn   = OS_TIME_TICK_HOOK_EN;
OSTimeTickHookEn:
        DATA
        DC16 1

        RSEG DATA_C:CONST:SORT:ROOT(1)
//  112 OS_COMPILER_OPT  INT16U  const  OSVersionNbr       = OS_VERSION;
OSVersionNbr:
        DATA
        DC16 270
//  113 
//  114 #endif
//  115 
//  116 /*$PAGE*/
//  117 /*
//  118 *********************************************************************************************************
//  119 *                                             DEBUG DATA
//  120 *                            TOTAL DATA SPACE (i.e. RAM) USED BY uC/OS-II
//  121 *********************************************************************************************************
//  122 */
//  123 #if OS_DEBUG_EN > 0
//  124 

        RSEG DATA_C:CONST:SORT:ROOT(1)
//  125 OS_COMPILER_OPT  INT16U  const  OSDataSize = sizeof(OSCtxSwCtr)
OSDataSize:
        DATA
        DC16 5966

        RSEG CODE:CODE:NOROOT(2)
        CFI Block cfiBlock0 Using cfiCommon0
        CFI NoFunction
        ARM
??OSDebugInit??rA:
        ADD      R12,PC,#+1
        BX       R12
        CFI EndBlock cfiBlock0
        REQUIRE OSDebugInit
//  126 #if (OS_EVENT_EN > 0) && (OS_MAX_EVENTS > 0)
//  127                                            + sizeof(OSEventFreeList)
//  128                                            + sizeof(OSEventTbl)
//  129 #endif
//  130 #if (OS_VERSION >= 251) && (OS_FLAG_EN > 0) && (OS_MAX_FLAGS > 0)
//  131                                            + sizeof(OSFlagTbl)
//  132                                            + sizeof(OSFlagFreeList)
//  133 #endif
//  134 #if OS_TASK_STAT_EN > 0
//  135                                            + sizeof(OSCPUUsage)
//  136                                            + sizeof(OSIdleCtrMax)
//  137                                            + sizeof(OSIdleCtrRun)
//  138                                            + sizeof(OSStatRdy)
//  139                                            + sizeof(OSTaskStatStk)
//  140 #endif
//  141 #if OS_TICK_STEP_EN > 0
//  142                                            + sizeof(OSTickStepState)
//  143 #endif
//  144 #if (OS_MEM_EN > 0) && (OS_MAX_MEM_PART > 0)
//  145                                            + sizeof(OSMemFreeList)
//  146                                            + sizeof(OSMemTbl)
//  147 #endif
//  148 #if (OS_Q_EN > 0) && (OS_MAX_QS > 0)
//  149                                            + sizeof(OSQFreeList)
//  150                                            + sizeof(OSQTbl)
//  151 #endif
//  152 #if OS_TIME_GET_SET_EN > 0   
//  153                                            + sizeof(OSTime)
//  154 #endif
//  155                                            + sizeof(OSIntNesting)
//  156                                            + sizeof(OSLockNesting)
//  157                                            + sizeof(OSPrioCur)
//  158                                            + sizeof(OSPrioHighRdy)
//  159                                            + sizeof(OSRdyGrp)
//  160                                            + sizeof(OSRdyTbl)
//  161                                            + sizeof(OSRunning)
//  162                                            + sizeof(OSTaskCtr)
//  163                                            + sizeof(OSIdleCtr)
//  164                                            + sizeof(OSTaskIdleStk)
//  165                                            + sizeof(OSTCBCur)
//  166                                            + sizeof(OSTCBFreeList)
//  167                                            + sizeof(OSTCBHighRdy)
//  168                                            + sizeof(OSTCBList)
//  169                                            + sizeof(OSTCBPrioTbl)
//  170                                            + sizeof(OSTCBTbl);
//  171 
//  172 #endif
//  173 
//  174 /*$PAGE*/
//  175 /*
//  176 *********************************************************************************************************
//  177 *                                       OS DEBUG INITIALIZAZTION
//  178 *
//  179 * Description: This function is used to make sure that debug variables that are unused in the application
//  180 *              are not optimized away.  This function might not be necessary for all compilers.  In this
//  181 *              case, you should simply DELETE the code in this function while still leaving the declaration
//  182 *              of the function itself.
//  183 *
//  184 * Arguments  : none
//  185 *
//  186 * Returns    : none
//  187 *
//  188 * Note(s)    : (1) This code doesn't do anything, it simply prevents the compiler from optimizing out
//  189 *                  the 'const' variables which are declared in this file.
//  190 *********************************************************************************************************
//  191 */
//  192 
//  193 #if OS_VERSION >= 270 && OS_DEBUG_EN > 0

        RSEG CODE:CODE:NOROOT(2)
        CFI Block cfiBlock1 Using cfiCommon1
        CFI Function OSDebugInit
        THUMB
//  194 void  OSDebugInit (void)
//  195 {
//  196     void  *ptemp;
//  197 
//  198     
//  199     ptemp = (void *)&OSDebugEn;
//  200 
//  201     ptemp = (void *)&OSEndiannessTest;
//  202 
//  203     ptemp = (void *)&OSEventMax;
//  204     ptemp = (void *)&OSEventNameSize;
//  205     ptemp = (void *)&OSEventEn;
//  206     ptemp = (void *)&OSEventSize;
//  207     ptemp = (void *)&OSEventTblSize;
//  208 
//  209     ptemp = (void *)&OSFlagEn;
//  210     ptemp = (void *)&OSFlagGrpSize;
//  211     ptemp = (void *)&OSFlagNodeSize;
//  212     ptemp = (void *)&OSFlagWidth;
//  213     ptemp = (void *)&OSFlagMax;
//  214     ptemp = (void *)&OSFlagNameSize;
//  215 
//  216     ptemp = (void *)&OSLowestPrio;
//  217 
//  218     ptemp = (void *)&OSMboxEn;
//  219 
//  220     ptemp = (void *)&OSMemEn;
//  221     ptemp = (void *)&OSMemMax;
//  222     ptemp = (void *)&OSMemNameSize;
//  223     ptemp = (void *)&OSMemSize;
//  224     ptemp = (void *)&OSMemTblSize;
//  225 
//  226     ptemp = (void *)&OSMutexEn;
//  227 
//  228     ptemp = (void *)&OSPtrSize;
//  229 
//  230     ptemp = (void *)&OSQEn;
//  231     ptemp = (void *)&OSQMax;
//  232     ptemp = (void *)&OSQSize;
//  233 
//  234     ptemp = (void *)&OSRdyTblSize;
//  235 
//  236     ptemp = (void *)&OSSemEn;
//  237 
//  238     ptemp = (void *)&OSStkWidth;
//  239 
//  240     ptemp = (void *)&OSTaskCreateEn;
//  241     ptemp = (void *)&OSTaskCreateExtEn;
//  242     ptemp = (void *)&OSTaskDelEn;
//  243     ptemp = (void *)&OSTaskIdleStkSize;
//  244     ptemp = (void *)&OSTaskProfileEn;
//  245     ptemp = (void *)&OSTaskMax;
//  246     ptemp = (void *)&OSTaskNameSize;
//  247     ptemp = (void *)&OSTaskStatEn;
//  248     ptemp = (void *)&OSTaskStatStkSize;
//  249     ptemp = (void *)&OSTaskStatStkChkEn;
//  250     ptemp = (void *)&OSTaskSwHookEn;
//  251 
//  252     ptemp = (void *)&OSTCBPrioTblMax;
//  253     ptemp = (void *)&OSTCBSize;
//  254 
//  255     ptemp = (void *)&OSTicksPerSec;
//  256     ptemp = (void *)&OSTimeTickHookEn;
//  257 
//  258     ptemp = (void *)&OSVersionNbr;
//  259 
//  260     ptemp = (void *)&OSDataSize;
//  261 
//  262     ptemp = ptemp;                             /* Prevent compiler warning for 'ptemp' not being used! */
//  263 }
OSDebugInit:
        BX       LR               ;; return
        CFI EndBlock cfiBlock1

        END
//  264 #endif
// 
// 10 bytes in segment CODE
// 92 bytes in segment DATA_C
// 
//  2 bytes of CODE  memory (+ 8 bytes shared)
// 92 bytes of CONST memory
//
//Errors: none
//Warnings: none

⌨️ 快捷键说明

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