Changeset 306 for asp3_wo_tecs/trunk/test
- Timestamp:
- Jun 27, 2017, 10:53:32 AM (7 years ago)
- Location:
- asp3_wo_tecs/trunk/test
- Files:
-
- 38 edited
Legend:
- Unmodified
- Added
- Removed
-
asp3_wo_tecs/trunk/test/MANIFEST
r304 r306 51 51 test_dlynse.cfg 52 52 test_dlynse.h 53 test_dtq1.c 54 test_dtq1.cfg 55 test_dtq1.h 53 56 test_flg1.c 54 57 test_flg1.cfg … … 107 110 test_tmevt1.cfg 108 111 test_tmevt1.h 112 testexec.rb -
asp3_wo_tecs/trunk/test/bit_kernel.c
r305 r306 51 51 * ã®è²¬ä»»ãè² ããªãï¼ 52 52 * 53 * $Id: bit_kernel.c 554 2016-01-17 13:21:59Z ertl-hiro $53 * $Id: bit_kernel.c 739 2016-04-05 15:09:40Z ertl-hiro $ 54 54 */ 55 55 … … 195 195 196 196 /* 197 * enadspã¨p_schedtskã®æ´åæ§ã®æ¤æ»198 */ 199 if ( enadsp) {197 * dspflgã¨p_schedtskã®æ´åæ§ã®æ¤æ» 198 */ 199 if (dspflg) { 200 200 if (primap_empty()) { 201 201 if (p_schedtsk != NULL) { -
asp3_wo_tecs/trunk/test/test_cpuexc.cfg
r304 r306 2 2 * CPUä¾å¤å¦çã®ãã¹ã(1)ã(10)ã®ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã« 3 3 * 4 * $Id: test_cpuexc.cfg 404 2015-08-02 21:56:21Z ertl-hiro $4 * $Id: test_cpuexc.cfg 571 2016-02-01 14:29:07Z ertl-hiro $ 5 5 */ 6 INCLUDE("syssvc/syslog.cfg"); 7 INCLUDE("syssvc/banner.cfg"); 8 INCLUDE("syssvc/serial.cfg"); 6 INCLUDE("tecsgen.cfg"); 9 7 10 8 #include "test_cpuexc.h" -
asp3_wo_tecs/trunk/test/test_cpuexc.h
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2007-201 4by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2007-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_cpuexc.h 404 2015-08-02 21:56:21Z ertl-hiro $52 * $Id: test_cpuexc.h 737 2016-04-05 13:11:23Z ertl-hiro $ 53 53 */ 54 54 … … 80 80 #endif /* STACK_SIZE */ 81 81 82 #ifndef TEST_TIME_CP 83 #define TEST_TIME_CP 50000U /* ãã§ãã¯ãã¤ã³ãå°éæ 84 å ±ã®åºåæé */ 85 #endif /* TEST_TIME_CP */ 86 87 #ifndef TEST_TIME_PROC 88 #define TEST_TIME_PROC 1000U /* ãã§ãã¯ãã¤ã³ããéããªãå ´åã®æé */ 89 #endif /* TEST_TIME_PROC */ 90 82 91 /* 83 92 * é¢æ°ã®ãããã¿ã¤ãå®£è¨ -
asp3_wo_tecs/trunk/test/test_cpuexc1.c
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2007-201 5by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2007-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_cpuexc1.c 346 2015-07-18 02:12:08Z ertl-hiro $52 * $Id: test_cpuexc1.c 738 2016-04-05 14:19:24Z ertl-hiro $ 53 53 */ 54 54 … … 117 117 * 2: state(false, false, true, true, false) 118 118 * ipm(TIPM_ENAALL) 119 * sta_alm(ALM1, 10000U)119 * sta_alm(ALM1, TEST_TIME_PROC) ... ALM1ãå®è¡éå§ããã¾ã§ 120 120 * DO(while(!alm1_flag)) 121 121 * == ALM1 == … … 223 223 check_ipm(TIPM_ENAALL); 224 224 225 ercd = sta_alm(ALM1, 10000U);225 ercd = sta_alm(ALM1, TEST_TIME_PROC); 226 226 check_ercd(ercd, E_OK); 227 227 -
asp3_wo_tecs/trunk/test/test_cpuexc2.c
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2007-201 5by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2007-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_cpuexc2.c 346 2015-07-18 02:12:08Z ertl-hiro $52 * $Id: test_cpuexc2.c 738 2016-04-05 14:19:24Z ertl-hiro $ 53 53 */ 54 54 … … 111 111 * 2: state(false, false, true, true, false) 112 112 * ipm(TIPM_ENAALL) 113 * sta_alm(ALM1, 10000U)113 * sta_alm(ALM1, TEST_TIME_PROC) ... ALM1ãå®è¡éå§ããã¾ã§ 114 114 * DO(while(!alm1_flag)) 115 115 * == ALM1 == … … 217 217 check_ipm(TIPM_ENAALL); 218 218 219 ercd = sta_alm(ALM1, 10000U);219 ercd = sta_alm(ALM1, TEST_TIME_PROC); 220 220 check_ercd(ercd, E_OK); 221 221 -
asp3_wo_tecs/trunk/test/test_cpuexc3.c
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2007-201 5by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2007-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_cpuexc3.c 346 2015-07-18 02:12:08Z ertl-hiro $52 * $Id: test_cpuexc3.c 738 2016-04-05 14:19:24Z ertl-hiro $ 53 53 */ 54 54 … … 110 110 * 2: state(false, false, true, true, false) 111 111 * ipm(TIPM_ENAALL) 112 * sta_alm(ALM1, 10000U)112 * sta_alm(ALM1, TEST_TIME_PROC) ... ALM1ãå®è¡éå§ããã¾ã§ 113 113 * DO(while(!alm1_flag)) 114 114 * == ALM1 == … … 211 211 check_ipm(TIPM_ENAALL); 212 212 213 ercd = sta_alm(ALM1, 10000U);213 ercd = sta_alm(ALM1, TEST_TIME_PROC); 214 214 check_ercd(ercd, E_OK); 215 215 -
asp3_wo_tecs/trunk/test/test_dlynse.c
r302 r306 5 5 * Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory 6 6 * Toyohashi Univ. of Technology, JAPAN 7 * Copyright (C) 2007-201 5by Embedded and Real-Time Systems Laboratory7 * Copyright (C) 2007-2016 by Embedded and Real-Time Systems Laboratory 8 8 * Graduate School of Information Science, Nagoya Univ., JAPAN 9 9 * … … 52 52 * ã®è²¬ä»»ãè² ããªãï¼ 53 53 * 54 * $Id: test_dlynse.c 482 2016-01-03 13:12:51Z ertl-hiro $54 * $Id: test_dlynse.c 738 2016-04-05 14:19:24Z ertl-hiro $ 55 55 */ 56 56 … … 75 75 #include "target_kernel_impl.h" 76 76 77 #define NO_LOOP ULONG_C(1000000)77 #define NO_LOOP 1000000UL 78 78 79 SYSTIMempty_time;79 HRTCNT empty_time; 80 80 81 81 static void … … 90 90 etime = fch_hrt(); 91 91 empty_time = etime - stime; 92 #ifdef TCYC_HRTCNT 93 if (etime < stime) { 94 empty_time += TCYC_HRTCNT; 95 } 96 #endif /* TCYC_HRTCNT */ 92 97 syslog(LOG_NOTICE, "empty loop: %u", empty_time); 93 98 (void) syslog_fls_log(); … … 97 102 test_dly_nse(ulong_t dlytim) 98 103 { 99 HRTCNT stime, etime ;104 HRTCNT stime, etime, diff; 100 105 ulong_t delay_time; 101 106 volatile ulong_t i; … … 106 111 } 107 112 etime = fch_hrt(); 108 delay_time = ((etime - stime) - empty_time) / 1000U; 113 diff = etime - stime; 114 #ifdef TCYC_HRTCNT 115 if (etime < stime) { 116 diff += TCYC_HRTCNT; 117 } 118 #endif /* TCYC_HRTCNT */ 119 delay_time = (diff - empty_time) / 1000U; 109 120 syslog(LOG_NOTICE, "sil_dly_nse(%lu): %lu %s", dlytim, delay_time, 110 121 delay_time >= dlytim ? "OK" : "NG"); … … 127 138 test_dly_nse(SIL_DLY_TIM1 + SIL_DLY_TIM2 * 4); 128 139 test_dly_nse(SIL_DLY_TIM1 + SIL_DLY_TIM2 * 5); 140 test_dly_nse(SIL_DLY_TIM1 + SIL_DLY_TIM2 * 6); 141 test_dly_nse(SIL_DLY_TIM1 + SIL_DLY_TIM2 * 7); 142 test_dly_nse(SIL_DLY_TIM1 + SIL_DLY_TIM2 * 8); 143 test_dly_nse(SIL_DLY_TIM1 + SIL_DLY_TIM2 * 9); 129 144 test_dly_nse(SIL_DLY_TIM1 + SIL_DLY_TIM2 * 10); 130 145 test_dly_nse(SIL_DLY_TIM1 + SIL_DLY_TIM2 * 20); -
asp3_wo_tecs/trunk/test/test_dtq1.c
r305 r306 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_dtq1.c 602 2016-02-07 12:22:32Z ertl-hiro $52 * $Id: test_dtq1.c 738 2016-04-05 14:19:24Z ertl-hiro $ 53 53 */ 54 54 … … 302 302 * == TASK3ï¼ç¶ãï¼== 303 303 * 19: assert(data == DATA1) 304 * 20: sta_alm(ALM1, 10000U)304 * 20: sta_alm(ALM1, TEST_TIME_CP) ... ALM1ãå®è¡éå§ããã¾ã§ 305 305 * 21: rcv_dtq(DTQ2, &data) 306 306 * == ALM1 == … … 626 626 627 627 check_point(20); 628 ercd = sta_alm(ALM1, 10000U);628 ercd = sta_alm(ALM1, TEST_TIME_CP); 629 629 check_ercd(ercd, E_OK); 630 630 -
asp3_wo_tecs/trunk/test/test_dtq1.h
r305 r306 2 2 * ãã¼ã¿ãã¥ã¼æ©è½ã®ãã¹ã(1)ã®ããããã¡ã¤ã« 3 3 * 4 * $Id: test_dtq1.h 602 2016-02-07 12:22:32Z ertl-hiro $4 * $Id: test_dtq1.h 737 2016-04-05 13:11:23Z ertl-hiro $ 5 5 */ 6 6 … … 30 30 #endif /* STACK_SIZE */ 31 31 32 #ifndef TEST_TIME_CP 33 #define TEST_TIME_CP 50000U /* ãã§ãã¯ãã¤ã³ãå°éæ 34 å ±ã®åºåæé */ 35 #endif /* TEST_TIME_CP */ 36 37 #ifndef TEST_TIME_PROC 38 #define TEST_TIME_PROC 1000U /* ãã§ãã¯ãã¤ã³ããéããªãå ´åã®æé */ 39 #endif /* TEST_TIME_PROC */ 40 32 41 /* 33 42 * éåä¿¡ãããã¼ã¿ã®å®ç¾© -
asp3_wo_tecs/trunk/test/test_flg1.c
r305 r306 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_flg1.c 599 2016-02-07 03:33:35Z ertl-hiro $52 * $Id: test_flg1.c 738 2016-04-05 14:19:24Z ertl-hiro $ 53 53 */ 54 54 … … 319 319 * == TASK1ï¼ç¶ãï¼== 320 320 * 37: clr_flg(FLG3, 0) 321 * sta_alm(ALM1, 10000U)321 * sta_alm(ALM1, 2 * TEST_TIME_CP) ... ALM1ãå®è¡éå§ããã¾ã§ 322 322 * 38: wai_flg(FLG3, 0x01, TWF_ORW, &flgptn) 323 323 * == TASK3ï¼ç¶ãï¼== … … 578 578 check_ercd(ercd, E_OK); 579 579 580 ercd = sta_alm(ALM1, 10000U);580 ercd = sta_alm(ALM1, 2 * TEST_TIME_CP); 581 581 check_ercd(ercd, E_OK); 582 582 -
asp3_wo_tecs/trunk/test/test_flg1.h
r305 r306 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_flg1.h 599 2016-02-07 03:33:35Z ertl-hiro $52 * $Id: test_flg1.h 737 2016-04-05 13:11:23Z ertl-hiro $ 53 53 */ 54 54 … … 82 82 #endif /* STACK_SIZE */ 83 83 84 #ifndef TEST_TIME_CP 85 #define TEST_TIME_CP 50000U /* ãã§ãã¯ãã¤ã³ãå°éæ 86 å ±ã®åºåæé */ 87 #endif /* TEST_TIME_CP */ 88 89 #ifndef TEST_TIME_PROC 90 #define TEST_TIME_PROC 1000U /* ãã§ãã¯ãã¤ã³ããéããªãå ´åã®æé */ 91 #endif /* TEST_TIME_PROC */ 92 84 93 /* 85 94 * é¢æ°ã®ãããã¿ã¤ãå®£è¨ -
asp3_wo_tecs/trunk/test/test_hrt1.c
r302 r306 52 52 * ã®è²¬ä»»ãè² ããªãï¼ 53 53 * 54 * $Id: test_hrt1.c 310 2015-02-08 13:46:46Z ertl-hiro $54 * $Id: test_hrt1.c 738 2016-04-05 14:19:24Z ertl-hiro $ 55 55 */ 56 56 … … 82 82 #include "test_hrt1.h" 83 83 84 #define NO_LOOP ULONG_C(100000)84 #define NO_LOOP 100000UL 85 85 86 86 HRTCNT recent_hrtcnt; -
asp3_wo_tecs/trunk/test/test_mutex.h
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2007-201 4by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2007-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_mutex.h 286 2014-11-29 07:51:11Z ertl-hiro $52 * $Id: test_mutex.h 737 2016-04-05 13:11:23Z ertl-hiro $ 53 53 */ 54 54 … … 82 82 #endif /* STACK_SIZE */ 83 83 84 #ifndef TEST_TIME_CP 85 #define TEST_TIME_CP 50000U /* ãã§ãã¯ãã¤ã³ãå°éæ 86 å ±ã®åºåæé */ 87 #endif /* TEST_TIME_CP */ 88 89 #ifndef TEST_TIME_PROC 90 #define TEST_TIME_PROC 1000U /* ãã§ãã¯ãã¤ã³ããéããªãå ´åã®æé */ 91 #endif /* TEST_TIME_PROC */ 92 84 93 /* 85 94 * é¢æ°ã®ãããã¿ã¤ãå®£è¨ -
asp3_wo_tecs/trunk/test/test_mutex1.c
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2007-201 5by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2007-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_mutex1.c 310 2015-02-08 13:46:46Z ertl-hiro $52 * $Id: test_mutex1.c 738 2016-04-05 14:19:24Z ertl-hiro $ 53 53 */ 54 54 … … 147 147 * assert(rmtx.htskid == TASK2) 148 148 * assert(rmtx.wtskid == TSK_NONE) 149 * tloc_mtx(MTX1, 10000U) -> E_TMOUT ... (D-1) 149 * tloc_mtx(MTX1, 3 * TEST_TIME_CP) -> E_TMOUT ... (D-1) 150 * ... TASK1ãå®è¡åéããã¾ã§ 150 151 * 15: wup_tsk(TASK2) 151 152 * == TASK2ï¼ç¶ãï¼== … … 246 247 check_assert(rmtx.wtskid == TSK_NONE); 247 248 248 ercd = tloc_mtx(MTX1, 10000U);249 ercd = tloc_mtx(MTX1, 3 * TEST_TIME_CP); 249 250 check_ercd(ercd, E_TMOUT); 250 251 -
asp3_wo_tecs/trunk/test/test_mutex2.c
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2007-201 5by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2007-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_mutex2.c 310 2015-02-08 13:46:46Z ertl-hiro $52 * $Id: test_mutex2.c 738 2016-04-05 14:19:24Z ertl-hiro $ 53 53 */ 54 54 … … 148 148 * assert(rmtx.htskid == TASK2) 149 149 * assert(rmtx.wtskid == TSK_NONE) 150 * tloc_mtx(MTX1, 10000U) -> E_TMOUT ... (D-1) 150 * tloc_mtx(MTX1, 3 * TEST_TIME_CP) -> E_TMOUT ... (D-1) 151 * ... TASK1ãå®è¡åéããã¾ã§ 151 152 * 15: wup_tsk(TASK2) 152 153 * == TASK2ï¼ç¶ãï¼== … … 247 248 check_assert(rmtx.wtskid == TSK_NONE); 248 249 249 ercd = tloc_mtx(MTX1, 10000U);250 ercd = tloc_mtx(MTX1, 3 * TEST_TIME_CP); 250 251 check_ercd(ercd, E_TMOUT); 251 252 -
asp3_wo_tecs/trunk/test/test_mutex3.c
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2007-201 5by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2007-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_mutex3.c 310 2015-02-08 13:46:46Z ertl-hiro $52 * $Id: test_mutex3.c 738 2016-04-05 14:19:24Z ertl-hiro $ 53 53 */ 54 54 … … 124 124 * assert(rmtx.wtskid == TSK_NONE) 125 125 * act_tsk(TASK2) 126 * 4: tslp_tsk( 10000U) -> E_TMOUT126 * 4: tslp_tsk(TEST_TIME_CP) -> E_TMOUT ... TASK1ãå®è¡åéããã¾ã§ 127 127 * == TASK2ï¼åªå 128 128 度ï¼ä¸ï¼== … … 134 134 * assert(rmtx.wtskid == TASK2) 135 135 * act_tsk(TASK3) 136 * 7: tslp_tsk( 10000U) -> E_TMOUT136 * 7: tslp_tsk(2 * TEST_TIME_CP) -> E_TMOUT ... TASK1ãå®è¡åéããã¾ã§ 137 137 * == TASK3ï¼åªå 138 138 度ï¼é«ï¼== … … 165 165 * assert(rmtx.htskid == TASK2) 166 166 * assert(rmtx.wtskid == TSK_NONE) 167 * tloc_mtx(MTX1, 10000U) -> E_TMOUT ... (D-1) 167 * tloc_mtx(MTX1, 3 * TEST_TIME_CP) -> E_TMOUT ... (D-1) 168 * ... TASK1ãå®è¡åéããã¾ã§ 168 169 * 17: wup_tsk(TASK2) 169 170 * == TASK2ï¼ç¶ãï¼== … … 229 230 230 231 check_point(4); 231 ercd = tslp_tsk( 10000U);232 ercd = tslp_tsk(TEST_TIME_CP); 232 233 check_ercd(ercd, E_TMOUT); 233 234 … … 244 245 245 246 check_point(7); 246 ercd = tslp_tsk( 10000U);247 ercd = tslp_tsk(2 * TEST_TIME_CP); 247 248 check_ercd(ercd, E_TMOUT); 248 249 … … 287 288 check_assert(rmtx.wtskid == TSK_NONE); 288 289 289 ercd = tloc_mtx(MTX1, 10000U);290 ercd = tloc_mtx(MTX1, 3 * TEST_TIME_CP); 290 291 check_ercd(ercd, E_TMOUT); 291 292 -
asp3_wo_tecs/trunk/test/test_mutex5.c
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2007-201 5by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2007-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_mutex5.c 310 2015-02-08 13:46:46Z ertl-hiro $52 * $Id: test_mutex5.c 738 2016-04-05 14:19:24Z ertl-hiro $ 53 53 */ 54 54 … … 431 431 * == TASK5ï¼ç¶ãï¼== 432 432 * 38: loc_mtx(MTX4) 433 * 39: tslp_tsk( 10000U) -> E_TMOUT433 * 39: tslp_tsk(3 * TEST_TIME_CP) -> E_TMOUT ... TASK5ãå®è¡åéããã¾ã§ 434 434 * // ä½ï¼TASK1âTASK2ï¼MTX4ï¼TASK5 435 435 * == TASK1ï¼ç¶ãï¼== … … 1058 1058 1059 1059 check_point(39); 1060 ercd = tslp_tsk( 10000U);1060 ercd = tslp_tsk(3 * TEST_TIME_CP); 1061 1061 check_ercd(ercd, E_TMOUT); 1062 1062 -
asp3_wo_tecs/trunk/test/test_mutex5.h
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2007-201 4by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2007-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_mutex5.h 286 2014-11-29 07:51:11Z ertl-hiro $52 * $Id: test_mutex5.h 740 2016-04-05 15:44:39Z ertl-hiro $ 53 53 */ 54 54 … … 82 82 #endif /* STACK_SIZE */ 83 83 84 #ifndef TEST_TIME_CP 85 #define TEST_TIME_CP 50000U /* ãã§ãã¯ãã¤ã³ãå°éæ 86 å ±ã®åºåæé */ 87 #endif /* TEST_TIME_CP */ 88 89 #ifndef TEST_TIME_PROC 90 #define TEST_TIME_PROC 1000U /* ãã§ãã¯ãã¤ã³ããéããªãå ´åã®æé */ 91 #endif /* TEST_TIME_PROC */ 92 84 93 /* 85 94 * é¢æ°ã®ãããã¿ã¤ãå®£è¨ -
asp3_wo_tecs/trunk/test/test_mutex7.c
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2008-201 5by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2008-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_mutex7.c 310 2015-02-08 13:46:46Z ertl-hiro $52 * $Id: test_mutex7.c 738 2016-04-05 14:19:24Z ertl-hiro $ 53 53 */ 54 54 … … 207 207 * 9: loc_mtx(MTX1) 208 208 * // ä¸ï¼TASK2ï¼ä½ï¼TASK3ï¼MTX1ï¼TASK2 209 * 10: tslp_tsk( 10000U) -> E_TMOUT209 * 10: tslp_tsk(TEST_TIME_CP) -> E_TMOUT ... TASK2-2ãå®è¡åéããã¾ã§ 210 210 * // ä½ï¼TASK3ï¼MTX1ï¼TASK2 211 211 * == TASK3-1ï¼åªå … … 288 288 * loc_mtx(MTX2) 289 289 * // ä¸ï¼TASK2ï¼ä½ï¼TASK3âTASK4ï¼MTX1ï¼TASK2ï¼MTX2ï¼TASK2 290 * 34: tslp_tsk( 10000U) -> E_TMOUT290 * 34: tslp_tsk(2 * TEST_TIME_CP) -> E_TMOUT ... TASK2-5ãå®è¡åéããã¾ã§ 291 291 * // ä½ï¼TASK3âTASK4ï¼MTX1ï¼TASK2ï¼MTX2ï¼TASK2 292 292 * == TASK3-3ï¼åªå … … 582 582 583 583 check_point(10); 584 ercd = tslp_tsk( 10000U);584 ercd = tslp_tsk(TEST_TIME_CP); 585 585 check_ercd(ercd, E_TMOUT); 586 586 … … 625 625 626 626 check_point(34); 627 ercd = tslp_tsk( 10000U);627 ercd = tslp_tsk(2 * TEST_TIME_CP); 628 628 check_ercd(ercd, E_TMOUT); 629 629 -
asp3_wo_tecs/trunk/test/test_mutex7.h
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2008-201 4by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2008-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_mutex7.h 286 2014-11-29 07:51:11Z ertl-hiro $52 * $Id: test_mutex7.h 740 2016-04-05 15:44:39Z ertl-hiro $ 53 53 */ 54 54 … … 82 82 #endif /* STACK_SIZE */ 83 83 84 #ifndef TEST_TIME_CP 85 #define TEST_TIME_CP 50000U /* ãã§ãã¯ãã¤ã³ãå°éæ 86 å ±ã®åºåæé */ 87 #endif /* TEST_TIME_CP */ 88 89 #ifndef TEST_TIME_PROC 90 #define TEST_TIME_PROC 1000U /* ãã§ãã¯ãã¤ã³ããéããªãå ´åã®æé */ 91 #endif /* TEST_TIME_PROC */ 92 84 93 /* 85 94 * é¢æ°ã®ãããã¿ã¤ãå®£è¨ -
asp3_wo_tecs/trunk/test/test_mutex8.c
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2009-201 5by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2009-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_mutex8.c 310 2015-02-08 13:46:46Z ertl-hiro $52 * $Id: test_mutex8.c 738 2016-04-05 14:19:24Z ertl-hiro $ 53 53 */ 54 54 … … 350 350 * == TASK5ï¼ç¶ãï¼== 351 351 * 28: loc_mtx(MTX2) 352 * 29: tslp_tsk( 10000U) -> E_TMOUT352 * 29: tslp_tsk(3 * TEST_TIME_CP) -> E_TMOUT ... TASK5ãå®è¡åéããã¾ã§ 353 353 * == TASK1ï¼ç¶ãï¼== 354 354 * 30: wup_tsk(TASK4) … … 380 380 * == TASK5ï¼ç¶ãï¼== 381 381 * 41: loc_mtx(MTX2) 382 * 42: tslp_tsk( 10000U) -> E_TMOUT382 * 42: tslp_tsk(2 * TEST_TIME_CP) -> E_TMOUT ... TASK5ãå®è¡åéããã¾ã§ 383 383 * == TASK1ï¼ç¶ãï¼== 384 384 * 43: loc_mtx(MTX2) … … 412 412 * == TASK5ï¼ç¶ãï¼== 413 413 * 55: loc_mtx(MTX2) 414 * 56: tslp_tsk( 10000U) -> E_TMOUT414 * 56: tslp_tsk(6 * TEST_TIME_CP) -> E_TMOUT ... TASK5ãå®è¡åéããã¾ã§ 415 415 * // ä¸ï¼TASK1ï¼MTX1ï¼TASK1ï¼MTX2ï¼TASK5 416 416 * == TASK1ï¼ç¶ãï¼== … … 784 784 785 785 check_point(29); 786 ercd = tslp_tsk( 10000U);786 ercd = tslp_tsk(3 * TEST_TIME_CP); 787 787 check_ercd(ercd, E_TMOUT); 788 788 … … 804 804 805 805 check_point(42); 806 ercd = tslp_tsk( 10000U);806 ercd = tslp_tsk(2 * TEST_TIME_CP); 807 807 check_ercd(ercd, E_TMOUT); 808 808 … … 824 824 825 825 check_point(56); 826 ercd = tslp_tsk( 10000U);826 ercd = tslp_tsk(6 * TEST_TIME_CP); 827 827 check_ercd(ercd, E_TMOUT); 828 828 -
asp3_wo_tecs/trunk/test/test_mutex8.h
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2009-201 4by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2009-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_mutex8.h 286 2014-11-29 07:51:11Z ertl-hiro $52 * $Id: test_mutex8.h 740 2016-04-05 15:44:39Z ertl-hiro $ 53 53 */ 54 54 … … 82 82 #endif /* STACK_SIZE */ 83 83 84 #ifndef TEST_TIME_CP 85 #define TEST_TIME_CP 50000U /* ãã§ãã¯ãã¤ã³ãå°éæ 86 å ±ã®åºåæé */ 87 #endif /* TEST_TIME_CP */ 88 89 #ifndef TEST_TIME_PROC 90 #define TEST_TIME_PROC 1000U /* ãã§ãã¯ãã¤ã³ããéããªãå ´åã®æé */ 91 #endif /* TEST_TIME_PROC */ 92 84 93 /* 85 94 * é¢æ°ã®ãããã¿ã¤ãå®£è¨ -
asp3_wo_tecs/trunk/test/test_notify1.c
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2015 by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2015-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_notify1.c 463 2015-10-18 14:25:55Z ertl-hiro $52 * $Id: test_notify1.c 738 2016-04-05 14:19:24Z ertl-hiro $ 53 53 */ 54 54 … … 119 119 * 120 120 * == TASK1 == 121 * 1: sta_alm(ALM1, ALM_RELTIM)121 * 1: sta_alm(ALM1, TEST_TIME_PROC) ... ref_almã§åä½ç¢ºèªããã¾ã§ 122 122 * assert(event_variable == false) 123 123 * ref_alm(ALM1, &ralm) … … 126 126 * 2: ref_alm(ALM1, &ralm) 127 127 * assert((ralm.almstat & TALM_STP) != 0U) 128 * 3: sta_alm(ALM2, ALM_RELTIM)128 * 3: sta_alm(ALM2, TEST_TIME_CP) ... TASK2-1ãå®è¡éå§ããã¾ã§ 129 129 * ref_tsk(TASK2, &rtsk) 130 130 * assert((rtsk.tskstat & TTS_DMT) != 0U) … … 137 137 * 6: wup_tsk(TASK1) 138 138 * == TASK1ï¼ç¶ãï¼== 139 * 7: sta_alm(ALM3, ALM_RELTIM)139 * 7: sta_alm(ALM3, TEST_TIME_CP) ... TASK2-1ãå®è¡åéããã¾ã§ 140 140 * ref_tsk(TASK2, &rtsk) 141 141 * assert((rtsk.tskstat & TTS_RDY) != 0U) … … 149 149 * 11: wup_tsk(TASK1) 150 150 * == TASK1ï¼ç¶ãï¼== 151 * 12: dly_tsk( 1000U)151 * 12: dly_tsk(TEST_TIME_CP) ... TASK1ãå®è¡åéããã¾ã§ 152 152 * == TASK2-1ï¼ç¶ãï¼== 153 153 * 13: ext_tsk() 154 154 * == TASK1ï¼ç¶ãï¼== 155 * 14: sta_alm(ALM3, ALM_RELTIM)155 * 14: sta_alm(ALM3, TEST_TIME_PROC) ... ããã«çºçãã¦ãè¯ã 156 156 * DO(wait_error()) ... (B-1) 157 157 * assert(error_variable == E_OBJ) 158 * 15: sta_alm(ALM4, ALM_RELTIM)158 * 15: sta_alm(ALM4, TEST_TIME_PROC) ... ref_almã§åä½ç¢ºèªããã¾ã§ 159 159 * ref_sem(SEM1, &rsem) 160 160 * assert(rsem.semcnt == 0U) 161 161 * ref_alm(ALM4, &ralm) 162 162 * assert((ralm.almstat & TALM_STA) != 0U) 163 * 16: dly_tsk( ALM_RELTIM * 2)163 * 16: dly_tsk(2 * TEST_TIME_PROC) ... ALM4ãå®è¡ãããã¾ã§ 164 164 * 17: ref_sem(SEM1, &rsem) ... (A-5) 165 165 * assert(rsem.semcnt == 1U) 166 166 * ref_alm(ALM4, &ralm) 167 167 * assert((ralm.almstat & TALM_STP) != 0U) 168 * 18: sta_alm(ALM4, ALM_RELTIM)168 * 18: sta_alm(ALM4, TEST_TIME_CP) ... TASK2-2ãå®è¡éå§ããã¾ã§ 169 169 * 19: slp_tsk() 170 170 * == TASK2-2ï¼2åç®ï¼== … … 172 172 * == TASK1ï¼ç¶ãï¼== 173 173 * 21: pol_sem(SEM1) 174 * 22: sta_alm(ALM5, ALM_RELTIM)174 * 22: sta_alm(ALM5, 2 * TEST_TIME_CP) ... TASK1ãå®è¡éå§ããã¾ã§ 175 175 * ref_flg(FLG1, &rflg) 176 176 * assert(rflg.flgptn == 0x00U) … … 184 184 * ref_alm(ALM5, &ralm) 185 185 * assert((ralm.almstat & TALM_STP) != 0U) 186 * 26: sta_alm(ALM6, ALM_RELTIM)186 * 26: sta_alm(ALM6, TEST_TIME_CP) ... ref_almã§åä½ç¢ºèªããã¾ã§ 187 187 * ref_dtq(DTQ1, &rdtq) 188 188 * assert(rdtq.sdtqcnt == 0U) 189 189 * ref_alm(ALM6, &ralm) 190 190 * assert((ralm.almstat & TALM_STA) != 0U) 191 * 27: dly_tsk( ALM_RELTIM * 2)191 * 27: dly_tsk(2 * TEST_TIME_CP) ... ALM6ãå®è¡ãããã¾ã§ 192 192 * 28: ref_dtq(DTQ1, &rdtq) ... (A-7) 193 193 * assert(rdtq.sdtqcnt == 1U) 194 194 * ref_alm(ALM6, &ralm) 195 195 * assert((ralm.almstat & TALM_STP) != 0U) 196 * 29: sta_alm(ALM6, ALM_RELTIM)196 * 29: sta_alm(ALM6, TEST_TIME_CP) ... TASK2-2ãå®è¡éå§ããã¾ã§ 197 197 * 30: slp_tsk() 198 198 * == TASK2-2ï¼ç¶ãï¼== … … 202 202 * assert(data == 0x01) 203 203 * 33: act_tsk(TASK2) 204 * sta_alm(ALM7, ALM_RELTIM)204 * sta_alm(ALM7, 2 * TEST_TIME_CP) ... TASK1ãå®è¡éå§ããã¾ã§ 205 205 * ref_sem(SEM1, &rsem) 206 206 * assert(rsem.semcnt == 0U) … … 213 213 * 36: ref_alm(ALM7, &ralm) 214 214 * assert((ralm.almstat & TALM_STP) != 0U) 215 * 37: sta_alm(ALM8, ALM_RELTIM) 215 * 37: sta_alm(ALM8, TEST_TIME_CP) ... wai_flgã§å¾ 216 ã¡ã«å 217 ¥ãã¾ã§ 216 218 * ref_flg(FLG1, &rflg) 217 219 * assert(rflg.flgptn == 0x01U) … … 222 224 * ref_alm(ALM8, &ralm) 223 225 * assert((ralm.almstat & TALM_STP) != 0U) 224 * 40: sta_alm(ALM9, ALM_RELTIM) 225 * 41: ref_dtq(DTQ1, &rdtq) 226 * 40: sta_alm(ALM9, TEST_TIME_CP) ... rcv_dtqã§å¾ 227 ã¡ã«å 228 ¥ãã¾ã§ 229 * ref_dtq(DTQ1, &rdtq) 226 230 * assert(rdtq.sdtqcnt == 0U) 227 231 * ref_alm(ALM9, &ralm) 228 232 * assert((ralm.almstat & TALM_STA) != 0U) 229 * 4 2: rcv_dtq(DTQ1, &data) ... (B-7)230 * 4 3: assert(data == E_QOVR)233 * 41: rcv_dtq(DTQ1, &data) ... (B-7) 234 * 42: assert(data == E_QOVR) 231 235 * ref_alm(ALM9, &ralm) 232 236 * assert((ralm.almstat & TALM_STP) != 0U) 233 * 4 4: sta_alm(ALM10, ALM_RELTIM)234 * 4 5: assert(count_variable == 1)237 * 43: sta_alm(ALM10, TEST_TIME_CP) ... ref_almã§åä½ç¢ºèªããã¾ã§ 238 * 44: assert(count_variable == 1) 235 239 * ref_alm(ALM10, &ralm) 236 240 * assert((ralm.almstat & TALM_STA) != 0U) 237 241 * DO(wait_count(1)) ... (A-2) 238 * 4 6: ref_alm(ALM10, &ralm)239 * assert((ralm.almstat & TALM_STP) != 0U) 240 * 4 7: sta_alm(ALM11, ALM_RELTIM)241 * 4 8: assert(count_variable == 2)242 * 45: ref_alm(ALM10, &ralm) 243 * assert((ralm.almstat & TALM_STP) != 0U) 244 * 46: sta_alm(ALM11, TEST_TIME_CP) ... ref_almã§åä½ç¢ºèªããã¾ã§ 245 * 47: assert(count_variable == 2) 242 246 * ref_alm(ALM11, &ralm) 243 247 * assert((ralm.almstat & TALM_STA) != 0U) 244 248 * DO(wait_count(2)) ... (B-2) 245 * 4 9: ref_alm(ALM9, &ralm)246 * assert((ralm.almstat & TALM_STP) != 0U) 247 * 50: END249 * 48: ref_alm(ALM9, &ralm) 250 * assert((ralm.almstat & TALM_STP) != 0U) 251 * 49: END 248 252 */ 249 253 … … 281 285 task1(intptr_t exinf) 282 286 { 283 T_RTSK rtsk;284 T_RDTQ rdtq;285 T_RFLG rflg;286 intptr_t data;287 FLGPTN flgptn;288 287 ER_UINT ercd; 289 288 T_RALM ralm; 289 T_RTSK rtsk; 290 290 T_RSEM rsem; 291 T_RFLG rflg; 292 FLGPTN flgptn; 293 T_RDTQ rdtq; 294 intptr_t data; 291 295 292 296 test_start(__FILE__); 293 297 294 298 check_point(1); 295 ercd = sta_alm(ALM1, ALM_RELTIM);299 ercd = sta_alm(ALM1, TEST_TIME_PROC); 296 300 check_ercd(ercd, E_OK); 297 301 … … 312 316 313 317 check_point(3); 314 ercd = sta_alm(ALM2, ALM_RELTIM);318 ercd = sta_alm(ALM2, TEST_TIME_CP); 315 319 check_ercd(ercd, E_OK); 316 320 … … 330 334 331 335 check_point(7); 332 ercd = sta_alm(ALM3, ALM_RELTIM);336 ercd = sta_alm(ALM3, TEST_TIME_CP); 333 337 check_ercd(ercd, E_OK); 334 338 … … 348 352 349 353 check_point(12); 350 ercd = dly_tsk( 1000U);354 ercd = dly_tsk(TEST_TIME_CP); 351 355 check_ercd(ercd, E_OK); 352 356 353 357 check_point(14); 354 ercd = sta_alm(ALM3, ALM_RELTIM);358 ercd = sta_alm(ALM3, TEST_TIME_PROC); 355 359 check_ercd(ercd, E_OK); 356 360 … … 360 364 361 365 check_point(15); 362 ercd = sta_alm(ALM4, ALM_RELTIM);366 ercd = sta_alm(ALM4, TEST_TIME_PROC); 363 367 check_ercd(ercd, E_OK); 364 368 … … 374 378 375 379 check_point(16); 376 ercd = dly_tsk( ALM_RELTIM * 2);380 ercd = dly_tsk(2 * TEST_TIME_PROC); 377 381 check_ercd(ercd, E_OK); 378 382 … … 389 393 390 394 check_point(18); 391 ercd = sta_alm(ALM4, ALM_RELTIM);395 ercd = sta_alm(ALM4, TEST_TIME_CP); 392 396 check_ercd(ercd, E_OK); 393 397 … … 401 405 402 406 check_point(22); 403 ercd = sta_alm(ALM5, ALM_RELTIM);407 ercd = sta_alm(ALM5, 2 * TEST_TIME_CP); 404 408 check_ercd(ercd, E_OK); 405 409 … … 427 431 428 432 check_point(26); 429 ercd = sta_alm(ALM6, ALM_RELTIM);433 ercd = sta_alm(ALM6, TEST_TIME_CP); 430 434 check_ercd(ercd, E_OK); 431 435 … … 441 445 442 446 check_point(27); 443 ercd = dly_tsk( ALM_RELTIM * 2);447 ercd = dly_tsk(2 * TEST_TIME_CP); 444 448 check_ercd(ercd, E_OK); 445 449 … … 456 460 457 461 check_point(29); 458 ercd = sta_alm(ALM6, ALM_RELTIM);462 ercd = sta_alm(ALM6, TEST_TIME_CP); 459 463 check_ercd(ercd, E_OK); 460 464 … … 473 477 check_ercd(ercd, E_OK); 474 478 475 ercd = sta_alm(ALM7, ALM_RELTIM);479 ercd = sta_alm(ALM7, 2 * TEST_TIME_CP); 476 480 check_ercd(ercd, E_OK); 477 481 … … 497 501 498 502 check_point(37); 499 ercd = sta_alm(ALM8, ALM_RELTIM);503 ercd = sta_alm(ALM8, TEST_TIME_CP); 500 504 check_ercd(ercd, E_OK); 501 505 … … 523 527 524 528 check_point(40); 525 ercd = sta_alm(ALM9, ALM_RELTIM); 526 check_ercd(ercd, E_OK); 529 ercd = sta_alm(ALM9, TEST_TIME_CP); 530 check_ercd(ercd, E_OK); 531 532 ercd = ref_dtq(DTQ1, &rdtq); 533 check_ercd(ercd, E_OK); 534 535 check_assert(rdtq.sdtqcnt == 0U); 536 537 ercd = ref_alm(ALM9, &ralm); 538 check_ercd(ercd, E_OK); 539 540 check_assert((ralm.almstat & TALM_STA) != 0U); 527 541 528 542 check_point(41); 529 ercd = ref_dtq(DTQ1, &rdtq); 530 check_ercd(ercd, E_OK); 531 532 check_assert(rdtq.sdtqcnt == 0U); 543 ercd = rcv_dtq(DTQ1, &data); 544 check_ercd(ercd, E_OK); 545 546 check_point(42); 547 check_assert(data == E_QOVR); 533 548 534 549 ercd = ref_alm(ALM9, &ralm); 535 550 check_ercd(ercd, E_OK); 536 551 537 check_assert((ralm.almstat & TALM_STA) != 0U); 538 539 check_point(42); 540 ercd = rcv_dtq(DTQ1, &data); 541 check_ercd(ercd, E_OK); 552 check_assert((ralm.almstat & TALM_STP) != 0U); 542 553 543 554 check_point(43); 544 check_assert(data == E_QOVR); 545 555 ercd = sta_alm(ALM10, TEST_TIME_CP); 556 check_ercd(ercd, E_OK); 557 558 check_point(44); 559 check_assert(count_variable == 1); 560 561 ercd = ref_alm(ALM10, &ralm); 562 check_ercd(ercd, E_OK); 563 564 check_assert((ralm.almstat & TALM_STA) != 0U); 565 566 wait_count(1); 567 568 check_point(45); 569 ercd = ref_alm(ALM10, &ralm); 570 check_ercd(ercd, E_OK); 571 572 check_assert((ralm.almstat & TALM_STP) != 0U); 573 574 check_point(46); 575 ercd = sta_alm(ALM11, TEST_TIME_CP); 576 check_ercd(ercd, E_OK); 577 578 check_point(47); 579 check_assert(count_variable == 2); 580 581 ercd = ref_alm(ALM11, &ralm); 582 check_ercd(ercd, E_OK); 583 584 check_assert((ralm.almstat & TALM_STA) != 0U); 585 586 wait_count(2); 587 588 check_point(48); 546 589 ercd = ref_alm(ALM9, &ralm); 547 590 check_ercd(ercd, E_OK); … … 549 592 check_assert((ralm.almstat & TALM_STP) != 0U); 550 593 551 check_point(44); 552 ercd = sta_alm(ALM10, ALM_RELTIM); 553 check_ercd(ercd, E_OK); 554 555 check_point(45); 556 check_assert(count_variable == 1); 557 558 ercd = ref_alm(ALM10, &ralm); 559 check_ercd(ercd, E_OK); 560 561 check_assert((ralm.almstat & TALM_STA) != 0U); 562 563 wait_count(1); 564 565 check_point(46); 566 ercd = ref_alm(ALM10, &ralm); 567 check_ercd(ercd, E_OK); 568 569 check_assert((ralm.almstat & TALM_STP) != 0U); 570 571 check_point(47); 572 ercd = sta_alm(ALM11, ALM_RELTIM); 573 check_ercd(ercd, E_OK); 574 575 check_point(48); 576 check_assert(count_variable == 2); 577 578 ercd = ref_alm(ALM11, &ralm); 579 check_ercd(ercd, E_OK); 580 581 check_assert((ralm.almstat & TALM_STA) != 0U); 582 583 wait_count(2); 584 585 check_point(49); 586 ercd = ref_alm(ALM9, &ralm); 587 check_ercd(ercd, E_OK); 588 589 check_assert((ralm.almstat & TALM_STP) != 0U); 590 591 check_finish(50); 594 check_finish(49); 592 595 check_point(0); 593 596 } -
asp3_wo_tecs/trunk/test/test_notify1.h
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2015 by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2015-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_notify1.h 463 2015-10-18 14:25:55Z ertl-hiro $52 * $Id: test_notify1.h 737 2016-04-05 13:11:23Z ertl-hiro $ 53 53 */ 54 54 … … 82 82 #endif /* STACK_SIZE */ 83 83 84 #ifndef ALM_RELTIM 85 #define ALM_RELTIM 5000U /* ã¢ã©ã¼ã ãã³ãã©ã«ä»æããç¸å¯¾æé */ 86 #endif /* ALM_RELTIM */ 84 #ifndef TEST_TIME_CP 85 #define TEST_TIME_CP 50000U /* ãã§ãã¯ãã¤ã³ãå°éæ 86 å ±ã®åºåæé */ 87 #endif /* TEST_TIME_CP */ 88 89 #ifndef TEST_TIME_PROC 90 #define TEST_TIME_PROC 1000U /* ãã§ãã¯ãã¤ã³ããéããªãå ´åã®æé */ 91 #endif /* TEST_TIME_PROC */ 87 92 88 93 #define E_INVALID (-1) /* ã¨ã©ã¼ã³ã¼ãã¨ãã¦ç¡å¹ãªå¤ */ -
asp3_wo_tecs/trunk/test/test_raster1.c
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2014-201 5by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2014-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_raster1.c 453 2015-08-15 23:05:31Z ertl-hiro $52 * $Id: test_raster1.c 738 2016-04-05 14:19:24Z ertl-hiro $ 53 53 */ 54 54 … … 158 158 * call(set_bit_func(bit_kernel)) 159 159 * 1: act_tsk(TASK2) 160 * sta_alm(ALM1, 10000U)160 * sta_alm(ALM1, TEST_TIME_CP) ... ALM1ãå®è¡éå§ããã¾ã§ 161 161 * slp_tsk() 162 162 * == TASK2-1ï¼1åç®ï¼== … … 181 181 * 9: act_tsk(TASK3) 182 182 * == TASK3-1ï¼1åç®ï¼== 183 * 10: tloc_mtx(MTX1, 10000U)183 * 10: tloc_mtx(MTX1, 3 * TEST_TIME_CP) ... ras_terãããã¾ã§ 184 184 * 11: slp_tsk() 185 185 * == TASK1ï¼ç¶ãï¼== … … 263 263 * assert(rtsk.raster == false) ... (E-1) 264 264 * assert(rtsk.dister == false) ... (E-2)(G-4) 265 * tslp_tsk( 10000U) -> E_TMOUT265 * tslp_tsk(TEST_TIME_CP) -> E_TMOUT ... TASK1ãå®è¡åéããã¾ã§ 266 266 * == TASK2-3ï¼3åç®ï¼== 267 267 * 41: dis_ter() … … 364 364 check_ercd(ercd, E_OK); 365 365 366 ercd = sta_alm(ALM1, 10000U);366 ercd = sta_alm(ALM1, TEST_TIME_CP); 367 367 check_ercd(ercd, E_OK); 368 368 … … 563 563 check_assert(rtsk.dister == false); 564 564 565 ercd = tslp_tsk( 10000U);565 ercd = tslp_tsk(TEST_TIME_CP); 566 566 check_ercd(ercd, E_TMOUT); 567 567 … … 696 696 case 1: 697 697 check_point(10); 698 ercd = tloc_mtx(MTX1, 10000U);698 ercd = tloc_mtx(MTX1, 3 * TEST_TIME_CP); 699 699 check_ercd(ercd, E_OK); 700 700 -
asp3_wo_tecs/trunk/test/test_raster1.h
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2014 by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2014-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_raster1.h 286 2014-11-29 07:51:11Z ertl-hiro $52 * $Id: test_raster1.h 737 2016-04-05 13:11:23Z ertl-hiro $ 53 53 */ 54 54 … … 84 84 #endif /* STACK_SIZE */ 85 85 86 #ifndef TEST_TIME_CP 87 #define TEST_TIME_CP 50000U /* ãã§ãã¯ãã¤ã³ãå°éæ 88 å ±ã®åºåæé */ 89 #endif /* TEST_TIME_CP */ 90 91 #ifndef TEST_TIME_PROC 92 #define TEST_TIME_PROC 1000U /* ãã§ãã¯ãã¤ã³ããéããªãå ´åã®æé */ 93 #endif /* TEST_TIME_PROC */ 94 86 95 /* 87 96 * é¢æ°ã®ãããã¿ã¤ãå®£è¨ -
asp3_wo_tecs/trunk/test/test_raster2.c
r305 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2014-201 5by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2014-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_raster2.c 603 2016-02-07 12:42:10Z ertl-hiro $52 * $Id: test_raster2.c 740 2016-04-05 15:44:39Z ertl-hiro $ 53 53 */ 54 54 … … 123 123 ããä¼æ¢ç¶æ 124 124 ã«ï¼»NGKI1178ï¼½ 125 * ASP ã«ã¼ãã«ã«é©ç¨ãããªãè¦æ±ï¼125 * ASP3ã«ã¼ãã«ã«é©ç¨ãããªãè¦æ±ï¼ 126 126 * ï¼»NGKI3764][NGKI3765][NGKI3497ï¼½ 127 127 * … … 140 140 * 141 141 * == TASK1 == 142 * 1: sta_alm(ALM1, 10000U)142 * 1: sta_alm(ALM1, TEST_TIME_PROC) ... ALM1-1ãå®è¡éå§ããã¾ã§ 143 143 * slp_tsk() 144 144 * == ALM1-1ï¼1åç®ï¼== … … 173 173 * == TASK1ï¼ç¶ãï¼== 174 174 * 8: ras_ter(TASK2) 175 * tslp_tsk( 10000U) -> E_TMOUT175 * tslp_tsk(TEST_TIME_CP) -> E_TMOUT ... TASK1ãå®è¡åéããã¾ã§ 176 176 * == TASK2-1ï¼ç¶ãï¼== 177 177 * 9: ena_ter() ... (E-1) … … 223 223 * == TASK1ï¼ç¶ãï¼== 224 224 * 24: ras_ter(TASK2) 225 * tslp_tsk( 10000U) -> E_TMOUT225 * tslp_tsk(2 * TEST_TIME_CP) -> E_TMOUT ... TASK1ãå®è¡åéããã¾ã§ 226 226 * == TASK2-4ï¼ç¶ãï¼== 227 227 * 25: ena_ter() ... (F-3) … … 230 230 * DO(while(true)) 231 231 * == TASK1ï¼ç¶ãï¼== 232 * 27: sta_alm(ALM1, 10000U)232 * 27: sta_alm(ALM1, TEST_TIME_PROC) ... ALM1-2ãå®è¡éå§ããã¾ã§ 233 233 * slp_tsk() 234 234 * == ALM1-2ï¼2åç®ï¼== … … 239 239 * 29: ter_tsk(TASK2) 240 240 * act_tsk(TASK2) 241 * tslp_tsk( 10000U) -> E_TMOUT241 * tslp_tsk(TEST_TIME_CP) -> E_TMOUT ... TASK1ãå®è¡åéããã¾ã§ 242 242 * == TASK2-6ï¼6åç®ï¼== 243 243 * 30: ena_ter() 244 244 * DO(while(true)) 245 245 * == TASK1ï¼ç¶ãï¼== 246 * 31: sta_alm(ALM1, 10000U)246 * 31: sta_alm(ALM1, TEST_TIME_PROC) ... ALM1-3ãå®è¡éå§ããã¾ã§ 247 247 * slp_tsk() 248 248 * == ALM1-3ï¼3åç®ï¼== … … 259 259 * == TASK1ï¼ç¶ãï¼== 260 260 * 35: ras_ter(TASK2) 261 * tslp_tsk( 10000U) -> E_TMOUT261 * tslp_tsk(TEST_TIME_CP) -> E_TMOUT ... TASK1ãå®è¡åéããã¾ã§ 262 262 * == TASK2-7ï¼ç¶ãï¼== 263 263 * 36: dis_dsp() … … 274 274 * == TASK1ï¼ç¶ãï¼== 275 275 * 40: ras_ter(TASK2) 276 * tslp_tsk( 10000U) -> E_TMOUT276 * tslp_tsk(TEST_TIME_CP) -> E_TMOUT ... TASK1ãå®è¡åéããã¾ã§ 277 277 * == TASK2-8ï¼ç¶ãï¼== 278 278 * 41: chg_ipm(TMAX_INTPRI) … … 355 355 356 356 check_point(1); 357 ercd = sta_alm(ALM1, 10000U);357 ercd = sta_alm(ALM1, TEST_TIME_PROC); 358 358 check_ercd(ercd, E_OK); 359 359 … … 417 417 check_ercd(ercd, E_OK); 418 418 419 ercd = tslp_tsk( 10000U);419 ercd = tslp_tsk(TEST_TIME_CP); 420 420 check_ercd(ercd, E_TMOUT); 421 421 … … 486 486 check_ercd(ercd, E_OK); 487 487 488 ercd = tslp_tsk( 10000U);488 ercd = tslp_tsk(2 * TEST_TIME_CP); 489 489 check_ercd(ercd, E_TMOUT); 490 490 491 491 check_point(27); 492 ercd = sta_alm(ALM1, 10000U);492 ercd = sta_alm(ALM1, TEST_TIME_PROC); 493 493 check_ercd(ercd, E_OK); 494 494 … … 503 503 check_ercd(ercd, E_OK); 504 504 505 ercd = tslp_tsk( 10000U);505 ercd = tslp_tsk(TEST_TIME_CP); 506 506 check_ercd(ercd, E_TMOUT); 507 507 508 508 check_point(31); 509 ercd = sta_alm(ALM1, 10000U);509 ercd = sta_alm(ALM1, TEST_TIME_PROC); 510 510 check_ercd(ercd, E_OK); 511 511 … … 527 527 check_ercd(ercd, E_OK); 528 528 529 ercd = tslp_tsk( 10000U);529 ercd = tslp_tsk(TEST_TIME_CP); 530 530 check_ercd(ercd, E_TMOUT); 531 531 … … 547 547 check_ercd(ercd, E_OK); 548 548 549 ercd = tslp_tsk( 10000U);549 ercd = tslp_tsk(TEST_TIME_CP); 550 550 check_ercd(ercd, E_TMOUT); 551 551 -
asp3_wo_tecs/trunk/test/test_raster2.h
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2014 by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2014-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_raster2.h 286 2014-11-29 07:51:11Z ertl-hiro $52 * $Id: test_raster2.h 737 2016-04-05 13:11:23Z ertl-hiro $ 53 53 */ 54 54 … … 82 82 #endif /* STACK_SIZE */ 83 83 84 #ifndef TEST_TIME_CP 85 #define TEST_TIME_CP 50000U /* ãã§ãã¯ãã¤ã³ãå°éæ 86 å ±ã®åºåæé */ 87 #endif /* TEST_TIME_CP */ 88 89 #ifndef TEST_TIME_PROC 90 #define TEST_TIME_PROC 1000U /* ãã§ãã¯ãã¤ã³ããéããªãå ´åã®æé */ 91 #endif /* TEST_TIME_PROC */ 92 84 93 /* 85 94 * é¢æ°ã®ãããã¿ã¤ãå®£è¨ -
asp3_wo_tecs/trunk/test/test_sem1.c
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2008-201 5by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2008-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_sem1.c 310 2015-02-08 13:46:46Z ertl-hiro $52 * $Id: test_sem1.c 738 2016-04-05 14:19:24Z ertl-hiro $ 53 53 */ 54 54 … … 187 187 * assert(rsem.wtskid == TSK_NONE) 188 188 * assert(rsem.semcnt == 0) 189 * 7: sta_alm(ALM1, 10000U)189 * 7: sta_alm(ALM1, TEST_TIME_CP) ... ALM1ãå®è¡éå§ããã¾ã§ 190 190 * 8: wai_sem(SEM1) ... (G-1) 191 191 * == ALM1 == … … 242 242 * assert(rsem.wtskid == TSK_NONE) 243 243 * assert(rsem.semcnt == 2) 244 * 39: tslp_tsk( 10000U) -> E_TMOUT244 * 39: tslp_tsk(TEST_TIME_CP) -> E_TMOUT ... TASK1ãå®è¡åéããã¾ã§ 245 245 * == TASK3ï¼ç¶ãï¼== 246 246 * 40: wai_sem(SEM3) ... (G-4) … … 262 262 * == TASK1ï¼ç¶ãï¼== 263 263 * 48: sig_sem(SEM3) ... (B-4) 264 * 49: tslp_tsk( 10000U) -> E_TMOUT264 * 49: tslp_tsk(TEST_TIME_CP) -> E_TMOUT ... TASK1ãå®è¡åéããã¾ã§ 265 265 * == TASK4ï¼ç¶ãï¼== 266 266 * 50: ext_tsk() -> noreturn 267 267 * == TASK1ï¼ç¶ãï¼== 268 268 * 51: sig_sem(SEM3) ... (B-4) 269 * 52: tslp_tsk( 10000U) -> E_TMOUT269 * 52: tslp_tsk(TEST_TIME_CP) -> E_TMOUT ... TASK1ãå®è¡åéããã¾ã§ 270 270 * == TASK5ï¼ç¶ãï¼== 271 271 * 53: ext_tsk() -> noreturn 272 272 * == TASK1ï¼ç¶ãï¼== 273 273 * 54: sig_sem(SEM3) ... (B-4) 274 * 55: tslp_tsk( 10000U) -> E_TMOUT274 * 55: tslp_tsk(TEST_TIME_CP) -> E_TMOUT ... TASK1ãå®è¡åéããã¾ã§ 275 275 * == TASK3ï¼ç¶ãï¼== 276 276 * 56: ext_tsk() -> noreturn … … 488 488 489 489 check_point(39); 490 ercd = tslp_tsk( 10000U);490 ercd = tslp_tsk(TEST_TIME_CP); 491 491 check_ercd(ercd, E_TMOUT); 492 492 … … 512 512 513 513 check_point(49); 514 ercd = tslp_tsk( 10000U);514 ercd = tslp_tsk(TEST_TIME_CP); 515 515 check_ercd(ercd, E_TMOUT); 516 516 … … 520 520 521 521 check_point(52); 522 ercd = tslp_tsk( 10000U);522 ercd = tslp_tsk(TEST_TIME_CP); 523 523 check_ercd(ercd, E_TMOUT); 524 524 … … 528 528 529 529 check_point(55); 530 ercd = tslp_tsk( 10000U);530 ercd = tslp_tsk(TEST_TIME_CP); 531 531 check_ercd(ercd, E_TMOUT); 532 532 … … 621 621 622 622 check_point(7); 623 ercd = sta_alm(ALM1, 10000U);623 ercd = sta_alm(ALM1, TEST_TIME_CP); 624 624 check_ercd(ercd, E_OK); 625 625 -
asp3_wo_tecs/trunk/test/test_sem1.h
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2008-201 4by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2008-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_sem1.h 286 2014-11-29 07:51:11Z ertl-hiro $52 * $Id: test_sem1.h 737 2016-04-05 13:11:23Z ertl-hiro $ 53 53 */ 54 54 … … 82 82 #endif /* STACK_SIZE */ 83 83 84 #ifndef TEST_TIME_CP 85 #define TEST_TIME_CP 50000U /* ãã§ãã¯ãã¤ã³ãå°éæ 86 å ±ã®åºåæé */ 87 #endif /* TEST_TIME_CP */ 88 89 #ifndef TEST_TIME_PROC 90 #define TEST_TIME_PROC 1000U /* ãã§ãã¯ãã¤ã³ããéããªãå ´åã®æé */ 91 #endif /* TEST_TIME_PROC */ 92 84 93 /* 85 94 * é¢æ°ã®ãããã¿ã¤ãå®£è¨ -
asp3_wo_tecs/trunk/test/test_sem2.c
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2008-201 5by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2008-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_sem2.c 310 2015-02-08 13:46:46Z ertl-hiro $52 * $Id: test_sem2.c 738 2016-04-05 14:19:24Z ertl-hiro $ 53 53 */ 54 54 … … 153 153 * 4: twai_sem(SEM1, TMO_NBLK) -> E_PAR ... (E-5) 154 154 * twai_sem(SEM1, TMO_POL) -> E_TMOUT ... (F) 155 * 5: sta_alm(ALM1, 10000U)155 * 5: sta_alm(ALM1, TEST_TIME_CP) ... ALM1-1ãå®è¡éå§ããã¾ã§ 156 156 * 6: twai_sem(SEM1, TMO_FEVR) ... (G) 157 157 * == ALM1-1 == … … 168 168 * == TASK3ï¼åªå 169 169 度ï¼ä½ï¼== 170 * 12: sta_alm(ALM1, 10000U)170 * 12: sta_alm(ALM1, TEST_TIME_PROC) ... ALM1-2ãå®è¡éå§ããã¾ã§ 171 171 * call(wait_var()) 172 172 * == ALM1-2 == … … 177 177 * 14: wai_sem(SEM1) 178 178 * == TASK3ï¼ç¶ãï¼== 179 * 15: sta_alm(ALM1, 10000U)179 * 15: sta_alm(ALM1, TEST_TIME_PROC) ... ALM1-3ãå®è¡éå§ããã¾ã§ 180 180 * dis_dsp() 181 181 * call(wait_var()) … … 189 189 * 18: wai_sem(SEM1) 190 190 * == TASK3ï¼ç¶ãï¼== 191 * 19: sta_alm(ALM1, 10000U)191 * 19: sta_alm(ALM1, TEST_TIME_PROC) ... ALM1-4ãå®è¡éå§ããã¾ã§ 192 192 * sus_tsk(TASK1) 193 193 * call(wait_var()) … … 202 202 * == TASK2ï¼åªå 203 203 度ï¼é«ï¼== 204 * 23: tslp_tsk( 10000U) -> E_TMOUT204 * 23: tslp_tsk(2 * TEST_TIME_CP) -> E_TMOUT ... TASK2ãå®è¡åéããã¾ã§ 205 205 * == TASK1ï¼ç¶ãï¼== 206 206 * 24: wai_sem(SEM1) … … 208 208 * 25: ext_tsk() -> noreturn 209 209 * == TASK2ï¼ç¶ãï¼== 210 * 26: sta_alm(ALM1, 10000U)210 * 26: sta_alm(ALM1, TEST_TIME_PROC) ... ALM1-5ãå®è¡éå§ããã¾ã§ 211 211 * call(wait_var()) 212 212 * == ALM1-5 == … … 217 217 * 28: ext_tsk() -> noreturn 218 218 * == TASK1ï¼ç¶ãï¼== 219 * 29: sta_alm(ALM1, 10000U)220 * 30: twai_sem(SEM1, 100000U) -> E_RLWAI219 * 29: sta_alm(ALM1, TEST_TIME_CP) ... ALM1-6ãå®è¡éå§ããã¾ã§ 220 * 30: twai_sem(SEM1, 2 * TEST_TIME_CP) -> E_RLWAI ... rel_waiãããã¾ã§ 221 221 * == ALM1-6 == 222 222 * 31: rel_wai(TASK1) 223 223 * RETURN 224 224 * == TASK1ï¼ç¶ãï¼== 225 * 32: sta_alm(ALM1, 100000U)226 * 33: twai_sem(SEM1, 10000U) -> E_TMOUT ... (H)225 * 32: sta_alm(ALM1, 3 * TEST_TIME_CP) ... stp_almãããã¾ã§ 226 * 33: twai_sem(SEM1, TEST_TIME_CP) -> E_TMOUT ... (H) 227 227 * 34: stp_alm(ALM1) 228 228 * 35: END … … 399 399 400 400 check_point(5); 401 ercd = sta_alm(ALM1, 10000U);401 ercd = sta_alm(ALM1, TEST_TIME_CP); 402 402 check_ercd(ercd, E_OK); 403 403 … … 431 431 432 432 check_point(29); 433 ercd = sta_alm(ALM1, 10000U);433 ercd = sta_alm(ALM1, TEST_TIME_CP); 434 434 check_ercd(ercd, E_OK); 435 435 436 436 check_point(30); 437 ercd = twai_sem(SEM1, 100000U);437 ercd = twai_sem(SEM1, 2 * TEST_TIME_CP); 438 438 check_ercd(ercd, E_RLWAI); 439 439 440 440 check_point(32); 441 ercd = sta_alm(ALM1, 100000U);441 ercd = sta_alm(ALM1, 3 * TEST_TIME_CP); 442 442 check_ercd(ercd, E_OK); 443 443 444 444 check_point(33); 445 ercd = twai_sem(SEM1, 10000U);445 ercd = twai_sem(SEM1, TEST_TIME_CP); 446 446 check_ercd(ercd, E_TMOUT); 447 447 … … 460 460 461 461 check_point(23); 462 ercd = tslp_tsk( 10000U);462 ercd = tslp_tsk(2 * TEST_TIME_CP); 463 463 check_ercd(ercd, E_TMOUT); 464 464 465 465 check_point(26); 466 ercd = sta_alm(ALM1, 10000U);466 ercd = sta_alm(ALM1, TEST_TIME_PROC); 467 467 check_ercd(ercd, E_OK); 468 468 … … 481 481 482 482 check_point(12); 483 ercd = sta_alm(ALM1, 10000U);483 ercd = sta_alm(ALM1, TEST_TIME_PROC); 484 484 check_ercd(ercd, E_OK); 485 485 … … 487 487 488 488 check_point(15); 489 ercd = sta_alm(ALM1, 10000U);489 ercd = sta_alm(ALM1, TEST_TIME_PROC); 490 490 check_ercd(ercd, E_OK); 491 491 … … 500 500 501 501 check_point(19); 502 ercd = sta_alm(ALM1, 10000U);502 ercd = sta_alm(ALM1, TEST_TIME_PROC); 503 503 check_ercd(ercd, E_OK); 504 504 -
asp3_wo_tecs/trunk/test/test_sem2.h
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2008-201 4by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2008-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_sem2.h 286 2014-11-29 07:51:11Z ertl-hiro $52 * $Id: test_sem2.h 737 2016-04-05 13:11:23Z ertl-hiro $ 53 53 */ 54 54 … … 82 82 #endif /* STACK_SIZE */ 83 83 84 #ifndef TEST_TIME_CP 85 #define TEST_TIME_CP 50000U /* ãã§ãã¯ãã¤ã³ãå°éæ 86 å ±ã®åºåæé */ 87 #endif /* TEST_TIME_CP */ 88 89 #ifndef TEST_TIME_PROC 90 #define TEST_TIME_PROC 1000U /* ãã§ãã¯ãã¤ã³ããéããªãå ´åã®æé */ 91 #endif /* TEST_TIME_PROC */ 92 84 93 /* 85 94 * é¢æ°ã®ãããã¿ã¤ãå®£è¨ -
asp3_wo_tecs/trunk/test/test_task1.c
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2007-201 5by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2007-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_task1.c 310 2015-02-08 13:46:46Z ertl-hiro $52 * $Id: test_task1.c 738 2016-04-05 14:19:24Z ertl-hiro $ 53 53 */ 54 54 … … 221 221 * 32: slp_tsk() ... (H-3) 222 222 * == TASK5ï¼ç¶ãï¼== 223 * 33: sta_alm(ALM1, 10000U)223 * 33: sta_alm(ALM1, TEST_TIME_CP) ... ALM1ãå®è¡éå§ããã¾ã§ 224 224 * 34: slp_tsk() ... (H-1) 225 225 * == ALM1 == … … 245 245 alarm1_handler(intptr_t exinf) 246 246 { 247 ER_UINT ercd; 247 248 ID tskid; 248 ER_UINT ercd;249 249 250 250 check_point(35); … … 383 383 384 384 check_point(33); 385 ercd = sta_alm(ALM1, 10000U);385 ercd = sta_alm(ALM1, TEST_TIME_CP); 386 386 check_ercd(ercd, E_OK); 387 387 -
asp3_wo_tecs/trunk/test/test_task1.h
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2007-201 4by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2007-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_task1.h 286 2014-11-29 07:51:11Z ertl-hiro $52 * $Id: test_task1.h 737 2016-04-05 13:11:23Z ertl-hiro $ 53 53 */ 54 54 … … 82 82 #endif /* STACK_SIZE */ 83 83 84 #ifndef TEST_TIME_CP 85 #define TEST_TIME_CP 50000U /* ãã§ãã¯ãã¤ã³ãå°éæ 86 å ±ã®åºåæé */ 87 #endif /* TEST_TIME_CP */ 88 89 #ifndef TEST_TIME_PROC 90 #define TEST_TIME_PROC 1000U /* ãã§ãã¯ãã¤ã³ããéããªãå ´åã®æé */ 91 #endif /* TEST_TIME_PROC */ 92 84 93 /* 85 94 * é¢æ°ã®ãããã¿ã¤ãå®£è¨ -
asp3_wo_tecs/trunk/test/test_tmevt1.c
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 2014-201 5by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2014-2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_tmevt1.c 310 2015-02-08 13:46:46Z ertl-hiro $52 * $Id: test_tmevt1.c 738 2016-04-05 14:19:24Z ertl-hiro $ 53 53 */ 54 54 … … 81 81 * == TASK1ï¼åªå 82 82 度ï¼ä¸ï¼== 83 * 1: sta_alm(ALM1, ALM1_RELTIM)83 * 1: sta_alm(ALM1, TEST_TIME_PROC) ... ALM1-1ãå®è¡éå§ããã¾ã§ 84 84 * DO(prev_lefttim = UINT32_MAX) 85 85 * DO(wait_alarm1(&alarm1_flag1)) … … 88 88 * RETURN 89 89 * == TASK1ï¼ç¶ãï¼== 90 * 3: sta_alm(ALM1, ALM1_RELTIM)90 * 3: sta_alm(ALM1, TEST_TIME_PROC) ... ALM1-2ãå®è¡éå§ããã¾ã§ 91 91 * DO(prev_lefttim = UINT32_MAX) 92 92 * DO(wait_alarm1(&alarm1_flag2)) 93 93 * == ALM1-2ï¼2åç®ï¼== 94 94 * 4: DO(alarm1_flag2 = true) 95 * 5: sta_alm(ALM1, ALM1_RELTIM)95 * 5: sta_alm(ALM1, TEST_TIME_CP) ... ALM1-3ãå®è¡éå§ããã¾ã§ 96 96 * DO(prev_lefttim = UINT32_MAX) 97 97 * DO(skip_check = true) … … 103 103 * RETURN 104 104 * == TASK1ï¼ç¶ãï¼== 105 * 8: sta_alm(ALM1, ALM1_RELTIM * 4)106 * DO(prev_lefttim = UINT32_MAX) 107 * DO(refer_alarm1()) 108 * 9: dly_tsk( ALM1_RELTIM)109 * DO(prev_lefttim -= ALM1_RELTIM)110 * DO(refer_alarm1()) 111 * 10: adj_tim( ALM1_RELTIM)105 * 8: sta_alm(ALM1, 3 * TEST_TIME_CP) ... ALM1-4ãå®è¡éå§ããã¾ã§ 106 * DO(prev_lefttim = UINT32_MAX) 107 * DO(refer_alarm1()) 108 * 9: dly_tsk(TEST_TIME_CP) ... ã©ã®ãããªæéã§ãè¯ã 109 * DO(prev_lefttim -= TEST_TIME_CP) 110 * DO(refer_alarm1()) 111 * 10: adj_tim(TEST_TIME_CP) 112 112 * DO(wait_alarm1(&alarm1_flag4)) 113 113 * == ALM1-4ï¼4åç®ï¼== … … 115 115 * RETURN 116 116 * == TASK1ï¼ç¶ãï¼== 117 * 12: sta_alm(ALM1, ALM1_RELTIM * 4)118 * DO(prev_lefttim = UINT32_MAX) 119 * DO(refer_alarm1()) 120 * 13: dly_tsk( ALM1_RELTIM)121 * DO(prev_lefttim -= ALM1_RELTIM)122 * DO(refer_alarm1()) 123 * 14: adj_tim(- ALM1_RELTIM)124 * DO(prev_lefttim += ALM1_RELTIM)117 * 12: sta_alm(ALM1, 4 * TEST_TIME_CP) ... ALM1-5ãå®è¡éå§ããã¾ã§ 118 * DO(prev_lefttim = UINT32_MAX) 119 * DO(refer_alarm1()) 120 * 13: dly_tsk(TEST_TIME_CP) ... ã©ã®ãããªæéã§ãè¯ã 121 * DO(prev_lefttim -= TEST_TIME_CP) 122 * DO(refer_alarm1()) 123 * 14: adj_tim(-TEST_TIME_CP) 124 * DO(prev_lefttim += TEST_TIME_CP) 125 125 * 15: DO(wait_alarm1(&alarm1_flag5)) 126 126 * == ALM1-5ï¼5åç®ï¼== … … 128 128 * RETURN 129 129 * == TASK1ï¼ç¶ãï¼== 130 * 17: sta_alm(ALM1, ALM1_RELTIM * 6)131 * sta_alm(ALM2, ALM1_RELTIM * 4)132 * DO(prev_lefttim = UINT32_MAX) 133 * DO(refer_alarm1()) 134 * 18: dly_tsk( ALM1_RELTIM)135 * DO(prev_lefttim -= ALM1_RELTIM)130 * 17: sta_alm(ALM1, 4 * TEST_TIME_CP) ... ALM1-6ãå®è¡éå§ããã¾ã§ 131 * sta_alm(ALM2, 3 * TEST_TIME_CP) ... stp_almã§åæ¢ããã¾ã§ 132 * DO(prev_lefttim = UINT32_MAX) 133 * DO(refer_alarm1()) 134 * 18: dly_tsk(TEST_TIME_CP) ... ã©ã®ãããªæéã§ãè¯ã 135 * DO(prev_lefttim -= TEST_TIME_CP) 136 136 * DO(refer_alarm1()) 137 137 * 19: stp_alm(ALM2) … … 144 144 * RETURN 145 145 * == TASK1ï¼ç¶ãï¼== 146 * 22: sta_alm(ALM1, ALM1_RELTIM * 6)147 * sta_alm(ALM2, ALM1_RELTIM * 4)148 * sta_alm(ALM3, ALM1_RELTIM)146 * 22: sta_alm(ALM1, 3 * TEST_TIME_CP) ... ALM1-7ãå®è¡éå§ããã¾ã§ 147 * sta_alm(ALM2, 2 * TEST_TIME_CP) ... stp_almã§åæ¢ããã¾ã§ 148 * sta_alm(ALM3, TEST_TIME_CP) ... ALM3-1ãå®è¡éå§ããã¾ã§ 149 149 * DO(prev_lefttim = UINT32_MAX) 150 150 * 23: DO(wait_alarm1(&alarm1_flag7)) … … 261 261 262 262 check_point(5); 263 ercd = sta_alm(ALM1, ALM1_RELTIM);263 ercd = sta_alm(ALM1, TEST_TIME_CP); 264 264 check_ercd(ercd, E_OK); 265 265 … … 350 350 351 351 check_point(1); 352 ercd = sta_alm(ALM1, ALM1_RELTIM);352 ercd = sta_alm(ALM1, TEST_TIME_PROC); 353 353 check_ercd(ercd, E_OK); 354 354 … … 358 358 359 359 check_point(3); 360 ercd = sta_alm(ALM1, ALM1_RELTIM);360 ercd = sta_alm(ALM1, TEST_TIME_PROC); 361 361 check_ercd(ercd, E_OK); 362 362 … … 369 369 370 370 check_point(8); 371 ercd = sta_alm(ALM1, ALM1_RELTIM * 4);371 ercd = sta_alm(ALM1, 3 * TEST_TIME_CP); 372 372 check_ercd(ercd, E_OK); 373 373 … … 377 377 378 378 check_point(9); 379 ercd = dly_tsk( ALM1_RELTIM);380 check_ercd(ercd, E_OK); 381 382 prev_lefttim -= ALM1_RELTIM;379 ercd = dly_tsk(TEST_TIME_CP); 380 check_ercd(ercd, E_OK); 381 382 prev_lefttim -= TEST_TIME_CP; 383 383 384 384 refer_alarm1(); 385 385 386 386 check_point(10); 387 ercd = adj_tim( ALM1_RELTIM);387 ercd = adj_tim(TEST_TIME_CP); 388 388 check_ercd(ercd, E_OK); 389 389 … … 391 391 392 392 check_point(12); 393 ercd = sta_alm(ALM1, ALM1_RELTIM * 4);393 ercd = sta_alm(ALM1, 4 * TEST_TIME_CP); 394 394 check_ercd(ercd, E_OK); 395 395 … … 399 399 400 400 check_point(13); 401 ercd = dly_tsk( ALM1_RELTIM);402 check_ercd(ercd, E_OK); 403 404 prev_lefttim -= ALM1_RELTIM;401 ercd = dly_tsk(TEST_TIME_CP); 402 check_ercd(ercd, E_OK); 403 404 prev_lefttim -= TEST_TIME_CP; 405 405 406 406 refer_alarm1(); 407 407 408 408 check_point(14); 409 ercd = adj_tim(- ALM1_RELTIM);410 check_ercd(ercd, E_OK); 411 412 prev_lefttim += ALM1_RELTIM;409 ercd = adj_tim(-TEST_TIME_CP); 410 check_ercd(ercd, E_OK); 411 412 prev_lefttim += TEST_TIME_CP; 413 413 414 414 check_point(15); … … 416 416 417 417 check_point(17); 418 ercd = sta_alm(ALM1, ALM1_RELTIM * 6);419 check_ercd(ercd, E_OK); 420 421 ercd = sta_alm(ALM2, ALM1_RELTIM * 4);418 ercd = sta_alm(ALM1, 4 * TEST_TIME_CP); 419 check_ercd(ercd, E_OK); 420 421 ercd = sta_alm(ALM2, 3 * TEST_TIME_CP); 422 422 check_ercd(ercd, E_OK); 423 423 … … 427 427 428 428 check_point(18); 429 ercd = dly_tsk( ALM1_RELTIM);430 check_ercd(ercd, E_OK); 431 432 prev_lefttim -= ALM1_RELTIM;429 ercd = dly_tsk(TEST_TIME_CP); 430 check_ercd(ercd, E_OK); 431 432 prev_lefttim -= TEST_TIME_CP; 433 433 434 434 refer_alarm1(); … … 449 449 450 450 check_point(22); 451 ercd = sta_alm(ALM1, ALM1_RELTIM * 6);452 check_ercd(ercd, E_OK); 453 454 ercd = sta_alm(ALM2, ALM1_RELTIM * 4);455 check_ercd(ercd, E_OK); 456 457 ercd = sta_alm(ALM3, ALM1_RELTIM);451 ercd = sta_alm(ALM1, 3 * TEST_TIME_CP); 452 check_ercd(ercd, E_OK); 453 454 ercd = sta_alm(ALM2, 2 * TEST_TIME_CP); 455 check_ercd(ercd, E_OK); 456 457 ercd = sta_alm(ALM3, TEST_TIME_CP); 458 458 check_ercd(ercd, E_OK); 459 459 -
asp3_wo_tecs/trunk/test/test_tmevt1.h
r302 r306 3 3 * Toyohashi Open Platform for Embedded Real-Time Systems 4 4 * 5 * Copyright (C) 201 4by Embedded and Real-Time Systems Laboratory5 * Copyright (C) 2016 by Embedded and Real-Time Systems Laboratory 6 6 * Graduate School of Information Science, Nagoya Univ., JAPAN 7 7 * … … 50 50 * ã®è²¬ä»»ãè² ããªãï¼ 51 51 * 52 * $Id: test_tmevt1.h 286 2014-11-29 07:51:11Z ertl-hiro $52 * $Id: test_tmevt1.h 737 2016-04-05 13:11:23Z ertl-hiro $ 53 53 */ 54 54 … … 82 82 #endif /* STACK_SIZE */ 83 83 84 #ifndef ALM1_RELTIM 85 #define ALM1_RELTIM 200U /* ã¢ã©ã¼ã ãã³ãã©1ã«ä»æããç¸å¯¾æé */ 86 #endif /* ALM1_RELTIM */ 84 #ifndef TEST_TIME_CP 85 #define TEST_TIME_CP 50000U /* ãã§ãã¯ãã¤ã³ãå°éæ 86 å ±ã®åºåæé */ 87 #endif /* TEST_TIME_CP */ 88 89 #ifndef TEST_TIME_PROC 90 #define TEST_TIME_PROC 1000U /* ãã§ãã¯ãã¤ã³ããéããªãå ´åã®æé */ 91 #endif /* TEST_TIME_PROC */ 87 92 88 93 /* -
asp3_wo_tecs/trunk/test/testexec.rb
r305 r306 52 52 # ã®è²¬ä»»ãè² ããªãï¼ 53 53 # 54 # $Id: testexec.rb 6 00 2016-02-07 11:46:22Z ertl-hiro $54 # $Id: testexec.rb 675 2016-03-06 01:30:21Z ertl-hiro $ 55 55 # 56 56 … … 63 63 TEST_SPEC = { 64 64 # æ©è½ãã¹ãããã°ã©ã 65 "cpuexc1" => { :SRC=>"test_cpuexc1", :CFG=>"test_cpuexc" },66 "cpuexc2" => { :SRC=>"test_cpuexc2", :CFG=>"test_cpuexc" },67 "cpuexc3" => { :SRC=>"test_cpuexc3", :CFG=>"test_cpuexc" },68 "cpuexc4" => { :SRC=>"test_cpuexc4", :CFG=>"test_cpuexc" },69 "cpuexc5" => { :SRC=>"test_cpuexc5", :CFG=>"test_cpuexc" },70 "cpuexc6" => { :SRC=>"test_cpuexc6", :CFG=>"test_cpuexc" },71 "cpuexc7" => { :SRC=>"test_cpuexc7", :CFG=>"test_cpuexc" },72 "cpuexc8" => { :SRC=>"test_cpuexc8", :CFG=>"test_cpuexc" },73 "cpuexc9" => { :SRC=>"test_cpuexc9", :CFG=>"test_cpuexc" },74 "cpuexc10" => { :SRC=>"test_cpuexc10", :CFG=>"test_cpuexc" },75 "dlynse" => { :SRC=>"test_dlynse" },76 "dtq1" => { :SRC=>"test_dtq1" },77 "flg1" => { :SRC=>"test_flg1" },78 "hrt1" => { :SRC=>"test_hrt1" },79 "mutex1" => { :SRC=>"test_mutex1", :BIT=>"mutex" },80 "mutex2" => { :SRC=>"test_mutex2", :BIT=>"mutex" },81 "mutex3" => { :SRC=>"test_mutex3", :BIT=>"mutex" },82 "mutex4" => { :SRC=>"test_mutex4", :BIT=>"mutex" },83 "mutex5" => { :SRC=>"test_mutex5", :BIT=>"mutex" },84 "mutex6" => { :SRC=>"test_mutex6", :BIT=>"mutex" },85 "mutex7" => { :SRC=>"test_mutex7", :BIT=>"mutex" },86 "mutex8" => { :SRC=>"test_mutex8", :BIT=>"mutex" },87 "notify1" => { :SRC=>"test_notify1" },88 "raster1" => { :SRC=>"test_raster1", :BIT=>"kernel" },89 "raster2" => { :SRC=>"test_raster2" },90 "sem1" => { :SRC=>"test_sem1" },91 "sem2" => { :SRC=>"test_sem2" },92 "sysman1" => { :SRC=>"test_sysman1" },93 "sysstat1" => { :SRC=>"test_sysstat1" },94 "task1" => { :SRC=>"test_task1", :BIT=>"kernel" },95 "tmevt1" => { :SRC=>"test_hrt1" },65 "cpuexc1" => { SRC: "test_cpuexc1", CFG: "test_cpuexc" }, 66 "cpuexc2" => { SRC: "test_cpuexc2", CFG: "test_cpuexc" }, 67 "cpuexc3" => { SRC: "test_cpuexc3", CFG: "test_cpuexc" }, 68 "cpuexc4" => { SRC: "test_cpuexc4", CFG: "test_cpuexc" }, 69 "cpuexc5" => { SRC: "test_cpuexc5", CFG: "test_cpuexc" }, 70 "cpuexc6" => { SRC: "test_cpuexc6", CFG: "test_cpuexc" }, 71 "cpuexc7" => { SRC: "test_cpuexc7", CFG: "test_cpuexc" }, 72 "cpuexc8" => { SRC: "test_cpuexc8", CFG: "test_cpuexc" }, 73 "cpuexc9" => { SRC: "test_cpuexc9", CFG: "test_cpuexc" }, 74 "cpuexc10" => { SRC: "test_cpuexc10", CFG: "test_cpuexc" }, 75 "dlynse" => { SRC: "test_dlynse" }, 76 "dtq1" => { SRC: "test_dtq1" }, 77 "flg1" => { SRC: "test_flg1" }, 78 "hrt1" => { SRC: "test_hrt1" }, 79 "mutex1" => { SRC: "test_mutex1", BIT: "mutex" }, 80 "mutex2" => { SRC: "test_mutex2", BIT: "mutex" }, 81 "mutex3" => { SRC: "test_mutex3", BIT: "mutex" }, 82 "mutex4" => { SRC: "test_mutex4", BIT: "mutex" }, 83 "mutex5" => { SRC: "test_mutex5", BIT: "mutex" }, 84 "mutex6" => { SRC: "test_mutex6", BIT: "mutex" }, 85 "mutex7" => { SRC: "test_mutex7", BIT: "mutex" }, 86 "mutex8" => { SRC: "test_mutex8", BIT: "mutex" }, 87 "notify1" => { SRC: "test_notify1" }, 88 "raster1" => { SRC: "test_raster1", BIT: "kernel" }, 89 "raster2" => { SRC: "test_raster2" }, 90 "sem1" => { SRC: "test_sem1" }, 91 "sem2" => { SRC: "test_sem2" }, 92 "sysman1" => { SRC: "test_sysman1" }, 93 "sysstat1" => { SRC: "test_sysstat1" }, 94 "task1" => { SRC: "test_task1", BIT: "kernel" }, 95 "tmevt1" => { SRC: "test_tmevt1" }, 96 96 97 97 # ã¡ãã»ã¼ã¸ãããã¡æ©è½æ¡å¼µããã±ã¼ã¸ã®æ©è½ãã¹ãããã°ã©ã 98 "messagebuf1" => { :SRC=>"test_messagebuf1", :BIT=>"kernel" },99 "messagebuf2" => { :SRC=>"test_messagebuf2", :BIT=>"kernel" },98 "messagebuf1" => { SRC: "test_messagebuf1", BIT: "kernel" }, 99 "messagebuf2" => { SRC: "test_messagebuf2", BIT: "kernel" }, 100 100 101 101 # ãªã¼ãã©ã³ãã³ãã©æ©è½æ¡å¼µããã±ã¼ã¸ã®æ©è½ãã¹ãããã°ã©ã 102 "ovrhdr1" => { :SRC=>"test_ovrhdr1" },102 "ovrhdr1" => { SRC: "test_ovrhdr1" }, 103 103 104 104 # å¶ç´ã¿ã¹ã¯æ¡å¼µããã±ã¼ã¸ã®æ©è½ãã¹ãããã°ã©ã 105 "rstr1" => { :SRC=>"test_rstr1" },106 "rstr2" => { :SRC=>"test_rstr2" },105 "rstr1" => { SRC: "test_rstr1" }, 106 "rstr2" => { SRC: "test_rstr2" }, 107 107 108 108 # ãµãåªå 109 109 度æ©è½æ¡å¼µããã±ã¼ã¸ã®æ©è½ãã¹ãããã°ã©ã 110 "subprio1" => { :SRC=>"test_subprio1" },111 "subprio2" => { :SRC=>"test_subprio2" },110 "subprio1" => { SRC: "test_subprio1" }, 111 "subprio2" => { SRC: "test_subprio2" }, 112 112 113 113 # ã·ã¹ãã æå»ç®¡çæ©è½ãã¹ãããã°ã©ã 114 "systim1" => { :TARGET=>1, :SRC=>"hrt_systim1", :DEFS=>"-DHRT_CONFIG1" },115 "systim2" => { :TARGET=>1, :SRC=>"hrt_systim2", :DEFS=>"-DHRT_CONFIG1" },116 "systim3" => { :TARGET=>1, :SRC=>"hrt_systim3", :DEFS=>"-DHRT_CONFIG1" },117 "systim4" => { :TARGET=>1, :SRC=>"hrt_systim4", :DEFS=>"-DHRT_CONFIG2" },114 "systim1" => { TARGET: 1, SRC: "hrt_systim1", DEFS: "-DHRT_CONFIG1" }, 115 "systim2" => { TARGET: 1, SRC: "hrt_systim2", DEFS: "-DHRT_CONFIG1" }, 116 "systim3" => { TARGET: 1, SRC: "hrt_systim3", DEFS: "-DHRT_CONFIG1" }, 117 "systim4" => { TARGET: 1, SRC: "hrt_systim4", DEFS: "-DHRT_CONFIG2" }, 118 118 119 119 # ããªãã調æ´æ©è½æ¡å¼µããã±ã¼ã¸ã®ã·ã¹ãã æå»ç®¡çæ©è½ãã¹ãããã°ã©ã 120 "drift1" => { :TARGET=>1, :SRC=>"hrt_drift1", :DEFS=>"-DHRT_CONFIG1" },121 "drift1-64ops" => { :TARGET=>1, :SRC=>"hrt_drift1",122 :DEFS=>"-DHRT_CONFIG1 -DUSE_64BIT_OPS" },123 "systim1-64ops" => { :TARGET=>1, :SRC=>"hrt_systim1",124 :DEFS=>"-DHRT_CONFIG1 -DUSE_64BIT_OPS" },120 "drift1" => { TARGET: 1, SRC: "hrt_drift1", DEFS: "-DHRT_CONFIG1" }, 121 "drift1-64ops" => { TARGET: 1, SRC: "hrt_drift1", 122 DEFS: "-DHRT_CONFIG1 -DUSE_64BIT_OPS" }, 123 "systim1-64ops" => { TARGET: 1, SRC: "hrt_systim1", 124 DEFS: "-DHRT_CONFIG1 -DUSE_64BIT_OPS" }, 125 125 126 126 # æ§è½è©ä¾¡ããã°ã©ã 127 "perf0" => { :CDL=>"perf_pf" },128 "perf1" => { :CDL=>"perf_pf" },129 "perf2" => { :CDL=>"perf_pf" },130 "perf3" => { :CDL=>"perf_pf" },131 "perf4" => { :CDL=>"perf_pf" },132 "perf5" => { :CDL=>"perf_pf" },127 "perf0" => { CDL: "perf_pf" }, 128 "perf1" => { CDL: "perf_pf" }, 129 "perf2" => { CDL: "perf_pf" }, 130 "perf3" => { CDL: "perf_pf" }, 131 "perf4" => { CDL: "perf_pf" }, 132 "perf5" => { CDL: "perf_pf" }, 133 133 } 134 134
Note:
See TracChangeset
for help on using the changeset viewer.