RTX_En = 1; V_Major = os_Info.version / 10000000; V_Minor = (os_Info.version / 10000) % 1000; V_Patch = os_Info.version % 10000; StaticMp_En = 1; TCB_Rd = cb_Sections.thread_cb_end - cb_Sections.thread_cb_start; CCB_Rd = cb_Sections.timer_cb_end - cb_Sections.timer_cb_start; ECB_Rd = cb_Sections.evflags_cb_end - cb_Sections.evflags_cb_start; MCB_Rd = cb_Sections.mutex_cb_end - cb_Sections.mutex_cb_start; SCB_Rd = cb_Sections.semaphore_cb_end - cb_Sections.semaphore_cb_start; PCB_Rd = cb_Sections.mempool_cb_end - cb_Sections.mempool_cb_start; QCB_Rd = cb_Sections.msgqueue_cb_end - cb_Sections.msgqueue_cb_start; TCB_Rd /= 68; CCB_Rd /= 32; ECB_Rd /= 16; MCB_Rd /= 28; SCB_Rd /= 16; PCB_Rd /= 36; QCB_Rd /= 52; addr = mem_bl[i]._addr; addr += 8; TCB[i].cb_valid = (TCB[i].id == 1) && (TCB[i].state != 0) && (TCB[i].sp != 0); TCB[i].stack_val = __CalcMemUsed (TCB[i].stack_mem, TCB[i].stack_size, 0xCCCCCCCC, 0xE25A2EA5); TCB[i].stack_over = TCB[i].stack_val >> 31; TCB[i].stack_maxb = TCB[i].stack_over ? TCB[i].stack_size : TCB[i].stack_val & 0xFFFFF; TCB[i].stack_maxp = TCB[i].stack_over ? 100 : (TCB[i].stack_val >> 20) & 0x1FF; sp = __GetRegVal ("PSP"); sp = TCB[i].sp; TCB[i].stack_curb = TCB[i].stack_mem + TCB[i].stack_size; TCB[i].stack_curb -= sp; TCB[i].stack_curp = TCB[i].stack_curb; TCB[i].stack_curp *= 100; TCB[i].stack_curp /= TCB[i].stack_size; TCB[i].ex_delay = TCB[i].delay; TCB[i].ex_delay += TDL[j].delay; TCB[i].obj_name[0] = ','; TCB[i].obj_name[1] = ' '; TCB[i].obj_name[2+n] = ch0; n = 64; CCB[i].cb_valid = (CCB[i].id == 2) && (CCB[i].state != 0); CCB[i].ex_tick = CCB[i].tick; CCB[i].ex_tick += TEL[j].tick; CCB[i].obj_name[0] = ','; CCB[i].obj_name[1] = ' '; CCB[i].obj_name[2+n] = ch1; n = 64; k = 0; ECB[i].cb_valid = (ECB[i].id == 3) && (ECB[i].state == 1); ECB[i].wl_idx = k; ECB[i].wl_cnt = (EWL._count - k); k = EWL._count; ECB[i].obj_name[0] = ','; ECB[i].obj_name[1] = ' '; ECB[i].obj_name[2+n] = ch2; n = 64; k = 0; MCB[i].cb_valid = (MCB[i].id == 4) && (MCB[i].state == 1); MCB[i].wl_idx = k; MCB[i].wl_cnt = (MWL._count - k); k = MWL._count; MCB[i].obj_name[0] = ','; MCB[i].obj_name[1] = ' '; MCB[i].obj_name[2+n] = ch3; n = 64; k = 0; SCB[i].cb_valid = (SCB[i].id == 5) && (SCB[i].state == 1); SCB[i].wl_idx = k; SCB[i].wl_cnt = (SWL._count - k); k = SWL._count; SCB[i].obj_name[0] = ','; SCB[i].obj_name[1] = ' '; SCB[i].obj_name[2+n] = ch4; n = 64; k = 0; PCB[i].cb_valid = (PCB[i].id == 6) && (PCB[i].state == 1); PCB[i].wl_idx = k; PCB[i].wl_cnt = (PWL._count - k); k = PWL._count; PCB[i].obj_name[0] = ','; PCB[i].obj_name[1] = ' '; PCB[i].obj_name[2+n] = ch5; n = 64; k = 0; j = 0; QCB[i].cb_valid = (QCB[i].id == 8) && (QCB[i].state == 1); QCB[i].wl_idx = k; QCB[i].wl_cnt = (QWL._count - k); k = QWL._count; QCB[i].obj_name[0] = ','; QCB[i].obj_name[1] = ' '; QCB[i].obj_name[2+n] = ch6; n = 64; QCB[i].ml_idx = j; j = QML._count; QML[i].addr = QML[i]._addr; QML[i].addr += 12; TCB_En += TCB[i].cb_valid; CCB_En += CCB[i].cb_valid; SCB_En += SCB[i].cb_valid; MCB_En += MCB[i].cb_valid; ECB_En += ECB[i].cb_valid; PCB_En += PCB[i].cb_valid; QCB_En += QCB[i].cb_valid; "/>