Index: asp3_wo_tecs/trunk/doc/asp_spec.txt
===================================================================
--- asp3_wo_tecs/trunk/doc/asp_spec.txt	(revision 302)
+++ asp3_wo_tecs/trunk/doc/asp_spec.txt	(revision 306)
@@ -2,6 +2,6 @@
 		TOPPERS/ASP3ã«ã¼ãã«ã®ä»æ§æ¦è¦
 
-		å¯¾å¿ãã¼ã¸ã§ã³: Release 3.0
-		æçµæ´æ°: 2016å¹´1æ10æ¥
+		å¯¾å¿ãã¼ã¸ã§ã³: Release 3.1
+		æçµæ´æ°: 2016å¹´4æ3æ¥
 
 ãã®ãã­ã¥ã¡ã³ãã¯ï¼TOPPERS/ASP3ã«ã¼ãã«ï¼TOPPERS/ASPã«ã¼ãã« Release
@@ -67,5 +67,5 @@
  ã®è²¬ä»»ãè² ããªãï¼
  
- $Id: asp_spec.txt 493 2016-01-10 07:17:13Z ertl-hiro $
+ $Id: asp_spec.txt 747 2016-05-13 08:18:21Z ertl-hiro $
 ----------------------------------------------------------------------
 
@@ -130,5 +130,6 @@
 	(4-14) ã·ã¹ãã æå»ã®è¨­å®æ©è½ã®ãã©ã¡ã¼ã¿ã®å¤æ´
 	(4-15) å¨æãã³ãã©ã®ä»æ§å¤æ´
-	(4-16) ã¢ããªã±ã¼ã·ã§ã³åãã®ã¤ã³ã¯ã«ã¼ããã¡ã¤ã«ã®æ§æ
+	(4-16) éçAPIã®ãã©ã¡ã¼ã¿ã®çç¥
+	(4-17) ã¢ããªã±ã¼ã·ã§ã³åãã®ã¤ã³ã¯ã«ã¼ããã¡ã¤ã«ã®æ§æ
 ã»ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³å¦çã®è¦ç´ã
 ã»æ¡å¼µããã±ã¼ã¸ã®ãµãã¼ã
@@ -153,5 +154,5 @@
 
 [6] TOPPERSãã­ã¸ã§ã¯ã: TOPPERSç¬¬3ä¸ä»£ã«ã¼ãã«ï¼ITRONç³»ï¼çµ±åä»æ§æ¸ï¼
-	Release 3.B.0ï¼æçµæ´æ°: 2015å¹´6æ29æ¥ï¼
+	Release 3.0.0ï¼æçµæ´æ°: 2016å¹´2æ7æ¥ï¼
 
 âãã®ãã­ã¥ã¡ã³ãã®èª­ã¿æ¹
@@ -820,5 +821,17 @@
 èµ·åä½ç¸ã§æå®ããç¸å¯¾æéå¾ã¨ãã¦ããï¼
 
-(4-16) ã¢ããªã±ã¼ã·ã§ã³åãã®ã¤ã³ã¯ã«ã¼ããã¡ã¤ã«ã®æ§æ
+(4-16) éçAPIã®ãã©ã¡ã¼ã¿ã®çç¥
+
+ASP3ã«ã¼ãã«ã§ã¯ï¼éçAPIã®ãã©ã¡ã¼ã¿ã®ä¸­ã§ï¼NULLãæå®ããã¨èªåå²ä»ã
+ã«ãªãã¡ã¢ãªé åã®å
+é ­çªå°ã¨ï¼NULLããæå®ã§ããªãç®¡çé åã®å
+é ­çªå°ã¯ï¼
+è¨è¿°ãçç¥ã§ãããã®ã¨ããï¼ã¾ãï¼åªå
+åº¦ä¸éãã¥ã¼ããã¯ã¹ä»¥å¤ã®ãã¥ã¼
+ããã¯ã¹ãçæããCRE_MTXã§ï¼ä¸éåªå
+åº¦ï¼ceilpriï¼ã®è¨è¿°ãçç¥ã§ããã
+ã®ã¨ããï¼
+
+(4-17) ã¢ããªã±ã¼ã·ã§ã³åãã®ã¤ã³ã¯ã«ã¼ããã¡ã¤ã«ã®æ§æ
 
 ã«ã¼ãã«ãå¼ã³åºãã¢ããªã±ã¼ã·ã§ã³ããã¯kernel.hãï¼SILãå¼ã³åºãã¢ããª
Index: asp3_wo_tecs/trunk/doc/configurator.txt
===================================================================
--- asp3_wo_tecs/trunk/doc/configurator.txt	(revision 302)
+++ asp3_wo_tecs/trunk/doc/configurator.txt	(revision 306)
@@ -3,6 +3,6 @@
 		ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ä»æ§
 
-		å¯¾å¿ãã¼ã¸ã§ã³: Release 3.0.0
-		æçµæ´æ°: 2015å¹´8æ8æ¥
+		å¯¾å¿ãã¼ã¸ã§ã³: Release 3.1.0
+		æçµæ´æ°: 2016å¹´2æ5æ¥
 
 ãã®ãã­ã¥ã¡ã³ãã¯ï¼TOPPERS/ASP3ã«ã¼ãã«ã®ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ãæ¨æºçã«
@@ -17,5 +17,5 @@
      Advanced Standard Profile Kernel
 
- Copyright (C) 2005-2015 by Embedded and Real-Time Systems Laboratory
+ Copyright (C) 2005-2016 by Embedded and Real-Time Systems Laboratory
              Graduate School of Information Science, Nagoya Univ., JAPAN
  
@@ -64,5 +64,5 @@
  ã®è²¬ä»»ãè² ããªãï¼
  
- $Id: configurator.txt 431 2015-08-08 12:05:02Z ertl-hiro $
+ $Id: configurator.txt 724 2016-04-02 21:36:23Z ertl-hiro $
 ----------------------------------------------------------------------
 
@@ -93,4 +93,19 @@
 		4.5.10 ã¢ã©ã¼ã éç¥ã«é¢ããå®ç¾©
 	4.6 éç¥ãã³ãã©ã®çæ
+		4.6.1 å¤æ°ã®è¨­å®ã«ããã¤ãã³ãéç¥
+		4.6.2 å¤æ°ã®ã¤ã³ã¯ãªã¡ã³ãã«ããã¤ãã³ãã®éç¥
+		4.6.3 ã¿ã¹ã¯ã®èµ·åã«ããã¤ãã³ãéç¥
+		4.6.4 ã¿ã¹ã¯ã®èµ·åºã«ããã¤ãã³ãéç¥
+		4.6.5 ã»ããã©ã®è¿å´ã«ããã¤ãã³ãéç¥
+		4.6.6 ã¤ãã³ããã©ã°ã®ã»ããã«ããã¤ãã³ãéç¥
+		4.6.7 ãã¼ã¿ã­ã¥ã¼ã¸ã®éä¿¡ã«ããã¤ãã³ãéç¥
+		4.6.8 å¤æ°ã®è¨­å®ã«ããã¨ã©ã¼éç¥
+		4.6.9 å¤æ°ã®ã¤ã³ã¯ãªã¡ã³ãã«ããã¨ã©ã¼éç¥
+		4.6.10 ã¿ã¹ã¯ã®èµ·åã«ããã¨ã©ã¼éç¥
+		4.6.11 ã¿ã¹ã¯ã®èµ·åºã«ããã¨ã©ã¼éç¥
+		4.6.12 ã»ããã©ã®è¿å´ã«ããã¨ã©ã¼éç¥
+		4.6.13 ã¤ãã³ããã©ã°ã®ã»ããã«ããã¨ã©ã¼éç¥
+		4.6.14 ãã¼ã¿ã­ã¥ã¼ã¸ã®éä¿¡ã«ããã¨ã©ã¼éç¥
+		4.6.15 ã¨ã©ã¼æ¡ä»¶
 	4.7 å²è¾¼ã¿ã«é¢ããå®ç¾©
 		4.7.1 å²è¾¼ã¿ãµã¼ãã¹ã«ã¼ãã³ã«é¢ããå®ç¾©
@@ -248,8 +263,9 @@
 4.4 ãªãã¸ã§ã¯ãã®IDçªå·ãä¿æããå¤æ°ã®å®ç¾©
 
-ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã«å¯¾ãããªãã·ã§ã³æå®ï¼--external-idï¼ã«ããï¼ã³ã³ãã£
-ã®ã¥ã¬ã¼ã¿ãIDçªå·ãå²ãä»ãããªãã¸ã§ã¯ãã®ååã®æ«å°¾ã«"_id"ãä»å ãã
-ååã®å¤æ°ãçæããï¼å¤æ°ã¯ï¼constå±æ§ãä»å ããIDåã®å¤æ°ã¨ãï¼å²ãä»
-ããIDçªå·ãå¤ã¨ããï¼ä¾ãã°ï¼æ¬¡ã®ãããªè¨è¿°ãçæããï¼
+USE_EXTERNAL_IDãå®ç¾©ããã¦ããå ´åï¼cfg1_out.cãã³ã³ãã¤ã«ããéã®ã³ã³
+ãã¤ã«ãªãã·ã§ã³ã«ããå®ç¾©ãããã¨ãæ³å®ï¼ã«ã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ãID
+çªå·ãå²ãä»ãããªãã¸ã§ã¯ãã®ååã®æ«å°¾ã«"_id"ãä»å ããååã®å¤æ°ãç
+æããï¼å¤æ°ã¯ï¼constå±æ§ãä»å ããIDåã®å¤æ°ã¨ãï¼å²ãä»ããIDçªå·ãå¤
+ã¨ããï¼ä¾ãã°ï¼æ¬¡ã®ãããªè¨è¿°ãçæããï¼
 
 const ID TASK1_id = 1;
@@ -763,5 +779,5 @@
 ã»(0 < cyctim && cyctim <= TMAX_RELTIM)ã§ãªãå ´åï¼E_PARï¼ï¼»NGKI2397ï¼½
 ã»(0 <= cycphs && cycphs <= TMAX_RELTIM)ã§ãªãå ´åï¼E_PARï¼ï¼»NGKI2399ï¼½
-ã»ãã®ä»ï¼éç¥ãã³ãã©ã®çæã«é¢ããã¨ã©ã¼ï¼4.6.13ç¯ï¼ãåç
+ã»ãã®ä»ï¼éç¥ãã³ãã©ã®çæã«é¢ããã¨ã©ã¼ï¼4.6.15ç¯ï¼ãåç
 §
 
@@ -772,5 +788,5 @@
 	- ã¿ã¼ã²ããä¾å­ã®å¤ï¼CHECK_FUNC_ALIGNï¼ã®åæ°ã§ãªãå ´å
 	- NULLã®å ´åï¼ã¿ã¼ã²ããä¾å­ï¼CHECK_FUNC_NONNULLï¼
-ã»ãã®ä»ï¼éç¥ãã³ãã©ã®çæã«é¢ããã¨ã©ã¼ï¼4.6.13ç¯ï¼ãåç
+ã»ãã®ä»ï¼éç¥ãã³ãã©ã®çæã«é¢ããã¨ã©ã¼ï¼4.6.15ç¯ï¼ãåç
 §
 
@@ -827,5 +843,5 @@
 ã»almatrãç¡å¹ã®å ´åï¼E_RSATRï¼ï¼»NGKI2491ï¼½
 ãï¼TA_STAä»¥å¤ã®ããããã»ããããã¦ããå ´åï¼
-ã»ãã®ä»ï¼éç¥ãã³ãã©ã®çæã«é¢ããã¨ã©ã¼ï¼4.6.13ç¯ï¼ãåç
+ã»ãã®ä»ï¼éç¥ãã³ãã©ã®çæã«é¢ããã¨ã©ã¼ï¼4.6.15ç¯ï¼ãåç
 §
 
@@ -836,5 +852,5 @@
 	- ã¿ã¼ã²ããä¾å­ã®å¤ï¼CHECK_FUNC_ALIGNï¼ã®åæ°ã§ãªãå ´å
 	- NULLã®å ´åï¼ã¿ã¼ã²ããä¾å­ï¼CHECK_FUNC_NONNULLï¼
-ã»ãã®ä»ï¼éç¥ãã³ãã©ã®çæã«é¢ããã¨ã©ã¼ï¼4.6.13ç¯ï¼ãåç
+ã»ãã®ä»ï¼éç¥ãã³ãã©ã®çæã«é¢ããã¨ã©ã¼ï¼4.6.15ç¯ï¼ãåç
 §
 
@@ -885,5 +901,5 @@
 4.6.1 å¤æ°ã®è¨­å®ã«ããã¤ãã³ãéç¥
 
-nfymode1ãTNFY_SETVERï¼å¤æ°ã®è¨­å®ã«ããã¤ãã³ãéç¥ï¼ã®å ´åã«ã¯ï¼ç¶ã2
+nfymode1ãTNFY_SETVARï¼å¤æ°ã®è¨­å®ã«ããã¤ãã³ãéç¥ï¼ã®å ´åã«ã¯ï¼ç¶ã2
 ã¤ã®ãã©ã¡ã¼ã¿ï¼å¤æ°ã®çªå°ã¨è¨­å®ããå¤ï¼ã®æå®ã«å¾ã£ã¦å¤æ°ãè¨­å®ããã
 ã®ã¨ããï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹3ã§ã®ã¨ã©ã¼ãã§ãã¯ãå¯è½ã«ããããã«ï¼
@@ -905,5 +921,29 @@
 ãã£ã®ã¥ã¬ã¼ã¿ã¯ã¨ã©ã¼ãå ±åããï¼
 
-4.6.2 ã¿ã¹ã¯ã®èµ·åã«ããã¤ãã³ãéç¥
+4.6.2 å¤æ°ã®ã¤ã³ã¯ãªã¡ã³ãã«ããã¤ãã³ãã®éç¥
+
+nfymode1ãTNFY_INCVARï¼å¤æ°ã®ã¤ã³ã¯ãªã¡ã³ãã«ããã¤ãã³ãéç¥ï¼ã®å ´åã«
+ã¯ï¼ç¶ã1ã¤ã®ãã©ã¡ã¼ã¿ï¼å¤æ°ã®çªå°ï¼ã®æå®ã«å¾ã£ã¦å¤æ°ãã¤ã³ã¯ãªã¡ã³ã
+ãããã®ã¨ããï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹3ã§ã®ã¨ã©ã¼ãã§ãã¯ãå¯è½ã«ãã
+ããã«ï¼å¤æ°ã®çªå°ã¯ï¼exinfã¨ãã¦éç¥ãã³ãã©ã«æ¸¡ãï¼
+
+å
+·ä½çã«ã¯ï¼ï¼ã¤ãã³ãã®éç¥å¦çï¼ã«ã¯ï¼æ¬¡ã®ã³ã¼ããçæããï¼
+
+	loc_cpu();
+	*((intptr_t *) exinf) += 1;
+	unl_cpu();
+
+å¨æï¼ã¢ã©ã¼ã éç¥åæåãã­ãã¯ã«ç»é²ããnfyhdrã¨exinfã¯ï¼æ¬¡ã®éãã¨ã
+ãï¼
+
+	nfyhdr		_kernel_nfyhdr_<cycid ã¾ãã¯ almid>
+	exinf		ï¼å¤æ°ã®çªå°ï¼
+
+ãªãï¼å¤æ°ã®è¨­å®ã«ããã¤ãã³ãéç¥ã®å ´åï¼ã¨ã©ã¼ãæ¤åºããããã¨ã¯ãªã
+ããï¼ã¨ã©ã¼ã®éç¥ã¯æå³ããªãï¼ã¨ã©ã¼ã®éç¥ãæå®ããã¦ããå ´åï¼ã³ã³
+ãã£ã®ã¥ã¬ã¼ã¿ã¯ã¨ã©ã¼ãå ±åããï¼
+
+4.6.3 ã¿ã¹ã¯ã®èµ·åã«ããã¤ãã³ãéç¥
 
 nfymode1ãTNFY_ACTTSKï¼ã¿ã¹ã¯ã®èµ·åã«ããã¤ãã³ãéç¥ï¼ã®å ´åã«ã¯ï¼ç¶ã
@@ -923,5 +963,5 @@
 	exinf		ï¼ã¿ã¹ã¯IDï¼
 
-4.6.3 ã¿ã¹ã¯ã®èµ·åºã«ããã¤ãã³ãéç¥
+4.6.4 ã¿ã¹ã¯ã®èµ·åºã«ããã¤ãã³ãéç¥
 
 nfymode1ãTNFY_WUPTSKï¼ã¿ã¹ã¯ã®èµ·åºã«ããã¤ãã³ãéç¥ï¼ã®å ´åã«ã¯ï¼ç¶ã
@@ -941,5 +981,5 @@
 	exinf		ï¼ã¿ã¹ã¯IDï¼
 
-4.6.4 ã»ããã©ã®è¿å´ã«ããã¤ãã³ãéç¥
+4.6.5 ã»ããã©ã®è¿å´ã«ããã¤ãã³ãéç¥
 
 nfymode1ãTNFY_SIGSEMï¼ã»ããã©ã®è¿å´ã«ããã¤ãã³ãéç¥ï¼ã®å ´åã«ã¯ï¼ç¶
@@ -959,5 +999,5 @@
 	exinf		ï¼ã»ããã©IDï¼
 
-4.6.5 ã¤ãã³ããã©ã°ã®ã»ããã«ããã¤ãã³ãéç¥
+4.6.6 ã¤ãã³ããã©ã°ã®ã»ããã«ããã¤ãã³ãéç¥
 
 nfymode1ãTNFY_SETFLGï¼ã¤ãã³ããã©ã°ã®ã»ããã«ããã¤ãã³ãéç¥ï¼ã®å ´å
@@ -978,5 +1018,5 @@
 	exinf		ï¼ã¤ãã³ããã©ã°IDï¼
 
-4.6.6 ãã¼ã¿ã­ã¥ã¼ã¸ã®éä¿¡ã«ããã¤ãã³ãéç¥
+4.6.7 ãã¼ã¿ã­ã¥ã¼ã¸ã®éä¿¡ã«ããã¤ãã³ãéç¥
 
 nfymode1ãTNFY_SNDDTQï¼ãã¼ã¿ã­ã¥ã¼ã¸ã®éä¿¡ã«ããã¤ãã³ãéç¥ï¼ã®å ´åã«
@@ -996,7 +1036,7 @@
 	exinf		ï¼ãã¼ã¿ã­ã¥ã¼IDï¼
 
-4.6.7 å¤æ°ã®è¨­å®ã«ããã¨ã©ã¼éç¥
-
-nfymode2ãTENFY_SETVERï¼å¤æ°ã®è¨­å®ã«ããã¨ã©ã¼éç¥ï¼ã®å ´åã«ã¯ï¼ç¶ã1ã¤
+4.6.8 å¤æ°ã®è¨­å®ã«ããã¨ã©ã¼éç¥
+
+nfymode2ãTENFY_SETVARï¼å¤æ°ã®è¨­å®ã«ããã¨ã©ã¼éç¥ï¼ã®å ´åã«ã¯ï¼ç¶ã1ã¤
 ã®ãã©ã¡ã¼ã¿ï¼å¤æ°ã®çªå°ï¼ã®æå®ã«å¾ã£ã¦ï¼ã¨ã©ã¼ã³ã¼ããå¤æ°ã«è¨­å®ãã
 ãã®ã¨ããï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹3ã§ã®ã¨ã©ã¼ãã§ãã¯ãå¯è½ã«ãããã
@@ -1015,5 +1055,25 @@
 													= (intptr_t) ercd;
 
-4.6.8 ã¿ã¹ã¯ã®èµ·åã«ããã¨ã©ã¼éç¥
+4.6.9 å¤æ°ã®ã¤ã³ã¯ãªã¡ã³ãã«ããã¨ã©ã¼éç¥
+
+nfymode2ãTENFY_INCVARï¼å¤æ°ã®ã¤ã³ã¯ãªã¡ã³ãè¨­å®ã«ããã¨ã©ã¼éç¥ï¼ã®å ´
+åã«ã¯ï¼ç¶ã1ã¤ã®ãã©ã¡ã¼ã¿ï¼å¤æ°ã®çªå°ï¼ã®æå®ã«å¾ã£ã¦å¤æ°ãã¤ã³ã¯ãªã¡
+ã³ããããã®ã¨ããï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹3ã§ã®ã¨ã©ã¼ãã§ãã¯ãå¯è½ã«
+ããããã«ï¼å¤æ°ã®çªå°ã¯ï¼ã°ã­ã¼ãã«å¤æ°ãéãã¦ã¦éç¥ãã³ãã©ã«æ¸¡ãï¼
+
+å
+·ä½çã«ã¯ï¼éç¥ãã³ãã©ã®å®ç¾©ã«å
+ç«ã¡ï¼æ¬¡ã®ã³ã¼ããçæããï¼
+
+	intptr_t *const _kernel_nfyhdr_<cycid ã¾ãã¯ almid>_p_evar
+										= (intptr_t *)(ï¼å¤æ°ã®çªå°ï¼);
+
+ã¾ãï¼ï¼ã¨ã©ã¼ã®éç¥å¦çï¼ã«ã¯ï¼æ¬¡ã®ã³ã¼ããçæããï¼
+
+	loc_cpu();
+	*((intptr_t *) _kernel_nfyhdr_<cycid ã¾ãã¯ almid>_p_evar) += 1;
+	unl_cpu();
+
+4.6.10 ã¿ã¹ã¯ã®èµ·åã«ããã¨ã©ã¼éç¥
 
 nfymode2ãTENFY_ACTTSKï¼ã¿ã¹ã¯ã®èµ·åã«ããã¨ã©ã¼éç¥ï¼ã®å ´åã«ã¯ï¼ç¶ã
@@ -1033,5 +1093,5 @@
 	act_tsk(_kernel_nfyhdr_<cycid ã¾ãã¯ almid>_etskid);
 
-4.6.9 ã¿ã¹ã¯ã®èµ·åºã«ããã¨ã©ã¼éç¥
+4.6.11 ã¿ã¹ã¯ã®èµ·åºã«ããã¨ã©ã¼éç¥
 
 nfymode2ãTENFY_WUPTSKï¼ã¿ã¹ã¯ã®èµ·åºã«ããã¨ã©ã¼éç¥ï¼ã®å ´åã«ã¯ï¼ç¶ã
@@ -1051,5 +1111,5 @@
 	wup_tsk(_kernel_nfyhdr_<cycid ã¾ãã¯ almid>_ptskid);
 
-4.6.10 ã»ããã©ã®è¿å´ã«ããã¨ã©ã¼éç¥
+4.6.12 ã»ããã©ã®è¿å´ã«ããã¨ã©ã¼éç¥
 
 nfymode2ãTENFY_SIGSEMï¼ã»ããã©ã®è¿å´ã«ããã¨ã©ã¼éç¥ï¼ã®å ´åã«ã¯ï¼ç¶
@@ -1069,5 +1129,5 @@
 	sig_sem(_kernel_nfyhdr_<cycid ã¾ãã¯ almid>_esemid);
 
-4.6.11 ã¤ãã³ããã©ã°ã®ã»ããã«ããã¨ã©ã¼éç¥
+4.6.13 ã¤ãã³ããã©ã°ã®ã»ããã«ããã¨ã©ã¼éç¥
 
 nfymode2ãTENFY_SETFIGï¼ã¤ãã³ããã©ã°ã®ã»ããã«ããã¨ã©ã¼éç¥ï¼ã®å ´å
@@ -1089,5 +1149,5 @@
 										ï¼ã»ããããããããã¿ã¼ã³ï¼);
 
-4.6.12 ãã¼ã¿ã­ã¥ã¼ã¸ã®éä¿¡ã«ããã¨ã©ã¼éç¥
+4.6.14 ãã¼ã¿ã­ã¥ã¼ã¸ã®éä¿¡ã«ããã¨ã©ã¼éç¥
 
 nfymode2ãTENFY_SNDDTQï¼ãã¼ã¿ã­ã¥ã¼ã¸ã®éä¿¡ã«ããã¨ã©ã¼éç¥ï¼ã®å ´åã«
@@ -1108,5 +1168,5 @@
 	snd_dtq(_kernel_nfyhdr_<cycid ã¾ãã¯ almid>_edtqid, (intptr_t) ercd);
 
-4.6.13 ã¨ã©ã¼æ¡ä»¶
+4.6.15 ã¨ã©ã¼æ¡ä»¶
 
 éç¥ãã³ãã©ã®çæã«é¢ããã¨ã©ã¼æ¡ä»¶ã¯æ¬¡ã®éãã§ããï¼
Index: asp3_wo_tecs/trunk/doc/design.txt
===================================================================
--- asp3_wo_tecs/trunk/doc/design.txt	(revision 302)
+++ asp3_wo_tecs/trunk/doc/design.txt	(revision 306)
@@ -3,6 +3,6 @@
 		è¨­è¨ã¡ã¢
 
-		å¯¾å¿ãã¼ã¸ã§ã³: Release 3.B.0
-		æçµæ´æ°: 2016å¹´1æ3æ¥
+		å¯¾å¿ãã¼ã¸ã§ã³: Release 3.1.0
+		æçµæ´æ°: 2016å¹´1æ31æ¥
 
 ãã®ãã­ã¥ã¡ã³ãã¯ï¼TOPPERS/ASP3ã«ã¼ãã«ã®è¨­è¨ã¡ã¢ã§ããï¼ä½æéä¸­ã®ã
@@ -62,5 +62,5 @@
  ã®è²¬ä»»ãè² ããªãï¼
  
- $Id: design.txt 480 2016-01-03 07:37:12Z ertl-hiro $
+ $Id: design.txt 724 2016-04-02 21:36:23Z ertl-hiro $
 ----------------------------------------------------------------------
 
@@ -1347,15 +1347,54 @@
 æ´ããã¦ãï¼kernel_cfg.hã®å
 å®¹ã¯æ´æ°ãããªãå ´åãå¤ãï¼ãã®ãããªå ´åï¼
-åã³ã³ãã¤ã«ã¯ä¸è¦ãªã¯ãã§ããï¼
-
-ãã®åé¡ãè§£æ±ºããä¸è¬çãªææ³ã¨ãã¦ï¼move-if-changeã¹ã¯ãªãããä½¿ãï¼
-kernel_cfg.hã®å
-å®¹ãå¤ãã£ãå ´åã®ã¿ï¼ãã®ã¿ã¤ã ã¹ã¿ã³ããæ´æ°ããæ¹æ³
-ãããï¼ãã®å ´åï¼kernel_cfg.hãçæããã¿ã¼ã²ããã¯ï¼ã¿ã¤ã ã¹ã¿ã³ããã¡
-ã¤ã«ã«ãï¼çæå¾ã«ã¿ã¤ã ã¹ã¿ã³ããã¡ã¤ã«ãtouchããå¿
-è¦ãããï¼ãã®ãã
-ã«ããªãã¨ï¼kernel_cfg.hã¯ï¼å¤æ´ãããããããã¡ã¤ã«ã«ä¾å­ããããï¼æ¬¡
-åä»¥éã®makeã§ãå¿
-ãkernel_cfg.hã®çææé ãå®è¡ããã¦ãã¾ãï¼ï¼
+åã³ã³ãã¤ã«ã¯ä¸è¦ãªã¯ãã§ããï¼åãåé¡ã¯ï¼TECSã¸ã§ãã¬ã¼ã¿ãçæãã
+ãã¡ã¤ã«ãoffset.hã§ãçºçããï¼ä»¥ä¸ã§ã¯ï¼ãã®åé¡ãè§£æ±ºããæ¹æ³ã«ã¤ã
+ã¦æ¤è¨ããï¼
+
+ã¾ãï¼ãã®ã±ã¼ã¹ãä¸è¬åãï¼TOOL-1ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ï¼ãFILE-Aï¼ã·ã¹
+ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ï¼ããFILE-Bï¼kernel_cfg.hï¼ãçæãï¼
+TOOL-2ï¼ã³ã³ãã¤ã©ï¼ãFILE-Bï¼kernel_cfg.hï¼ããFILE-Cï¼ãªãã¸ã§ã¯ããã¡
+ã¤ã«ï¼ãçæããç¶æ³ãèããï¼ãã®ç¶æ³ãç´ ç´ã«ã«ã¼ã«è¨è¿°ããã¨ï¼æ¬¡ã®ã
+ãã«ãªãï¼
+
+FILE-B: FILE-A
+	TOOL-1 < FILE-A > FILE-B
+
+FILE-C: FILE-B
+	TOOL-2 < FILE-B > FILE-C
+
+ããã§ï¼FILE-Aãæ´æ°ããã¦ãFILE-Bã®å
+å®¹ãå¤ããã¨ã¯éããªããã®ã¨ãï¼
+FILE-Bã®å
+å®¹ãå¤ãããªãã£ãå ´åã«ï¼TOOL-2ã«ããFILE-Cã®åçæãé¿ãã
+æ¹ç­ãæ¤è¨ããï¼
+
+ãã®ããã«ï¼ã¾ãï¼TOOL-1ã¯ï¼FILE-Bã®å
+å®¹ãå¤ãããªãå ´åã«ã¯ï¼FILE-Bã®
+æçµæ´æ°æå»ãæ´æ°ããªããã®ã¨ããï¼ããã«ããï¼FILE-Bã®å
+å®¹ãå¤ãããª
+ãã£ãå ´åã«ï¼TOOL-2ãå®è¡ããããã¨ã¯ãªããªããï¼FILE-BãFILE-Aããã
+å¤ãç¶æ
+ã¨ãªãããï¼makeããåº¦ã«ï¼ã ãã«ï¼TOOL-1ãåä½ãã¦ãã¾ãï¼
+
+ãããè§£æ±ºããããã«ï¼TOOL-1ãæå¾ã«å®è¡ãããæå»ãä¿æããããã®ã¿ã¤
+ã ã¹ã¿ã³ããã¡ã¤ã«ãä½¿ãæ¹æ³ãç¥ããã¦ããï¼å
+·ä½çã«ã¯ï¼FILE-Bã®ã¿ã¤ã 
+ã¹ã¿ã³ããã¡ã¤ã«ãTIMESTAMP-Bã¨ãï¼æ¬¡ã®ããã«ã«ã¼ã«ãè¨è¿°ããï¼
+
+FILE-B: TIMESTAMP-B ;
+
+TIMESTAMP-B: FILE-A
+	TOOL-1 < FILE-A > FILE-B
+	touch TIMESTAMP-B
+
+ãã®ã«ã¼ã«ã§ã¯ï¼FILE-BãFILE-Aãããå¤ãç¶æ
+ã«ãªã£ã¦ãï¼makeãä¸åº¦å®è¡
+ãããã¨ã§TIMESTAMP-Bã¯FILE-Aããæ°ãããªãããï¼ä»¥éã®makeã®åº¦ã«å®è¡ã
+ããã®ã¯ãFILE-B: TIMESTAMP-Bãã«å¯¾ããã³ãã³ãï¼ä¸ã®è¨è¿°ã§ã¯ç©ºã®ã³ãã³
+ãï¼ã®ã¿ã¨ãªãï¼ããã§ã ãããªãããï¼
+
+ããã§ï¼ãFILE-B: TIMESTAMP-Bãã®å¾ã®ã;ãã¯ç©ºã®ã³ãã³ããè¡¨ããã®ã§ã
+ããï¼ããããªãã¨æ­£ããåä½ããªãå ´åãããï¼ãã®åå ã¯ããã£ã¦ããª
+ãï¼ï¼
 
 ãã ãï¼ã¿ã¤ã ã¹ã¿ã³ããã¡ã¤ã«ãtouchããæ¹æ³ã«ã¯ï¼éå»ã«ï¼Windowsã¨
@@ -1365,21 +1404,27 @@
 	http://dev.toppers.jp/trac/asp/ticket/286
 
-ãã®åé¡ãåé¿ããããã«ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã«ãã£ã¦ã¿ã¤ã ã¹ã¿ã³ããã¡
-ã¤ã«ãçæããæ¹æ³ãã¨ãï¼
-
-ããã¨åãåé¡ã¯ï¼offset.hã«ãå­å¨ããããï¼åæ§ã«å¯¾å¦ããï¼
-
-ãªãï¼kernel_cfg.cã«åãæ¹æ³ãé©ç¨ãã¦ããããï¼åå®è¡ãé²ããå¯è½æ§ã
-ããå¦çãkernel_cfg.cã®ã³ã³ãã¤ã«ã ãã§ï¼ãããåå®è¡ãå¿
-è¦ãªå ´åãå¤
-ãããï¼ã¡ãªãããå°ããã¨èãã¦é©ç¨ããªããã¨ã«ããï¼
-
-ãªãï¼ASPã«ã¼ãã«ã«ãããå¯¾å¿ã¯ï¼move-if-changeãç¨ãã¦ããªãã£ãããã«ï¼
-ãã¾ãæå³ããªãã£ãï¼ããã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ãå
-å®¹ãæ´æ°ããã¦ããª
-ããã¡ã¤ã«ã®ã¿ã¤ãã¹ã¿ã³ããæ¸ãæããªããã¨ãæ³å®ãã¦ããããã§ãã
-ï¼ãã®æ³å®ä¸ã§ãï¼"touch -r"ãç¨ããå¯¾å¿ã¯ä¸é©åã ã£ãï¼ï¼ã³ã³ãã£ã®ã¥
-ã¬ã¼ã¿ããã®ããã«æ¹é ãããã¨ãé£ãããªããï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã«ãã£
-ã¦ã¿ã¤ã ã¹ã¿ã³ããçæããæ¹æ³ã¯ä½¿ããªããªãï¼
+ãã®åé¡ãåé¿ããããã«ã¯ï¼TOOL-1ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ï¼ãã¿ã¤ã ã¹ã¿ã³
+ããã¡ã¤ã«ãçæããã°ããï¼ã¾ãã¯ï¼TOOL-1ã®å®è¡ã«ããï¼å¿
+ãæçµæ´æ°æ
+å»ãæ´æ°ããããã¡ã¤ã«ãããå ´åã«ã¯ï¼ãã®ãã¡ã¤ã«ãã¿ã¤ã ã¹ã¿ã³ããã¡
+ã¤ã«ä»£ããã«ä½¿ã£ã¦ãè¯ãï¼
+
+ASP3ã«ã¼ãã«ã§ã¯ï¼TOOL-1ã«ç¸å½ãããã¼ã«ã¨ãã¦ï¼TECSã¸ã§ãã¬ã¼ã¿ã¨ã³ã³
+ãã£ã®ã¥ã¬ã¼ã¿ãããï¼ãã®2ã¤ã®ãã¼ã«ã¯ï¼åºåãã¡ã¤ã«ã®å
+å®¹ãå¤ãããªã
+å ´åã«ã¯ï¼åºåãã¡ã¤ã«ã®æçµæ´æ°æå»ãæ´æ°ããªãããã«å®è£
+ããï¼
+
+TECSã¸ã§ãã¬ã¼ã¿ã¨ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®åãã¹ã«å¯¾å¿ããã¿ã¤ã ã¹ã¿ã³ããã¡
+ã¤ã«ã¯ä»¥ä¸ã®éãã¨ããï¼
+
+	TECSã¸ã§ãã¬ã¼ã¿					gen/tecsgen.timestamp
+	ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹1			cfg1_out.timestamp
+	ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹2			kernel_cfg.timestamp
+	ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹3			check.timestamp
+	ãªãã»ãããã¡ã¤ã«çæã®ããã®		offset.timestamp
+	ãããã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹
+
+ãªãï¼ASP1ã«ã¼ãã«ã«ãããå¯¾å¿ã¯ä¸ååã§ããï¼æ­£ããæ©è½ãã¦ããªãã£ãï¼
 
 ä»¥ä¸
Index: asp3_wo_tecs/trunk/doc/extension.txt
===================================================================
--- asp3_wo_tecs/trunk/doc/extension.txt	(revision 302)
+++ asp3_wo_tecs/trunk/doc/extension.txt	(revision 306)
@@ -3,6 +3,6 @@
 		æ©è½æ¡å¼µã»ãã¥ã¼ãã³ã°ã¬ã¤ã
 
-		å¯¾å¿ãã¼ã¸ã§ã³: Release 3.B.0
-		æçµæ´æ°: 2015å¹´8æ21æ¥
+		å¯¾å¿ãã¼ã¸ã§ã³: Release 3.1
+		æçµæ´æ°: 2016å¹´3æ31æ¥
 
 ãã®ãã­ã¥ã¡ã³ãã¯ï¼TOPPERS/ASPã«ã¼ãã«3ãï¼æ©è½æ¡å¼µã»ãã¥ã¼ãã³ã°ãã
@@ -14,5 +14,5 @@
      Advanced Standard Profile Kernel
 
- Copyright (C) 2005-2015 by Embedded and Real-Time Systems Laboratory
+ Copyright (C) 2005-2016 by Embedded and Real-Time Systems Laboratory
              Graduate School of Information Science, Nagoya Univ., JAPAN
  
@@ -61,5 +61,5 @@
  ã®è²¬ä»»ãè² ããªãï¼
  
- $Id: extension.txt 458 2015-08-21 14:59:09Z ertl-hiro $
+ $Id: extension.txt 716 2016-03-31 06:16:23Z ertl-hiro $
 ----------------------------------------------------------------------
 
@@ -211,4 +211,25 @@
 ç¨ã§ãããã©ãããå¤å¥ãããã¨ãã§ããï¼
 
+ã¡ãã»ã¼ã¸ãããã¡æ©è½æ¡å¼µããã±ã¼ã¸ã§ã¯ï¼ã¡ãã»ã¼ã¸ãããã¡ã«å¯¾ããé
+ä¿¡å¾
+ã¡ç¶æ
+ã®ã¿ã¹ã¯ãè¤æ°å¾
+ã¡è§£é¤ãããå ´åãããï¼ãã®å ´åï¼ãµã¼ãã¹ã³ã¼
+ã«ã®å®è¡æéããã³ã«ã¼ãã«å
+ã§ã®å²è¾¼ã¿ç¦æ­¢æéãï¼å¾
+ã¡è§£é¤ãããã¿ã¹ã¯
+ã®æ°ã®æ°ã®ãªã¼ãã§é·ããªãã®ã§æ³¨æãå¿
+è¦ã§ããï¼ã¡ãã»ã¼ã¸ãããã¡ã«å¯¾
+ããéä¿¡å¾
+ã¡ç¶æ
+ã®ã¿ã¹ã¯ãè¤æ°å¾
+ã¡è§£é¤ãããã®ã¯ï¼ã¡ãã»ã¼ã¸ãããã¡ç®¡
+çé åã«æ ¼ç´ãããã¡ãã»ã¼ã¸ãåä¿¡ãããçµæï¼ç®¡çé åã«ç©ºãé åãçã
+ãå ´åã«å ãã¦ï¼éä¿¡å¾
+ã¡è¡åã®å
+é ­ã«ã¤ãªããã¦ããã¿ã¹ã¯ã®å¼·å¶çµäºãå¾
+
+ã¡è§£é¤ã®å ´åã«ãçããï¼
+
 ã¡ãã»ã¼ã¸ãããã¡æ©è½æ¡å¼µããã±ã¼ã¸ã«ããè¿½å ããããµã¼ãã¹ã³ã¼ã«
 
@@ -225,4 +246,9 @@
 
 	CRE_MBF(ID mbfid, { ATR mbfatr, uint_t maxmsz, size_t mbfsz, void *mbfmb })
+
+ã¡ãã»ã¼ã¸ãããã¡æ©è½æ¡å¼µããã±ã¼ã¸ã§ã¯ï¼memcpyãä½¿ç¨ãã¦ããããï¼æ¨
+æºCã©ã¤ãã©ãªãå¿
+è¦ã§ããï¼æ¨æºCã©ã¤ãã©ãªãç¨æããä»£ããã«ï¼memcpyé¢
+æ°ã®ã¿ãèªåã§ç¨æãã¦ãããï¼
 
 âãªã¼ãã©ã³ãã³ãã©æ©è½æ¡å¼µããã±ã¼ã¸
@@ -329,5 +355,5 @@
 §ãããã¨ï¼
 
-åçæ©è½æ¡å¼µæ¡å¼µããã±ã¼ã¸ã§ã¯ï¼TOPPERS_SUPPORT_DYNAMIC_CREãkernel.hä¸­
+åççææ©è½æ¡å¼µããã±ã¼ã¸ã§ã¯ï¼TOPPERS_SUPPORT_DYNAMIC_CREãkernel.hä¸­
 ã§å®ç¾©ããã¦ããã®ã§ï¼ãããç¨ãã¦åççææ©è½ãä½¿ç¨ã§ãããã©ãããå¤
 å¥ãããã¨ãã§ããï¼
@@ -370,4 +396,15 @@
 	DEF_KMM({ SIZE kmmsz, STK_T *kmm })
 
+åççææ©è½æ¡å¼µããã±ã¼ã¸ã§ã¯ï¼del_yyyã§åé¤ãããªãã¸ã§ã¯ãã«å¯¾ããå¾
+
+ã¡ç¶æ
+ã®ã¿ã¹ã¯ãè¤æ°ããã¨ï¼del_yyyã«ããï¼è¤æ°ã®ã¿ã¹ã¯ãå¾
+ã¡è§£é¤ãããï¼
+ãã®å ´åï¼ãµã¼ãã¹ã³ã¼ã«ã®å®è¡æéããã³ã«ã¼ãã«å
+ã§ã®å²è¾¼ã¿ç¦æ­¢æéãï¼
+å¾
+ã¡è§£é¤ãããã¿ã¹ã¯ã®æ°ã®ãªã¼ãã§é·ããªãã®ã§æ³¨æãå¿
+è¦ã§ããï¼
+
 ----------------------------------------------------------------------
 DEF_KMM		ã«ã¼ãã«ãå²ãä»ããã¡ã¢ãªé åã®è¨­å®ãSDã
@@ -375,4 +412,5 @@
 ãéçAPIã
 	DEF_KMM({ SIZE kmmsz, STK_T *kmm })
+	â» kmmã®è¨è¿°ã¯çç¥ãããã¨ãã§ããï¼
 
 ããã©ã¡ã¼ã¿ã
@@ -401,8 +439,8 @@
 kmmszã¯æ´æ°å®æ°å¼ãã©ã¡ã¼ã¿ï¼kmmã¯ä¸è¬å®æ°å¼ãã©ã¡ã¼ã¿ã§ããï¼
 
-kmmãNULLã¨ããå ´åï¼kmmszã§æå®ãããµã¤ãºã®ã¡ã¢ãªé åãï¼ã³ã³ãã£ã®ã¥
-ã¬ã¼ã¿ãç¢ºä¿ããï¼kmmszã«ã¿ã¼ã²ããå®ç¾©ã®å¶ç´ã«åè´ããªããµã¤ãºãæå®ã
-ãæã«ã¯ï¼ã¿ã¼ã²ããå®ç¾©ã®å¶ç´ã«åè´ããããã«ãµã¤ãºãå¤§ããæ¹ã«ä¸¸ãã¦
-ç¢ºä¿ããï¼
+kmmã®è¨è¿°ãçç¥ãããï¼kmmãNULLã¨ããå ´åï¼kmmszã§æå®ãããµã¤ãºã®ã¡ã¢
+ãªé åãï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ãç¢ºä¿ããï¼kmmszã«ã¿ã¼ã²ããå®ç¾©ã®å¶ç´ã«å
+è´ããªããµã¤ãºãæå®ããæã«ã¯ï¼ã¿ã¼ã²ããå®ç¾©ã®å¶ç´ã«åè´ããããã«ãµ
+ã¤ãºãå¤§ããæ¹ã«ä¸¸ãã¦ç¢ºä¿ããï¼
 
 ã«ã¼ãã«ãå²ãä»ããã¡ã¢ãªé åãã¢ããªã±ã¼ã·ã§ã³ã§ç¢ºä¿ããå ´åã«ã¯ï¼
Index: asp3_wo_tecs/trunk/doc/migration.txt
===================================================================
--- asp3_wo_tecs/trunk/doc/migration.txt	(revision 306)
+++ asp3_wo_tecs/trunk/doc/migration.txt	(revision 306)
@@ -0,0 +1,609 @@
+
+		TOPPERS/ASP3ã«ã¼ãã«
+		TOPPERS/ASP3ã«ã¼ãã«ã¸ã®ãã¤ã°ã¬ã¼ã·ã§ã³ã¬ã¤ã
+
+		å¯¾å¿ãã¼ã¸ã§ã³: Release 3.1
+		æçµæ´æ°: 2016å¹´2æ3æ¥
+
+ãã®ãã­ã¥ã¡ã³ãã¯ï¼TOPPERS/ASPã«ã¼ãã« Release 1.Xï¼ä»¥ä¸ï¼ASP1ã«ã¼ãã«ï¼
+ãTOPPERS/JSPã«ã¼ãã«ï¼ä»¥ä¸ï¼JSPã«ã¼ãã«ï¼ï¼ä»ã®Î¼ITRON4.0ä»æ§æºæ ã®ã«ã¼
+ãã«ä¸ã®ã¢ããªã±ã¼ã·ã§ã³ãï¼TOPPERS/ASP3ã«ã¼ãã«ï¼TOPPERS/ASPã«ã¼ãã«
+Release 3.Xï¼ä»¥ä¸ï¼ASP3ã«ã¼ãã«ï¼ã«ãã¼ãã£ã³ã°ããããã®æ¹æ³ï¼ã¾ãã¯ã
+ã³ãï¼ãèª¬æãããã®ã§ããï¼
+
+----------------------------------------------------------------------
+ TOPPERS/ASP Kernel
+     Toyohashi Open Platform for Embedded Real-Time Systems/
+     Advanced Standard Profile Kernel
+
+ Copyright (C) 2005-2016 by Embedded and Real-Time Systems Laboratory
+             Graduate School of Information Science, Nagoya Univ., JAPAN
+ 
+ ä¸è¨èä½æ¨©è
+ã¯ï¼ä»¥ä¸ã®(1)ã(4)ã®æ¡ä»¶ãæºããå ´åã«éãï¼æ¬ã½ããã¦ã§
+ ã¢ï¼æ¬ã½ããã¦ã§ã¢ãæ¹å¤ãããã®ãå«ãï¼ä»¥ä¸åãï¼ãä½¿ç¨ã»è¤è£½ã»æ¹
+ å¤ã»åé
+å¸ï¼ä»¥ä¸ï¼å©ç¨ã¨å¼ã¶ï¼ãããã¨ãç¡åã§è¨±è«¾ããï¼
+ (1) æ¬ã½ããã¦ã§ã¢ãã½ã¼ã¹ã³ã¼ãã®å½¢ã§å©ç¨ããå ´åã«ã¯ï¼ä¸è¨ã®èä½
+     æ¨©è¡¨ç¤ºï¼ãã®å©ç¨æ¡ä»¶ããã³ä¸è¨ã®ç¡ä¿è¨¼è¦å®ãï¼ãã®ã¾ã¾ã®å½¢ã§ã½ã¼
+     ã¹ã³ã¼ãä¸­ã«å«ã¾ãã¦ãããã¨ï¼
+ (2) æ¬ã½ããã¦ã§ã¢ãï¼ã©ã¤ãã©ãªå½¢å¼ãªã©ï¼ä»ã®ã½ããã¦ã§ã¢éçºã«ä½¿
+     ç¨ã§ããå½¢ã§åé
+å¸ããå ´åã«ã¯ï¼åé
+å¸ã«ä¼´ããã­ã¥ã¡ã³ãï¼å©ç¨
+     è
+ããã¥ã¢ã«ãªã©ï¼ã«ï¼ä¸è¨ã®èä½æ¨©è¡¨ç¤ºï¼ãã®å©ç¨æ¡ä»¶ããã³ä¸è¨
+     ã®ç¡ä¿è¨¼è¦å®ãæ²è¼ãããã¨ï¼
+ (3) æ¬ã½ããã¦ã§ã¢ãï¼æ©å¨ã«çµã¿è¾¼ããªã©ï¼ä»ã®ã½ããã¦ã§ã¢éçºã«ä½¿
+     ç¨ã§ããªãå½¢ã§åé
+å¸ããå ´åã«ã¯ï¼æ¬¡ã®ããããã®æ¡ä»¶ãæºããã
+     ã¨ï¼
+   (a) åé
+å¸ã«ä¼´ããã­ã¥ã¡ã³ãï¼å©ç¨è
+ããã¥ã¢ã«ãªã©ï¼ã«ï¼ä¸è¨ã®è
+       ä½æ¨©è¡¨ç¤ºï¼ãã®å©ç¨æ¡ä»¶ããã³ä¸è¨ã®ç¡ä¿è¨¼è¦å®ãæ²è¼ãããã¨ï¼
+   (b) åé
+å¸ã®å½¢æ
+ãï¼å¥ã«å®ããæ¹æ³ã«ãã£ã¦ï¼TOPPERSãã­ã¸ã§ã¯ãã«
+       å ±åãããã¨ï¼
+ (4) æ¬ã½ããã¦ã§ã¢ã®å©ç¨ã«ããç´æ¥çã¾ãã¯éæ¥çã«çãããããªãæ
+     å®³ãããï¼ä¸è¨èä½æ¨©è
+ããã³TOPPERSãã­ã¸ã§ã¯ããå
+è²¬ãããã¨ï¼
+     ã¾ãï¼æ¬ã½ããã¦ã§ã¢ã®ã¦ã¼ã¶ã¾ãã¯ã¨ã³ãã¦ã¼ã¶ããã®ãããªãç
+     ç±ã«åºã¥ãè«æ±ãããï¼ä¸è¨èä½æ¨©è
+ããã³TOPPERSãã­ã¸ã§ã¯ãã
+     å
+è²¬ãããã¨ï¼
+ 
+ æ¬ã½ããã¦ã§ã¢ã¯ï¼ç¡ä¿è¨¼ã§æä¾ããã¦ãããã®ã§ããï¼ä¸è¨èä½æ¨©è
+ã
+ ãã³TOPPERSãã­ã¸ã§ã¯ãã¯ï¼æ¬ã½ããã¦ã§ã¢ã«é¢ãã¦ï¼ç¹å®ã®ä½¿ç¨ç®ç
+ ã«å¯¾ããé©åæ§ãå«ãã¦ï¼ãããªãä¿è¨¼ãè¡ããªãï¼ã¾ãï¼æ¬ã½ããã¦ã§
+ ã¢ã®å©ç¨ã«ããç´æ¥çã¾ãã¯éæ¥çã«çãããããªãæå®³ã«é¢ãã¦ãï¼ã
+ ã®è²¬ä»»ãè² ããªãï¼
+ 
+ $Id: migration.txt 724 2016-04-02 21:36:23Z ertl-hiro $
+----------------------------------------------------------------------
+
+âç®æ¬¡
+
+ã»é¢é£ãã­ã¥ã¡ã³ã
+ã»ASP1ã«ã¼ãã«ã¨ã®ã¢ããªã±ã¼ã·ã§ã³ã®æ§ç¯ç°å¢ã®éã
+	- æ§ç¯æé 
+	- ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ã«å«ããã¹ãå
+å®¹
+	- TECSãç¨ãã¦å®è£
+ãããã·ã¹ãã ãµã¼ãã¹ã®ä½¿ç¨
+	- ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªããã®ä»æ§ã®éã
+	- ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ä»æ§ã®éã
+ã»ASP1ã«ã¼ãã«ã¨ã®ã«ã¼ãã«ä»æ§ã®éã
+	- æéã®åä½
+	- å¨æãã³ãã©ã¨ã¢ã©ã¼ã ãã³ãã©
+	- ã¿ã¹ã¯ä¾å¤å¦ç
+	- ã¡ã¼ã«ããã¯ã¹
+	- ãã®ä»ã®éã
+ã»Î¼ITRON4.0ä»æ§ããã®ç§»è¡
+	- ãã¼ã¿åã¨å®æ°ã®å¤æ´
+	- ãªãã¸ã§ã¯ãå±æ§ã®å¤æ´
+	- ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ã®å¤æ´
+	- ãªãã¸ã§ã¯ãIDã®èªåå²ä»ãã¸ã®å¯¾å¿
+	- ããããã¡ã¤ã«ã®å¤æ´
+	- sta_tskã®ç½®ãæã
+	- å¨æãã³ãã©ã®éäºææ§
+
+
+âé¢é£ãã­ã¥ã¡ã³ã
+
+ASP3ã«ã¼ãã«ã®ä»æ§ã®æ¦è¦ãèª¬æãããã­ã¥ã¡ã³ãã¨ãã¦ï¼ãTOPPERS/ASP3ã«ã¼
+ãã«ã®ä»æ§æ¦è¦ããããï¼ãã®ãã­ã¥ã¡ã³ãã§ã¯ï¼ASP3ã«ã¼ãã«ã®ä»æ§ãï¼
+Î¼ITRON4.0ä»æ§ã®ã¹ã¿ã³ãã¼ããã­ãã¡ã¤ã«ï¼JSPã«ã¼ãã«ï¼ASP1ã«ã¼ãã«ãã
+ã®å¤æ´ç®æããããããã«èª¬æãã¦ããï¼
+
+ASP3ã«ã¼ãã«ã®è©³ç´°ãªä»æ§ã«ã¤ãã¦ã¯ï¼ãTOPPERSç¬¬3ä¸ä»£ã«ã¼ãã«ï¼ITRONç³»ï¼
+çµ±åä»æ§æ¸ãã§è¦å®ãã¦ããï¼ãã®ä»æ§æ¸ã§ãï¼Î¼ITRON4.0ä»æ§ï¼JSPã«ã¼ãã«
+ã¯ãã®ä»æ§ã«æºæ ï¼ããã³TOPPERSæ°ä¸ä»£ã«ã¼ãã«çµ±åä»æ§ï¼ASP1ã«ã¼ãã«ã¯ã
+ã®ä»æ§ã«æºæ ï¼ã¨ã®éããè¨è¼ãã¦ããï¼
+
+
+âASP1ã«ã¼ãã«ã¨ã®ã¢ããªã±ã¼ã·ã§ã³ã®æ§ç¯ç°å¢ã®éã
+
+ãã®ç« ã§ã¯ï¼ASP3ã«ã¼ãã«ã®æ¨æºã®ã¢ããªã±ã¼ã·ã§ã³ã®æ§ç¯ç°å¢ãï¼ASP1ã«ã¼
+ãã«ããã©ã®ããã«å¤æ´ããããã«ã¤ãã¦èª¬æããï¼
+
+âæ§ç¯æé 
+
+ASP1ã«ã¼ãã«ã®ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªããï¼configureï¼ã¯ï¼ããã©ã«
+ãã§ã¯ãµã³ãã«ãã­ã°ã©ã ãã«ã¬ã³ããã£ã¬ã¯ããªã«ã³ãã¼ãã¦ãããï¼ASP3
+ã«ã¼ãã«ã§ã¯ã³ãã¼ãè¡ããï¼ãµã³ãã«ãã­ã°ã©ã ã®ãã£ã¬ã¯ããªã«ãããã¡
+ã¤ã«ãç´æ¥åç
+§ããï¼
+
+ASP1ã«ã¼ãã«ã®æ¨æºã®æ§ç¯æé ã§ã¯ï¼ãmake dependãã«ããä¾å­é¢ä¿ãã¡ã¤ã«
+ãä½æãã¦ããï¼ãmakeãã«ããã­ã¼ãã¢ã¸ã¥ã¼ã«ãçæãã¦ãããï¼ASP3ã«ã¼
+ãã«ã§ã¯ä¾å­é¢ä¿ãã¡ã¤ã«ãèªåçã«ä½æããããï¼ãmake dependããå®è¡ã
+ãå¿
+è¦ã¯ãªãï¼
+
+âã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ã«å«ããã¹ãå
+å®¹
+
+ASP3ã«ã¼ãã«ã§ã¯ï¼ã«ã¼ãã«ãå¿
+è¦ã¨ããã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³è¨è¿°ãï¼ã¢
+ããªã±ã¼ã·ã§ã³ã®ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ã¨ã¯å¥ã®ãã¡ã¤ã«
+ã«ç¨æãï¼æ¨æºã®Makefileã§ã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹1ã«ãããèª­ã¿è¾¼ã¾
+ãã¦ããï¼ãã®ããï¼ASP1ã«ã¼ãã«ã§ã¯ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡
+ã¤ã«ã«è¨è¿°ããªããã°ãªããªãã£ãä»¥ä¸ã®è¡ã¯ï¼ASP3ã«ã¼ãã«ã§ã¯åé¤ããªã
+ãã°ãªããªãï¼
+
+----------------------------------------
+INCLUDE("target_timer.cfg");
+----------------------------------------
+
+âTECSãç¨ãã¦å®è£
+ãããã·ã¹ãã ãµã¼ãã¹ã®ä½¿ç¨
+
+ASP3ã«ã¼ãã«ã®é
+å¸ããã±ã¼ã¸ã«å«ã¾ããã·ã¹ãã ãµã¼ãã¹ã¯ï¼ASP1ã«ã¼ãã«
+ã«å«ã¾ãããã®ã¨ã»ã¼äºæã®æ©è½ãï¼TOPPERSçµè¾¼ã¿ã³ã³ãã¼ãã³ãã·ã¹ãã 
+ï¼TECSï¼ãç¨ãã¦å®ç¾ãã¦ããï¼ãã®ããï¼ASP1ã«ã¼ãã«ã®é
+å¸ããã±ã¼ã¸ã«
+å«ã¾ããã·ã¹ãã ãµã¼ãã¹ãç¨ããã¢ããªã±ã¼ã·ã§ã³ãï¼ASP3ã«ã¼ãã«ã«ãã¼
+ãã£ã³ã°ããéã«ã¯ï¼ä»¥ä¸ã®ä¿®æ­£ãå¿
+è¦ã§ããï¼
+
+TECSã§è¨è¿°ãããã·ã¹ãã ãµã¼ãã¹ãç¨ãã¦ã·ã¹ãã ãæ§ç¯ããéã«ã¯ï¼ã·ã¹
+ãã ãµã¼ãã¹ã®æ§æãè¨è¿°ããã³ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«ãç¨æãããã¨ã
+å¿
+è¦ã§ããï¼ãµã³ãã«ãã­ã°ã©ã ï¼sample1ï¼ã¨åæ§ã«ï¼ã·ã¹ãã ã­ã°æ©è½ï¼ã·
+ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãï¼ã·ã¹ãã ã­ã°ã¿ã¹ã¯ï¼ã«ã¼ãã«èµ·åã¡ãã»ã¼
+ã¸åºåã®4ã¤ã®ã·ã¹ãã ãµã¼ãã¹ãç¨ããå ´åã«ã¯ï¼ãµã³ãã«ãã­ã°ã©ã ç¨ã®ã³
+ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«ï¼sample1.cdlï¼ããã®ã¾ã¾ä½¿ç¨ãããã¨ãã§ããï¼
+
+ä¸æ¹ï¼ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ï¼<ã¢ããªã±ã¼ã·ã§ã³å>.cfgï¼
+ããã¯ï¼ä»¥ä¸ã®4è¡ãåé¤ãï¼ä»£ããã«ãINCLUDE("tecsgen.cfg");ããè¿½å ã
+ãªããã°ãªããªãï¼
+
+----------------------------------------
+INCLUDE("syssvc/syslog.cfg");
+INCLUDE("syssvc/banner.cfg");
+INCLUDE("syssvc/serial.cfg");
+INCLUDE("syssvc/logtask.cfg");
+----------------------------------------
+
+ä¸è¦ãªã·ã¹ãã ãµã¼ãã¹ã¯ï¼ãµã³ãã«ãã­ã°ã©ã ç¨ã®ã³ã³ãã¼ãã³ãè¨è¿°ãã¡
+ã¤ã«ï¼sample1.cdlï¼ãä¿®æ­£ãããã¨ã§åãå¤ããã¨ãã§ããï¼å
+·ä½çãªæ¹æ³ã¯ï¼
+sample1.cdlå
+ã®ã³ã¡ã³ãã¨ï¼ã¦ã¼ã¶ã¼ãºããã¥ã¢ã«ã®ãï¼ï¼ã·ã¹ãã ãµã¼ãã¹ã
+ã®ç« ã§èª¬æãã¦ããï¼
+
+ãªãï¼é
+å¸ããã±ã¼ã¸ã«å«ã¾ããã·ã¹ãã ãµã¼ãã¹ãå
+¨ãç¨ããªãå ´åã«ã¯ï¼
+TECSãä½¿ç¨ããå¿
+è¦ã¯ãªããã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªããã®-wãªãã·ã§
+ã³ã«ããï¼TECSãä½¿ç¨ããªãï¼TECSã¸ã§ãã¬ã¼ã¿ãåä½ãããªãï¼è¨­å®ã«ãã
+ãã¨ãã§ããï¼
+
+âã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªããã®ä»æ§ã®éã
+
+ASP3ã«ã¼ãã«ã®ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªããï¼configure.rbï¼ã¯ï¼ASP1
+ã®ãã®ã®ã»ã¼ä¸ä½äºæã¨ãªã£ã¦ãããï¼ä»¥ä¸ã®ãªãã·ã§ã³ãå»æ­¢ãããããï¼
+ä½¿ç¨ãã¦ããå ´åã«ã¯å¤æ´ãå¿
+è¦ã§ããï¼
+
+ã»ãã³ãã¬ã¼ããã£ã¬ã¯ããªã®æå®ï¼-tï¼
+	ãã³ãã¬ã¼ããã£ã¬ã¯ããªã¯ï¼ãã³ãã¬ã¼ãMakefileã®ã³ãã¼å
+ã¨ãã¦ã
+	ãä½¿ãããªãããï¼ãã³ãã¬ã¼ãMakefileåã®æå®ï¼-mï¼ã§ä»£ç¨ã§ããï¼
+
+ã»å®è¡ç°å¢ã®åç§°ï¼-dï¼
+	å®è¡ç°å¢ã®åç§°ã®æå®ãå¿
+è¦ãªå ´åã¯ï¼ã³ã³ãã¤ã«æã®ã·ã³ãã«ã®å®ç¾©ã«
+	ãã£ã¦å¯¾å¿ãããã¨ã¨ããããï¼å
+±éã·ã³ãã«å®ç¾©ãªãã·ã§ã³ï¼-Oï¼ã§å¯¾
+	å¿ããï¼
+
+ã»perlã®ãã¹åï¼-pï¼
+	ASP3ã«ã¼ãã«ã§ã¯perlãä½¿ç¨ãã¦ããªãããå»æ­¢ããï¼
+
+ã»ãã­ã»ããµæ°ï¼-Pï¼â¦ ASP3ã«ã¼ãã«ã§ã¯ä½¿ç¨ãã¦ããªã
+	ãã­ã»ããµæ°ãæå®ããå ´åã«ã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªããã®
+	ãã©ã¡ã¼ã¿ã«ï¼ãPRC_NUM=<ãã­ã»ããµæ°>ããä¸ãããã¨ã§å¯¾å¿ããï¼
+
+ãªãï¼ASP3ã«ã¼ãã«ã®ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªããã§ã¯ï¼-tã¨-dã¯å¥ã®
+æå³ã®ãªãã·ã§ã³ã¨ãªã£ã¦ããããï¼æ³¨æãããã¨ï¼
+
+âã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ä»æ§ã®éã
+
+ASP3ã«ã¼ãã«ã®ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ï¼Rubyçã³ã³ãã£ã®ã¥ã¬ã¼ã¿ï¼ã¯ï¼ã¦ã¼ã¶
+ããè¦ãå ´åã«ã¯ASP1ã®ãã®ã¨ã»ã¼äºæã«ãªã£ã¦ãããï¼ä»¥ä¸ã®ãªãã·ã§ã³ã
+å»æ­¢ã¾ãã¯å¤æ´ãããããï¼ä½¿ç¨ãã¦ããå ´åã«ã¯å¤æ´ãå¿
+è¦ã§ããï¼
+
+ã»ã¤ã³ã¯ã«ã¼ããã£ã¬ã¯ããªåï¼--include-pathï¼
+	ãªãã·ã§ã³åã--include-directoryã«å¤æ´ããï¼ç­ç¸®å½¢ï¼-Iï¼ãç¨ãã¦ã
+	ãå ´åã«ã¯ï¼å½±é¿ã¯ãªãï¼
+
+ã»å¤åå¾ã·ã³ãã«ãã¼ãã«ãã¡ã¤ã«åï¼--cfg1-def-tableï¼
+	ãªãã·ã§ã³åã--symval-tableã«å¤æ´ããï¼ã¾ãï¼å¤åå¾ã·ã³ãã«ãã¼ã
+	ã«ã®ãã©ã¼ããããå¤æ´ã«ãªã£ã¦ããï¼
+
+ã»ã­ã¼ãã¢ã¸ã¥ã¼ã«ã®ã·ã³ãã«ãã¡ã¤ã«åï¼--symbol-tableï¼
+	ãªãã·ã§ã³åã--rom-symbolã«å¤æ´ããï¼
+
+ã»ãªãã¸ã§ã¯ãIDçªå·ãä¿æããå¤æ°ã®çæï¼--external-idï¼
+	ã³ã³ãã¤ã«ãªãã·ã§ã³ã«-DUSE_EXTERNAL_IDãæå®ãããã¨ã§åãæ©è½ãå®
+	ç¾ããããã«ããããï¼ãã®ãªãã·ã§ã³ã¯å»æ­¢ããï¼
+
+ã»ãã¹1ã®çæãã¡ã¤ã«åï¼--cfg1_outï¼
+	ãã®ãªãã·ã§ã³ã¯å»æ­¢ããï¼ç¾æç¹ã§ã¯ï¼åç­ã®æ©è½ã¯æã£ã¦ããªãï¼ã
+	ã®æ©è½ãå¿
+è¦ãªã¦ã¼ã¹ã±ã¼ã¹ãåºã¦ããå ´åã«ã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã
+	æ¡å¼µããï¼æ¡å¼µã¯å®¹æã§ããï¼ï¼
+
+ã»ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ãç½®ããã¦ãããã£ã¬ã¯ããªåï¼--cfg-directoryï¼
+	ãã®ãªãã·ã§ã³ã¯ä¸è¦ã¨ãªã£ãããï¼å»æ­¢ããï¼
+
+ã»ã¡ãã»ã¼ã¸ã«ã¿ã­ã°ãç½®ããã¦ãããã£ã¬ã¯ããªåï¼--msgcat-directoryï¼
+	Rubyçã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã§ã¯ï¼ã¡ãã»ã¼ã¸ã«ã¿ã­ã°ã®æ©è½ããµãã¼ãã
+	ã¦ããªãããï¼ãã®ãªãã·ã§ã³ã¯å»æ­¢ããï¼
+
+ä»ã«ãå»æ­¢ããããªãã·ã§ã³ããããï¼ã»ã¨ãã©ä½¿ããã¦ããªãã¨æãããã
+ãï¼ããã«ã¯è¨è¼ãã¦ããªãï¼
+
+
+âASP1ã«ã¼ãã«ã¨ã®ã«ã¼ãã«ä»æ§ã®éã
+
+ãã®ç« ã§ã¯ï¼ASP1ã«ã¼ãã«åãã«è¨è¿°ãããã¢ããªã±ã¼ã·ã§ã³ãï¼ASP3ã«ã¼ã
+ã«ä¸ã§åä½ãããããã«ï¼ä¿®æ­£ãå¿
+è¦ã¨ãªãä¸»ãªç¹ã«ã¤ãã¦èª¬æããï¼
+
+âæéã®åä½
+
+ASP3ã«ã¼ãã«ã§ã¯ï¼ã·ã¹ãã æå»ï¼SYSTIMåï¼ï¼ç¸å¯¾æéï¼RELTIMåï¼ï¼ã¿ã¤
+ã ã¢ã¦ãæéï¼TMOåï¼ã®æéåä½ãï¼ããªç§ãããã¤ã¯ã­ç§ã«å¤æ´ããï¼ãã®
+ããï¼ãããã®æéãè¨è¿°ãã¦ããå®æ°å¤ãï¼1000åããå¤ã«æ¸ãæãããã¨
+ãå¿
+è¦ã§ããï¼
+
+âå¨æãã³ãã©ã¨ã¢ã©ã¼ã ãã³ãã©
+
+ASP3ã«ã¼ãã«ã§ã¯ï¼å¨æãã³ãã©æ©è½ã¨ã¢ã©ã¼ã ãã³ãã©æ©è½ãæ¡å¼µãï¼å¨æ
+éç¥æ©è½ã¨ã¢ã©ã¼ã éç¥æ©è½ãå®è£
+ãã¦ããï¼å¾æ¥ã®å¨æï¼ã¢ã©ã¼ã ãã³ãã©
+ã¨åç­ã®æ©è½ã¯ï¼ã¿ã¤ã ã¤ãã³ããã³ãã©ã®å¼åºãã«ããéç¥ã§å®ç¾ã§ããï¼
+å
+·ä½çã«ã¯ï¼éçAPIãä»¥ä¸ã®ä¾ã®ããã«æ¸ãæãããã¨ãå¿
+è¦ã§ããï¼
+
+ãï¼æ¸ãæãå
+	CRE_CYC(CYCHDR1, { TA_NULL, 0, cyclic_handler, 2000, 0 });
+	CRE_ALM(ALMHDR1, { TA_NULL, 0, alarm_handler });
+
+ãï¼æ¸ãæãå¾
+	CRE_CYC(CYCHDR1, { TA_NULL, { TNFY_HANDLER, 0, cyclic_handler },
+														2000000, 0 });
+	CRE_ALM(ALMHDR1, { TA_NULL, { TNFY_HANDLER, 0, alarm_handler }});
+
+âã¿ã¹ã¯ä¾å¤å¦ç
+
+ASP3ã«ã¼ãã«ã§ã¯ï¼ã¿ã¹ã¯ä¾å¤å¦çæ©è½ãå»æ­¢ããï¼ã¿ã¹ã¯ä¾å¤å¦çæ©è½ãä½¿
+ç¨ãã¦ããå ´åã«ã¯ï¼ä»ã®æ©è½ãç¨ãã¦æ¸ãæãããã¨ãå¿
+è¦ã§ããï¼ä¾ãã°ï¼
+ã¿ã¹ã¯ä¾å¤å¦çã§å®ç¾ãã¦ããå¦çã¯ï¼ç¬ç«ããã¿ã¹ã¯ã§å®ç¾ããæ¹æ³ãæå
+ã§ããï¼ã¾ãï¼ã¿ã¹ã¯ä¾å¤å¦çã«ã¼ãã³ã®ä¸­ã§ã¿ã¹ã¯ãçµäºããã¦ããå ´åã«
+ã¯ï¼ã¿ã¹ã¯çµäºè¦æ±æ©è½ãç¨ãã¦æ¸ãæããããå¯è½æ§ãããï¼
+
+âã¡ã¼ã«ããã¯ã¹
+
+ASP3ã«ã¼ãã«ã§ã¯ï¼ã¡ã¼ã«ããã¯ã¹ã®æ©è½ãå»æ­¢ããï¼åç­ã®æ©è½ã¯ï¼ãã¼ã¿
+ã­ã¥ã¼ã¾ãã¯åªå
+åº¦ãã¼ã¿ã­ã¥ã¼ã§å®ç¾ã§ããããï¼ããããç¨ããããã«ä¿®
+æ­£ããå¿
+è¦ãããï¼
+
+âãã®ä»ã®éã
+
+ãã®ä»ã«ï¼ä»¥ä¸ã®ä¿®æ­£ãå¿
+è¦ã«ãªãï¼
+
+ã»ASP3ã«ã¼ãã«ã§ã¯ï¼éçAPI ATT_ISRãå»æ­¢ããï¼éçAPI CRE_ISRãç¨ãã
+ãè¨è¿°ã«ä¿®æ­£ããå¿
+è¦ãããï¼
+
+ã»ASP3ã«ã¼ãã«ã§ã¯ï¼æ§è½è©ä¾¡ç¨ã®ãµã¼ãã¹ã³ã¼ã« get_utmãå»æ­¢ããï¼æ§è½
+ãè©ä¾¡ç®çã§ããã°ï¼é«åè§£è½ã¿ã¤ããåç
+§ãããµã¼ãã¹ã³ã¼ã« fch_hrtãç¨
+ããã¦ä»£æ¿ã§ããï¼
+
+ã»SIZEåãsize_tåã«å¤æ´ããï¼
+
+ã»ASP3ã«ã¼ãã«ã§ã¯ï¼å¾
+ã¡ç¶æ
+ã«å
+¥ããã¹ã¦ã®ãµã¼ãã¹ã³ã¼ã«ããï¼E_RASTER
+ããè¿ãå¯è½æ§ãããï¼ãã®ã¨ã©ã¼ãè¿ã£ãå ´åã®å¯¾ç­ãå¿
+è¦ã§ããï¼
+
+
+âÎ¼ITRON4.0ä»æ§ããã®ç§»è¡
+
+ãã®ç« ã§ã¯ï¼JSPã«ã¼ãã«ãä»ã®Î¼ITRON4.0ä»æ§æºæ ã®ã«ã¼ãã«ããï¼ASP3ã«ã¼
+ãã«ã«ç§»è¡ããããã®æ¹æ³ï¼ã¾ãã¯ãã³ãï¼ãèª¬æããï¼
+
+âãã¼ã¿åã¨å®æ°ã®å¤æ´
+
+ASP3ã«ã¼ãã«ã§ã¯ï¼Î¼ITRON4.0ä»æ§ã®æ¬¡ã®ãã¼ã¿åãå»æ­¢ãã¦ããï¼å¯¾å¿ãã
+æ°ãããã¼ã¿åãç¨æãã¦ããã®ã§ï¼åç´ã«ç½®ãæããã°ããï¼
+
+	å»æ­¢ãããã¼ã¿å		ç½®ãæãããã¼ã¿å
+	------------------------------------------
+	B						int8_t
+	UB						uint8_t
+	VB						uint8_t
+	H						int16_t
+	UH						uint16_t
+	VH						uint16_t
+	W						int32_t
+	UW						uint32_t
+	VW						uint32_t
+	D						int64_t
+	UD						uint64_t
+	VD						uint64_t
+	VP						void *
+	INT						int_t
+	UINT					uint_t
+	BOOL					bool_t
+	SIZE					size_t
+	VP_INT					intptr_t
+
+ã¾ãï¼å®æ°ã«ã¤ãã¦ãï¼æ¬¡ã®éãç½®ãæããå¿
+è¦ãããï¼
+
+	å»æ­¢ããå®æ°			ç½®ãæããå®æ°
+	------------------------------------------
+	TRUE					true
+	FALSE					false
+
+ãªãï¼Î¼ITRON4.0ä»æ§ã®ãã¼ã¿åã¨å®æ°ãä½¿ãããã¢ããªã±ã¼ã·ã§ã³ã®ããã«ï¼
+Î¼ITRON4.0ä»æ§ã¨ã®äºææ§ãä¿ã¤ããã®itron.hãç¨æãã¦ãããï¼ä½¿ç¨ããã
+ã¨ã¯æ¨å¥¨ããªãï¼
+
+âãªãã¸ã§ã¯ãå±æ§ã®å¤æ´
+
+ASP3ã«ã¼ãã«ã§ã¯ï¼æ¬¡ã®ãªãã¸ã§ã¯ãå±æ§ã¯ï¼ããã©ã«ãæ±ãã«ãã¦å»æ­¢ãã¦
+ããï¼
+
+	TA_HLNG					é«ç´è¨èªç¨ã¤ã³ã¿ãã§ã¼ã¹
+	TA_TFIFO				ã¿ã¹ã¯ã®å¾
+ã¡è¡åãFIFOé ã«
+	TA_WSGL					å¾
+ã¡ã¿ã¹ã¯ã¯1ã¤ã®ã¿
+
+ãããã®ãªãã¸ã§ã¯ãå±æ§ãæå®ãã¦ããå ´åã«ã¯ï¼åç´ã«åé¤ããã°ããï¼
+åé¤ãããã¨ã«ããï¼æå®ãããªãã¸ã§ã¯ãå±æ§ããªããªãå ´åã«ã¯ï¼
+TA_NULLãæå®ããï¼
+
+ãªãï¼Î¼ITRON4.0ä»æ§ã®ãªãã¸ã§ã¯ãå±æ§ãä½¿ãããã¢ããªã±ã¼ã·ã§ã³ã®ãã
+ã«ï¼Î¼ITRON4.0ä»æ§ã¨ã®äºææ§ãä¿ã¤ããã®itron.hãç¨æãã¦ãããï¼ä½¿ç¨ã
+ããã¨ã¯æ¨å¥¨ããªãï¼
+
+âã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ã®å¤æ´
+
+ASP3ã«ã¼ãã«ã§ã¯ï¼ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ã«ãããCè¨èªã
+ãªãã­ã»ããµã®ãã£ã¬ã¯ãã£ãã®æ±ããå¤æ´ã«ãªã£ã¦ããããï¼ã·ã¹ãã ã³ã³
+ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ã®å¤æ´ãå¿
+è¦ã«ãªãï¼
+
+ASP3ã«ã¼ãã«ã§ã¯ï¼ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ä¸­ã«è¨è¿°ã§ãã
+ãã£ã¬ã¯ãã£ããï¼ã¤ã³ã¯ã«ã¼ããã£ã¬ã¯ãã£ãï¼#includeï¼ã¨æ¡ä»¶ãã£ã¬ã¯
+ãã£ãï¼#ifï¼#ifdefãªã©ï¼ã®ã¿ã¨ãªã£ã¦ããï¼ãã®ããï¼ã·ã¹ãã ã³ã³ãã£ã®ã¥
+ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ã«ãã¯ã­å®ç¾©ãã£ã¬ã¯ãã£ãï¼#defineï¼ãå«ã¾ãã¦ããå ´
+åã«ã¯ï¼ãã®è¨è¿°ãåé¤ãï¼å¿
+è¦ã§ããã°ï¼#includeãã£ã¬ã¯ãã£ãã§ã¤ã³ã¯
+ã«ã¼ããããã¡ã¤ã«ä¸­ã«ç§»åããå¿
+è¦ãããï¼
+
+Î¼ITRON4.0ä»æ§ã«æºæ ãã¦è¨è¿°ãããã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤
+ã«ä¸­ã®#includeãã£ã¬ã¯ãã£ãã¯ï¼INCLUDEãã£ã¬ã¯ãã£ãã«æ¸ãæããå¿
+è¦ã
+ããï¼INCLUDEãã£ã¬ã¯ãã£ãã§ã¤ã³ã¯ã«ã¼ããããã¡ã¤ã«ã¯ï¼ã·ã¹ãã ã³ã³ãã£
+ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ã®ä¸é¨ã¨ã¿ãªãããããï¼ä¸è¨ã¨åãå¶éãããï¼
+
+éã«ï¼Î¼ITRON4.0ä»æ§ã«æºæ ãã¦è¨è¿°ãããã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³
+ãã¡ã¤ã«ä¸­ã®INCLUDEéçAPIã¯ï¼#includeãã£ã¬ã¯ãã£ãã«æ¸ãæããå¿
+è¦ã
+ããï¼
+
+âãªãã¸ã§ã¯ãIDã®èªåå²ä»ãã¸ã®å¯¾å¿
+
+ASP3ã«ã¼ãã«ã§ã¯ï¼ãªãã¸ã§ã¯ãã®IDçªå·ãèªåå²ä»ããããã¨ãåºæ¬ã¨ãªã£
+ã¦ããï¼ASP3ã«ã¼ãã«ãç¨ããéã®IDçªå·ã®ç®¡çæ¹æ³ã«ã¤ãã¦ã¯ï¼ãTOPPERS/
+ASP3ã«ã¼ãã« ã¦ã¼ã¶ã¼ãºããã¥ã¢ã«ãã®ã11.4 ãªãã¸ã§ã¯ãIDã®ç®¡çãã®ç¯
+ã«èª¬æãããã®ã§ï¼ã¾ãã¯ãããåç
+§ãããã¨ï¼
+
+å¾æ¥ï¼IDçªå·ãæåã§å²ãä»ãã¦ããï¼æåã§å²ãä»ãã¦ããIDçªå·ãå¤æ´ã
+ãããªãå ´åã«ã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®æã¤IDçªå·ã®å²ä»ãããã¡ã¤ã«ãã
+åãè¾¼ãæ©è½ï¼--id-input-fileãªãã·ã§ã³ï¼ãç¨ãããã¨ã§ï¼æåã§å²ãä»ã
+ãIDçªå·ãç¨ãããã¨ãã§ããï¼ãã®å ´åã«ï¼æåã§å²ãä»ããIDçªå·ã¯ï¼ã³
+ã³ãã£ã®ã¥ã¬ã¼ã¿ã--id-input-fileãªãã·ã§ã³ã§åãè¾¼ããã¡ã¤ã«ä¸­ã«ã®ã¿è¨
+è¿°ãï¼ã¢ããªã±ã¼ã·ã§ã³ã®ã½ã¼ã¹ãã­ã°ã©ã ããã¯ï¼kernel_cfg.hãç¨ããã
+ã¨ãæã¾ããï¼
+
+âããããã¡ã¤ã«ã®å¤æ´
+
+Î¼ITRON4.0ä»æ§ã«ããã¦ã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ãçæããèªåå²ä»ãçµæãã
+ããã¡ã¤ã«ã®åç§°ãkernel_id.hã§ãã£ããï¼ASP3ã«ã¼ãã«ã§ã¯ï¼
+kernel_cfg.hã«å¤æ´ã«ãªã£ã¦ããï¼kernel_cfg.hã®æ¹ãå«ã¾ããå®ç¾©ãå¤ãï¼ï¼
+kernel_id.hãã¤ã³ã¯ã«ã¼ããã¦ããã¢ããªã±ã¼ã·ã§ã³ã¯ï¼kernel_cfg.hãã¤ã³
+ã¯ã«ã¼ãããããã«å¤æ´ããï¼
+
+âsta_tskã®ç½®ãæã
+
+ASP3ã«ã¼ãã«ã§ã¯ï¼ã¿ã¹ã¯ãèµ·åãããµã¼ãã¹ã³ã¼ã«ã¨ãã¦act_tskããµãã¼ã
+ãã¦ããï¼sta_tskããµãã¼ããã¦ããªãï¼act_tskã¨sta_tskã®æ©è½ãæ¯è¼ãã
+å ´åï¼åè
+ã¯ã¿ã¹ã¯èµ·åã®ã­ã¥ã¼ã¤ã³ã°æ©è½ãæã¤ã®ã«å¯¾ãã¦ï¼å¾è
+ã¯ã¿ã¹ã¯
+ã«èµ·åã³ã¼ããæ¸¡ãæ©è½ãæã¤ï¼ãã®ããï¼sta_tskãact_tskã«ç½®ãæããå ´
+åã«ï¼èµ·åã³ã¼ããæ¸¡ãæ©è½ãã©ã®ããã«å®ç¾ããããåé¡ã¨ãªãï¼
+
+èµ·åã³ã¼ããæ¸¡ãæ©è½ãæãç°¡åã«ä»£ç¨ããæ¹æ³ã¯ï¼èµ·åã³ã¼ããæ¸¡ãããã®
+ãã¼ã¿ã­ã¥ã¼ãç¨æããæ¹æ³ã§ããï¼ã¿ã¹ã¯ãèµ·åããå¦çåä½ã¯ï¼ãã¼ã¿
+ã­ã¥ã¼ã«èµ·åã³ã¼ããéä¿¡ããå¾ï¼act_tskã«ããã¿ã¹ã¯ãèµ·åããï¼èµ·åãã
+ãã¿ã¹ã¯ã¯ï¼ãã¼ã¿ã­ã¥ã¼ããèµ·åã³ã¼ããåä¿¡ããï¼
+
+ã¿ã¹ã¯èµ·åã®ã­ã¥ã¼ã¤ã³ã°ãèµ·ãããªããã¨ãä¿è¨¼ã§ããï¼è¨ãæããã¨ï¼ã¿
+ã¹ã¯ãèµ·åããæã«ã¯ï¼å¯¾è±¡ã¿ã¹ã¯ã¯ä¼æ­¢ç¶æ
+ã«ãããã¨ãä¿è¨¼ã§ããå ´åã«
+ã¯ï¼èµ·åã³ã¼ããã°ã­ã¼ãã«å¤æ°ã«ç½®ãã¦æ¸¡ãæ¹æ³ãããï¼ã¿ã¹ã¯ãèµ·åãã
+å¦çåä½ããã®ã°ã­ã¼ãã«å¤æ°ã«æ¸ãã®ã¯ï¼ã¿ã¹ã¯ãä¼æ­¢ç¶æ
+ã®éã«éããï¼
+èµ·åãããã¿ã¹ã¯ããã®ã°ã­ã¼ãã«å¤æ°ãèª­ãã®ã¯ï¼ã¿ã¹ã¯ãå®è¡ã§ããç¶æ
+
+ã®éã«éãããããï¼ã°ã­ã¼ãã«å¤æ°ã«å¯¾ããæä»å¶å¾¡ã¯å¿
+è¦ãªãï¼
+
+âå¨æãã³ãã©ã®éäºææ§
+
+TA_PHSå±æ§ã§ãªãå¨æãã³ãã©ã«ããã¦ï¼sta_cycãå¼ã³åºããå¾ï¼æåã«å¨æ
+ãã³ãã©ãèµ·åãããæå»ãï¼Î¼ITRON4.0ä»æ§ã§ã¯ï¼sta_cycãå¼ã³åºãã¦ãã
+å¨æãã³ãã©ã®èµ·åå¨æï¼cyctimï¼ã§æå®ããç¸å¯¾æéå¾ã¨ãªã£ã¦ãããï¼
+ASP3ã«ã¼ãã«ã§ã¯ï¼èµ·åä½ç¸ï¼cycphsï¼ã§æå®ããç¸å¯¾æéå¾ã¨ãªã£ã¦ããï¼
+
+CRE_CYCã«ããã¦ï¼TA_STAå±æ§ãæå®ããªãå ´åã«ã¯ï¼cycphsã«cyctimã¨åãå¤
+ãæå®ãããã¨ã§ï¼Î¼ITRON4.0ä»æ§ã¨åãæ¯èãã¨ãªãï¼Î¼ITRON4.0ä»æ§ã§ã¯ï¼
+TA_STAå±æ§ã¨TA_PHSå±æ§ã®ããããæå®ããªãå ´åã«ã¯ï¼cycphsã¯æå³ãæã
+ãªãï¼ï¼
+
+TA_STAå±æ§ãæå®ããå ´åã«ã¯ï¼ã«ã¼ãã«ã®èµ·åå¾ï¼æåã«å¨æãã³ãã©ãèµ·
+åãããã¾ã§ã®ç¸å¯¾æéã¨ï¼sta_cycãå¼ã³åºãã¦ããæåã«å¨æãã³ãã©ãèµ·
+åãããã¾ã§ã®ç¸å¯¾æéãåä¸ã§ãããã°ï¼ãã®æéãcycphsã«æå®ããã°ã
+ãï¼ä¸¡è
+ãåä¸ã§ã¯ä¸é½åãªå ´åã«ã¯ï¼Î¼ITRON4.0ä»æ§ã¨åãæ¯èããããã
+ãã¨ã¯ã§ããªãï¼ä»£æ¿ææ®µã¨ãã¦ã¯ï¼ä»¥ä¸ã®2ã¤ãèããããï¼
+
+(1) TA_STAå±æ§ãä½¿ç¨ããï¼ã«ã¼ãã«ã®èµ·åå¾é©åãªã¿ã¤ãã³ã°ã§sta_cycãå¼
+ã³åºããã¨ã§ï¼å¨æãã³ãã©ãåä½éå§ããï¼
+
+(2) å¨æãã³ãã©ã2ã¤ç¨ããï¼1ã¤ãTA_STAå±æ§ã¨ãï¼sta_cycã§åä½ãå¶å¾¡ã
+ãã®ãããçæ¹ã®å¨æãã³ãã©ã¨ããï¼
+
+âåçã¡ã¢ãªç®¡çã®å®ç¾
+
+ASP3ã«ã¼ãã«ã§ã¯ï¼åçã¡ã¢ãªç®¡çã¯ï¼ã«ã¼ãã«å
+ã§å®ç¾ããããã©ã¤ãã©ãª
+ã¨ãã¦å®ç¾ããæ¹ãé©åã¨èãï¼å¯å¤é·ã¡ã¢ãªãã¼ã«ããµãã¼ããã¦ããªãï¼
+ãããï¼ã¢ããªã±ã¼ã·ã§ã³ãåçã¡ã¢ãªç®¡çï¼mallocï¼freeï¼ãç¨ããå ´åã«ï¼
+ãã®å®ç¾ã«å¯å¤é·ã¡ã¢ãªãã¼ã«ãç¨ãããããã¨ãããï¼å¯å¤é·ã¡ã¢ãªãã¼ã«
+ããµãã¼ãããã¦ããªããã¨ãåé¡ã¨ãªãå ´åãããï¼
+
+ããã§ï¼ããã§ã¯ï¼ã¢ããªã±ã¼ã·ã§ã³ãç¨ããmallocï¼freeãï¼ãªã¼ãã³ã½ã¼
+ã¹ã®ã¡ã¢ãªå²ä»ãã©ã¤ãã©ãªã§ããTLSFãç¨ãã¦å®ç¾ããæ¹æ³ã«ã¤ãã¦è¿°ã¹ãï¼
+
+TLSFã¯ï¼ãªã¢ã«ã¿ã¤ã ã·ã¹ãã åãã®å¹ççãªã¡ã¢ãªå²ä»ãã©ã¤ãã©ãªã§ããï¼
+TLSFã®ã©ã¤ã»ã³ã¹æ¡ä»¶ã¯ï¼GPLã¨LGPLã®ãã¥ã¢ã«ã©ã¤ã»ã³ã¹ã§ãããï¼TLSFãé
+å¸¸ã®ã©ã¤ãã©ãªã¨ãã¦ç¨ãã¦å®è£
+ããããã­ã°ã©ã ã¯ï¼TLSFã®æ´¾çç©ã¨ã¯è¦ãª
+ãããï¼GPLãé©ç¨ãããªããã¨ãæè¨ããã¦ããï¼
+
+TLSFã¯ï¼ä»¥ä¸ã®ã¦ã§ããµã¤ããããã¦ã³ã­ã¼ããããã¨ãã§ããï¼
+
+	http://www.gii.upv.es/tlsf/
+
+TLSFï¼åä½ç¢ºèªã¯ï¼Version 2.4.6ï¼ã®ã¢ã¼ã«ã¤ãã®ä¸­ããï¼tlsf.hã¨tlsf.cãï¼
+ã¢ããªã±ã¼ã·ã§ã³ã¾ãã¯ã©ã¤ãã©ãªã®ã½ã¼ã¹ãã¡ã¤ã«ã®ç½®ããããã£ã¬ã¯ããª
+ã«ã³ãã¼ããï¼
+
+tlsf.hã¯åçã¡ã¢ãªç®¡çãç¨ããã¢ããªã±ã¼ã·ã§ã³ããã¤ã³ã¯ã«ã¼ããã¹ããã
+ããã¡ã¤ã«ï¼tlsf.cã¯åçã¡ã¢ãªç®¡çã©ã¤ãã©ãªã®æ¬ä½ã§ããï¼tlsf.cã«ã¯ä»¥
+ä¸ã®ãããªãããããã¦ãï¼
+
+----------------------------------------
+*** tlsf.c.orig	Wed Sep 16 16:40:39 2009
+--- tlsf.c	Wed Sep 16 16:45:10 2009
+***************
+*** 76,82 ****
+  
+  
+  #if TLSF_USE_LOCKS
+! #include "target.h"
+  #else
+  #define TLSF_CREATE_LOCK(_unused_)   do{}while(0)
+  #define TLSF_DESTROY_LOCK(_unused_)  do{}while(0) 
+--- 76,88 ----
+  
+  
+  #if TLSF_USE_LOCKS
+! #include "kernel.h"
+! #include "kernel_cfg.h"
+! #define TLSF_MLOCK_T ID
+! #define TLSF_CREATE_LOCK(lock)   (*lock = TLSF_MTX)
+! #define TLSF_DESTROY_LOCK(lock)  ini_mtx(*lock)
+! #define TLSF_ACQUIRE_LOCK(lock)  loc_mtx(*lock)
+! #define TLSF_RELEASE_LOCK(lock)  unl_mtx(*lock)
+  #else
+  #define TLSF_CREATE_LOCK(_unused_)   do{}while(0)
+  #define TLSF_DESTROY_LOCK(_unused_)  do{}while(0) 
+***************
+*** 169,176 ****
+  
+  #ifdef USE_PRINTF
+  #include <stdio.h>
+! # define PRINT_MSG(fmt, args...) printf(fmt, ## args)
+! # define ERROR_MSG(fmt, args...) printf(fmt, ## args)
+  #else
+  # if !defined(PRINT_MSG)
+  #  define PRINT_MSG(fmt, args...)
+--- 175,184 ----
+  
+  #ifdef USE_PRINTF
+  #include <stdio.h>
+! #include <t_stddef.h>
+! #include <t_syslog.h>
+! # define PRINT_MSG(fmt, args...) syslog(LOG_ERROR, fmt, ## args)
+! # define ERROR_MSG(fmt, args...) syslog(LOG_ERROR, fmt, ## args)
+  #else
+  # if !defined(PRINT_MSG)
+  #  define PRINT_MSG(fmt, args...)
+----------------------------------------
+  
+ãã®ãããã¯ï¼tlsf.cã«ä»¥ä¸ã®ä¿®æ­£ãå ãã¦ããï¼
+
+ã»PRINT_MSGããã³ERROR_MSGãï¼syslogãç¨ããããã«å¤æ´ããï¼
+ã»ã¿ã¹ã¯éã®æä»ãï¼ãã¥ã¼ããã¯ã¹ãç¨ãã¦è¡ãï¼
+
+mallocï¼freeãè¤æ°ã®ã¿ã¹ã¯ããå¼ã³åºãå ´åã«ã¯ï¼ã³ã³ãã¤ã«ãªãã·ã§ã³ã«
+-DTLSF_USE_LOCKSãè¿½å ãï¼ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ã«æ¬¡ã®
+ãããªè¨è¿°ãè¿½å ããï¼ãã¥ã¼ããã¯ã¹ã®å±æ§ã¯å¤æ´ãã¦ãããï¼ï¼
+
+----------------------------------------
+CRE_MTX(TLSF_MTX, { TA_TPRI, 0 });
+----------------------------------------
+
+TLSFãä½¿ç¨ãããã­ã°ã©ã ã§ã¯ï¼ã¡ã¢ãªãã¼ã«ã®é åãé
+åã¨ãã¦ç¢ºä¿ãã
+ï¼ä¸ã®ä¾ã¯ï¼ã¡ã¢ãªãã¼ã«ã®ããã«10KBã®é åãç¢ºä¿ãã¦ããï¼ï¼
+
+----------------------------------------
+#define MEMORY_POOL_SIZE	(TOPPERS_ROUND_SZ(10*1024, sizeof(intptr_t))
+							/* 10*1024ã®é¨åã¯ï¼é©åãªãµã¤ãºã«å¤æ´ãã */
+intptr_t memory_pool[MEMORY_POOL_SIZE / sizeof(intptr_t)];
+----------------------------------------
+
+æ¬¡ã«ã¡ã¢ãªãã¼ã«ã®åæåãè¡ãï¼
+
+----------------------------------------
+	init_memory_pool(MEMORY_POOL_SIZE, memory_pool);
+----------------------------------------
+
+ä»¥ä¸ã«ããï¼tlsf_mallocï¼tlsf_freeã§ï¼mallocï¼freeãå®ç¾ã§ããï¼
+
+ãªãï¼TLSFã¯ï¼è¤æ°ã®ã¡ã¢ãªãã¼ã«ãç¨ããæ©è½ãï¼ã¡ã¢ãªãã¼ã«ã®ãµã¤ãºã
+æ¡å¼µããæ©è½ãæã¤ï¼è©³ããã¯ï¼TLSFã®ã¢ã¼ã«ã¤ãä¸­ã®READMEãåç
+§ãããã¨ï¼
+
+ä»¥ä¸
Index: asp3_wo_tecs/trunk/doc/ovrhdr_memo.txt
===================================================================
--- asp3_wo_tecs/trunk/doc/ovrhdr_memo.txt	(revision 302)
+++ 	(revision )
@@ -1,591 +1,0 @@
-													TOPPERS Confidential
-		TOPPERSãã­ã¸ã§ã¯ã ãã£ã¹ã«ãã·ã§ã³ã¡ã¢
-		ãªã¼ãã©ã³ãã³ãã©ã«é¢ããè¨­è¨ã¡ã¢
-
-		ä½æè
-: é«ç°åºç« ï¼åå¤å±å¤§å­¦ï¼
-		æçµæ´æ°: 2015å¹´8æ21æ¥
-
-âã¡ã¢ã®ä½ç½®ä»ã
-
-ãã®ãã­ã¥ã¡ã³ãã¯ï¼TOPPERS/ASP3ã«ã¼ãã«ã®ãªã¼ãã©ã³ãã³ãã©æ©è½æ¡å¼µã«
-é¢ããè¨­è¨ã¡ã¢ã§ããï¼
-
-âãã¼ã¿åã¨å®æ°ã®å®ç¾©
-
-ãã­ã»ããµæéãè¡¨ç¾ãããã¼ã¿åPRCTIMã®å®ç¾©ãï¼t_stddef.hã«å«ããï¼
-
-----------------------------------------
-typedef	uint32_t		PRCTIM;		/* ãã­ã»ããµæé */
-----------------------------------------
-
-æ®ããã­ã»ããµæéã«æå®ã§ããæå¤§å¤ã¯ï¼ã¿ã¼ã²ããä¾å­é¨ï¼target_kernel.h
-ã¾ãã¯ããããã¤ã³ã¯ã«ã¼ãããããã¡ã¤ã«ï¼ã§å®ç¾©ãããã®ã¨ãããï¼ããã©
-ã«ãã®å®ç¾©ãkernel.hã«å«ããï¼
-
-----------------------------------------
-#ifndef TMAX_OVRTIM
-#define TMAX_OVRTIM		UINT32_MAX
-#endif /* TMAX_OVRTIM */
-----------------------------------------
-
-ã¾ãï¼ãªã¼ãã©ã³ãã³ãã©ã®ãã¼ã¿åOVRHDRã®å®ç¾©ãï¼kernel.hã«å«ããï¼
-
-----------------------------------------
-typedef void	(*OVRHDR)(ID tskid, intptr_t exinf);
-----------------------------------------
-
-ãã®ä»ã«ï¼ãªã¼ãã©ã³ãã³ãã©æ©è½ã®ãµã¼ãã¹ã³ã¼ã«ã®å®£è¨ã¨é¢é£ããå®æ°ã®
-å®ç¾©ãï¼kernelã«å«ããï¼
-
-âç¨ãããã¼ãã¦ã§ã¢è³æºã¨ãµãã¼ãã§ããªãå ´åã®æªç½®
-
-ãªã¼ãã©ã³ãã³ãã©ãå®ç¾ããããã«ï¼ã·ã¹ãã æå»ãé²ããããã®é«åè§£è½
-ã¿ã¤ãã¨ã¯å¥ã®ã¿ã¤ãï¼ä»¥ä¸ï¼ããããªã¼ãã©ã³ã¿ã¤ãã¨å¼ã¶ï¼ãç¨ããï¼ã
-ã®ããï¼ã¿ã¼ã²ããã«ãã£ã¦ã¯ï¼ãªã¼ãã©ã³ãã³ãã©ããµãã¼ãã§ããªãå ´å
-ãèããããï¼
-
-ããã§ï¼ãªã¼ãã©ã³ãã³ãã©ããµãã¼ãã§ããå ´åã«ã¯ï¼ã¿ã¼ã²ããä¾å­é¨ã«
-ããã¦ï¼TOPPERS_TARGET_SUPPORT_OVRHDRããã¯ã­å®ç¾©ãããã®ã¨ããï¼
-
-ãªã¼ãã©ã³ãã³ãã©æ©è½æ¡å¼µã®kernel.hã§ã¯ï¼TOPPERS_TARGET_SUPPORT_OVRHDR
-ããã¯ã­å®ç¾©ããã¦ããã°ï¼TOPPERS_SUPPORT_OVRHDRãå®ç¾©ããï¼
-
-----------------------------------------
-#ifdef TOPPERS_TARGET_SUPPORT_OVRHDR
-#define TOPPERS_SUPPORT_OVRHDR			/* ãªã¼ãã©ã³ãã³ãã©æ©è½æ¡å¼µ */
-#endif /* TOPPERS_TARGET_SUPPORT_OVRHDR */
-----------------------------------------
-
-ãªã¼ãã©ã³ãã³ãã©æ©è½ã¯ï¼TOPPERS_SUPPORT_OVRHDRãå®ç¾©ããã¦ããå ´åã®
-ã¿çµã¿è¾¼ãï¼ããã«ããï¼ãªã¼ãã©ã³ãã³ãã©æ©è½æ¡å¼µãä½¿ç¨ãï¼ã¿ã¼ã²ãã
-ä¾å­é¨ããªã¼ãã©ã³ãã³ãã©ããµãã¼ããã¦ããå ´åã®ã¿ï¼ãªã¼ãã©ã³ãã³ã
-ã©æ©è½ãçµã¿è¾¼ã¾ãããã¨ã«ãªãï¼
-
-âãªã¼ãã©ã³ãã³ãã©ã«é¢é£ãããã¼ã¿æ§é 
-
-ãªã¼ãã©ã³ãã³ãã©ãå®è£
-ããããã«ï¼TCBã«ï¼ãªã¼ãã©ã³ãã³ãã©ãåä½ç¶æ
-
-ã§ãããã¨ãç¤ºããã£ã¼ã«ãstaovrã¨ï¼æ®ããã­ã»ããµæéãè¡¨ããã£ã¼ã«ã
-leftotmãè¿½å ããï¼task.hï¼ï¼
-
-----------------------------------------
-typedef struct task_control_block {
-	...
-	BIT_FIELD_BOOL	staovr : 1;		/* ãªã¼ãã©ã³ãã³ãã©åä½ç¶æ
- */
-	...
-	PRCTIM			leftotm;		/* æ®ããã­ã»ããµæé */
-	...
-} TCB;
-----------------------------------------
-
-ãªã¼ãã©ã³ãã³ãã©ã®åä½ç¶æ
-ã¯ï¼ã¿ã¹ã¯ã®ç»é²æã¨ã¿ã¹ã¯ãä¼æ­¢ç¶æ
-ã«é·ç§»
-ããæã«ï¼åä½ãã¦ããªãç¶æ
-ã«åæåãããï¼»NGKI2587ï¼½ãã¨ããï¼
-make_dormantã®ä¸­ã§staovrãfalseã«åæåããï¼task.cï¼ï¼
-
-----------------------------------------
-void
-make_dormant(TCB *p_tcb)
-{
-	...
-	p_tcb->staovr = false;
-	...
-}
-----------------------------------------
-
-ãªã¼ãã©ã³ãã³ãã©ã«å¯¾ãã¦ã¯ï¼ç®¡çãã­ãã¯ã¯å¿
-è¦ãªãï¼DEF_OVRã§å®ç¾©ãã
-æ
-å ±ãæ ¼ç´ããåæåãã­ãã¯ã®ã¿ãç¨æããï¼åæåãã­ãã¯ãï¼åä¸ã®è¦
-ç´ ã§ååã§ããï¼é
-åã§ããå¿
-è¦ã¯ãªãï¼overrun.hï¼ï¼
-
-----------------------------------------
-typedef struct overrun_handler_initialization_block {
-	ATR			ovratr;			/* ãªã¼ãã©ã³ãã³ãã©å±æ§ */
-	OVRHDR		ovrhdr;			/* ãªã¼ãã©ã³ãã³ãã©ã®èµ·åçªå° */
-} OVRINIB;
-----------------------------------------
-extern const OVRINIB	ovrinib;
-----------------------------------------
-
-ãªã¼ãã©ã³ã¿ã¤ããåä½ä¸­ããç¤ºããã©ã°ã¨ãã¦ï¼boot_tåã®å¤æ°
-ovrtimer_flagãç¨æããï¼overrun.hï¼overrun.cï¼ï¼
-
-----------------------------------------
-extern boot_t	ovrtimer_flag;
-----------------------------------------
-
-ã·ã³ã°ã«ãã­ã»ããµã®å ´åã«ã¯ï¼ãªã¼ãã©ã³ã¿ã¤ããåä½ä¸­ãã¯ï¼æ¬¡ã®æ¹æ³ã§
-å¤å¥ãããã¨ãã§ããï¼
-
-	ã¿ã¹ã¯ã³ã³ãã­ã¹ãã§ã¯ï¼
-		(p_runtsk != NULL && p_runtsk->staovr)ã®æã®ã¿åä½ãã¦ããï¼
-	éã¿ã¹ã¯ã³ã³ãã­ã¹ãã§ã¯ï¼åä½ãã¦ããªãï¼
-
-ãã®ããï¼ãã®ãã©ã°ãç¨ããªãå®è£
-ãå¯è½ã§ãããï¼ãã«ããã­ã»ããµã¸ã®
-æ¡å¼µæ§ãã¿ã¼ã²ããä¾å­æ§ãä¸ããããã«ï¼ãããç¨ããå®è£
-ã¨ãã¦ããï¼å®
-éï¼Mac OS Xã¿ã¼ã²ããä¾å­é¨ã§ã¯ï¼ãããæ´»ç¨ãã¦ããï¼ï¼
-
-ovrtimer_flagãç¨ãããã¨ã«ãããã¨ããï¼å²è¾¼ã¿ï¼CPUä¾å¤åºå
-¥å£å¦çã«ã
-ãã¦ï¼p_runtskãNULLã§ãããã©ããããã§ãã¯ããã«ï¼ovrtimer_stopãå¼ã¶
-ãã¨ã¨ãã¦ããï¼ã¿ã¼ã²ããä¾å­é¨ ãã¼ãã£ã³ã°ã¬ã¤ãï¼ï¼
-
-âæ®ããã­ã»ããµæéã®ä¿å­ï¼å¾©å¸°å¦çã®å
-å®¹
-
-ãã£ã¹ãããã£ããã³å²è¾¼ã¿å¦çï¼CPUä¾å¤å¦çã®åºå
-¥å£ã§ï¼ã¿ã¹ã¯ã®æ®ããã­
-ã»ããµæéãä¿å­ï¼å¾©å¸°ããå¿
-è¦ãããï¼å
-·ä½çã«ã¯ï¼ä»¥ä¸ã®ãããªå¦çãå¿
-
-è¦ã§ããï¼
-
-(a) dispatchã¸ã®å
-¥å£
-
-ovrtimer_flagãtrueã§ããã°ï¼ã¾ãã¯ï¼p_runtsk->staovrãtrueã§ããã°ï¼ï¼
-ãªã¼ãã©ã³ã¿ã¤ããåæ­¢ããï¼æ®ããã­ã»ããµæéãp_runtsk->leftotmã«æ ¼ç´
-ããï¼æ®ããã­ã»ããµæéããªããªã£ã¦ããå ´åã«ã¯ï¼p_runtsk->leftotmã«0
-ãæ ¼ç´ããï¼
-
-(b) dispatchããã®åºå£
-
-p_runtsk->staovrãtrueã§ããã°ï¼æ®ããã­ã»ããµæéãp_runtsk->leftotmã¨
-ãã¦ãªã¼ãã©ã³ã¿ã¤ããåä½éå§ããï¼
-
-(c) å²è¾¼ã¿å¦çï¼CPUä¾å¤å¦çã®å
-¥å£
-
-ã¿ã¹ã¯ã³ã³ãã­ã¹ãã§å²è¾¼ã¿ï¼CPUä¾å¤ãçºçããå ´åã«ï¼ovrtimer_flagã
-trueã§ããã°ï¼ã¾ãã¯ï¼p_runtskãNULLã§ãªãï¼p_runtsk->staovrãtrueã§ã
-ãã°ï¼ï¼ãªã¼ãã©ã³ã¿ã¤ããåæ­¢ããï¼æ®ããã­ã»ããµæéã
-p_runtsk->leftotmã«æ ¼ç´ããï¼æ®ããã­ã»ããµæéããªããªã£ã¦ããå ´åã«ã¯ï¼
-p_runtsk->leftotmã«0ãæ ¼ç´ããï¼
-
-ãã®å¦çã¯ï¼ã«ã¼ãã«ç®¡çã®å²è¾¼ã¿ããã¹ã¦ç¦æ­¢ããç¶æ
-ã§è¡ãå¿
-è¦ãããï¼
-å²è¾¼ã¿ï¼CPUä¾å¤çºçç´å¾ã«ãã¹ã¦ã®å²è¾¼ã¿ãç¦æ­¢ãããªããã­ã»ããµã§ã¯ï¼å²
-è¾¼ã¿ãç¦æ­¢ããå¾ã«ãã®å¦çãè¡ãå¿
-è¦ãããï¼
-
-(d) å²è¾¼ã¿å¦çï¼CPUä¾å¤å¦çã®åºå£
-
-ã¿ã¹ã¯ã³ã³ãã­ã¹ãã«æ»ãå ´åã«ï¼p_runtskãNULLã§ãªãï¼p_runtsk->staovr
-ãtrueã§ããã°ï¼æ®ããã­ã»ããµæéãp_runtsk->leftotmã¨ãã¦ãªã¼ãã©ã³ã¿
-ã¤ããåä½éå§ããï¼
-
-(e) ã¿ã¹ã¯ã®çµäºæ
-
-ovrtimer_flagãtrueã§ããã°ï¼ã¾ãã¯ï¼p_runtsk->staovrãtrueã§ããã°ï¼ï¼
-ãªã¼ãã©ã³ã¿ã¤ããåæ­¢ãããï¼æ®ããã­ã»ããµæéãp_runtsk->leftotmã«æ ¼
-ç´ããå¿
-è¦ã¯ãªãï¼ã¿ã¹ã¯ãçµäºããã¨ï¼ãªã¼ãã©ã³ãã³ãã©ã¯åæ­¢ããã
-ãï¼ï¼
-
-(f) ã¿ã¹ã¯ã®å®è¡éå§æ
-
-p_runtsk->staovrãtrueã§ããã°ï¼æ®ããã­ã»ããµæéãp_runtsk->leftotmã¨
-ãã¦ãªã¼ãã©ã³ã¿ã¤ããåä½éå§ããï¼
-
-âã¿ã¼ã²ããä¾å­é¨ã®ã¤ã³ã¿ãã§ã¼ã¹
-
-ãªã¼ãã©ã³ãã³ãã©æ©è½ã®ã¿ã¼ã²ããä¾å­é¨ã§ã¯ï¼ãªã¼ãã©ã³ãã³ãã©ç¨ã®ã¿
-ã¤ãï¼ä»¥ä¸ï¼ãªã¼ãã©ã³ã¿ã¤ãã¨å¼ã¶ï¼ãæä½ããããã®æ©è½ãæä¾ããï¼
-
-ã¾ãï¼æ¬¡ã®å®æ°ããã¯ã­å®ç¾©ããï¼
-
-(1) TMAX_OVRTIM
-
-æ®ããã­ã»ããµæéã¨ãã¦ãªã¼ãã©ã³ãã³ãã©ç¨ã¿ã¤ãã«è¨­å®ã§ããæå¤§ã®å¤ï¼
-åä½ã¯ãã¤ã¯ã­ç§ã¨ããï¼ã¿ã¼ã²ããä¾å­é¨ã§å®ç¾©ããªãå ´åã«ã¯ï¼kernel.h
-ã§UINT32_MAXã«å®ç¾©ããï¼
-
-ã¾ãï¼æ¬¡ã®5ã¤ã®é¢æ°ãç¨æããï¼
-
-(1) void target_ovrtimer_initialize(intptr_t exinf)
-
-ãªã¼ãã©ã³ã¿ã¤ãã®åæåå¦çãè¡ãï¼ã¿ã¤ãã®åä½éå§ã¯è¡ããªãï¼
-
-ãã®é¢æ°ã¯ï¼target_timer.cfgä¸­ã«è¨è¿°ããéçAPIã«ããï¼åæåã«ã¼ãã³ã¨
-ãã¦ã«ã¼ãã«ã«ç»é²ãããã¨ãæ³å®ãã¦ããï¼
-
-(2) void target_ovrtimer_terminate(intptr_t exinf)
-
-ãªã¼ãã©ã³ã¿ã¤ãã®åæ­¢å¦çãè¡ãï¼
-
-ãã®é¢æ°ã¯ï¼target_timer.cfgä¸­ã«è¨è¿°ããéçAPIã«ããï¼çµäºå¦çã«ã¼ãã³
-ã¨ãã¦ã«ã¼ãã«ã«ç»é²ãããã¨ãæ³å®ãã¦ããï¼
-
-(3) void target_ovrtimer_start(PRCTIM ovrtim)
-
-ãªã¼ãã©ã³ã¿ã¤ããï¼ovrtimã§æå®ããæéãçµéãããå²è¾¼ã¿ãçºçããã
-ãã«è¨­å®ãï¼åä½éå§ããï¼ovrtimã0ã®å ´åã¯ï¼ã§ããéãæ©ããªã¼ãã©ã³ã¿
-ã¤ãå²è¾¼ã¿ãçºçãããï¼ovrtimã®åä½ã¯ãã¤ã¯ã­ç§ã¨ããï¼
-
-(4) PRCTIM target_ovrtimer_stop(void)
-
-ãªã¼ãã©ã³ã¿ã¤ããåæ­¢ãï¼ã¿ã¤ãã®æ®ãæéï¼å²è¾¼ã¿çºçã¾ã§ã®æéï¼ãè¿
-ãï¼æ®ãæéããªããªã£ã¦ããå ´åã«ã¯ï¼0ãè¿ãï¼ã¾ãï¼ãªã¼ãã©ã³ã¿ã¤ãã
-ãã®å²è¾¼ã¿è¦æ±ãã¯ãªã¢ããï¼ã¯ãªã¢ããªãã¨ã¹ããªã¢ã¹å²è¾¼ã¿ãçºçãããï¼
-ã¯ãªã¢ãããã¨ã¯å¿
-é ã§ã¯ãªãï¼ï¼
-
-(5) PRCTIM target_ovrtimer_get_current(void)
-
-ãªã¼ãã©ã³ã¿ã¤ãã®æ®ãæéï¼å²è¾¼ã¿çºçã¾ã§ã®æéï¼ãèª­ã¿åºãï¼æ®ãæé
-ããªããªã£ã¦ããå ´åã«ã¯ï¼0ãè¿ãï¼ãªã¼ãã©ã³ã¿ã¤ãããã®å²è¾¼ã¿ã¯ã¯ãªã¢
-ããªãï¼
-
-âæ®ããã­ã»ããµæéã®ä¿å­ï¼å¾©å¸°ã®å®è£
-ï¼ã¿ã¼ã²ããéä¾å­é¨ï¼
-
-ã¾ãï¼(a)ã¨(b)ãå®ç¾ããé¢æ°ovrtimer_stopã¨ovrtimer_startãã¿ã¼ã²ããé
-ä¾å­é¨ã«è¨­ãï¼ã¿ã¼ã²ããä¾å­é¨ã®è©²å½ç®æããå¼ã³åºãããã«ããï¼
-
-----------------------------------------
-void
-ovrtimer_stop(void)
-{
-	if (ovrtimer_flag) {
-		assert(p_rutsk != NULL && p_runtsk->staovr);
-		p_runtsk->leftotm = target_ovrtimer_stop();
-		ovrtimer_flag = false;
-	}
-}
-----------------------------------------
-void
-ovrtimer_start(void)
-{
-	if (p_runtsk->staovr) {
-		target_ovrtimer_start(p_runtsk->leftotm);
-		ovrtimer_flag = true;
-	}
-}
-----------------------------------------
-
-
-(c)ã¯ï¼(a)ã¨åãå¦çå
-å®¹ã§ããããï¼ovrtimer_stopãå¼ã³åºãã°ããï¼(d)
-ã¯ï¼p_runtskãNULLã§ãªãå ´åã«ï¼ovrtime_startãå¼ã³åºãããã«å®ç¾ããã°
-ããï¼
-
-(e)ã¯ï¼æ®ããã­ã»ããµæéãp_runtsk->leftotmã«æ ¼ç´ããå¿
-è¦ããªãç¹ã§
-(a)ã¨å¦çå
-å®¹ãç°ãªãããï¼ext_tskã¨ena_terã«æ¬¡ã®ä¿®æ­£ãå ãã
-ï¼task_term.cï¼ï¼task_terminateã®ä¸­ã§ï¼TCBä¸­ã®staovrãåæåããããï¼
-ãããå¼ã¶åã«ãªã¼ãã©ã³ã¿ã¤ãã®åæ­¢å¦çãå
-¥ããå¿
-è¦ãããï¼
-
-----------------------------------------
-ER
-ext_tsk(void)
-{
-	...
-#ifdef TOPPERS_SUPPORT_OVRHDR
-	if (p_runtsk->staovr) {
-		(void) target_ovrtimer_stop();
-		ovrtimer_flag = false;
-	}
-#endif /* TOPPERS_SUPPORT_OVRHDR */
-	(void) task_terminate(p_runtsk);
-	exit_and_dispatch();
-	...
-}
-----------------------------------------
-ER
-ena_ter(void)
-{
-		...
-#ifdef TOPPERS_SUPPORT_OVRHDR
-		if (p_runtsk->staovr) {
-			(void) target_ovrtimer_stop();
-			ovrtimer_flag = false;
-		}
-#endif /* TOPPERS_SUPPORT_OVRHDR */
-		(void) task_terminate(p_runtsk);
-		exit_and_dispatch();
-		...
-}
-----------------------------------------
-
-(f)ã¯(b)ã¨åãå¦çå
-å®¹ã§ããããï¼ovrtimer_startãå¼ã³åºãã°ããï¼
-
-âæ®ããã­ã»ããµæéã®ä¿å­ï¼å¾©å¸°ã®å®è£
-ï¼ã¿ã¼ã²ããä¾å­é¨ï¼
-
-(a) dispatchã¸ã®å
-¥å£
-
-----------------------------------------
-void
-dispatch(void)
-{
-|#ifdef TOPPERS_SUPPORT_OVRHDR
-|	ovrtimer_stop();					/* ãªã¼ãã©ã³ã¿ã¤ãã®åæ­¢ */
-|#endif /* TOPPERS_SUPPORT_OVRHDR */
-	ã¹ã¯ã©ããã¬ã¸ã¹ã¿ãé¤ããã¹ã¦ã®ã¬ã¸ã¹ã¿ãã¹ã¿ãã¯ã«ä¿å­ãã
-	...
-}
-----------------------------------------
-
-(b) dispatchããã®åºå£
-
-----------------------------------------
-void
-dispatch(void)
-{
-	...
-
-  dispatch_r:
-	ã¹ã¯ã©ããã¬ã¸ã¹ã¿ãé¤ããã¹ã¦ã®ã¬ã¸ã¹ã¿ãã¹ã¿ãã¯ããå¾©å¸°ãã
-|#ifdef TOPPERS_SUPPORT_OVRHDR
-|	ovrtimer_start();					/* ãªã¼ãã©ã³ã¿ã¤ãã®åä½éå§ */
-|#endif /* TOPPERS_SUPPORT_OVRHDR */
-	calltex(); â¦ (*b)
-}
-----------------------------------------
-
-(c) å²è¾¼ã¿å¦çï¼CPUä¾å¤å¦çã®å
-¥å£
-
-å²è¾¼ã¿å¦çï¼CPUä¾å¤å¦çã®å
-¥å£ã¯æ¬¡ã®éãã«ä¿®æ­£ããï¼
-
-----------------------------------------
-void
-<å²è¾¼ã¿ã®åºå
-¥å£å¦ç>(void)
-{
-	å°ãªãã¨ãã«ã¼ãã«ç®¡çã®å²è¾¼ã¿ãç¦æ­¢ããç¶æ
-ã«ãã â¦ (*f)
-	ã¹ã¯ã©ããã¬ã¸ã¹ã¿ãã¹ã¿ãã¯ã«ä¿å­ãã
-	if (ã¿ã¹ã¯ã³ã³ãã­ã¹ãã§å²è¾¼ã¿çºç) {
-|#ifdef TOPPERS_SUPPORT_OVRHDR
-|		ovrtimer_stop();				/* ãªã¼ãã©ã³ã¿ã¤ãã®åæ­¢ */
-|#endif /* TOPPERS_SUPPORT_OVRHDR */
-		dspflgãã¹ã¿ãã¯ã«ä¿å­ãã
-		dspflg = false;
-		ã¹ã¿ãã¯ãéã¿ã¹ã¯ã³ã³ãã­ã¹ãç¨ã®ã¹ã¿ãã¯ã«åãæãï¼
-								éã¿ã¹ã¯ã³ã³ãã­ã¹ãã«åãæãã
-	}
-	...
-}
-----------------------------------------
-void
-<CPUä¾å¤ã®åºå
-¥å£å¦ç>(void)
-{
-		if (ã¿ã¹ã¯ã³ã³ãã­ã¹ãã§CPUä¾å¤çºç) {
-			ï¼å°ãªãã¨ãï¼ã«ã¼ãã«ç®¡çã®å²è¾¼ã¿ãç¦æ­¢ããç¶æ
-ã«ãã
-|#ifdef TOPPERS_SUPPORT_OVRHDR
-|			ovrtimer_stop();			/* ãªã¼ãã©ã³ã¿ã¤ãã®åæ­¢ */
-|#endif /* TOPPERS_SUPPORT_OVRHDR */
-			dspflgãã¹ã¿ãã¯ã«ä¿å­ãã
-			dspflg = false;
-			ã¹ã¿ãã¯ãéã¿ã¹ã¯ã³ã³ãã­ã¹ãç¨ã®ã¹ã¿ãã¯ã«åãæãï¼
-									éã¿ã¹ã¯ã³ã³ãã­ã¹ãã«åãæãã
-		}
-		...
-}
-----------------------------------------
-
-(d) å²è¾¼ã¿å¦çï¼CPUä¾å¤å¦çã®åºå£
-
-å²è¾¼ã¿å¦çï¼CPUä¾å¤å¦çã®åºå£ã¯æ¬¡ã®éãã«ä¿®æ­£ããï¼
-
-----------------------------------------
-void
-<å²è¾¼ã¿ã®åºå
-¥å£å¦ç>(void)
-{
-	...
-
-		  ret_int_r:
-			ã¹ã¯ã©ããã¬ã¸ã¹ã¿ãé¤ããã¹ã¦ã®ã¬ã¸ã¹ã¿ãã¹ã¿ãã¯ããå¾©å¸°ãã
-		}
-|#ifdef TOPPERS_SUPPORT_OVRHDR
-|		if (p_runtsk != NULL) {
-|			ovrtimer_start();			/* ãªã¼ãã©ã³ã¿ã¤ãã®åä½éå§ */
-|		}
-|#endif /* TOPPERS_SUPPORT_OVRHDR */
-	}
-	...
-}
-----------------------------------------
-void
-<CPUä¾å¤ã®åºå
-¥å£å¦ç>(void)
-{
-	...
-
-			  ret_exc_r:
-				ã¹ã¯ã©ããã¬ã¸ã¹ã¿ãé¤ããã¹ã¦ã®ã¬ã¸ã¹ã¿ãã¹ã¿ãã¯ããå¾©å¸°ãã
-			}
-|#ifdef TOPPERS_SUPPORT_OVRHDR
-|			if (p_runtsk != NULL) {
-|				ovrtimer_start();		/* ãªã¼ãã©ã³ã¿ã¤ãã®åä½éå§ */
-|			}
-|a#endif /* TOPPERS_SUPPORT_OVRHDR */
-		}
-		CPUä¾å¤å¦çããã®ãªã¿ã¼ã³å¾ã«ï¼CPUã­ãã¯è§£é¤ç¶æ
-ã«æ»ãããã«æºåãã
-	}
-	...
-}
-----------------------------------------
-
-(e) ã¿ã¹ã¯ã®çµäºæ
-
-ã¿ã¼ã²ããéä¾å­é¨ã®ext_tskã¨ena_terã§å¯¾å¿ããï¼
-
-(f) ã¿ã¹ã¯ã®å®è¡éå§æ
-
-----------------------------------------
-void
-activate_context(TCB *p_tcb)
-{
-	...
-
-  start_r:
-|#ifdef TOPPERS_SUPPORT_OVRHDR
-|	ovrtimer_start();					/* ãªã¼ãã©ã³ã¿ã¤ãã®åä½éå§ */
-|#endif /* TOPPERS_SUPPORT_OVRHDR */
-	CPUã­ãã¯è§£é¤ç¶æ
-ã«ãã
-	èªã¿ã¹ã¯ï¼p_runtskï¼ã®èµ·åçªå°ãï¼æ¡å¼µæ
-å ±ããã©ã¡ã¼ã¿ã¨ãã¦å¼ã³åºã
-	ext_tskã«åå²ãã ... (*c)
-}
-----------------------------------------
-
-âãªã¼ãã©ã³ãã³ãã©ã®å¼åºãã®å®è£
-
-
-ãªã¼ãã©ã³ã¿ã¤ããæºäºãï¼å²è¾¼ã¿ãçºçããå ´åã«ã¯ï¼ã¿ã¼ã²ããä¾å­é¨ã®
-å²è¾¼ã¿ãã³ãã©ï¼ã¾ãã¯ï¼å²è¾¼ã¿ãµã¼ãã¹ã«ã¼ãã³ï¼ããï¼ã¿ã¼ã²ããéä¾å­
-é¨ã®call_ovrhdrãå¼ã³åºãï¼
-
-ããã§ï¼ãªã¼ãã©ã³ã¿ã¤ãå²è¾¼ã¿ãã³ãã©ã®èµ·åã¨ï¼sta_ovrï¼stp_ovrã®å¼åº
-ãã®ç«¶åã®åé¡ãããï¼å
-·ä½ä¾ã¨ãã¦ï¼ãªã¼ãã©ã³ã¿ã¤ããæºäºããç´å¾ã«ï¼
-ä»ã®é«åªå
-åº¦ã®å²è¾¼ã¿ãçºçãï¼ãã®å¦çä¸­ã§ãªã¼ãã©ã³ãã³ãã©ãååä½é
-å§ï¼æ®ããã­ã»ããµã¯æ´æ°ãããï¼ãããå ´åãåæ­¢ãããå ´åãåé¡ã«ãªãï¼
-ãã®å ´åï¼ãªã¼ãã©ã³ã¿ã¤ãå²è¾¼ã¿ãã³ãã©ã®ä¸­ã§ï¼ãªã¼ãã©ã³ãã³ãã©ãå¼
-ã³åºããªãããã«ãã¹ãã§ããï¼
-
-ã¿ã¼ã²ããéä¾å­é¨ã®call_ovrhdrã®å®è£
-ã¯æ¬¡ã®éãï¼
-
-----------------------------------------
-void
-call_ovrhdr(void)
-{
-	assert(sense_context());
-	assert(!sense_lock());
-	assert(ovrinib.ovrhdr != NULL);
-
-	lock_cpu();
-	if (p_runtsk != NULL && p_runtsk->staovr && p_runtsk->leftotm == 0U) {
-		p_runtsk->staovr = false;
-		unlock_cpu();
-
-		LOG_OVR_ENTER(p_runtsk);
-		((OVRHDR)(ovrinib.ovrhdr))(TSKID(p_runtsk), p_runtsk->p_tinib->exinf);
-		LOG_OVR_LEAVE(p_runtsk);
-	}
-	else {
-		/*
-		 *  ãã®ã«ã¼ãã³ãå¼ã³åºãããåã«ï¼ãªã¼ãã©ã³ãã³ãã©ã®èµ·åã
-		 *  ã­ã£ã³ã»ã«ãããå ´å
-		 */
-		unlock_cpu();
-	}
-}
-----------------------------------------
-
-p_runtskãNULLã®å ´åãèæ
-®ãã¦ããã®ã¯ï¼ã¹ããªã¢ã¹å²è¾¼ã¿ã«å¯¾ããã­ãã¹
-ãæ§ãç¢ºä¿ããããã§ããï¼
-
-ãªã¼ãã©ã³ãã³ãã©ã®å¼åºãå¾ã«ï¼å¼åºãåã®ç¶æ
-ï¼CPUã­ãã¯ï¼å²è¾¼ã¿åªå
-åº¦
-ãã¹ã¯ï¼ã«æ»ããªãã®ã¯ï¼ãã®ã«ã¼ãã³ããã®ãªã¿ã¼ã³å¾ã«ï¼å²è¾¼ã¿åºå£å¦ç
-ã§å
-ã®ç¶æ
-ã«æ»ãããã§ããï¼
-
-call_ovrhdrã¯ï¼å²è¾¼ã¿ãã³ãã©ããï¼ã¾ãã¯ï¼å²è¾¼ã¿ãã³ãã©ã¨ãã¦ï¼å¼ã³åº
-ãããããï¼ãã®ã«ã¼ãã³ã«æ¥ãã¾ã§ã«ï¼ovrtimer_stopãå¼ã°ãã¦ããï¼ããª
-ãã¡ï¼ãªã¼ãã©ã³ã¿ã¤ããåæ­¢ãã¦ããï¼ï¼
-
-å²è¾¼ã¿ãã³ãã©ã®è¨­å®ã¯ï¼ä»¥ä¸ã®ãããªéçAPIãï¼target_timer.hä¸­ã«è¨è¿°ã
-ããã¨ã§è¡ããã®ã¨ããï¼ã¿ã¼ã²ããã®äºæ
-ã§å¤æ´ãã¦ããï¼ï¼
-
-----------------------------------------
-#ifdef TOPPERS_SUPPORT_OVRHDR
-ATT_INI({ TA_NULL, 0, target_ovrtimer_initialize });
-ATT_TER({ TA_NULL, 0, target_ovrtimer_terminate });
-CFG_INT(INTNO_OVRTIMER, { TA_ENAINT | INTATR_OVRTIMER, INTPRI_OVRTIMER });
-DEF_INH(INHNO_OVRTIMER, { TA_NULL, target_ovrtimer_handler });
-#endif /* TOPPERS_SUPPORT_OVRHDR */
-----------------------------------------
-
-ãããã®éçAPIä¸­ã®ï¼INHNO_OVRTIMERï¼INTNO_OVRTIMERï¼INTPRI_OVRTIMERï¼
-INTATR_OVRTIMERã®4ã¤ã®å®æ°ã¯ï¼target_timer.hä¸­ã§å®ç¾©ããï¼
-
-âãªã¼ããããã®ä½æ¸æ¹æ³
-
-ä»¥ä¸ã§èª¬æããæ¹æ³ã§ã¯ï¼ã¿ã¼ã²ããä¾å­é¨ã®ã¢ã»ã³ããªè¨èªã§è¨è¿°ãããã¨
-ãæ³å®ããã³ã¼ãããï¼ã¿ã¼ã²ããéä¾å­é¨ã®ovrtimer_startã¨
-ovrtimer_stopãå¼ã³åºãã¦ãããï¼ãããã®é¢æ°ã¯ç­ããã®ã§ï¼ã¢ã»ã³ããªè¨
-èªã®ä¸­ã«å±éããæ¹ãå¹çãããï¼ãããã®é¢æ°ãã¢ã»ã³ããªè¨èªã®ä¸­ã«å±é
-ããå ´åã«ã¯ï¼ããããï¼OMIT_OVRTIMER_STARTã¨OMIT_OVRTIMER_STOPããã¯ã­
-å®ç¾©ããï¼
-
-âãã«ããã­ã»ããµå¯¾å¿ã«ã¼ãã«ã¸ã®å¯¾å¿ã«é¢ããã¡ã¢
-
-ãã«ããã­ã»ããµå¯¾å¿ã«ã¼ãã«ã«ããã¦ï¼sta_ovrï¼stp_ovrãï¼å¼ã³åºããå¦
-çåä½ã¨ç°ãªããã­ã»ããµã«å²ãä»ããããã¿ã¹ã¯ãå¯¾è±¡ã«çºè¡ããå ´åã®å®
-è£
-ã¯å·¥å¤«ãè¦ããï¼
-
-åºæ¬çã«ã¯ï¼å¯¾è±¡ã¿ã¹ã¯ãå²ãä»ãããããã­ã»ããµã«å¯¾ãã¦ãã­ã»ããµéå²
-è¾¼ã¿ãããããã¨ã«ãã£ã¦ï¼å¯¾è±¡ã¿ã¹ã¯ã®ãªã¼ãã©ã³ãã³ãã©ã®åä½ãéå§ï¼
-åæ­¢ããããã¨ãå¿
-è¦ã§ããï¼
-
-âMac OS Xã¿ã¼ã²ããä¾å­é¨ã«é¢ããã¡ã¢
-
-Mac OS Xã¿ã¼ã²ããä¾å­é¨ã§ã¯ï¼å²è¾¼ã¿å¦çï¼CPUä¾å¤å¦çåºå£ãããªã¿ã¼ã³ã
-ãç´å¾ï¼dispatch_handlerãåä½ããåã«ï¼ä»ã®å²è¾¼ã¿å¦çãå®è¡ãããå ´å
-ãããï¼ãã®å ´åã«ã¯ï¼ovrtimer_stopãç¶ãã¦å¼ã³åºãããç¶æ³ãçããï¼ã¿ã¼
-ã²ããéä¾å­é¨ã§ovrtimer_flagãç¨ãããã¨ã§ï¼ovrtimer_stopãç¶ãã¦å¼ã³
-åºããã¦ãåé¡ãªãããã«ãªã£ã¦ããããï¼ãã®å®è£
-ã§å·®ãæ¯ããªãï¼
-
-ã¿ã¼ã²ããéä¾å­é¨ã§ovrtimer_flagãç¨ããªãå ´åï¼å²è¾¼ã¿å¦çï¼CPUä¾å¤åº
-å£å¦çã§ã¿ã¹ã¯åæããè¡ãå ´åã«ï¼åæãåã®ã¿ã¹ã¯ã«å¯¾ãã¦ãªã¼ãã©ã³ã
-ã³ãã©ãåä½éå§ãï¼ç´å¾ã«åæ­¢ããã¨ããï¼ã ããªï¼å¦çãè¡ãå®è£
-ãèã
-ãããï¼
-
-ä»¥ä¸
Index: asp3_wo_tecs/trunk/doc/porting.txt
===================================================================
--- asp3_wo_tecs/trunk/doc/porting.txt	(revision 302)
+++ asp3_wo_tecs/trunk/doc/porting.txt	(revision 306)
@@ -3,6 +3,6 @@
 		ã¿ã¼ã²ããä¾å­é¨ ãã¼ãã£ã³ã°ã¬ã¤ã
 
-		å¯¾å¿ãã¼ã¸ã§ã³: Release 3.B.0
-		æçµæ´æ°: 2016å¹´1æ12æ¥
+		å¯¾å¿ãã¼ã¸ã§ã³: Release 3.1.0
+		æçµæ´æ°: 2016å¹´3æ31æ¥
 
 ãã®ãã­ã¥ã¡ã³ãã¯ï¼TOPPERS/ASP3ã«ã¼ãã«ãï¼æªãµãã¼ãã®ã¿ã¼ã²ããã·ã¹
@@ -63,6 +63,6 @@
  ã¢ã®å©ç¨ã«ããç´æ¥çã¾ãã¯éæ¥çã«çãããããªãæå®³ã«é¢ãã¦ãï¼ã
  ã®è²¬ä»»ãè² ããªãï¼
- 
- $Id: porting.txt 507 2016-01-12 01:58:33Z ertl-hiro $
+
+ $Id: porting.txt 718 2016-04-01 15:05:01Z ertl-hiro $
 ----------------------------------------------------------------------
 
@@ -93,5 +93,5 @@
 	2.5 ãªãã»ãããã¡ã¤ã«ã®çææ¹æ³
 	2.6 ãªã³ã¯æ¹æ³ã®è¨­å®
-	2.7 ä¾å­é¢ä¿ã®å®ç¾©
+	2.7 ä¾å­é¢ä¿ã®å®ç¾©ï¼ãªãã·ã§ã³ï¼
 	2.8 ãã®ä»ã®è¨­å®
 ï¼ï¼TOPPERSå
@@ -204,10 +204,12 @@
 	6.15 åçã¡ã¢ãªç®¡çï¼ãªãã·ã§ã³ï¼
 		6.15.1 TLSFãç¨ããã¡ã¢ãªç®¡çã¢ã¸ã¥ã¼ã«ã®ä¾
+	6.16 ã«ã¼ãã«å®è£
+ã®ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«
 ï¼ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿è¨­å®ãã¡ã¤ã«ã®ã¿ã¼ã²ããä¾å­é¨
 	7.1 è¨­å®ãã¡ã¤ã«ã¨ã¿ã¼ã²ããä¾å­é¨ã®ä½ç½®ä»ã
-	7.2 ãã¹2ã®ãã³ãã¬ã¼ããã¡ã¤ã«ã®ã¿ã¼ã²ããä¾å­é¨
+	7.2 ãã¹2ã®çæã¹ã¯ãªããã®ã¿ã¼ã²ããä¾å­é¨
 		7.2.1 ã¿ã¼ã²ããéä¾å­é¨ãã¤ã³ã¯ã«ã¼ãããåã«å®ç¾©ãã¹ãå¤æ°
 		7.2.2 ã¿ã¼ã²ããéä¾å­é¨ã§å®ç¾©ãããå¤æ°
-	7.3 ãã¹3ã®ãã³ãã¬ã¼ããã¡ã¤ã«ã®ã¿ã¼ã²ããä¾å­é¨
+	7.3 ãã¹3ã®çæã¹ã¯ãªããã®ã¿ã¼ã²ããä¾å­é¨
 		7.3.1 ã¿ã¼ã²ããéä¾å­é¨ãã¤ã³ã¯ã«ã¼ãããåã«å®ç¾©ãã¹ãå¤æ°
 		7.3.2 ã¿ã¼ã²ããä¾å­é¨ã§è¡ãã¹ãã¨ã©ã¼ãã§ãã¯
@@ -215,14 +217,17 @@
 è¦ãªã¹ã¿ãã®å®ç¾©ãã¡ã¤ã«
 ï¼ï¼ã·ã¹ãã ãµã¼ãã¹ç­ã®ã¿ã¼ã²ããä¾å­é¨
-	8.0 ã·ã¹ãã ãµã¼ãã¹ã®ã¿ã¼ã²ããä¾å­é¨
-	8.1 ã·ã¹ãã ã­ã°æ©è½ã®ã¿ã¼ã²ããä¾å­å®ç¾©
-	8.2 ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®ã¿ã¼ã²ããä¾å­å®ç¾©
-	8.3 ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ã¿ã¼ã²ããä¾å­é¨
-		8.3.1 å¤æ°ï¼ãã¼ã¿åï¼ç®¡çé¢æ°
-		8.3.2 ããã¤ã¹ãµã¼ãã¹ã«ã¼ãã³
-		8.3.3 ã³ã¼ã«ããã¯ã«ã¼ãã³
-	8.4 ã«ã¼ãã«èµ·åã¡ãã»ã¼ã¸ã®åºåã®ã¿ã¼ã²ããä¾å­å®ç¾©
-	8.5 ãµã³ãã«ãã­ã°ã©ã ã¨ãã¹ããã­ã°ã©ã ã®ã¿ã¼ã²ããä¾å­å®ç¾©
-	8.6 å®è¡æéåå¸éè¨ãµã¼ãã¹ã®ã¿ã¼ã²ããä¾å­å®ç¾©
+	8.1 ã·ã¹ãã ãµã¼ãã¹ã®æ§æã¨ã¿ã¼ã²ããä¾å­é¨
+	8.2 ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ã¿ã¼ã²ããä¾å­é¨
+		8.2.1 ã¿ã¼ã²ããä¾å­é¨ã®å®ç¾å½¢æ
+
+		8.2.2 ã¿ã¼ã²ããä¾å­é¨ã®åãå£ï¼æä¾ãããµã¼ãã¹ï¼
+		8.2.3 ã¿ã¼ã²ããä¾å­é¨ã®å¼ã³å£ï¼ã³ã¼ã«ããã¯ï¼
+	8.3 ä½ã¬ãã«åºå
+		8.3.1 ä½ã¬ãã«åºåã®å®ç¾å½¢æ
+
+		8.3.2 ä½ã¬ãã«åºåã®åãå£ï¼æä¾ãããµã¼ãã¹ï¼
+	8.4 ã¿ã¼ã²ããä¾å­é¨ã®ã³ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«
+	8.5 ã·ã¹ãã ãµã¼ãã¹ã®ã¿ã¼ã²ããä¾å­å®ç¾©
+	8.6 ãµã³ãã«ãã­ã°ã©ã ã¨ãã¹ããã­ã°ã©ã ã®ã¿ã¼ã²ããä¾å­å®ç¾©
 ï¼ï¼ãã®ä»
 	9.1 ãã­ã¥ã¡ã³ã
@@ -409,7 +414,7 @@
 
 ã»ãã®ä»ã®ãã£ã¬ã¯ããªã«ç½®ããã¦ããå ´åã«ã¯ï¼ã½ã¼ã¹ãã­ã°ã©ã ã®ã«ã¼ã
-ããã£ã¬ã¯ããªï¼configureãç½®ããã¦ãããã£ã¬ã¯ããªï¼ããã®ç¸å¯¾ãã¹ã§è¨
-ãè¿°ããï¼
-		ä¾ï¼#include "arch/logtrace/trace_config.h"
+ããã£ã¬ã¯ããªï¼configure.rbãç½®ããã¦ãããã£ã¬ã¯ããªï¼ããã®ç¸å¯¾ãã¹
+ãã§è¨è¿°ããï¼
+		ä¾ï¼#include "arch/tracelog/trace_log.h"
 
 ã»ã«ã¼ãã«ãæ§æãããã¡ã¤ã«ããï¼kernelãã£ã¬ã¯ããªä¸ã®ããããã¡ã¤ã«
@@ -477,5 +482,5 @@
 
 GNUéçºç°å¢ç¨ã®ã·ã¹ãã æ§ç¯ç°å¢ã¯ï¼ãµã³ãã«ã®Makefileï¼sample/Makefileï¼ï¼
-ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªããï¼configureï¼ã§æ§æãããï¼
+ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªããï¼configure.rbï¼ã§æ§æãããï¼
 
 GNUéçºç°å¢ä»¥å¤ã®éçºç°å¢ãç¨ããå ´åã«ã¯ï¼ãããã®ãã¡ã¤ã«ãï¼ãã®éçº
@@ -525,5 +530,5 @@
 ãªãï¼ã¿ã¼ã²ããä¾å­é¨ãã£ã¬ã¯ããªã¯ï¼ã¿ã¼ã²ããéä¾å­ã®Makefileã«ãã
 ã¦ï¼å¤æ°TARGETDIRã«å®ç¾©ããã¦ãããã¨ãæ³å®ããï¼ã¾ãï¼ã½ã¼ã¹ãã­ã°ã©ã 
-ã®ã«ã¼ããã£ã¬ã¯ããªï¼configureãç½®ããã¦ãããã£ã¬ã¯ããªï¼ã¯ï¼å¤æ°
+ã®ã«ã¼ããã£ã¬ã¯ããªï¼configure.rbãç½®ããã¦ãããã£ã¬ã¯ããªï¼ã¯ï¼å¤æ°
 SRCDIRã«å®ç¾©ããã¦ãããã¨ãæ³å®ããï¼
 
@@ -610,8 +615,4 @@
 ----------------------------------------
 
-ã¾ãï¼ã¢ã»ã³ããªè¨èªã¬ãã«ã®è­å¥åãï¼Cè¨èªã¬ãã«ã®è­å¥åã®å
-é ­ã«"_"ã
-ä»ãããã®ã«ãªãå ´åã«ã¯ï¼CDEFSã«-DTOPPERS_LABEL_ASMãè¿½å ããï¼
-
 (2-4-6) SYSSVC_DIRS			ã·ã¹ãã ãµã¼ãã¹ã®ã½ã¼ã¹ãç½®ããããã£ã¬ã¯ããª
 (2-4-7) SYSSVC_ASMOBJS		ã¢ã»ã³ããªè¨èªã§è¨è¿°ãããã·ã¹ãã ãµã¼ãã¹ã®
@@ -657,5 +658,5 @@
 åã«ã¯ï¼ä¸ã«ç¤ºããå¤æ°ã«å®ç¾©ããï¼å
 ·ä½çã«ã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®å¤å
-å¾ã·ã³ãã«ãã¼ãã«ã®ã¿ã¼ã²ããä¾å­é¨ï¼target_def.csvï¼ãããå ´åã«ã¯ï¼
+å¾ã·ã³ãã«ãã¼ãã«ã®ã¿ã¼ã²ããä¾å­é¨ï¼target_sym.defï¼ãããå ´åã«ã¯ï¼
 ãããæå®ãããªãã·ã§ã³ãè¿½å ããå¿
 è¦ãããï¼
@@ -666,5 +667,5 @@
 
 ----------------------------------------
-CFG_TABS := $(CFG_TABS) --cfg1-def-table $(TARGETDIR)/target_def.csv
+CFG_TABS := $(CFG_TABS) --symval-table $(TARGETDIR)/target_sym.def
 ----------------------------------------
 
@@ -738,48 +739,49 @@
 offset.hãçæããï¼
 
-ãã®æ¹æ³ãç¨ããããã«ã¯ï¼ã¿ã¼ã²ããä¾å­é¨ã§ãªãã»ãããã¡ã¤ã«çæç¨ã
-ã³ãã¬ã¼ããã¡ã¤ã«ãç¨æãï¼target_cfg1_out.hï¼ã¾ãã¯ï¼ããããã¤ã³ã¯ã«ã¼
-ãããããã¡ã¤ã«ï¼ã¨target_def.csvï¼ã¾ãã¯ï¼åç­ã®å½¹å²ãæã¤ãã¡ã¤ã«ï¼
-ã«è¨è¿°ãè¿½å ããå¿
-è¦ãããï¼ãªãï¼ãããã®ãã¡ã¤ã«ãæ°ãã«ç¨æããéã
-ä¿®æ­£ããéã«ã¯ï¼offset.hã«å¦¥å½ãªå®ç¾©ãçæããã¦ãããã¨ãç¢ºèªãã¹ãã§
-ããï¼
-
-ãªãã»ãããã¡ã¤ã«çæç¨ãã³ãã¬ã¼ããã¡ã¤ã«ã¯ï¼ã¿ã¼ã²ããä¾å­é¨ã§ï¼
-target_offset.tfã«ç¨æããï¼ãªãã»ãããã¡ã¤ã«çæç¨ãã³ãã¬ã¼ããã¡ã¤
-ã«ãå¥ã®ãã£ã¬ã¯ããªã¾ãã¯å¥ã®ãã¡ã¤ã«åã§ç¨æããå ´åã«ã¯ï¼ãã®ãã¡ã¤
-ã«åãï¼Makefileã®ã¿ã¼ã²ããä¾å­é¨ã§OFFSET_TFã«å®ç¾©ããï¼
-
-ãªãã»ãããã¡ã¤ã«çæç¨ãã³ãã¬ã¼ããã¡ã¤ã«ã«ã¯ï¼ä»¥ä¸ã®å
+ãã®æ¹æ³ãç¨ããããã«ã¯ï¼ã¿ã¼ã²ããä¾å­é¨ã§ãªãã»ãããã¡ã¤ã«çæç¨ã®
+çæã¹ã¯ãªãããç¨æãï¼target_cfg1_out.hï¼ã¾ãã¯ï¼ããããã¤ã³ã¯ã«ã¼ã
+ããããã¡ã¤ã«ï¼ã¨target_sym.defï¼ã¾ãã¯ï¼åç­ã®å½¹å²ãæã¤ãã¡ã¤ã«ï¼ã«
+è¨è¿°ãè¿½å ããå¿
+è¦ãããï¼ãªãï¼ãããã®ãã¡ã¤ã«ãæ°ãã«ç¨æããéãä¿®
+æ­£ããéã«ã¯ï¼offset.hã«å¦¥å½ãªå®ç¾©ãçæããã¦ãããã¨ãç¢ºèªãã¹ãã§ã
+ãï¼
+
+ãªãã»ãããã¡ã¤ã«çæç¨ã®çæã¹ã¯ãªããã¯ï¼ã¿ã¼ã²ããä¾å­é¨ã§ï¼
+target_offset.trbã«ç¨æããï¼ãªãã»ãããã¡ã¤ã«çæç¨ã®çæã¹ã¯ãªããã
+å¥ã®ãã£ã¬ã¯ããªã¾ãã¯å¥ã®ãã¡ã¤ã«åã§ç¨æããå ´åã«ã¯ï¼ãã®ãã¡ã¤ã«å
+ãï¼Makefileã®ã¿ã¼ã²ããä¾å­é¨ã§TARGET_OFFSET_TRBã«å®ç¾©ããï¼
+
+ãªãã»ãããã¡ã¤ã«çæç¨ã®çæã¹ã¯ãªããã«ã¯ï¼ä»¥ä¸ã®å
 å®¹ãè¨è¿°ããï¼
 
-(1) æ¨æºãã³ãã¬ã¼ããã¡ã¤ã«ã®ã¤ã³ã¯ã«ã¼ã
-
-ãªãã»ãããã¡ã¤ã«çæç¨ã®æ¨æºãã³ãã¬ã¼ããã¡ã¤ã«ï¼kernel/genoffset.tfï¼
-ãã¤ã³ã¯ã«ã¼ãããï¼æ¨æºãã³ãã¬ã¼ããã¡ã¤ã«ã«ã¯ï¼ä»¥ä¸ã§ç¨ããDEFINEé¢
-æ°ãDEFINE_BITé¢æ°ã®å®ç¾©ãªã©ãå«ã¾ãã¦ããï¼
-
-----------------------------------------
-$ æ¨æºãã³ãã¬ã¼ããã¡ã¤ã«ã®ã¤ã³ã¯ã«ã¼ã
-$INCLUDE "kernel/genoffset.tf"$
+(1) çæã¹ã¯ãªããã®ã¿ã¼ã²ããéä¾å­é¨ã®ã¤ã³ã¯ã«ã¼ã
+
+ãªãã»ãããã¡ã¤ã«çæç¨ã®çæã¹ã¯ãªããã®ã¿ã¼ã²ããéä¾å­é¨
+ï¼kernel/genoffset.trbï¼ãã¤ã³ã¯ã«ã¼ãããï¼çæã¹ã¯ãªããã®ã¿ã¼ã²ãã
+éä¾å­é¨ã«ã¯ï¼ä»¥ä¸ã§ç¨ããGenerateDefineé¢æ°ãGenerateDefineBité¢æ°ã®å®
+ç¾©ãªã©ãå«ã¾ãã¦ããï¼
+
+----------------------------------------
+# ã¿ã¼ã²ããéä¾å­é¨ã®ã¤ã³ã¯ã«ã¼ã
+IncludeTrb("kernel/genoffset.trb")
 ----------------------------------------
 
 (2) ãªãã»ããå¤ã®ãã¯ã­å®ç¾©ã®çæ
 
-DEFINEé¢æ°ãç¨ãã¦ï¼ãªãã»ããå¤ã®ãã¯ã­å®ç¾©ãçæããï¼ä¾ãã°ï¼TCBä¸­ã®
-ã¿ã¹ã¯ã³ã³ãã­ã¹ããã­ãã¯ï¼tskctxbï¼ã«å«ã¾ããpcãã£ã¼ã«ãã®ãªãã»ãã
-å¤ãï¼TCB_pcã«ãã¯ã­å®ç¾©ããå ´åã«ã¯ï¼æ¬¡ã®ããã«è¨è¿°ããï¼
-
-----------------------------------------
-$ ãªãã»ããå¤ã®ãã¯ã­å®ç¾©ã®çæ
-$DEFINE("TCB_pc", offsetof_TCB_pc)$
-----------------------------------------
-
-ããã§ï¼DEFINEé¢æ°ã®ç¬¬1ãã©ã¡ã¼ã¿ã¯ãã¯ã­å®ç¾©ããã·ã³ãã«ï¼ç¬¬2ãã©ã¡ã¼
-ã¿ã¯ï¼ãªãã»ããå¤ãä¿æããã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®å¤æ°ã§ããï¼
+GenerateDefineé¢æ°ãç¨ãã¦ï¼ãªãã»ããå¤ã®ãã¯ã­å®ç¾©ãçæããï¼ä¾ãã°ï¼
+TCBä¸­ã®ã¿ã¹ã¯ã³ã³ãã­ã¹ããã­ãã¯ï¼tskctxbï¼ã«å«ã¾ããpcãã£ã¼ã«ãã®ãª
+ãã»ããå¤ãï¼TCB_pcã«ãã¯ã­å®ç¾©ããå ´åã«ã¯ï¼æ¬¡ã®ããã«è¨è¿°ããï¼
+
+----------------------------------------
+# ãªãã»ããå¤ã®ãã¯ã­å®ç¾©ã®çæ
+GenerateDefine("TCB_pc", $offsetof_TCB_pc)
+----------------------------------------
+
+ããã§ï¼GenerateDefineé¢æ°ã®ç¬¬1ãã©ã¡ã¼ã¿ã¯ãã¯ã­å®ç¾©ããã·ã³ãã«ï¼ç¬¬2
+ãã©ã¡ã¼ã¿ã¯ï¼ãªãã»ããå¤ãä¿æããå¤æ°ã§ããï¼
 
 ã¾ãï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ãï¼ãªãã»ããå¤ãä¿æããå¤æ°ï¼ä¸ã®ä¾ã§ã¯
-offsetof_TCB_pcï¼ã«å¤ãè¨­å®ããããã«ï¼target_def.csvï¼ã¾ãã¯ï¼åç­ã®å½¹
-å²ãæã¤ãã¡ã¤ã«ï¼ã«æ¬¡ã®ä¾ã®ãããªè¡ãè¿½å ããï¼
+$offsetof_TCB_pcï¼ã«å¤ãè¨­å®ããããã«ï¼target_sym.defï¼ã¾ãã¯ï¼åç­ã®
+å½¹å²ãæã¤ãã¡ã¤ã«ï¼ã«æ¬¡ã®ãããªè¡ãè¿½å ããï¼
 
 ----------------------------------------
@@ -788,6 +790,6 @@
 
 ãã ãï¼åãªãã¸ã§ã¯ãã®åæåãã­ãã¯ã®ã¿ã¼ã²ããéä¾å­ã®ãã£ã¼ã«ãã®
-ãªãã»ããå¤ãåå¾ããããã®è¨è¿°ã¯ï¼kernel/kernel_def.csvã«å«ã¾ãã¦ããï¼
-kernel/kernel_def.csvã«å«ã¾ãã¦ããè¨è¿°ã¯ï¼target_def.csvï¼ã¾ãã¯ï¼åç­
+ãªãã»ããå¤ãåå¾ããããã®è¨è¿°ã¯ï¼kernel/kernel_sym.defã«å«ã¾ãã¦ããï¼
+kernel/kernel_sym.defã«å«ã¾ãã¦ããè¨è¿°ã¯ï¼target_sym.defï¼ã¾ãã¯ï¼åç­
 ã®å½¹å²ãæã¤ãã¡ã¤ã«ï¼ã«è¿½å ããå¿
 è¦ã¯ãªãï¼
@@ -795,31 +797,31 @@
 (3) ããããªãã»ããå¤ç­ã®ãã¯ã­å®ç¾©ã®çæ
 
-DEFINE_BITé¢æ°ãç¨ãã¦ï¼ãããã®ãªãã»ããå¤ï¼ãããä½ç½®ï¼ããããã¹ã¯
-ã®ãã¯ã­å®ç¾©ãçæããï¼ä¾ãã°ï¼TCBä¸­ã®enaterãã£ã¼ã«ãã®ãªãã»ããå¤ï¼
-ãããä½ç½®ï¼ããããã¹ã¯ãï¼ããããTCB_enaterï¼TCB_enater_bitï¼
+GenerateDefineBité¢æ°ãç¨ãã¦ï¼ãããã®ãªãã»ããå¤ï¼ãããä½ç½®ï¼ããã
+ãã¹ã¯ã®ãã¯ã­å®ç¾©ãçæããï¼ä¾ãã°ï¼TCBä¸­ã®enaterãã£ã¼ã«ãã®ãªãã»ã
+ãå¤ï¼ãããä½ç½®ï¼ããããã¹ã¯ãï¼ããããTCB_enaterï¼TCB_enater_bitï¼
 TCB_enater_maskã«ãã¯ã­å®ç¾©ããå ´åã«ã¯ï¼æ¬¡ã®ããã«è¨è¿°ããï¼
 
 ----------------------------------------
-$DEFINE_BIT("TCB_enater", sizeof_TCB, "B")$
-----------------------------------------
-
-ããã§ï¼DEFINE_BITé¢æ°ã®ç¬¬1ãã©ã¡ã¼ã¿ã¯ãã¯ã­å®ç¾©ããã·ã³ãã«ï¼ã®å
-é ­é¨
-åï¼ï¼ç¬¬2ãã©ã¡ã¼ã¿ã¯æ§é ä½ã®ãµã¤ãºã§ããï¼ç¬¬3ãã©ã¡ã¼ã¿ã«ã¯ï¼ãããã®
-ãªãã»ããï¼ãããä½ç½®ï¼ããããã¹ã¯ãï¼8ãããåä½ï¼ãã¤ãåä½ï¼ã§æ±ã
-ãå ´åã«ã¯"B"ãï¼16ãããåä½ã§æ±ããå ´åã«ã¯"H"ãï¼32ãããåä½ã§æ±ã
-ãå ´åã«ã¯"W"ãæå®ããï¼ãªãï¼ãããä½ç½®ã¯ï¼LSBã0ã¨ããå¤ï¼ããããªã
-ã«ã¨ã³ãã£ã¢ã³ãæ³å®ï¼ãæ±ããï¼
+GenerateDefineBit("TCB_enater", $sizeof_TCB, "B")
+----------------------------------------
+
+ããã§ï¼GenerateDefineBité¢æ°ã®ç¬¬1ãã©ã¡ã¼ã¿ã¯ãã¯ã­å®ç¾©ããã·ã³ãã«
+ï¼ã®å
+é ­é¨åï¼ï¼ç¬¬2ãã©ã¡ã¼ã¿ã¯æ§é ä½ã®ãµã¤ãºã§ããï¼ç¬¬3ãã©ã¡ã¼ã¿ã«ã¯ï¼
+ãããã®ãªãã»ããï¼ãããä½ç½®ï¼ããããã¹ã¯ãï¼8ãããåä½ï¼ãã¤ãåä½ï¼
+ã§æ±ããå ´åã«ã¯"B"ãï¼16ãããåä½ã§æ±ããå ´åã«ã¯"H"ãï¼32ãããåä½
+ã§æ±ããå ´åã«ã¯"W"ãæå®ããï¼ãªãï¼ãããä½ç½®ã¯ï¼LSBã0ã¨ããå¤ï¼ãã
+ããªãã«ã¨ã³ãã£ã¢ã³ãæ³å®ï¼ãæ±ããï¼
 
 ã¾ãï¼target_cfg1_out.hï¼ã¾ãã¯ï¼ããããã¤ã³ã¯ã«ã¼ãããããã¡ã¤ã«ï¼ã«ï¼
 ããããªãã»ããå¤ç­ãæ±ããããã®æ§é ä½ã®å¤æ°å®ç¾©ãè¿½å ããï¼ãã®æ§é 
-ä½ã®å¤æ°ã¯ï¼åç§°ããã¯ã­å®ç¾©ããã·ã³ãã«ï¼DEFINE_BITé¢æ°ã®ç¬¬1ãã©ã¡ã¼ã¿ï¼
-ã¨ãï¼å¯¾è±¡ã®ãããã®ã¿ã1ã§ï¼ä»ã®ãã¹ã¦ã®ãããã0ã«ãªãããã«åæåã
-ãï¼ã¾ãï¼constä¿®é£¾å­ãä»å ããï¼ä¾ãã°ï¼TCBä¸­ã®enaterãã£ã¼ã«ãã®ãã
-ããªãã»ããå¤ç­ãæ±ããå ´åã«ã¯ï¼æ¬¡ã®ãããªå®ç¾©ãè¿½å ããï¼tskctxbã®å
-æå¤ã¯ï¼ã¿ã¼ã²ããä¾å­ãªã®ã§æ³¨æãããã¨ï¼ï¼
-
-----------------------------------------
-const TCB	TCB_enater = {
+ä½ã®å¤æ°ã¯ï¼åç§°ããã¯ã­å®ç¾©ããã·ã³ãã«ï¼GenerateDefineBité¢æ°ã®ç¬¬1ã
+ã©ã¡ã¼ã¿ï¼ã¨ãï¼å¯¾è±¡ã®ãããã®ã¿ã1ã§ï¼ä»ã®ãã¹ã¦ã®ãããã0ã«ãªããã
+ã«åæåããï¼ã¾ãï¼constä¿®é£¾å­ãä»å ããï¼ä¾ãã°ï¼TCBä¸­ã®enaterãã£ã¼
+ã«ãã®ããããªãã»ããå¤ç­ãæ±ããå ´åã«ã¯ï¼æ¬¡ã®ãããªå®ç¾©ãè¿½å ãã
+ï¼tskctxbã®åæå¤ã¯ï¼ã¿ã¼ã²ããä¾å­ãªã®ã§æ³¨æãããã¨ï¼ï¼
+
+----------------------------------------
+const TCB TCB_enater = {
 	{ NULL, NULL },			/* task_queue */
 	NULL,					/* p_tinib */
@@ -846,6 +848,6 @@
 ----------------------------------------
 
-ããã«ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ãï¼æ§é ä½ã®ãµã¤ãºï¼ä¸ã®ä¾ã§ã¯sizeof_TCBï¼ã«
-å¤ãè¨­å®ããããã«ï¼target_def.csvï¼ã¾ãã¯ï¼åç­ã®å½¹å²ãæã¤ãã¡ã¤ã«ï¼
+ããã«ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ãï¼æ§é ä½ã®ãµã¤ãºï¼ä¸ã®ä¾ã§ã¯$sizeof_TCBï¼ã«
+å¤ãè¨­å®ããããã«ï¼target_sym.defï¼ã¾ãã¯ï¼åç­ã®å½¹å²ãæã¤ãã¡ã¤ã«ï¼
 ã«æ¬¡ã®ä¾ã®ãããªè¡ãè¿½å ããï¼
 
@@ -854,6 +856,6 @@
 ----------------------------------------
 
-ãã ãï¼åè¿°ããéãï¼kernel/kernel_def.csvã«å«ã¾ãã¦ããè¨è¿°ã¯ï¼
-target_def.csvï¼ã¾ãã¯ï¼åç­ã®å½¹å²ãæã¤ãã¡ã¤ã«ï¼ã«è¿½å ããå¿
+ãã ãï¼åè¿°ããéãï¼kernel/kernel_sym.defã«å«ã¾ãã¦ããè¨è¿°ã¯ï¼
+target_sym.defï¼ã¾ãã¯ï¼åç­ã®å½¹å²ãæã¤ãã¡ã¤ã«ï¼ã«è¿½å ããå¿
 è¦ã¯ãªãï¼
 
@@ -979,27 +981,38 @@
 2.7 ä¾å­é¢ä¿ã®å®ç¾©ï¼ãªãã·ã§ã³ï¼
 
-ã¿ã¼ã²ããä¾å­é¨ã®éçºä¸­ã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®åãã¹ã«å¯¾ãã¦ï¼ã¿ã¼ã²ã
-ãä¾å­é¨ã®ãã³ãã¬ã¼ããã¡ã¤ã«ã¸ã®ä¾å­é¢ä¿ãå®ç¾©ããã¨ä¾¿å©ã§ããï¼å
-·ä½
-çã«ã¯ï¼ãã¹1ï¼ãã¹2ï¼ãã¹3ãä¾å­ãããã¡ã¤ã«ãï¼ããããcfg1_out.cï¼
-kernel_cfg.timestampï¼$(OBJFILE)ã«å¯¾ããä¾å­é¢ä¿ã®å½¢ã§è¨è¿°ããï¼
-
-ã»ã¨ãã©ã®å ´åï¼ã¿ã¼ã²ããä¾å­é¨ãã£ã¬ã¯ããªã®Makefile.targetã«å«ããè¨
-è¿°ã¯ï¼ä»¥ä¸ã®ããã«ãªãï¼
-
-----------------------------------------
-cfg1_out.c: $(TARGETDIR)/target_def.csv
-kernel_cfg.timestamp: $(TARGETDIR)/target.tf
-$(OBJFILE): $(TARGETDIR)/target_check.tf
+ã¿ã¼ã²ããä¾å­é¨ã®éçºä¸­ã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®åãã¹ã«å¯¾ãã¦ï¼çæã¹
+ã¯ãªããã®ã¿ã¼ã²ããä¾å­é¨ã¸ã®ä¾å­é¢ä¿ãå®ç¾©ããã¨ä¾¿å©ã§ããï¼å
+·ä½çã«
+ã¯ï¼ãã¹1ï¼ãªãã»ãããã¡ã¤ã«çæï¼ãã¹2ï¼ãã¹3ãä¾å­ãããã¡ã¤ã«ãï¼ã
+ãããcfg1_out.timestampï¼offset.timestampï¼kernel_cfg.timestampï¼
+check.timestampã«å¯¾ããä¾å­é¢ä¿ã®å½¢ã§è¨è¿°ããï¼
+
+å
+¸åçã«ã¯ï¼ã¿ã¼ã²ããä¾å­é¨ãã£ã¬ã¯ããªã®Makefile.targetã«å«ããè¨è¿°ã¯ï¼
+ä»¥ä¸ã®ããã«ãªãï¼
+
+----------------------------------------
+cfg1_out.timestamp: $(TARGETDIR)/target_sym.def
+offset.timestamp: $(TARGETDIR)/target_offset.trb
+kernel_cfg.timestamp: $(TARGETDIR)/target_kernel.trb
+check.timestamp: $(TARGETDIR)/target_check.trb
 ----------------------------------------
 
 2.8 ãã®ä»ã®è¨­å®
 
-(2-8-1) CLEAN_FILES				cleanã«ããåé¤ãããã¡ã¤ã«å
+(2-8-1) TARGET_OFFSET_TRB		target_offset.trbã®ãã¹å
+(2-8-2) TARGET_KERNEL_TRB		target_kernel.trbã®ãã¹å
+(2-8-3) TARGET_CHECK_TRB		target_check.trbã®ãã¹å
+(2-8-4) TARGET_KERNEL_CFG		target_kernel.cfgã®ãã¹å
+
+ã¿ã¼ã²ããä¾å­é¨ã®åãã¡ã¤ã«ã®ãã¹åãï¼æ¨æºããå¤æ´ãããå ´åã«ã¯ï¼ã
+ã¹åããããã®å¤æ°ã«å®ç¾©ããï¼
+
+(2-8-5) CLEAN_FILES				cleanã«ããåé¤ãããã¡ã¤ã«å
 
 cleanã«ããåé¤ãããã¡ã¤ã«ãã¿ã¼ã²ããä¾å­é¨ã§è¿½å ãããå ´åã«ã¯ï¼ãã¡
 ã¤ã«åããã®å¤æ°ã«è¿½å å®ç¾©ããï¼
 
-(2-8-2) REALCLEAN_FILES			realcleanã«ããåé¤ãããã¡ã¤ã«å
+(2-8-6) REALCLEAN_FILES			realcleanã«ããåé¤ãããã¡ã¤ã«å
 
 realcleanã«ããåé¤ãããã¡ã¤ã«ãã¿ã¼ã²ããä¾å­é¨ã§è¿½å ãããå ´åã«ã¯ï¼
@@ -1602,7 +1615,7 @@
 é ­ã«_kernel_ãä»ä¸
 ããååã«ãªãã¼ã ããããã®ã¢ã¸ã¥ã¼ã«ï¼target_rename.defãç¨æãï¼ãã¼
-ã«ï¼utils/genrenameï¼ã«ããï¼target_rename.hã¨target_unrename.hãçæã
-ãï¼éçºç°å¢ä¾å­é¨ï¼ãã­ã»ããµã³ã¢ä¾å­é¨ï¼ãããä¾å­é¨ãåãåããå ´å
-ã«ã¯ï¼ãªãã¼ã è¨è¿°ãåãåããï¼
+ã«ï¼utils/genrename.rbï¼ã«ããï¼target_rename.hã¨target_unrename.hãç
+æããï¼éçºç°å¢ä¾å­é¨ï¼ãã­ã»ããµã³ã¢ä¾å­é¨ï¼ãããä¾å­é¨ãåãåãã
+å ´åã«ã¯ï¼ãªãã¼ã è¨è¿°ãåãåããï¼
 
 (d) ã¿ã¤ããã©ã¤ã
@@ -1616,6 +1629,5 @@
 
 ã¾ãï¼ãªã¼ãã©ã³ãã³ãã©æ©è½æ¡å¼µããã±ã¼ã¸ããµãã¼ãããå ´åã«ã¯ï¼ãªã¼
-ãã©ã³ãã³ãã©ãèµ·åããããã®ãªã¼ãã©ã³ã¿ã¤ããã©ã¤ããï¼åããã¡ã¤ã«
-ã«å«ããï¼
+ãã©ã³ãã³ãã©ãèµ·åããããã®ãªã¼ãã©ã³ã¿ã¤ããã©ã¤ããç¨æããï¼
 
 ãªãï¼ãã®ç« ã«ç¤ºãã³ã¼ãä¸­ã§ï¼TOPPERS_SUPPORT_OVRHDRããã¯ã­å®ç¾©ããã¦
@@ -1627,7 +1639,7 @@
 (e) ã³ã³ãã£ã®ã¥ã¬ã¼ã¿è¨­å®ãã¡ã¤ã«
 
-ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®è¨­å®ãã¡ã¤ã«ã®ã¿ã¼ã²ããä¾å­é¨ãï¼target_def.csvï¼
-target.tfï¼target_check.tfã«ç¨æããï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿è¨­å®ãã¡ã¤ã«ã®
-è¨è¿°æ¹æ³ã«ã¤ãã¦ã¯ï¼ï¼ç« ã§èª¬æããï¼
+ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®è¨­å®ãã¡ã¤ã«ã®ã¿ã¼ã²ããä¾å­é¨ãï¼target_sym.defï¼
+target_kernel.trbï¼target_check.trbã«ç¨æããï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿è¨­å®ãã¡
+ã¤ã«ã®è¨è¿°æ¹æ³ã«ã¤ãã¦ã¯ï¼ï¼ç« ã§èª¬æããï¼
 
 6.2 ãã¬ã¼ã¹ã­ã°æ©è½ã¸ã®å¯¾å¿
@@ -2071,10 +2083,14 @@
 å ±ãTSKINICTXBä¸­ã«æã¤å¿
 è¦ãããï¼
-ã¾ãï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹2ã®ãã³ãã¬ã¼ããã¡ã¤ã«ã®ã¿ã¼ã²ããéä¾å­
-é¨ã§ï¼TSKINICTXBã®åæåæ
-å ±ãçæããããã®GENERATE_TSKINICTXBãï¼ãã¹
-3ã®ãã³ãã¬ã¼ããã¡ã¤ã«ã®ã¿ã¼ã²ããéä¾å­é¨ã§ï¼TINIBããã¹ã¿ãã¯é åã®
-å
-é ­çªå°ãåãåºãããã®GET_STK_TSKINICTXBãå®ç¾©ããå¿
+ã¾ãï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹2ã®çæã¹ã¯ãªããã®ã¿ã¼ã²ããéä¾å­é¨ã§ï¼
+TSKINICTXBã®åæåæ
+å ±ãçæããããã®GenerateTskinictxbãï¼ãã¹3ã®çæ
+ã¹ã¯ãªããã®ã¿ã¼ã²ããéä¾å­é¨ã§ï¼TINIBããã¹ã¿ãã¯é åã®å
+é ­çªå°ãåã
+åºãããã®GetStackTskinictxbãå®ç¾©ããå¿
+è¦ãããï¼
+
+ããã«ï¼åççææ©è½æ¡å¼µããã±ã¼ã¸ããµãã¼ãããå ´åã«ã¯ï¼TSKINICTXBã
+åæåããããã®init_tskinictxbé¢æ°ãç¨æããå¿
 è¦ãããï¼
 
@@ -2416,12 +2432,12 @@
 åº¦ãã¹ã¯ãï¼åãä»ããå²è¾¼ã¿ã®å²è¾¼ã¿åªå
 åº¦ã«è¨­å®ãã
+	å²è¾¼ã¿ãã³ãã©ã®å
+¥å£ã§å¿
+è¦ãªIRCã®æä½ãè¡ãï¼å²è¾¼ã¿è¦æ±ã©ã¤ã³ãã¨ã
+				ã¸ããªã¬ã§ããå ´åã®ããªã¬ãããå²è¾¼ã¿è¦æ±ã®ã¯ãªã¢ãªã©ï¼
 	CPUã­ãã¯è§£é¤ç¶æ
 ã«ããï¼åãä»ããå²è¾¼ã¿ãããåªå
 åº¦ã®é«ãå²è¾¼ã¿ã
 												åãä»ããããã«ããï¼
-	å²è¾¼ã¿ãã³ãã©ã®å
-¥å£ã§å¿
-è¦ãªIRCã®æä½ãè¡ãï¼å²è¾¼ã¿è¦æ±ã©ã¤ã³ãã¨ã
-				ã¸ããªã¬ã§ããå ´åã®ããªã¬ãããå²è¾¼ã¿è¦æ±ã®ã¯ãªã¢ãªã©ï¼
 
 #ifdef LOG_INH_ENTER
@@ -2433,9 +2449,9 @@
 #endif /* LOG_INH_LEAVE */
 
+	å°ãªãã¨ãã«ã¼ãã«ç®¡çã®å²è¾¼ã¿ãç¦æ­¢ããç¶æ
+ã«ãã
 	å²è¾¼ã¿ãã³ãã©ã®åºå£ã§å¿
 è¦ãªIRCã®æä½ãè¡ãï¼IRCã«å¯¾ããå²è¾¼ã¿å¦ç
 														ã®çµäºéç¥ãªã©ï¼
-	å°ãªãã¨ãã«ã¼ãã«ç®¡çã®å²è¾¼ã¿ãç¦æ­¢ããç¶æ
-ã«ãã
 	å²è¾¼ã¿åªå
 åº¦ãã¹ã¯ãï¼å²è¾¼ã¿ãåãä»ããåã®å¤ã«æ»ã â¦ (*f)
@@ -2618,6 +2634,12 @@
 ãå¤ããï¼ï¼
 
-reqflgãå»æ­¢ããï¼ã¾ãï¼ã¿ã¹ã¯åæãã®æ¡ä»¶å¤å®ã§ï¼dspflgããã§ãã¯ãã
-å¿
+reqflgãå»æ­¢ããï¼ã¾ãï¼p_schedtskã®æå³ãå¤æ´ããï¼å²è¾¼ã¿åªå
+åº¦ãã¹ã¯
+å
+¨è§£é¤ã§ãªãç¶æ
+ã®éã¨ãã£ã¹ãããç¦æ­¢ç¶æ
+ã®éã¯ï¼p_schedtskãæ´æ°ããª
+ããã¨ã«ããï¼ãã¨ã«ããï¼ã¿ã¹ã¯åæãã®æ¡ä»¶å¤å®ã§ï¼dspflgããã§ãã¯ã
+ãå¿
 è¦ããªããªã£ãï¼
 
@@ -2689,6 +2711,6 @@
 åã®åä½ã¯ä¿è¨¼ããå¿
 è¦ããªãï¼assertã§ã¨ã©ã¼ã¨ããã®ãæã¾ããï¼ï¼ãã
-ã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ãï¼ãã¹2ã®ãã³ãã¬ã¼ããã¡ã¤ã«ã®ã¿ã¼ã²ããä¾å­é¨
-ã§å®ç¾©ããINHNO_DEFINH_VALIDãç¨ãã¦ã¨ã©ã¼ãæ¤åºããããã§ããï¼
+ã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ãï¼ãã¹2ã®çæã¹ã¯ãªããã®ã¿ã¼ã²ããä¾å­é¨ã§å®ç¾©
+ãã$INHNO_DEFINH_VALIDãç¨ãã¦ã¨ã©ã¼ãæ¤åºããããã§ããï¼
 
 6.6.4 å²è¾¼ã¿è¦æ±ã©ã¤ã³ã®å±æ§ã®è¨­å®
@@ -2727,10 +2749,10 @@
 ãããã®å±æ§åãã¿ã¼ã²ããå®ç¾©ã§è¿½å ããå ´åã«ã¯ï¼ãã®å±æ§å¤ãæ±ºå®ãï¼
 å®ç¾©ãtarget_kernel.hï¼ã¾ãã¯ï¼ããããã¤ã³ã¯ã«ã¼ãããããã¡ã¤ã«ï¼ã«å«
-ããï¼ã¾ãï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ãã³ãã¬ã¼ããã¡ã¤ã«ããåç
+ããï¼ã¾ãï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®çæã¹ã¯ãªããããåç
 §ã§ããããã«ï¼
-target_def.csvï¼ã¾ãã¯ï¼åç­ã®å½¹å²ãæã¤ãã¡ã¤ã«ï¼ã«å«ãï¼ã³ã³ãã£ã®ã¥
-ã¬ã¼ã¿ãã³ãã¬ã¼ããã¡ã¤ã«ã®ã¿ã¼ã²ããéä¾å­é¨ã§ã¨ã©ã¼ã¨ãªããªãããã«ï¼
-target.tfï¼ã¾ãã¯ï¼ããããã¤ã³ã¯ã«ã¼ãããããã¡ã¤ã«ï¼ã§TARGET_INTATR
-ã«è¨­å®ããï¼
+target_sym.defï¼ã¾ãã¯ï¼åç­ã®å½¹å²ãæã¤ãã¡ã¤ã«ï¼ã«å«ããï¼ããã«ï¼ã³
+ã³ãã£ã®ã¥ã¬ã¼ã¿ã®çæã¹ã¯ãªããã®ã¿ã¼ã²ããéä¾å­é¨ã§ã¨ã©ã¼ã¨ãªããªã
+ããã«ï¼target_kernel.hï¼ã¾ãã¯ï¼ããããã¤ã³ã¯ã«ã¼ãããããã¡ã¤ã«ï¼ã§
+TARGET_INTATRãå®ç¾©ããï¼
 
 æå®ãããå²è¾¼ã¿çªå·ãæå¹ãªå¤ã§ãªãå ´åãï¼ãã®å²è¾¼ã¿è¦æ±ã©ã¤ã³ã«å¯¾ã
@@ -2740,11 +2762,11 @@
 è¦ããªãï¼assertã§ã¨ã©ã¼ã¨ããã®ãæã¾ããï¼ï¼ãã®
 ãããªã±ã¼ã¹ã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã§ã¨ã©ã¼ãæ¤åºãã¹ãã§ããï¼ã³ã³ãã£
-ã®ã¥ã¬ã¼ã¿ãã³ãã¬ã¼ããã¡ã¤ã«ã®ã¿ã¼ã²ããéä¾å­é¨ã¯ï¼ãã¹2ã®ãã³ãã¬ã¼
-ããã¡ã¤ã«ã®ã¿ã¼ã²ããä¾å­é¨ã§å®ç¾©ããINTNO_CFGINT_VALIDï¼
-TARGET_INTATRï¼INTPRI_CFGINT_VALIDãç¨ãã¦ã¨ã©ã¼ãæ¤åºãããï¼æ¨æºã®å²
-è¾¼ã¿å±æ§ï¼TA_ENAINTï¼TA_EDGEï¼ãè¨­å®ã§ããªãå ´åãï¼è¨­å®ã§ããªãå±æ§ã
-å²è¾¼ã¿åªå
-åº¦ãå²è¾¼ã¿è¦æ±ã©ã¤ã³ã«ãã£ã¦ç°ãªãå ´åã«ã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼
-ã¿ãã³ãã¬ã¼ããã¡ã¤ã«ã®ã¿ã¼ã²ããä¾å­é¨ã§æ¤åºããªããã°ãªããªãï¼
+ã®ã¥ã¬ã¼ã¿ã®çæã¹ã¯ãªããã®ã¿ã¼ã²ããéä¾å­é¨ã¯ï¼çæã¹ã¯ãªããã®ã¿ã¼
+ã²ããä¾å­é¨ã§å®ç¾©ãã$INTNO_CFGINT_VALIDï¼$INTPRI_CFGINT_VALIDã¨ï¼ã¿ã¼
+ã²ããä¾å­é¨ã®ããããã¡ã¤ã«ã§å®ç¾©ããTARGET_INTATRãç¨ãã¦ã¨ã©ã¼ãæ¤åº
+ãããï¼æ¨æºã®å²è¾¼ã¿å±æ§ï¼TA_ENAINTï¼TA_EDGEï¼ãè¨­å®ã§ããªãå ´åãï¼è¨­
+å®ã§ããªãå±æ§ãå²è¾¼ã¿åªå
+åº¦ãå²è¾¼ã¿è¦æ±ã©ã¤ã³ã«ãã£ã¦ç°ãªãå ´åã«ã¯ï¼
+çæã¹ã¯ãªããã®ã¿ã¼ã²ããä¾å­é¨ã§æ¤åºããªããã°ãªããªãï¼
 
 6.6.5 å²è¾¼ã¿ç®¡çæ©è½ã®åæåå¦çã®å¤æ´
@@ -2762,6 +2784,6 @@
 ¥å£å¦çãç
 æããããã®è¨è¿°ï¼INTHDR_ENTRYãã¯ã­ã®ãªã¹ãï¼ãï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®
-ãã¹2ã®ãã³ãã¬ã¼ããã¡ã¤ã«ã®ã¿ã¼ã²ããéä¾å­é¨ã«ãã£ã¦kernel_cfg.cã«ç
-æãããªããªãï¼
+ãã¹2ã®çæã¹ã¯ãªããã®ã¿ã¼ã²ããéä¾å­é¨ã«ãã£ã¦kernel_cfg.cã«çæãã
+ãªããªãï¼
 
 (6-6-5-2) void initialize_interrupt(void)ï¼ãªãã·ã§ã³ï¼
@@ -2864,12 +2886,12 @@
 ã»TARGET_INHATRã«ï¼TA_NONKERNELãè¨­å®ããï¼
 
-ã»(a-1)ã¾ãã¯(a-2)ãæ¡ç¨ããå ´åã«ã¯ï¼INHNO_DEFINH_VALIDã«ï¼ã«ã¼ãã«ç®¡
+ã»(a-1)ã¾ãã¯(a-2)ãæ¡ç¨ããå ´åã«ã¯ï¼$INHNO_DEFINH_VALIDã«ï¼ã«ã¼ãã«ç®¡
 ãçå¤ã¨ããå²è¾¼ã¿ã«å¯¾å¿ããå²è¾¼ã¿ãã³ãã©çªå·ãå«ããï¼ã¾ãï¼
 ãVALID_INHNOãï¼ã«ã¼ãã«ç®¡çå¤ã¨ããå²è¾¼ã¿ãã³ãã©çªå·ãæå¹ãªå¤ã¨å¤å®
 ãããããã«ããï¼
 
-ã»(a-1)ã¾ãã¯(a-2)ãæ¡ç¨ããå ´åã«ã¯ï¼INHNO_FIX_KERNELã«ã«ã¼ãã«ç®¡çã¨
-ãããå²è¾¼ã¿ãã³ãã©çªå·ã®ãªã¹ããï¼INHNO_FIX_NONKERNELã«ã«ã¼ãã«ç®¡çå¤
-ãã¨ããå²è¾¼ã¿ãã³ãã©çªå·ã®ãªã¹ãè¨­å®ããï¼
+ã»(a-1)ã¾ãã¯(a-2)ãæ¡ç¨ããå ´åã«ã¯ï¼$INHNO_FIX_KERNELã«ã«ã¼ãã«ç®¡çã¨
+ãããå²è¾¼ã¿ãã³ãã©çªå·ã®ãªã¹ããï¼$INHNO_FIX_NONKERNELã«ã«ã¼ãã«ç®¡ç
+ãå¤ã¨ããå²è¾¼ã¿ãã³ãã©çªå·ã®ãªã¹ãè¨­å®ããï¼
 
 ã»DEF_INHãã«ã¼ãã«ç®¡çå¤ã®å²è¾¼ã¿ã«å¯¾å¿ã§ããããã«ããï¼æ¨æºã®å²è¾¼ã¿ç®¡
@@ -2894,5 +2916,5 @@
 è¦ã«ãªãï¼
 
-ã»(a-1)ã¾ãã¯(a-2)ãæ¡ç¨ããå ´åã«ã¯ï¼INTNO_CFGINT_VALIDã«ï¼ã«ã¼ãã«ç®¡
+ã»(a-1)ã¾ãã¯(a-2)ãæ¡ç¨ããå ´åã«ã¯ï¼$INTNO_CFGINT_VALIDã«ï¼ã«ã¼ãã«ç®¡
 ãçå¤ã¨ããå²è¾¼ã¿ã«å¯¾å¿ããå²è¾¼ã¿çªå·ãå«ããï¼ã¾ãï¼VALID_INTNOãï¼ã«ã¼
 ããã«ç®¡çå¤ã¨ããå²è¾¼ã¿çªå·ãæå¹ãªå¤ã¨å¤å®ããããã«ããï¼å¿
@@ -2900,9 +2922,9 @@
 ãã°ï¼VALID_INTNO_DISINTã¨VALID_INTNO_CREISRã®å®ç¾©ãè¿½å ã¾ãã¯å¤æ´ããï¼
 
-ã»(a-1)ã¾ãã¯(a-2)ãæ¡ç¨ããå ´åã«ã¯ï¼INTNO_FIX_KERNELã«ã«ã¼ãã«ç®¡çã¨
-ãããå²è¾¼ã¿çªå·ã®ãªã¹ããï¼INTNO_FIX_NONKERNELã«ã«ã¼ãã«ç®¡çå¤ã¨ããå²
-ãè¾¼ã¿çªå·ã®ãªã¹ãè¨­å®ããï¼
-
-ã»INTPRI_CFGINT_VALIDã«ï¼ã«ã¼ãã«ç®¡çå¤ã®å²è¾¼ã¿ã¨ãªãåªå
+ã»(a-1)ã¾ãã¯(a-2)ãæ¡ç¨ããå ´åã«ã¯ï¼$INTNO_FIX_KERNELã«ã«ã¼ãã«ç®¡çã¨
+ãããå²è¾¼ã¿çªå·ã®ãªã¹ããï¼$INTNO_FIX_NONKERNELã«ã«ã¼ãã«ç®¡çå¤ã¨ãã
+ãå²è¾¼ã¿çªå·ã®ãªã¹ãè¨­å®ããï¼
+
+ã»$INTPRI_CFGINT_VALIDã«ï¼ã«ã¼ãã«ç®¡çå¤ã®å²è¾¼ã¿ã¨ãªãåªå
 åº¦ãå«ããï¼
 
@@ -3244,6 +3266,6 @@
 å ´åã®åä½ã¯ä¿è¨¼ããå¿
 è¦ããªãï¼assertã§ã¨ã©ã¼ã¨ããã®ãæã¾ããï¼ï¼ã
-ãã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ãï¼ãã¹2ã®ãã³ãã¬ã¼ããã¡ã¤ã«ã®ã¿ã¼ã²ããä¾å­
-é¨ã§å®ç¾©ããEXCNO_VALIDãç¨ãã¦ã¨ã©ã¼ãæ¤åºããããã§ããï¼
+ãã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ãï¼ãã¹2ã®çæã¹ã¯ãªããã®ã¿ã¼ã²ããä¾å­é¨ã§å®
+ç¾©ãã$EXCNO_VALIDãç¨ãã¦ã¨ã©ã¼ãæ¤åºããããã§ããï¼
 
 6.7.4 CPUä¾å¤ç®¡çæ©è½ã®åæåå¦çã®å¤æ´
@@ -3260,6 +3282,6 @@
 ¥å£å¦çã
 çæããããã®è¨è¿°ï¼EXCHDR_ENTRYãã¯ã­ã®ãªã¹ãï¼ãï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿
-ã®ãã¹2ã®ãã³ãã¬ã¼ããã¡ã¤ã«ã®ã¿ã¼ã²ããéä¾å­é¨ã«ãã£ã¦kernel_cfg.cã«
-çæãããªããªãï¼
+ã®ãã¹2ã®çæã¹ã¯ãªããã®ã¿ã¼ã²ããéä¾å­é¨ã«ãã£ã¦kernel_cfg.cã«çæã
+ããªããªãï¼
 
 (6-7-4-2) void initialize_exception(void)ï¼ãªãã·ã§ã³ï¼
@@ -3530,7 +3552,7 @@
 (6-10-1-5) TARGET_EXCATRï¼ãªãã·ã§ã³ï¼	ã¿ã¼ã²ããå®ç¾©ã®CPUä¾å¤ãã³ãã©å±æ§
 
-åãªãã¸ã§ã¯ãã®å±æ§ãï¼ã¿ã¼ã²ããå®ç¾©ã«æ¡å¼µããå ´åã«ï¼è©²å½ãããªãã¸ã§
-ã¯ãå±æ§ãç¤ºãå¤æ°ã«ï¼æ¡å¼µã«ä½¿ç¨ãããããã®è«çåãå®ç¾©ããï¼ããã«ã
-ãï¼æ¡å¼µã«ä½¿ç¨ããããããè¨­å®ããã¦ããå ´åã«ï¼ã¨ã©ã¼ã«ãªãã®ãé²ãï¼
+åãªãã¸ã§ã¯ãã®å±æ§ãã¿ã¼ã²ããå®ç¾©ã§æ¡å¼µããå ´åã«ï¼è©²å½ãããªãã¸ã§
+ã¯ãå±æ§ãç¤ºãå¤æ°ã«ï¼æ¡å¼µã§ä½¿ç¨ãããããã®è«çåãå®ç¾©ããï¼ããã«ã
+ãï¼æ¡å¼µã§ä½¿ç¨ããããããè¨­å®ããã¦ããå ´åã«ã¨ã©ã¼ã«ãªãã®ãé²ãï¼
 
 ãªãï¼TOPPERSæ°ä¸ä»£ã«ã¼ãã«çµ±åä»æ§æ¸ã§ã¯ï¼å²è¾¼ã¿ãµã¼ãã¹ã«ã¼ãã³ï¼ISRï¼
@@ -3552,10 +3574,10 @@
 
 ã¹ã¿ãã¯é åã®ãµã¤ãºãããå¤ï¼ã¢ã©ã¤ã³åä½ï¼ã®åæ°ã§ãªããã°ãªããªãå ´
-åã«ï¼ãã®å¤æ°ãã¢ã©ã¤ã³åä½ã«å®ç¾©ããï¼ãã®å¤æ°ãå®ç¾©ãããã¨ã§ï¼
-kernel.tfããã³acre_tskï¼åççææ©è½æ¡å¼µããã±ã¼ã¸ã®ã¿ï¼ã«ããã¦ï¼ã¹ã¿ã
-ã¯é åã®ãµã¤ãºãæ­£ãããªãï¼ãã®å¤æ°ã«å®ç¾©ããå¤ã®åæ°ã§ãªãï¼å ´åã®ã¨
-ã©ã¼ããã§ãã¯ããããã«ãªãï¼ãã§ãã¯ãå¿
-è¦ãªãå ´åã«ã¯ï¼ãã®å¤æ°ãå®
-ç¾©ããªãï¼
+åã«ï¼ãã®å¤æ°ãã¢ã©ã¤ã³åä½ã«å®ç¾©ããï¼ãã®å¤æ°ãå®ç¾©ãããã¨ã§ï¼ã³ã³
+ãã£ã®ã¥ã¬ã¼ã¿ã®çæã¹ã¯ãªããã¨acre_tskï¼åççææ©è½æ¡å¼µããã±ã¼ã¸ã®
+ã¿ï¼ã«ããã¦ï¼ã¹ã¿ãã¯é åã®ãµã¤ãºãæ­£ãããªãï¼ãã®å¤æ°ã«å®ç¾©ããå¤ã®
+åæ°ã§ãªãï¼å ´åã®ã¨ã©ã¼ããã§ãã¯ããããã«ãªãï¼ãã§ãã¯ãå¿
+è¦ãªãå ´
+åã«ã¯ï¼ãã®å¤æ°ãå®ç¾©ããªãï¼
 
 (6-10-2-4) CHECK_INTPTR_ALIGNï¼ãªãã·ã§ã³ï¼	intptr_tåã®å¤æ°ã®ã¢ã©ã¤ã³åä½
@@ -3743,5 +3765,5 @@
 
 ãã¬ã¼ã¹ã­ã°ãè¨é²ããæ¹æ³ã®ä¸ä¾ã¨ãã¦ï¼ã¡ã¢ãªä¸ã«ãã¬ã¼ã¹ã­ã°ãè¨é²ã
-ãããã®ãµã³ãã«ã³ã¼ããarch/logtraceãã£ã¬ã¯ããªã«ç¨æãã¦ããï¼ãã®ãµ
+ãããã®ãµã³ãã«ã³ã¼ããarch/tracelogãã£ã¬ã¯ããªã«ç¨æãã¦ããï¼ãã®ãµ
 ã³ãã«ã³ã¼ãã¯ï¼ã·ã¹ãã ã­ã°æ©è½ã¨åæ§ã®ãã¬ã¼ã¹ã­ã°æ©è½ãç¨æãï¼ãã¬ã¼
 ã¹ã­ã°æ
@@ -3754,5 +3776,5 @@
 
 	#ifdef TOPPERS_ENABLE_TRACE
-	#include "arch/logtrace/trace_config.h"
+	#include "arch/tracelog/trace_log.h"
 	#endif /* TOPPERS_ENABLE_TRACE */
 
@@ -3761,12 +3783,6 @@
 	ifeq ($(ENABLE_TRACE),true)
 		COPTS := $(COPTS) -DTOPPERS_ENABLE_TRACE
-		KERNEL_DIRS := $(KERNEL_DIRS) $(SRCDIR)/arch/logtrace
-		KERNEL_COBJS := $(KERNEL_COBJS) trace_config.o trace_dump.o
+		SYSSVC_DIRS := $(SYSSVC_DIRS) $(SRCDIR)/arch/tracelog
 	endif
-
-(3) ã¹ã¿ã¼ãã¢ããã¢ã¸ã¥ã¼ã«ã§ï¼bssã»ã¯ã·ã§ã³ã®ã¯ãªã¢ãçç¥ãã¦ããå ´å
-    ã«ã¯ï¼trace_modeãTRACE_STOPï¼ï¼0ï¼ã«åæåããã³ã¼ããè¿½å ããï¼ã
-    ãã¯ï¼ãã¬ã¼ã¹ã­ã°æ©è½ãåæåãããåã«æ¸ãè¾¼ã¾ãããã¬ã¼ã¹ã­ã°ã
-    ç¡è¦ããããã§ããï¼
 
 ãã®ãµã³ãã«ã³ã¼ããç¨ãã¦ï¼ãã¬ã¼ã¹ã­ã°ãè¨é²ã»ãã³ãããæ¹æ³ã®ä¾ã«ã¤
@@ -3778,7 +3794,7 @@
 é·ç§»ï¼
 ã·ã¹ãã ã­ã°ã®åºåã®3ã¤ã®ãã¬ã¼ã¹ã­ã°ã®ã¿ãè¨é²ãã¦ããï¼ä»ã®ãã¬ã¼ã¹ã­
-ã°ãè¨é²ãããå ´åã«ã¯ï¼trace_config.hï¼ããã³trace_dump.cï¼ãä¿®æ­£ãã
-å¿
-è¦ãããï¼
+ã°ãè¨é²ãããå ´åã«ã¯ï¼trace_log.hï¼ããã³tTraceLog.cï¼ãä¿®æ­£ããå¿
+è¦
+ãããï¼
 
 6.12 ã«ã¼ãã«å®è£
@@ -3787,19 +3803,18 @@
 ã«ã¼ãã«å
 é¨ã«éãã¦ä½¿ãããé¢æ°ãå¤æ°ãªã©ã®åç§°ã§ï¼ãªãã¸ã§ã¯ããã¡ã¤
-ã«ã®ã·ã³ãã«è¡¨ã«ç»é²ããã¦å¤é¨ããåç
+ã«ã®å¤é¨ããåç
 §ã§ããåç§°ã¯ï¼Cè¨èªã¬ãã«ã§ï¼å
-é ­
-ã"_kernel_"ã¾ãã¯"_KERNEL_"ã§ããåç§°ã¨ããªããã°ãªããªããï¼ASP3ã«ã¼
-ãã«ã§ã¯ï¼ã½ã¼ã¹ã³ã¼ããã³ã³ãã¯ãã«ä¿ã¡ã¤ã¤ãããå®ç¾ããããã«ï¼ãªãã¼
-ã è¨è¿°ãã¡ã¤ã«ãå°å
+é ­ã"_kernel_"ã¾ãã¯
+"_KERNEL_"ã§ããåç§°ã¨ãã¦ããï¼ASP3ã«ã¼ãã«ã§ã¯ï¼ã½ã¼ã¹ã³ã¼ããã³ã³ã
+ã¯ãã«ä¿ã¡ã¤ã¤ãããå®ç¾ããããã«ï¼ãªãã¼ã è¨è¿°ãã¡ã¤ã«ãå°å
 ¥ãã¦ããï¼
 
 å
 ·ä½çã«ã¯ï¼ãªãã¼ã ãã¹ãåç§°ããªã¹ãã¢ããããxxx_rename.defãç¨æãï¼
-ãã®ãã¡ã¤ã«ãããã¼ã«ï¼utils/genrenameï¼ã«ããï¼åç§°ããªãã¼ã ãããã
-ã®ãã¯ã­å®ç¾©ãå«ãxxx_rename.hã¨ï¼ãããã®ãã¯ã­å®ç¾©ãè§£é¤ããããã®
-xxx_unrename.hãçæããï¼ãã¼ã«ã®èµ·åæ¹æ³ã¯æ¬¡ã®éãã§ããï¼
-
-	% genrename xxx
+ãã®ãã¡ã¤ã«ãããã¼ã«ï¼utils/genrename.rbï¼ã«ããï¼åç§°ããªãã¼ã ãã
+ããã®ãã¯ã­å®ç¾©ãå«ãxxx_rename.hã¨ï¼ãããã®ãã¯ã­å®ç¾©ãè§£é¤ãããã
+ã®xxx_unrename.hãçæããï¼ãã¼ã«ã®èµ·åæ¹æ³ã¯æ¬¡ã®éãã§ããï¼
+
+	% ruby genrename.rb xxx
 
 xxx_rename.defã«ã¯ï¼ãªãã¼ã ãã¹ãåç§°ã1è¡ã«1ã¤è¨è¿°ããï¼xxxxã¨ããå
@@ -3807,14 +3822,8 @@
 
 #define xxxx				_kernel_xxxx
-#ifdef TOPPERS_LABEL_ASM
-#define _xxxx				__kernel_xxxx
-#endif /* TOPPERS_LABEL_ASM */
 
 ã¾ãï¼xxx_unrename.hã«ã¯æ¬¡ã®ãããªè¨è¿°ãçæãããï¼
 
 #undef xxxx
-#ifdef TOPPERS_LABEL_ASM
-#undef _xxxx
-#endif /* TOPPERS_LABEL_ASM */
 
 xxx_rename.defã®ä¸­ã«ã¯ï¼ä»ã®ãªãã¼ã è¨è¿°ãåãè¾¼ãããã«ï¼ãINCLUDE
@@ -3825,6 +3834,6 @@
 ããï¼
 
-xxx_rename.defã®ä¸­ã®"#"ã§å§ã¾ãè¡ã¯ã³ã¡ã³ãã¨ãã¦èª­ã¿é£ã°ãããï¼ã¾ãï¼
-ç©ºè¡ãç¡è¦ãããï¼
+xxx_rename.defã®ä¸­ã®"#"ã§å§ã¾ãè¡ã¯ã³ã¡ã³ãã¨ãã¦æ±ããï¼çæãããã¡ã¤
+ã«ä¸­ã«ã³ã¡ã³ããçæããï¼xxx_rename.defã®ä¸­ã®ç©ºè¡ã¯ç¡è¦ãããï¼
 
 ã«ã¼ãã«ã®ã¿ã¼ã²ããéä¾å­é¨ã§ä½¿ãããåç§°ããªãã¼ã ããããã«ï¼kernel
@@ -3843,4 +3852,18 @@
 ¥ãï¼éçºç°å¢ä¾å­é¨ï¼ãã­ã»ããµã³ã¢ä¾å­é¨ï¼ãããä¾å­é¨ã®
 ãªãã¼ã è¨è¿°ãåãè¾¼ãããã«ããï¼
+
+ã¢ã»ã³ããªè¨èªã¬ãã«ã®è­å¥åãï¼Cè¨èªã¬ãã«ã®è­å¥åã®å
+é ­ã«"_"ãä»ãã
+ãã®ã«ãªãå ´åï¼ã¢ã»ã³ããªè¨èªã§å®ç¾©ï¼åç
+§ããé¢æ°ãå¤æ°ãªã©ã«ã¤ãã¦ã¯ï¼
+ã¢ã»ã³ããªè¨èªã¬ãã«ã®è­å¥åãxxx_rename.defã«ãªã¹ãã¢ããããå¿
+è¦ãã
+ãã®ã§æ³¨æãããã¨ï¼
+
+ãTOPPERS/ASP1ã«ã¼ãã«ã¨ã®é¢ä¿ã
+
+TOPPERS_LABEL_ASMãå®ç¾©ããå ´åã«ï¼å
+é ­ã«"_"ãä»ããè­å¥åã®ãªãã¼ã ã
+è¡ãæ©è½ã¯å»æ­¢ããï¼
 
 6.13 é«åè§£è½ã¿ã¤ããã©ã¤ã
@@ -4073,21 +4096,22 @@
 
 ãªã¼ãã©ã³ã¿ã¤ããã©ã¤ãã¯ï¼é«åè§£è½ã¿ã¤ããã©ã¤ãã¨åããã¡ã¤ã«ã®ä¸­ã«
-è¨è¿°ããï¼ãªã¼ãã©ã³ã¿ã¤ããã©ã¤ãã®ããã®è¨è¿°ã¯ï¼TOPPERS_SUPPORT_OVRHDR
-ããã¯ã­å®ç¾©ããã¦ããå ´åã«ã®ã¿æå¹ã«ãªãããã«ããï¼
+è¨è¿°ãã¦ãï¼å¥ã®ãã¡ã¤ã«ãç¨æãã¦è¨è¿°ãã¦ãããï¼ãããã®å ´åãï¼ãªã¼
+ãã©ã³ã¿ã¤ããã©ã¤ãã®ããã®è¨è¿°ã¯ï¼TOPPERS_SUPPORT_OVRHDRããã¯ã­å®ç¾©
+ããã¦ããå ´åã«ã®ã¿æå¹ã«ãªãããã«ããï¼
 
 å
-·ä½çã«ã¯ï¼ãªã¼ãã©ã³ã¿ã¤ããã©ã¤ããçµã¿è¾¼ãããã®éçAPIã¯
-target_timer.cfgã®ä¸­ã«è¨è¿°ããï¼ãã®ãã¡ã¤ã«ã«ã¯ï¼ãªã¼ãã©ã³ã¿ã¤ããã©
-ã¤ããåæåããããã®åæåã«ã¼ãã³ã®è¿½å ï¼ãªã¼ãã©ã³ã¿ã¤ããã©ã¤ãã
-çµäºãããããã®çµäºå¦çã«ã¼ãã³ã®è¿½å ï¼ãªã¼ãã©ã³ã¿ã¤ãå²è¾¼ã¿ã®ããã®
-å²è¾¼ã¿ãã³ãã©ã®å®ç¾©ï¼ã¾ãã¯ï¼å²è¾¼ã¿ãµã¼ãã¹ã«ã¼ãã³ã®çæï¼ï¼ãªã¼ãã©
-ã³ã¿ã¤ãå²è¾¼ã¿ã®ããã®å²è¾¼ã¿è¦æ±ã©ã¤ã³ã®å±æ§ã®è¨­å®ã®éçAPIãªã©ãå«ãã
-ã¨ã«ãªãï¼
+·ä½çã«ã¯ï¼ãªã¼ãã©ã³ã¿ã¤ããã©ã¤ããçµã¿è¾¼ãããã®ã·ã¹ãã ã³ã³ãã£ã®ã¥
+ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ï¼target_timer.cfgã®ä¸­ã«è¨è¿°ãã¦ãããï¼ã«ã¯ï¼ãªã¼ã
+ã©ã³ã¿ã¤ããã©ã¤ããåæåããããã®åæåã«ã¼ãã³ã®è¿½å ï¼ãªã¼ãã©ã³ã¿
+ã¤ããã©ã¤ããçµäºãããããã®çµäºå¦çã«ã¼ãã³ã®è¿½å ï¼ãªã¼ãã©ã³ã¿ã¤ã
+å²è¾¼ã¿ã®ããã®å²è¾¼ã¿ãã³ãã©ã®å®ç¾©ï¼ã¾ãã¯ï¼å²è¾¼ã¿ãµã¼ãã¹ã«ã¼ãã³ã®ç
+æï¼ï¼ãªã¼ãã©ã³ã¿ã¤ãå²è¾¼ã¿ã®ããã®å²è¾¼ã¿è¦æ±ã©ã¤ã³ã®å±æ§ã®è¨­å®ã®éç
+APIãªã©ãå«ããã¨ã«ãªãï¼
 
 ã¾ãï¼ãªã¼ãã©ã³ã¿ã¤ããã©ã¤ããå¼ã³åºãããã«å¿
-è¦ãªå®ç¾©ã¯
-target_timer.hã®ä¸­ã«ï¼ãªã¼ãã©ã³ã¿ã¤ããã©ã¤ãã®å®è£
-ã¯target_timer.cã®
-ä¸­ã«è¨è¿°ããï¼
+è¦ãªå®ç¾©ãå«ãããããã¡
+ã¤ã«ï¼target_timer.hã®ä¸­ã«è¨è¿°ãã¦ãããï¼ã¨ï¼ãªã¼ãã©ã³ã¿ã¤ããã©ã¤ã
+ã®å®è£
+ãå«ããã¡ã¤ã«ï¼target_timer.cã®ä¸­ã«è¨è¿°ãã¦ãããï¼ãç¨æããï¼
 
 ãªã¼ãã©ã³ãã³ãã©ã¯ï¼ã¿ã¹ã¯ã®ãªã¼ãã©ã³ã«å¯¾ããå¦çãè¡ããã®ã§ããã
@@ -4249,4 +4273,19 @@
 ----------------------------------------
 
+6.16 ã«ã¼ãã«å®è£
+ã®ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«
+
+ã«ã¼ãã«å®è£
+ã«å¿
+è¦ãªéçAPIãå«ããã¡ã¤ã«ã¨ãã¦ï¼ã«ã¼ãã«å®è£
+ã®ã³ã³ãã£
+ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ï¼target_kernel.cfgï¼ãç¨æããï¼
+
+æ¨æºçãªã¿ã¼ã²ããä¾å­é¨ã§ã¯ï¼target_kernel.cfgã«ã¯ï¼é«åè§£è½ã¿ã¤ããã©
+ã¤ããçµã¿è¾¼ãããã®ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ï¼target_timer.cfgï¼
+ã¨ãªã¼ãã©ã³ã¿ã¤ããã©ã¤ããçµã¿è¾¼ãããã®ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤
+ã«ï¼target_timer.cfgã«å«ã¾ãã¦ããå ´åãããï¼ã®ã¤ã³ã¯ã«ã¼ãè¨è¿°ã®ã¿ã
+å«ã¾ããï¼
+
 
 ï¼ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿è¨­å®ãã¡ã¤ã«ã®ã¿ã¼ã²ããä¾å­é¨
@@ -4254,14 +4293,15 @@
 7.1 è¨­å®ãã¡ã¤ã«ã¨ã¿ã¼ã²ããä¾å­é¨ã®ä½ç½®ä»ã
 
-ASP3ã«ã¼ãã«ã®ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã¯ï¼è¨­å®ãã¡ã¤ã«ã®è¨è¿°ã«å¾ã£ã¦ãã¡ã¤ã«
-ã®çæããã³ã¨ã©ã¼ãã§ãã¯ãè¡ãï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®è¨­å®ãã¡ã¤ã«ã«ã¯ï¼
-ä»¥ä¸ã®4ã¤ãããï¼
+ASP3ã«ã¼ãã«ã®ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã¯ï¼è¨­å®ãã¡ã¤ã«ã®è¨è¿°ã«å¾ã£ã¦ï¼ãã¡ã¤
+ã«ã®çæããã³ã¨ã©ã¼ãã§ãã¯ãè¡ãï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®è¨­å®ãã¡ã¤ã«ã«
+ã¯ï¼ä»¥ä¸ã®4ã¤ãããï¼
 
 (a) éçAPIãã¼ãã«
 
-éçAPIã®ä¸è¦§ã¨ï¼åéçAPIã®ãã©ã¡ã¼ã¿ã«ã¤ãã¦è¨è¿°ãããã¡ã¤ã«ï¼éç
-APIãæ¡å¼µããå ´åä»¥å¤ã¯å¤æ´ããå¿
-è¦ããªãããï¼ã¿ã¼ã²ããéä¾å­é¨ã§ç¨æ
-ãã¦ããï¼kernel/kernel_api.csvï¼ï¼
+éçAPIã®ä¸è¦§ã¨ï¼åéçAPIã®ãã©ã¡ã¼ã¿ã«é¢ããæ
+å ±ãè¨è¿°ãããã¡ã¤ã«ï¼
+éçAPIãæ¡å¼µããå ´åä»¥å¤ã¯å¤æ´ããå¿
+è¦ããªãããï¼ã¿ã¼ã²ããéä¾å­é¨ã§
+ç¨æãã¦ããï¼kernel/kernel_api.defï¼ï¼
 
 (b) å¤åå¾ã·ã³ãã«ãã¼ãã«
@@ -4271,95 +4311,95 @@
 ãéä¾å­é¨ã§ã¯ï¼ã¿ã¼ã²ããã«ä¾å­ããã«å¿
 è¦ã¨ãªãã·ã³ãã«ãè¨è¿°ãããã¡
-ã¤ã«ãç¨æãã¦ããï¼kernel/kernel_def.csvï¼ï¼
+ã¤ã«ãç¨æãã¦ããï¼kernel/kernel_sym.defï¼ï¼
 
 ã¿ã¼ã²ããã«ä¾å­ãã¦å¿
 è¦ã¨ãªãã·ã³ãã«ãããå ´åã«ã¯ï¼targetãã£ã¬ã¯ã
-ãªã«ç½®ãããtarget_def.csvä¸­ã«è¨è¿°ããï¼target_def.csvä¸­ã«è¨è¿°ãã¦å¤ã
+ãªã«ç½®ãããtarget_sym.defä¸­ã«è¨è¿°ããï¼target_sym.defä¸­ã«è¨è¿°ãã¦å¤ã
 æ±ãããã¨ãã§ããã·ã³ãã«ã¯ï¼kernel/kernel_int.hããã³ããããã¤ã³ã¯ã«ã¼
 ãããããã¡ã¤ã«ã§å®ç¾©ããã¦ããªããã°ãªããªãï¼kernel_int.hããã¯ï¼
 target_stddef.hï¼target_kernel.hï¼target_kernel_impl.hãï¼éæ¥çã«ï¼ã¤
 ã³ã¯ã«ã¼ããã¦ããããï¼ãããã®ãã¡ã¤ã«ããã³ããããã¤ã³ã¯ã«ã¼ããã
-ããã¡ã¤ã«ã§å®ç¾©ãããã¿ã¼ã²ããä¾å­ã®ã·ã³ãã«ã¯ï¼target_def.csvä¸­ã«è¨
+ããã¡ã¤ã«ã§å®ç¾©ãããã¿ã¼ã²ããä¾å­ã®ã·ã³ãã«ã¯ï¼target_sym.defä¸­ã«è¨
 è¿°ãããã¨ãã§ããï¼
 
-ããã§å¤ãæ±ããã·ã³ãã«ã®å¤ã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹2ããã³ãã¹3ã®
-ãã³ãã¬ã¼ããã¡ã¤ã«ä¸­ã§åç
-§ãããã¨ãã§ããï¼
-
-(c) ãã¹2ã®ãã³ãã¬ã¼ããã¡ã¤ã«
-
-ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹2ã¯ï¼ãã³ãã¬ã¼ããã¡ã¤ã«ã«å¾ã£ã¦ï¼ã«ã¼ãã«ã®æ§
-æã»åæåãã¡ã¤ã«ï¼kernel_cfg.cï¼ï¼æ§æã»åæåããããã¡ã¤ã«
-ï¼kernel_cfg.hï¼ãªã©ãçæããï¼ãã®ãã³ãã¬ã¼ããã¡ã¤ã«ã¯ï¼ã¿ã¼ã²ãã
-éä¾å­é¨ã¨ã¿ã¼ã²ããä¾å­é¨ã«åãåãã¦ãããï¼ä»ã®ãã¡ã¤ã«ã®ã¿ã¼ã²ãã
-ä¾å­é¨ã¨ã¯éã«ï¼ã¿ã¼ã²ããä¾å­é¨ããã¿ã¼ã²ããéä¾å­é¨ãã¤ã³ã¯ã«ã¼ãã
-ãå½¢ã«ãªã£ã¦ããï¼
+ããã§å¤ãæ±ããã·ã³ãã«ã®å¤ã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹2ï¼ãã¹3ããã³
+ãªãã»ããçæç¨ã®çæã¹ã¯ãªããä¸­ã§ï¼ã°ã­ã¼ãã«å¤æ°ã¨ãã¦åç
+§ãããã¨
+ãã§ããï¼
+
+(c) ãã¹2ã®çæã¹ã¯ãªãã
+
+ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹2ã¯ï¼çæã¹ã¯ãªããã«ããï¼ã«ã¼ãã«ã®æ§æã»åæ
+åãã¡ã¤ã«ï¼kernel_cfg.cï¼ï¼æ§æã»åæåããããã¡ã¤ã«ï¼kernel_cfg.hï¼
+ãªã©ãçæããï¼ãã®çæã¹ã¯ãªããã¯ï¼ã¿ã¼ã²ããéä¾å­é¨ã¨ã¿ã¼ã²ããä¾
+å­é¨ã«åãåãã¦ãããï¼ä»ã®ãã¡ã¤ã«ã®ã¿ã¼ã²ããä¾å­é¨ã¨ã¯éã«ï¼ã¿ã¼ã²ã
+ãä¾å­é¨ããã¿ã¼ã²ããéä¾å­é¨ãã¤ã³ã¯ã«ã¼ãããå½¢ã«ãªã£ã¦ããï¼
 
 å
-·ä½çã«ã¯ï¼targetãã£ã¬ã¯ããªã«ç½®ãããtarget.tfã§ï¼å¿
-è¦ãªå¤æ°ãå®ç¾©ã
-ãå¾ï¼ãã³ãã¬ã¼ããã¡ã¤ã«ã®ã¿ã¼ã²ããéä¾å­é¨ï¼kernel/kernel.tfï¼ãã¤
-ã³ã¯ã«ã¼ãããï¼kernel.tfã§ã¯ï¼ã«ã¼ãã«ã®ã¿ã¼ã²ããéä¾å­é¨ã§ä½¿ç¨ããå¤
-æ°å®ç¾©ç­ãçæããï¼kernel.tfãã¤ã³ã¯ã«ã¼ãããå¾ï¼target.tfã§ã¯ï¼ã«ã¼
-ãã«ã®ã¿ã¼ã²ããä¾å­é¨ã§ä½¿ç¨ããå¤æ°å®ç¾©ç­ãçæããï¼target.tfããï¼é
-çºç°å¢ä¾å­é¨ï¼ãã­ã»ããµã³ã¢ä¾å­é¨ï¼ãããä¾å­é¨ãåãåãã¦ãããï¼
-
-(d) ãã¹3ã®ãã³ãã¬ã¼ããã¡ã¤ã«
-
-ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹3ã¯ï¼ãã³ãã¬ã¼ããã¡ã¤ã«ã«å¾ã£ã¦ï¼éçAPIã®ä¸
-è¬å®æ°å¼ãã©ã¡ã¼ã¿ã®ãã§ãã¯ãè¡ãï¼ãã®ãã³ãã¬ã¼ããã¡ã¤ã«ãï¼ã¿ã¼ã²ã
-ãéä¾å­é¨ã¨ã¿ã¼ã²ããä¾å­é¨ã«åãåãã¦ããï¼ã¿ã¼ã²ããä¾å­é¨ããã¿ã¼
-ã²ããéä¾å­é¨ãã¤ã³ã¯ã«ã¼ãããå½¢ã«ãªã£ã¦ããï¼
+·ä½çã«ã¯ï¼ã¿ã¼ã²ããä¾å­é¨ãã£ã¬ã¯ããªã«ç½®ãããtarget_kernel.trbã§å¿
+
+è¦ãªå¤æ°ãå®ç¾©ããå¾ï¼ã¿ã¼ã²ããéä¾å­é¨ï¼kernel/kernel.trbï¼ãã¤ã³ã¯ã«ã¼
+ãããï¼kernel.trbã§ã¯ï¼ã«ã¼ãã«ã®ã¿ã¼ã²ããéä¾å­é¨ã§ä½¿ç¨ããå¤æ°å®ç¾©
+ç­ãçæããï¼kernel.trbã®ã¤ã³ã¯ã«ã¼ãã®å¾ï¼target_kernel.trbã§ã¯ï¼ã«ã¼
+ãã«ã®ã¿ã¼ã²ããä¾å­é¨ã§ä½¿ç¨ããå¤æ°å®ç¾©ç­ãçæããï¼target_kernel.trb
+ããï¼éçºç°å¢ä¾å­é¨ï¼ãã­ã»ããµã³ã¢ä¾å­é¨ï¼ãããä¾å­é¨ãåãåãã¦ã
+ããï¼
+
+(d) ãã¹3ã®çæã¹ã¯ãªãã
+
+ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹3ã¯ï¼çæã¹ã¯ãªããã«ããï¼éçAPIã®ä¸è¬å®æ°å¼
+ãã©ã¡ã¼ã¿ã®ãã§ãã¯ãè¡ãï¼ãã®çæã¹ã¯ãªãããï¼ã¿ã¼ã²ããéä¾å­é¨ã¨
+ã¿ã¼ã²ããä¾å­é¨ã«åãåãã¦ããï¼ã¿ã¼ã²ããä¾å­é¨ããã¿ã¼ã²ããéä¾å­
+é¨ãã¤ã³ã¯ã«ã¼ãããå½¢ã«ãªã£ã¦ããï¼
 
 å
-·ä½çã«ã¯ï¼targetãã£ã¬ã¯ããªã«ç½®ãããtarget_check.tfã§ï¼å¿
-è¦ãªå¤æ°ã
-å®ç¾©ããå¾ï¼ãã³ãã¬ã¼ããã¡ã¤ã«ã®ã¿ã¼ã²ããéä¾å­é¨
-ï¼kernel/kernel_check.tfï¼ãã¤ã³ã¯ã«ã¼ãããï¼kernel_check.tfã§ã¯ï¼ã«ã¼
-ãã«ã®ã¿ã¼ã²ããéä¾å­é¨ã§åæåãã­ãã¯ã«åºåããä¸è¬å®æ°å¼ãã©ã¡ã¼ã¿
-ã®ãã§ãã¯ãè¡ãï¼kernel_check.tfãã¤ã³ã¯ã«ã¼ãããå¾ï¼target_check.tf
-ã§ã¯ï¼ã¿ã¼ã²ããã«ä¾å­ãããã§ãã¯ãè¡ãï¼target_check.tfããï¼éçºç°å¢
-ä¾å­é¨ï¼ãã­ã»ããµã³ã¢ä¾å­é¨ï¼ãããä¾å­é¨ãåãåãã¦ãããï¼
-
-ãªãï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®è©³ç´°ä»æ§ã¨è¨­å®ãã¡ã¤ã«ã®è¨è¿°æ¹æ³ã«ã¤ãã¦ã¯ï¼
-å¥éPDFãã¡ã¤ã«ã®å½¢ã§é
-å¸ãã¦ãããTOPPERSæ°ä¸ä»£ã«ã¼ãã«ç¨ã³ã³ãã£ã®ã¥
-ã¬ã¼ã¿ä»æ§ãããã³ãTOPPERSæ°ä¸ä»£ã«ã¼ãã«ç¨ã³ã³ãã£ã®ã¥ã¬ã¼ã¿å
-èµãã¯ã­
-ãã­ã»ããµä»æ§ããåç
-§ãããã¨ï¼
-
-7.2 ãã¹2ã®ãã³ãã¬ã¼ããã¡ã¤ã«ã®ã¿ã¼ã²ããä¾å­é¨
-
-ä»¥ä¸ã§ã¯ï¼ãã¹2ã®ãã³ãã¬ã¼ããã¡ã¤ã«ã®ã¿ã¼ã²ããä¾å­é¨ãè¨è¿°ããä¸ã§å¿
-
-è¦ãªäºé 
+·ä½çã«ã¯ï¼ã¿ã¼ã²ããä¾å­é¨ãã£ã¬ã¯ããªã«ç½®ãããtarget_check.trbã§ï¼
+å¿
+è¦ãªå¤æ°ãå®ç¾©ããå¾ï¼ã¿ã¼ã²ããéä¾å­é¨ï¼kernel/kernel_check.trbï¼ã
+ã¤ã³ã¯ã«ã¼ãããï¼kernel_check.trbã§ã¯ï¼ã«ã¼ãã«ã®ã¿ã¼ã²ããéä¾å­é¨ã§
+åæåãã­ãã¯ã«åºåããä¸è¬å®æ°å¼ãã©ã¡ã¼ã¿ã®ãã§ãã¯ãè¡ãï¼
+kernel_check.trbã®ã¤ã³ã¯ã«ã¼ãã®å¾ï¼target_check.trbã§ã¯ï¼ã¿ã¼ã²ããã«
+ä¾å­ãããã§ãã¯ãè¡ãï¼target_check.trbããï¼éçºç°å¢ä¾å­é¨ï¼ãã­ã»ã
+ãµã³ã¢ä¾å­é¨ï¼ãããä¾å­é¨ãåãåãã¦ãããï¼
+
+ãªãï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®è¨­å®ãã¡ã¤ã«ã®è¨è¿°æ¹æ³ã«ã¤ãã¦ã¯ï¼ãTOPPERSç¬¬
+3ä¸ä»£ã«ã¼ãã«åã Rubyçã³ã³ãã£ã®ã¥ã¬ã¼ã¿ ã¦ã¼ã¶ã¼ãºããã¥ã¢ã«ããåç
+§
+ãããã¨ï¼
+
+7.2 ãã¹2ã®çæã¹ã¯ãªããã®ã¿ã¼ã²ããä¾å­é¨
+
+ä»¥ä¸ã§ã¯ï¼ãã¹2ã®çæã¹ã¯ãªããã®ã¿ã¼ã²ããä¾å­é¨ãè¨è¿°ããä¸ã§å¿
+è¦ãªäº
+é 
 ã«ã¤ãã¦èª¬æããï¼
 
 7.2.1 ã¿ã¼ã²ããéä¾å­é¨ãã¤ã³ã¯ã«ã¼ãããåã«å®ç¾©ãã¹ãå¤æ°
 
-target.tfããkernel.tfãã¤ã³ã¯ã«ã¼ãããåã«ï¼æ¬¡ã®å¤æ°ãå®ç¾©ãã¦ãããª
-ããã°ãªããªãï¼
-
-(7-2-1-1) INTNO_VALID			æå¹ãªå²è¾¼ã¿çªå·ã®ãªã¹ã
-(7-2-1-2) INHNO_VALID			æå¹ãªå²è¾¼ã¿ãã³ãã©çªå·ã®ãªã¹ã
-(7-2-1-3) EXCNO_VALID			æå¹ãªCPUä¾å¤ãã³ãã©çªå·ã®ãªã¹ã
+target_kernel.trbããkernel.trbãã¤ã³ã¯ã«ã¼ãããåã«ï¼æ¬¡ã®å¤æ°ããã³é¢
+æ°ãå®ç¾©ãã¦ãããªããã°ãªããªãï¼ãªãï¼ãªã¹ãã¯ï¼Rubyã§ã¯é
+åã§å®ç¾ã
+ãï¼
+
+(7-2-1-1) $INTNO_VALID			æå¹ãªå²è¾¼ã¿çªå·ã®ãªã¹ã
+(7-2-1-2) $INHNO_VALID			æå¹ãªå²è¾¼ã¿ãã³ãã©çªå·ã®ãªã¹ã
+(7-2-1-3) $EXCNO_VALID			æå¹ãªCPUä¾å¤ãã³ãã©çªå·ã®ãªã¹ã
 
 æå¹ãªå²è¾¼ã¿çªå·ï¼å²è¾¼ã¿ãã³ãã©çªå·ï¼CPUä¾å¤ãã³ãã©çªå·ã®ãªã¹ããï¼å
 å¤æ°ã«å®ç¾©ããï¼
 
-(7-2-1-4) INTNO_CREISR_VALIDï¼ãªãã·ã§ã³ï¼
-(7-2-1-5) INHNO_CREISR_VALIDï¼ãªãã·ã§ã³ï¼
-
-CRE_ISRã§ä½¿ç¨ã§ããå²è¾¼ã¿çªå·ã®ãªã¹ããINTNO_CREISR_VALIDã«ï¼ããã«å¯¾å¿
-ããå²è¾¼ã¿ãã³ãã©çªå·ã®ãªã¹ããINHNO_CREISR_VALIDã«å®ç¾©ããï¼ä¸¡è
+(7-2-1-4) $INTNO_CREISR_VALIDï¼ãªãã·ã§ã³ï¼
+(7-2-1-5) $INHNO_CREISR_VALIDï¼ãªãã·ã§ã³ï¼
+
+CRE_ISRã§ä½¿ç¨ã§ããå²è¾¼ã¿çªå·ã®ãªã¹ãã$INTNO_CREISR_VALIDã«ï¼ããã«å¯¾
+å¿ããå²è¾¼ã¿ãã³ãã©çªå·ã®ãªã¹ãã$INHNO_CREISR_VALIDã«å®ç¾©ããï¼ä¸¡è
 ã¯ï¼
 é åºã¾ã§å«ãã¦å¯¾å¿ãã¦ããªããã°ãªããªãï¼
 
-ãããã®å¤æ°ãå®ç¾©ããªãå ´åï¼ããããINTNO_VALIDã¨INHNO_VALIDãä½¿ãã
-ãï¼ããã§è¯ãå ´åã«ã¯ï¼ãããã®å¤æ°ãå®ç¾©ããå¿
+ãããã®å¤æ°ãå®ç¾©ããªãå ´åï¼ãããã$INTNO_VALIDã¨$INHNO_VALIDãä½¿ã
+ããï¼ããã§è¯ãå ´åã«ã¯ï¼ãããã®å¤æ°ãå®ç¾©ããå¿
 è¦ã¯ãªãï¼
 
-(7-2-1-6) INTPRI_CFGINT_VALIDï¼ãªãã·ã§ã³ï¼
+(7-2-1-6) $INTPRI_CFGINT_VALIDï¼ãªãã·ã§ã³ï¼
 
 CFG_INTã§ä½¿ç¨ã§ããå²è¾¼ã¿åªå
@@ -4370,105 +4410,101 @@
 TMIN_INTPRIãããå°ããå¤ãæå¹ã¨ãããã¨ãã§ããï¼
 
-(7-2-1-7) INTNO_FIX_KERNELï¼ãªãã·ã§ã³ï¼	ã«ã¼ãã«ç®¡çã«åºå®ããã¦ãã
-											å²è¾¼ã¿çªå·
-(7-2-1-8) INHNO_FIX_KERNELï¼ãªãã·ã§ã³ï¼	ã«ã¼ãã«ç®¡çã«åºå®ããã¦ãã
-		 									å²è¾¼ã¿ãã³ãã©çªå·
-(7-2-1-9) INHNO_FIX_NONKERNELï¼ãªãã·ã§ã³ï¼	ã«ã¼ãã«ç®¡çå¤ã«åºå®ããã¦ãã
-											å²è¾¼ã¿çªå·
-(7-2-1-10) INHNO_FIX_NONKERNELï¼ãªãã·ã§ã³ï¼ã«ã¼ãã«ç®¡çå¤ã«åºå®ããã¦ãã
-		 									å²è¾¼ã¿ãã³ãã©çªå·
+(7-2-1-7) $INTNO_FIX_KERNELï¼ãªãã·ã§ã³ï¼	ã«ã¼ãã«ç®¡çã«åºå®ããã¦ãã
+											å²è¾¼ã¿çªå·ã®ãªã¹ã
+(7-2-1-8) $INHNO_FIX_KERNELï¼ãªãã·ã§ã³ï¼	ã«ã¼ãã«ç®¡çã«åºå®ããã¦ãã
+		 									å²è¾¼ã¿ãã³ãã©çªå·ã®ãªã¹ã
+(7-2-1-9) $INHNO_FIX_NONKERNELï¼ãªãã·ã§ã³ï¼ã«ã¼ãã«ç®¡çå¤ã«åºå®ããã¦ãã
+											å²è¾¼ã¿çªå·ã®ãªã¹ã
+(7-2-1-10) $INHNO_FIX_NONKERNELï¼ãªãã·ã§ã³ï¼ã«ã¼ãã«ç®¡çå¤ã«åºå®ããã¦ã
+		 									ãå²è¾¼ã¿ãã³ãã©çªå·ã®ãªã¹ã
 
 ã«ã¼ãã«ç®¡çã¾ãã¯ã«ã¼ãã«ç®¡çå¤ã«åºå®ããã¦ããå²è¾¼ã¿ãããå ´åã«ã¯ï¼
 ãããã®å²è¾¼ã¿çªå·ã¨å²è¾¼ã¿ãã³ãã©çªå·ã®ãªã¹ããï¼åå¤æ°ã«å®ç¾©ããï¼
 
-(7-2-1-11) GENERATE_TSKINICTXBï¼ãªãã·ã§ã³ï¼
+(7-2-1-11) GenerateTskinictxbï¼ãªãã·ã§ã³ï¼
 
 USE_TSKINICTXBããã¯ã­å®ç¾©ããå ´åï¼TSKINICTXBã®åæåæ
 å ±ãçæããã
-ããã³ãã¬ã¼ããã¡ã¤ã«é¢æ°GENERATE_TSKINICTXBãå®ç¾©ããï¼
-GENERATE_TSKINICTXBã«ã¯ï¼ã¿ã¹ã¯IDããã©ã¡ã¼ã¿ã¨ãã¦æ¸¡ãããï¼
-
-(7-2-1-12) ALLOC_STACKï¼ãªãã·ã§ã³ï¼
+ãã®é¢æ°GenerateTskinictxbãå®ç¾©ããï¼GenerateTskinictxbã«ã¯ï¼ã¿ã¹ã¯ã®
+IDçªå·ï¼æ°å¤ï¼ã¨ãã©ã¡ã¼ã¿æ
+å ±ï¼ããã·ã¥ï¼ããã©ã¡ã¼ã¿ã¨ãã¦æ¸¡ãããï¼
+
+(7-2-1-12) AllocStackï¼ãªãã·ã§ã³ï¼
 
 ã¹ã¿ãã¯é åã®çææ¹æ³ãããã©ã«ãããå¤æ´ãããå ´åã«ã¯ï¼ã¹ã¿ãã¯é å
-ãçæããããã®ãã³ãã¬ã¼ããã¡ã¤ã«é¢æ°ALLOC_STACKãå®ç¾©ããï¼
-ALLOC_STACKã«ã¯ï¼ã¹ã¿ãã¯é åã®å¤æ°åã¨ä¸¸ããåã®ãµã¤ãºããã©ã¡ã¼ã¿ã¨ã
-ã¦æ¸¡ãããã®ã§ï¼ã¹ã¿ãã¯é åãçæããã³ã¼ããçæãï¼å¤§ããæ¹ã«ä¸¸ãã
-ãµã¤ãºãè¡¨ãæå­åãè¿ãï¼
+ãçæããããã®é¢æ°AllocStackãå®ç¾©ããï¼AllocStackã«ã¯ï¼ã¹ã¿ãã¯é å
+ã®å¤æ°åã¨ä¸¸ããåã®ãµã¤ãºããã©ã¡ã¼ã¿ã¨ãã¦æ¸¡ãããã®ã§ï¼ã¹ã¿ãã¯é å
+ãçæããã³ã¼ããçæãï¼å¤§ããæ¹ã«ä¸¸ãããµã¤ãºãè¡¨ãæå­åãè¿ãï¼
 
 7.2.2 ã¿ã¼ã²ããéä¾å­é¨ã§å®ç¾©ãããå¤æ°
 
-kernel.tfã®ä¸­ã§ã¯æ¬¡ã®å¤æ°ãå®ç¾©ãããããï¼kernel.tfãã¤ã³ã¯ã«ã¼ããã
-å¾ï¼target.tfã®ä¸­ã§ããããåç
+kernel.trbã®ä¸­ã§ã¯æ¬¡ã®å¤æ°ãå®ç¾©ãããããï¼kernel.trbã®ã¤ã³ã¯ã«ã¼ãã®
+å¾ï¼target_kernel.trbã®ä¸­ã§ããããåç
 §ãããã¨ãã§ããï¼
 
-(7-2-2-1) INTNO[inhno]		inhnoãå¯¾å¿ããintnoã«å¤æããããã®é£æ³é
-å
-(7-2-2-2) INHNO[intno]		intnoãå¯¾å¿ããinhnoã«å¤æããããã®é£æ³é
-å
-
-7.3 ãã¹3ã®ãã³ãã¬ã¼ããã¡ã¤ã«ã®ã¿ã¼ã²ããä¾å­é¨
-
-ä»¥ä¸ã§ã¯ï¼ãã¹3ã®ãã³ãã¬ã¼ããã¡ã¤ã«ã®ã¿ã¼ã²ããä¾å­é¨ãè¨è¿°ããä¸ã§å¿
-
-è¦ãªäºé 
+(7-2-2-1) $toIntnoVal[inhnoVal]		å²è¾¼ã¿ãã³ãã©çªå·inhnoValãï¼å¯¾å¿ã
+									ãå²è¾¼ã¿çªå·ã«å¤æããããã®ããã·ã¥
+(7-2-2-2) $toInhnoVal[intnoVal]		å²è¾¼ã¿çªå·intnoValãï¼å¯¾å¿ããå²è¾¼ã¿
+									ãã³ãã©çªå·ã«å¤æããããã®ããã·ã¥
+
+7.3 ãã¹3ã®çæã¹ã¯ãªããã®ã¿ã¼ã²ããä¾å­é¨
+
+ä»¥ä¸ã§ã¯ï¼ãã¹3ã®çæã¹ã¯ãªããã®ã¿ã¼ã²ããä¾å­é¨ãè¨è¿°ããä¸ã§å¿
+è¦ãªäº
+é 
 ã«ã¤ãã¦èª¬æããï¼
 
 7.3.1 ã¿ã¼ã²ããéä¾å­é¨ãã¤ã³ã¯ã«ã¼ãããåã«å®ç¾©ãã¹ãå¤æ°
 
-target_check.tfããkernel_check.tfãã¤ã³ã¯ã«ã¼ãããåã«ï¼å¿
-è¦ã«å¿ãã¦ï¼
-æ¬¡ã®å¤æ°ãå®ç¾©ãã¦ãããªããã°ãªããªãï¼
-
-(7-3-1-1) GET_STK_TSKINICTXBï¼ãªãã·ã§ã³ï¼
+target_check.trbããkernel_check.trbãã¤ã³ã¯ã«ã¼ãããåã«ï¼å¿
+è¦ã«å¿ã
+ã¦ï¼æ¬¡ã®å¤æ°ããã³é¢æ°ãå®ç¾©ãã¦ãããªããã°ãªããªãï¼
+
+(7-3-1-1) GetStackTskinictxbï¼ãªãã·ã§ã³ï¼
 
 USE_TSKINICTXBããã¯ã­å®ç¾©ããå ´åï¼TINIBããã¹ã¿ãã¯é åã®å
 é ­çªå°ãå
-ãåºãããã®ãã³ãã¬ã¼ããã¡ã¤ã«é¢æ°GET_STK_TSKINICTXBãå®ç¾©ããï¼
-GET_STK_TSKINICTXBã«ã¯ï¼ã¿ã¹ã¯åæåãã­ãã¯ï¼TINIBï¼ã®å
-é ­çªå°ããã©ã¡ã¼
-ã¿ã¨ãã¦æ¸¡ãããï¼CHECK_STACK_ALIGNï¼CHECK_STACK_NONNULLã¨ãå®ç¾©ããªã
-å ´åã«ã¯ï¼GET_STK_TSKINICTXBãå®ç¾©ããå¿
-è¦ã¯ãªãï¼
-
-(7-3-1-2) LMA.ORDER_LISTï¼ãªãã·ã§ã³ï¼
-(7-3-1-3) LMA.START_DATA[lmano]ï¼ãªãã·ã§ã³ï¼
-(7-3-1-4) LMA.END_DATA[lmano]ï¼ãªãã·ã§ã³ï¼
-(7-3-1-5) LMA.START_IDATA[lmano]ï¼ãªãã·ã§ã³ï¼
-
-ãã¹3ã®ãã³ãã¬ã¼ããã¡ã¤ã«ã®ã¿ã¼ã²ããä¾å­é¨ã§dataã»ã¯ã·ã§ã³ãããã¼ã¿
-ãåå¾ããå ´åãï¼rodataã»ã¯ã·ã§ã³ãRAMã«ç½®ãå ´åï¼ã¦ã¼ã¶ã¼ãºããã¥ã¢ã«
-ã®ã11.8 rodataã»ã¯ã·ã§ã³ãRAMã«ç½®ãå ´åãã®ç¯ãåç
-§ï¼ã«ã¯ï¼ãããã®ã»
-ã¯ã·ã§ã³ã®å
+ãåºãããã®é¢æ°GetStackTskinictxbãå®ç¾©ããï¼GetStackTskinictxbã«ã¯ï¼
+ã¿ã¹ã¯ã®IDçªå·ï¼å¤ï¼ï¼ãã©ã¡ã¼ã¿ãªã¹ãï¼ããã·ã¥ï¼ï¼ã¿ã¹ã¯åæåãã­ã
+ã¯ã®å
+é ­çªå°ããã©ã¡ã¼ã¿ã¨ãã¦æ¸¡ãããï¼
+
+(7-3-1-2) $lmaListï¼ãªãã·ã§ã³ï¼
+
+ãã¹3ã®çæã¹ã¯ãªããã®ã¿ã¼ã²ããä¾å­é¨ã§dataã»ã¯ã·ã§ã³ãããã¼ã¿ãåå¾
+ããå ´åãï¼rodataã»ã¯ã·ã§ã³ãRAMã«ç½®ãå ´åï¼ã¦ã¼ã¶ã¼ãºããã¥ã¢ã«ã®
+ã11.8 rodataã»ã¯ã·ã§ã³ãRAMã«ç½®ãå ´åãã®ç¯ãåç
+§ï¼ã«ã¯ï¼ãããã®ã»ã¯
+ã·ã§ã³ã®å
 å®¹ãï¼é
 ç½®ã¢ãã¬ã¹ï¼ROMå
-ã®ã¢ãã¬ã¹ï¼LMAã¨å¼ã¶ï¼ããã¢ã¯ã»
-ã¹ã¢ãã¬ã¹ï¼RAMå
+ã®ã¢ãã¬ã¹ï¼LMAã¨å¼ã¶ï¼ããã¢ã¯ã»ã¹
+ã¢ãã¬ã¹ï¼RAMå
 ã®ã¢ãã¬ã¹ï¼VMAã¨å¼ã¶ï¼ã«ã³ãã¼ããå¿
 è¦ãããï¼
 
-ãã®ã³ãã¼ã¯ï¼LMA.ORDER_LISTã«ï¼ã³ãã¼ããã»ã¯ã·ã§ã³ã®çªå·ï¼lmanoï¼ã®ãª
-ã¹ãï¼çªå·ã¯ä»»æã«ä»ä¸ãã¦ããï¼ï¼LMA.START_DATA[lmano]ã«ã³ãã¼ããã»ã¯
-ã·ã§ã³ã®ã¢ã¯ã»ã¹ã¢ãã¬ã¹ã®å
-é ­ã®ã©ãã«ï¼LMA.END_DATA[lmano]ã«æ«å°¾ã®ã©ã
-ã«ï¼LMA.START_IDATA[lmano]ã«ãã®é
-ç½®ã¢ãã¬ã¹ã®å
-é ­ã®ã©ãã«ãè¨­å®ããã
-ã¨ã§ï¼ãã¹3ã®ãã³ãã¬ã¼ããã¡ã¤ã«ã®ã¿ã¼ã²ããéä¾å­é¨ã§å®æ½ããï¼
+ãã®ã³ãã¼ã¯ï¼$lmaListã«ï¼ã³ãã¼ããã»ã¯ã·ã§ã³æ
+å ±ã®ãªã¹ããè¨­å®ããã
+ã¨ã§ï¼ãã¹3ã®çæã¹ã¯ãªããã®ã¿ã¼ã²ããéä¾å­é¨ã§å®æ½ããï¼ã»ã¯ã·ã§ã³æ
+
+å ±lmaã¯ï¼lma[:START_DATA]ã«ã³ãã¼ããã»ã¯ã·ã§ã³ã®ã¢ã¯ã»ã¹ã¢ãã¬ã¹ã®å
+é ­
+ã®ã©ãã«ï¼lma[:END_DATA]ã«æ«å°¾ã®ã©ãã«ï¼lma[:START_IDATA]ã«ãã®é
+ç½®ã¢ã
+ã¬ã¹ã®å
+é ­ã®ã©ãã«ãè¨­å®ããããã·ã¥ã§è¡¨ãï¼
 
 ä¾ãã°ï¼ã³ãã¼ããã»ã¯ã·ã§ã³ã®ã¢ã¯ã»ã¹ã¢ãã¬ã¹ã®å
 é ­ã®ã©ãã«ã
-"__data_start"ï¼æ«å°¾ã®ã©ãã«ã"__data_end"ï¼ãã®é
+"__start_data"ï¼æ«å°¾ã®ã©ãã«ã"__end_data"ï¼ãã®é
 ç½®ã¢ãã¬ã¹ã®å
 é ­ã®ã©
-ãã«ã"__idata_start"ã®å ´åã«ã¯ï¼ãã¹3ã®ãã³ãã¬ã¼ããã¡ã¤ã«ã®ã¿ã¼ã²ã
-ãä¾å­é¨ã«ä»¥ä¸ã®è¨è¿°ãå«ããï¼
-
-----------------------------------------
-$LMA.ORDER_LIST = { 1 }$
-$LMA.START_DATA[1] = "__data_start"$
-$LMA.END_DATA[1] = "__data_end"$
-$LMA.START_IDATA[1] = "__idata_start"$
+ãã«ã"__start_idata"ã®å ´åã«ã¯ï¼ãã¹3ã®çæã¹ã¯ãªããã®ã¿ã¼ã²ããä¾å­
+é¨ã«ä»¥ä¸ã®è¨è¿°ãå«ããï¼
+
+----------------------------------------
+$lmaList = [ { :START_DATA => "__start_data",
+               :END_DATA => "__end_data",
+               :START_IDATA => "__start_idata" } ]
 ----------------------------------------
 
@@ -4477,5 +4513,5 @@
 ä»¥ä¸ã®å
 é ­çªå°ã¯ï¼ã¿ã¼ã²ããéä¾å­é¨ã§çæãããã¼ãã«ã«åºåãããªãã
-ãï¼ãã¹3ã®ã¿ã¼ã²ããéä¾å­é¨ï¼kernel_check.tfï¼ã§ã¯ï¼ãã­ã°ã©ã ã®éå§
+ãï¼ãã¹3ã®ã¿ã¼ã²ããéä¾å­é¨ï¼kernel_check.trbï¼ã§ã¯ï¼ãã­ã°ã©ã ã®éå§
 çªå°ã¨ãã¦æ­£ãããªãå ´åã®ã¨ã©ã¼ããã§ãã¯ããªãï¼ãã®ããï¼ã¿ã¼ã²ãã
 ä¾å­é¨ã§ã¨ã©ã¼ãã§ãã¯ãè¡ãå¿
@@ -4550,38 +4586,229 @@
 ï¼ï¼ã·ã¹ãã ãµã¼ãã¹ç­ã®ã¿ã¼ã²ããä¾å­é¨
 
-8.0 ã·ã¹ãã ãµã¼ãã¹ã®ã¿ã¼ã²ããä¾å­é¨
-
-ã·ãªã¢ã«ãã¼ãæ°ãã·ã¹ãã ã­ã°ã¿ã¹ã¯é¢é£ã®å®æ°ãªã©ï¼ã·ã¹ãã ãµã¼ãã¹ã®
-æ§æãæ±ºå®ããããã®å®ç¾©ãtarget_syssvc.hã¾ãã¯ããããã¤ã³ã¯ã«ã¼ããã
+ASP3ã«ã¼ãã«ã§ã¯ï¼TOPPERSçµè¾¼ã¿ã³ã³ãã¼ãã³ãã·ã¹ãã ï¼TECSï¼ãç¨ãã¦ã·
+ã¹ãã ãµã¼ãã¹ãæ§ç¯ãã¦ããï¼TECSã®ä»æ§ã«ã¤ãã¦ã¯ï¼ä»¥ä¸ã®URLã«ãã
+TECSãªãã¡ã¬ã³ã¹ããã¥ã¢ã«ãåèã«ãããã¨ï¼
+
+	http://dev.toppers.jp/trac_user/tecs/wiki/WikiStart
+
+ãTOPPERS/ASP1ã«ã¼ãã«ã¨ã®é¢ä¿ã
+
+TECSãç¨ãã¦ã·ã¹ãã ãµã¼ãã¹ãæ§ç¯ãã¦ããããï¼ãã®å
+é¨æ§é ã¯ï¼ASP1ã«ã¼
+ãã«ã¨ã¯å¤§ããç°ãªãï¼
+
+8.1 ã·ã¹ãã ãµã¼ãã¹ã®æ§æã¨ã¿ã¼ã²ããä¾å­é¨
+
+ASP3ã«ã¼ãã«ã®é
+å¸ããã±ã¼ã¸ã«ã¯ï¼ä»¥ä¸ã®ã·ã¹ãã ãµã¼ãã¹ãå«ã¾ãã¦ããï¼
+
+  ã»ã·ã¹ãã ã­ã°æ©è½
+  ã»ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ã
+	  - ã¿ã¼ã²ããéä¾å­é¨
+	  - ã¿ã¼ã²ããä¾å­é¨
+  ã»ã·ã¹ãã ã­ã°ã¿ã¹ã¯
+  ã»ä½ã¬ãã«åºåï¼ã¿ã¼ã²ããä¾å­é¨ã®ã¿ï¼
+  ã»ãã¹ããã­ã°ã©ã ç¨ãµã¼ãã¹
+  ã»å®è¡æéåå¸éè¨ãµã¼ãã¹
+  ã»ã«ã¼ãã«èµ·åã¡ãã»ã¼ã¸åºå
+
+ãããã®å
+ï¼ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ã¿ã¼ã²ããä¾å­é¨ã¨ä½ã¬ãã«
+åºåã¯ï¼ã¿ã¼ã²ããä¾å­é¨ã§ç¨æããå¿
+è¦ãããï¼ã·ã¹ãã ãµã¼ãã¹ã®ã¿ã¼ã²ã
+ãä¾å­é¨ã®ã³ã³ãã¼ãã³ãè¨è¿°ã¯ï¼target.cdlã¾ãã¯ããããã¤ã³ãã¼ããã
 ããã¡ã¤ã«ï¼éçºç°å¢ä¾å­é¨ï¼ãã­ã»ããµã³ã¢ä¾å­é¨ï¼ãããä¾å­é¨ã§ç¨æã
-ããããããã¡ã¤ã«ãªã©ï¼ã«å«ããï¼
-
-ãªãï¼TOPPERSçµè¾¼ã¿ã³ã³ãã¼ãã³ãã·ã¹ãã ãå°å
-¥ãããã¨ï¼ãã®ãã¡ã¤ã«ã®
-å
-å®¹ã¯ã³ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«ã«è¨è¿°ããããã¨ã«ãªãï¼ãã®ãã¡ã¤ã«ã¯
-ç¡ããªãï¼ã¾ãã¯ï¼å¤§å¹
-ã«ç¸®å°ãããï¼è¦è¾¼ã¿ã§ããï¼
-
-8.1 ã·ã¹ãã ã­ã°æ©è½ã®ã¿ã¼ã²ããä¾å­å®ç¾©
-
-ã·ã¹ãã ã­ã°æ©è½ãä½¿ç¨ããå ´åã§ï¼ã¹ã¿ã¼ãã¢ããã¢ã¸ã¥ã¼ã«ã§bssã»ã¯ã·ã§
-ã³ã®ã¯ãªã¢ãçç¥ãã¦ããå ´åã«ã¯ï¼syslog_logmaskã¨syslog_lowmask_notã
-0ã«åæåããã³ã¼ããè¿½å ããï¼ããã¯ï¼ã·ã¹ãã ã­ã°æ©è½ãåæåãããå
-ã«åºåãããã­ã°æ
-å ±ãï¼ä½ã¬ãã«åºåæ©è½ãç¨ãã¦åºåããããã§ããï¼
-
-ã¿ã¼ã²ããä¾å­é¨ã§æä¾ãã¹ãã·ã¹ãã ã­ã°æ©è½ã®ããã®å®ç¾©ã¯æ¬¡ã®éãã§ã
-ãï¼
-
-(8-1-1) TCNT_SYSLOG_BUFFERï¼ãªãã·ã§ã³ï¼
-
-ã·ã¹ãã ã­ã°æ©è½ã®ã­ã°ãããã¡ã®ãµã¤ãºãå®ç¾©ãããã¯ã­ï¼å®ç¾©ããªãå ´å
-ã®ããã©ã«ãå¤ã¯32ï¼
-
-(8-1-2) void target_fput_log(char c)
-
-ã·ã¹ãã ã­ã°ã®ä½ã¬ãã«åºåã®ããã®æå­åºåé¢æ°ï¼ã¿ã¼ã²ããä¾å­ã®æ¹æ³ã§ï¼
-æå­cãè¡¨ç¤º/åºå/ä¿å­ããï¼
+ããã³ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«ãªã©ï¼ã«å«ããï¼
+
+ãã®ä»ã®ã·ã¹ãã ãµã¼ãã¹ã¯ï¼ã¿ã¼ã²ããéä¾å­é¨ã§ç¨æããã¦ãããï¼ã¿ã¼
+ã²ããä¾å­ã«è¨­å®ãå¤æ´ãããã¨ãã§ããï¼å
+·ä½çã«ã¯ï¼ã·ã¹ãã ãµã¼ãã¹ã®
+è¨­å®ãå¤æ´ããããã®å®ç¾©ãï¼target.cdlã¾ãã¯ããããã¤ã³ãã¼ãããããã¡
+ã¤ã«ãï¼target_syssvc.hã¾ãã¯ããããã¤ã³ã¯ã«ã¼ãããããã¡ã¤ã«ï¼éçºç°
+å¢ä¾å­é¨ï¼ãã­ã»ããµã³ã¢ä¾å­é¨ï¼ãããä¾å­é¨ã§ç¨æãããããããã¡ã¤ã«
+ãªã©ï¼ï¼target_stddef.hã¾ãã¯ããããã¤ã³ã¯ã«ã¼ãããããã¡ã¤ã«ã«å«ããï¼
+
+8.2 ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ã¿ã¼ã²ããä¾å­é¨
+
+8.2.1 ã¿ã¼ã²ããä¾å­é¨ã®å®ç¾å½¢æ
+
+
+ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ã¿ã¼ã²ããä¾å­é¨ã¯ï¼éä¾å­é¨ã¨çµåãã
+ããã®åãå£ã¨å¼ã³å£ã1ã¤ãã¤æã¤ã»ã«ã¿ã¤ãã¨ãã¦å®è£
+ããï¼éä¾å­é¨ã¨çµ
+åããªãã¦ãã¨ã©ã¼ã¨ãªããªãããã«ï¼å¼ã³å£ã«ã¯optionalæå®ãè¡ãï¼åã
+å£ï¼ã¿ã¼ã²ããä¾å­é¨ãéä¾å­é¨ã«å¯¾ãã¦ãµã¼ãã¹ãæä¾ï¼ã¨å¼ã³å£ï¼ã¿ã¼ã²ã
+ãä¾å­é¨ãéä¾å­é¨ãå¼ã³åºãã³ã¼ã«ããã¯ï¼ã®ã¤ã³ã¿ãã§ã¼ã¹ã«ã¤ãã¦ã¯ï¼
+ä»¥éã®ç¯ã§èª¬æããï¼
+
+ã¿ã¼ã²ããä¾å­é¨ã®ã»ã«ã¿ã¤ãåã¨ï¼ã»ã«ã¿ã¤ãã®å®ç¾©ãå
+¥ããã³ã³ãã¼ãã³
+ãè¨è¿°ãã¡ã¤ã«ã®åç§°ã¯ï¼æ¬¡ã®éãã¨ããï¼
+
+	ã»ã«ã¿ã¤ãå	tSIOPort<ã·ã¹ãã ç¥ç§°>
+	ãã¡ã¤ã«å		tSIOPort<ã·ã¹ãã ç¥ç§°>.cdl
+
+ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ã¿ã¼ã²ããä¾å­é¨ã®ã»ã«ã¿ã¤ãã¯ï¼å
+é¨ã«ï¼
+å²è¾¼ã¿ãµã¼ãã¹ã«ã¼ãã³ãçµäºå¦çã«ã¼ãã³ï¼ã·ãªã¢ã«I/Oããã¤ã¹ï¼SIOï¼ã®
+ã¿ã«ä¾å­ããé¨åï¼ãããï¼SIOãã©ã¤ãã¨å¼ã¶ï¼ãªã©ãå«ãè¤åã³ã³ãã¼ãã³
+ãã«ãªãã®ãéå¸¸ã§ããï¼
+
+ã¿ã¼ã²ããã·ã¹ãã ãè¤æ°ã®ã·ãªã¢ã«ãã¼ããæã¤å ´åã«ã¯ï¼ãã¼ãæ¯ã«ã»ã«
+ãä½æï¼ã¤ã³ã¹ã¿ã³ã·ã¨ã¼ãï¼ã§ããã»ã«ã¿ã¤ãã¨ãã¦å®è£
+ããã®ãæã¾ããï¼
+ãã®æï¼ãã¼ãã®åºå¥ã¯ï¼ã»ã«ã¿ã¤ãã®å±æ§ã«SIOã®ããã¤ã¹ã¬ã¸ã¹ã¿ã®çªå°ã
+æããããªã©ã®æ¹æ³ã§è¡ãï¼ã¾ãï¼SIOããã®å²è¾¼ã¿çªå·ãå²è¾¼ã¿åªå
+åº¦ãï¼å¿
+
+è¦ã«å¿ãã¦ï¼ã»ã«ã¿ã¤ãã®å±æ§ã¨ããï¼
+
+8.2.2 ã¿ã¼ã²ããä¾å­é¨ã®åãå£ï¼æä¾ãããµã¼ãã¹ï¼
+
+ã¿ã¼ã²ããä¾å­é¨ãéä¾å­é¨ã«å¯¾ãã¦ãµã¼ãã¹ãæä¾ããåãå£ã®ã·ã°ããã£
+ã¯æ¬¡ã®éãã§ããï¼
+
+----------------------------------------
+signature sSIOPort {
+	void	open(void);
+	void	close(void);
+	bool_t	putChar([in] char c);
+	int_t	getChar(void);
+	void	enableCBR([in] uint_t cbrtn);
+	void	disableCBR([in] uint_t cbrtn);
+};
+----------------------------------------
+
+ãã®ã·ã°ããã£ã«å«ã¾ããé¢æ°ã¯ï¼ï¼å°ãªãã¨ãï¼SIOããã®å²è¾¼ã¿ããã¹ã¯ã
+ããç¶æ
+ã§å¼ã³åºãããï¼ã¾ãï¼ã¿ã¹ã¯ã³ã³ãã­ã¹ãï¼éã¿ã¹ã¯ã³ã³ãã­ã¹ã
+ã®ãããã§å¼ã³åºãããå ´åãããï¼ãããã§å¼ã³åºããã¦ãåä½ããããã«
+ããªããã°ãªããªãï¼ï¼
+
+ãã®ã·ã°ããã£ã«å«ã¾ããåé¢æ°ã®ä»æ§ã¯æ¬¡ã®éãï¼
+
+(8-2-2-1) void open(void)
+
+SIOãã¼ãããªã¼ãã³ããï¼
+
+(8-2-2-2) void close(void)
+
+SIOãã¼ããã¯ã­ã¼ãºããï¼
+
+(8-2-2-3) bool_t putChar([in] char c)
+
+SIOãã¼ãããï¼æå­cãéä¿¡ããï¼æå­ãéä¿¡ã¬ã¸ã¹ã¿ã«å
+¥ããå ´åã«ã¯true
+ãï¼åã«éä¿¡ããæå­ã®éä¿¡ãçµãã£ã¦ããªãããã«ï¼æå­ãéä¿¡ã¬ã¸ã¹ã¿ã«
+å
+¥ããããªãã£ãå ´åã«ã¯falseãè¿ãï¼
+
+(8-2-2-4) int_t getChar(void)
+
+SIOãã¼ãããæå­ãèª­ãï¼æå­ãåä¿¡ãã¦ããå ´åï¼èª­ãã æå­ã®ã³ã¼ãã¯æ­£
+ã®å¤ã¨ãã¦è¿ãï¼æå­ãåä¿¡ãã¦ããªãå ´åã«ã¯-1ãè¿ãï¼
+
+(8-2-2-5) void enableCBR([in] uint_t cbrtn)
+
+SIOãã¼ãããã®cbrtnã§æå®ãããã³ã¼ã«ããã¯ãè¨±å¯ããï¼cbrtnã«ã¯ï¼
+SIOSendReadyãSIOReceiveReadyãæå®ã§ããï¼
+
+(8-2-2-6) void disableCBR([in] uint_t cbrtn)
+
+SIOãã¼ãããã®cbrtnã§æå®ãããã³ã¼ã«ããã¯ãç¦æ­¢ããï¼cbrtnã«ã¯ï¼
+SIOSendReadyãSIOReceiveReadyãæå®ã§ããï¼
+
+8.2.3 ã¿ã¼ã²ããä¾å­é¨ã®å¼ã³å£ï¼ã³ã¼ã«ããã¯ï¼
+
+ã¿ã¼ã²ããä¾å­é¨ãéä¾å­é¨ãå¼ã³åºãã³ã¼ã«ããã¯ã®å¼ã³å£ã®ã·ã°ããã£ã¯
+æ¬¡ã®éãã§ããï¼
+
+----------------------------------------
+[callback]
+signature siSIOCBR {
+	void	readySend(void);
+	void	readyReceive(void);
+};
+----------------------------------------
+
+ã¿ã¼ã²ããä¾å­é¨ã¯ï¼æå®ãããã¿ã¤ãã³ã°ã§ï¼ãã®ã·ã°ããã£ã«å«ã¾ããã³ã¼
+ã«ããã¯é¢æ°ãå¼ã³åºããªããã°ãªããªãï¼ãã ãï¼ãã®ã³ã¼ã«ããã¯ãç¦æ­¢
+ããã¦ããæã¯ï¼ã³ã¼ã«ããã¯é¢æ°ãå¼ã³åºãã¦ã¯ãªããªãï¼ã¾ãï¼å¼ã³å£ã
+çµåããã¦ããªãå ´åã«ãï¼ã³ã¼ã«ããã¯é¢æ°ãå¼ã³åºãã¦ã¯ãªããªãï¼
+
+ãã®ã·ã°ããã£ã«å«ã¾ããé¢æ°ã¯ï¼ï¼å°ãªãã¨ãï¼SIOããã®å²è¾¼ã¿ãç¦æ­¢ãã
+ãç¶æ
+ã§ï¼éã¿ã¹ã¯ã³ã³ãã­ã¹ãã§å¼ã³åºãï¼
+
+ãã®ã·ã°ããã£ã«å«ã¾ããåé¢æ°ã®ä»æ§ã¯æ¬¡ã®éãï¼
+
+(8-2-3-1) void readySend(void)
+
+éä¿¡å¯è½ã³ã¼ã«ããã¯ã«ã¼ãã³ï¼SIOãã¼ãã«å¯¾ãã¦æå­ãéä¿¡ã§ããç¶æ
+ã«ãªã£
+ãå ´åã«å¼ã³åºãï¼ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ã¿ã¼ã²ããéä¾å­é¨ã¯ï¼
+ãã®ã³ã¼ã«ããã¯ã«ã¼ãã³ã®ä¸­ã§ï¼åãå£ã®putCharãå¼ã³åºãã¦æ¬¡ã®æå­ãé
+ä¿¡ãããï¼éä¿¡ãã¹ãæå­ããªãå ´åã«ã¯éä¿¡å¯è½ã³ã¼ã«ããã¯ãç¦æ­¢ããï¼
+
+(8-2-3-2) void readyReceive(void)
+
+åä¿¡éç¥ã³ã¼ã«ããã¯ã«ã¼ãã³ï¼SIOãã¼ãããæå­ãåä¿¡ããå ´åã«å¼ã³åºãï¼
+ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ã¿ã¼ã²ããéä¾å­é¨ã¯ï¼ãã®ã³ã¼ã«ããã¯
+ã«ã¼ãã³ã®ä¸­ã§ï¼åãå£ã®getCharãå¼ã³åºãã¦åä¿¡ããæå­ãåãåºãï¼
+
+8.3 ä½ã¬ãã«åºå
+
+8.3.1 ä½ã¬ãã«åºåã®å®ç¾å½¢æ
+
+
+ä½ã¬ãã«åºåã¯ï¼ãããç¨ããã³ã³ãã¼ãã³ãã¨çµåããããã®åãå£ã1ã¤æ
+ã¤ã·ã³ã°ã«ãã³ã®ã»ã«ã¿ã¤ãã¨ãã¦å®è£
+ããï¼åãå£ã®ã¤ã³ã¿ãã§ã¼ã¹ã«ã¤ã
+ã¦ã¯ï¼ä»¥éã®ç¯ã§èª¬æããï¼
+
+ä½ã¬ãã«åºåã®ã»ã«ã¿ã¤ãåã¨ï¼ã»ã«ã¿ã¤ãã®å®ç¾©ãå
+¥ããã³ã³ãã¼ãã³ãè¨
+è¿°ãã¡ã¤ã«ã®åç§°ã¯ï¼æ¬¡ã®éãã¨ããï¼
+
+	ã»ã«ã¿ã¤ãå	tPutLog<ã·ã¹ãã ç¥ç§°>
+	ãã¡ã¤ã«å		tPutLog<ã·ã¹ãã ç¥ç§°>.cdl
+
+ä½ã¬ãã«åºåãï¼SIOãã¼ããããã¼ãªã³ã°ã«ããåºåããå ´åã«ã¯ï¼ä½ã¬ãã«
+åºåãSIOãã©ã¤ãï¼ã¾ãã¯ï¼ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ã¿ã¼ã²ããä¾
+å­åï¼ã¨çµåããããã®å¼ã³å£ãæããã¦ãè¯ãï¼
+
+ä½ã¬ãã«åºåãSIOãã¼ãçµç±ã§è¡ãå ´åï¼ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã¨
+ãã¼ããå
+±ç¨ããªããã¨ãæã¾ãããï¼ãã¼ãæ°ãè¶³ããªãããã«ããããã
+å
+±ç¨ããå ´åã«ã¯ï¼ä¸¡è
+ãç«¶åããªãããã«æ³¨æãå¿
+è¦ã§ããï¼å
+·ä½çã«ã¯ï¼
+ä¸¡è
+ãåãè¨­å®ã§SIOãä½¿ãããã«ãï¼ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®åä½
+ä¸­ã«ä½ã¬ãã«åºåãè¡ããã¦ãå·®ãæ¯ããªãããã«è¨­è¨ããï¼ã¾ãï¼ä½ã¬ãã«
+åºåãåä½éå§å¾ã«ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ããSIOãåæåããã¨ï¼æ
+å­åããèµ·ããå¯è½æ§ãããï¼ãããé¿ããããã«ã¯ï¼å
+±ç¨ãããã¼ãã¯ä½ã¬
+ãã«åºåå´ã§åæåãï¼ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã§ã¯åæåããªãã
+ãã«ããã¨ããï¼
+
+8.3.2 ä½ã¬ãã«åºåã®åãå£ï¼æä¾ãããµã¼ãã¹ï¼
+
+ä½ã¬ãã«åºåããµã¼ãã¹ãæä¾ããåãå£ã®ã·ã°ããã£ã¯æ¬¡ã®éãã§ããï¼
+
+----------------------------------------
+signature sPutLog {
+	void	putChar([in] char c);
+};
+----------------------------------------
+
+ãã®ã·ã°ããã£ã«å«ã¾ããé¢æ°ã®ä»æ§ã¯æ¬¡ã®éãï¼
+
+(8-3-2-1) void putChar([in] char c)
+
+ä½ã¬ãã«åºåã®ããã®æå­åºåé¢æ°ï¼ã¿ã¼ã²ããä¾å­ã®æ¹æ³ã§ï¼æå­cãè¡¨ç¤º/
+åºå/ä¿å­ããï¼
 
 ãã®é¢æ°ã¯ï¼ãªã¨ã³ãã©ã³ãã«å®è£
@@ -4600,30 +4827,83 @@
 ããªããã°ãªããªãï¼
 
-ä½ã¬ãã«åºåãã·ãªã¢ã«ãã¼ãçµç±ã§è¡ãå ´åã§ï¼ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ã
-ã©ã¤ãã¨ãã¼ããå
-±ç¨ããªããã¨ãæã¾ãããï¼ãã¼ãæ°ãè¶³ããªãããã«ã
-ããããå
-±ç¨ããå ´åã«ã¯ï¼ä¸¡è
-ãç«¶åããªãããã«æ³¨æãå¿
-è¦ã§ããï¼å
-·ä½
-çã«ã¯ï¼ä¸¡è
-ãåãè¨­å®ã§ã·ãªã¢ã«I/Oããã¤ã¹ãä½¿ãããã«ãï¼ã·ãªã¢ã«ã¤ã³
-ã¿ãã§ã¼ã¹ãã©ã¤ãã®åä½ä¸­ã«ä½ã¬ãã«åºåãè¡ããã¦ãå·®ãæ¯ããªãããã«
-è¨­è¨ããï¼ã¾ãï¼ä½ã¬ãã«åºåãåä½éå§å¾ã«ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤
-ããã·ãªã¢ã«I/Oããã¤ã¹ãåæåããã¨ï¼æå­åããèµ·ããå¯è½æ§ãããï¼ã
-ããé¿ããããã«ã¯ï¼å
-±ç¨ãããã¼ãã¯ä½ã¬ãã«åºåå´ã§åæåãï¼ã·ãªã¢ã«
-ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã§ã¯åæåããªãããã«ããã¨ããï¼
-
-ãªãï¼ãã®é¢æ°ã®æ¬ä½ãï¼ã©ã®ãã¡ã¤ã«ã«è¨è¿°ããããåé¡ã«ãªãï¼ã·ã¹ãã 
-ãµã¼ãã¹ã®ã¿ã¼ã²ããä¾å­é¨ã«ã¯ï¼æ¨æºã§ã¯ï¼é¢æ°å®ç¾©ãè¨è¿°ããããã®ãã¡
-ã¤ã«ãç¨æãã¦ããªãï¼ã¿ã¼ã²ããä¾å­ã§ç¨æãã¦ããããï¼ä¾å¤çã«ï¼ã«ã¼
-ãã«å®è£
-ã®ã¿ã¼ã²ããä¾å­ã¢ã¸ã¥ã¼ã«ï¼target_kernel_impl.cï¼ã«è¨è¿°ãã¦ã
-ããï¼ãã®å ´åï¼target_fput_logãï¼ãªãã¼ã è¨è¿°ï¼target_rename.defãªã©ï¼
-ã«å«ãã¦ã¯ãªããªãï¼
-
-(8-1-3) LOGTIMï¼SYSLOG_GET_LOGTIMï¼ãªãã·ã§ã³ï¼
+8.4 ã¿ã¼ã²ããä¾å­é¨ã®ã³ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«
+
+ã¿ã¼ã²ããä¾å­é¨ã®ã³ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«ï¼target.cdlï¼ã«ã¯ï¼ä»¥ä¸ã®
+å
+å®¹ãè¨è¿°ããï¼
+
+(8-4-1) ã¿ã¹ã¯ã®ã¹ã¿ãã¯ãµã¤ãºã®ããã©ã«ã
+
+ãã®ã¿ã¼ã²ããã·ã¹ãã ã«ãããã¿ã¹ã¯ã®ã¹ã¿ãã¯ãµã¤ãºã®ããã©ã«ãå¤ãï¼
+ä¸ã®ä¾ã®ããã«ï¼DefaultTaskStackSizeã«å®ç¾©ããï¼
+
+----------------------------------------
+const size_t DefaultTaskStackSize = 4096;
+----------------------------------------
+
+(8-4-2) ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®ã¹ã¿ãã¯ãµã¤ãºã®å®ç¾©
+
+ãã®ã¿ã¼ã²ããã·ã¹ãã ã«ãããã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®ã¹ã¿ãã¯ãµã¤ãºãï¼ä¸
+ã®ä¾ã®ããã«ï¼LogTaskStackSizeã«å®ç¾©ããï¼
+
+----------------------------------------
+const size_t LogTaskStackSize = DefaultTaskStackSize;
+----------------------------------------
+
+(8-4-3) ã«ã¼ãã«èµ·åã¡ãã»ã¼ã¸ã«é¢ããå®ç¾©
+
+ã«ã¼ãã«èµ·åã¡ãã»ã¼ã¸åºåãè¡¨ç¤ºããã¿ã¼ã²ããåã¨èä½æ¨©è¡¨ç¤ºãï¼ä¸ã®ä¾
+ã®ããã«ï¼BannerTargetNameã¨BannerCopyrightNoticeã«å®ç¾©ããï¼
+
+----------------------------------------
+const char *const BannerTargetName = "ARM CT11MPCore";
+const char *const BannerCopyrightNotice =
+						"Copyright (C) 2016 by Hiroaki Takada\n";
+----------------------------------------
+
+(8-4-4) ã¿ã¼ã²ããä¾å­ã®ã»ã«ã¿ã¤ãã®å®ç¾©ã®ã¤ã³ãã¼ã
+
+ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ã¿ã¼ã²ããä¾å­é¨ã¨ä½ã¬ãã«åºåã®ã»ã«ã¿
+ã¤ãã®å®ç¾©ãå
+¥ããã³ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«ãã¤ã³ãã¼ãããï¼
+
+(8-4-5) ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ã¿ã¼ã²ããä¾å­é¨ã®çµã¿ä¸ãè¨è¿°
+
+ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ã¿ã¼ã²ããä¾å­é¨ã®ã»ã«ãï¼ä¸ã®ä¾ã®ãã
+ã«ï¼SIOPortTarget1ã®åç§°ã§ä½æï¼ã¤ã³ã¹ã¿ã³ã·ã¨ã¼ãï¼ããçµä¸ãè¨è¿°ãè¡
+ãï¼ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã¯ï¼ã¿ã¼ã²ããä¾å­é¨ãSIOPortTarget1ã®åç§°ã§ãã
+ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ããç¨ããï¼
+
+----------------------------------------
+cell tSIOPortCT11MPCore SIOPortTarget1 {
+	baseAddress     = C_EXP("EB_UART0_BASE");
+	interruptNumber = C_EXP("EB_IRQNO_UART0");
+};
+----------------------------------------
+
+ã¿ã¼ã²ããã·ã¹ãã ãè¤æ°ã®ã·ãªã¢ã«ãã¼ããæã¤å ´åã«ã¯ï¼è¤æ°ã®ã»ã«ãä½
+æï¼ã¤ã³ã¹ã¿ã³ã·ã¨ã¼ãï¼ãã¦ãããï¼
+
+(8-4-6) ä½ã¬ãã«åºåã®çµã¿ä¸ãè¨è¿°
+
+ä½ã¬ãã«åºåã®ã»ã«ãï¼ä¸ã®ä¾ã®ããã«ï¼PutLogTargetã®åç§°ã§ä½æï¼ã¤ã³ã¹
+ã¿ã³ã·ã¨ã¼ãï¼ããçµä¸ãè¨è¿°ãè¡ãï¼ã·ã¹ãã ã­ã°æ©è½ã¨ã·ã¹ãã ã­ã°ã¿ã¹
+ã¯ã¯ï¼PutLogTargetã®åç§°ã®ä½ã¬ãã«åºåãç¨ããï¼
+
+----------------------------------------
+cell tPutLogCT11MPCore PutLogTarget {
+	cSIOPort = SIOPortTarget1.eSIOPort;
+};
+----------------------------------------
+
+8.5 ã·ã¹ãã ãµã¼ãã¹ã®ã¿ã¼ã²ããä¾å­å®ç¾©
+
+ã·ã¹ãã ã­ã°æ©è½ï¼å®è¡æéåå¸éè¨ãµã¼ãã¹ï¼ãã¬ã¼ã¹ã­ã°æ©è½ã®è¨­å®ãå¤
+æ´ããããã®å®ç¾©ãï¼target_syssvc.hï¼target_stddef.hï¼ã¾ãã¯ããããã
+ã¤ã³ã¯ã«ã¼ãããããã¡ã¤ã«ã«è¨è¿°ãããã¨ãã§ããï¼
+
+8.5.1 ã·ã¹ãã ã­ã°æ©è½ã®è¨­å®å¤æ´
+
+(8-5-1-1) LOGTIMï¼SYSLOG_GET_LOGTIMï¼ãªãã·ã§ã³ï¼
 
 ã·ã¹ãã ã­ã°æ©è½ã«ããã¦è¨é²ããæå»ï¼ã­ã°æå»ï¼ã®ãã¼ã¿åãLOGTIMã«ï¼
@@ -4634,192 +4914,51 @@
 ã¤ã«ã«å«ããªããã°ãªããªãï¼
 
-(8-1-4) LOGPARï¼ULOGPARï¼ãªãã·ã§ã³ï¼
+(8-5-1-2) LOGPARï¼ULOGPARï¼ãªãã·ã§ã³ï¼
 
 ã·ã¹ãã ã­ã°æ©è½ã«ããã¦è¨é²ããã­ã°ãã©ã¡ã¼ã¿ã®ãã¼ã¿åãLOGPARã«ãã¯
 ã­å®ç¾©ããï¼LOGPARã«å®ç¾©ãããã¼ã¿åã¯ï¼ç¬¦å·ä»ãã®æ´æ°åã§ãªããã°ãªã
 ãªãï¼ã¾ãï¼LOGPARã¨åããµã¤ãºã®ç¬¦å·ç¡ãã®æ´æ°åãï¼ULOGPARã«ãã¯ã­å®ç¾©
-ããï¼
-
-ãããã®å®ç¾©ããªãå ´åï¼ã­ã°ãã©ã¡ã¼ã¿ã®ãã¼ã¿åã¯intptr_tã¨ããï¼
+ããï¼ããããå®ç¾©ããªãå ´åï¼ã­ã°ãã©ã¡ã¼ã¿ã®ãã¼ã¿åã¯intptr_tã¨ããï¼
 
 ãªãï¼LOGPARããã³ULOGPARã®å®ç¾©ã¯ï¼target_stddef.hã¾ãã¯ããããã¤ã³ã¯
 ã«ã¼ãããããã¡ã¤ã«ã«å«ããªããã°ãªããªãï¼
 
-8.2 ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®ã¿ã¼ã²ããä¾å­å®ç¾©
-
-ã¿ã¼ã²ããä¾å­é¨ã§æä¾ãã¹ãã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®ããã®å®ç¾©ã¯æ¬¡ã®éãã§
-ããï¼ãããã®å®ç¾©ã¯ï¼target_syssvc.hã¾ãã¯ããããã¤ã³ã¯ã«ã¼ãããããã¡
-ã¤ã«ã«å«ããï¼
-
-(8-2-1) LOGTASK_PRIORITYï¼ãªãã·ã§ã³ï¼
-
-ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®åªå
-åº¦ãå®ç¾©ãããã¯ã­ï¼å®ç¾©ããªãå ´åã®ããã©ã«ã
-å¤ã¯3ï¼
-
-(8-2-2) LOGTASK_STACK_SIZEï¼ãªãã·ã§ã³ï¼
-
-ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®ã¹ã¿ãã¯ãµã¤ãºãå®ç¾©ãããã¯ã­ï¼å®ç¾©ããªãå ´åã®ã
-ãã©ã«ãå¤ã¯1024ï¼
-
-(8-2-3) LOGTASK_PORTIDï¼ãªãã·ã§ã³ï¼
-
-ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®åºåå
-ã®ã·ãªã¢ã«ãã¼ãçªå·ï¼å®ç¾©ããªãå ´åã®ããã©
-ã«ãå¤ã¯1ï¼
-
-(8-2-4) LOGTASK_INTERVALï¼ãªãã·ã§ã³ï¼
-
-ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®åä½ééï¼åä½ã¯ãã¤ã¯ã­ç§ï¼ï¼å®ç¾©ããªãå ´åã®ããã©
-ã«ãå¤ã¯10000ï¼
-
-(8-2-5) LOGTASK_FLUSH_WAITï¼ãªãã·ã§ã³ï¼
-
-ã­ã°åºåãå¾
-ã¡åãããå¦çã«ããã¦ï¼ã¿ã¹ã¯ãå¾
-ãããåä½ã¨ãªãæéï¼å
-ä½ã¯ãã¤ã¯ã­ç§ï¼ï¼å®ç¾©ããªãå ´åã®ããã©ã«ãå¤ã¯1000ï¼
-
-8.3 ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ã¿ã¼ã²ããä¾å­é¨
-
-ã¿ã¼ã²ããä¾å­é¨ã§æä¾ãã¹ãã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ããã®å®ç¾©
-ã¯æ¬¡ã®éãã§ããï¼ãããã®å®ç¾©ã¯ï¼å¥ã«æå®ããªãéãï¼target_serial.hã¾
-ãã¯ããããã¤ã³ã¯ã«ã¼ãããããã¡ã¤ã«ã«å«ãï¼å¿
-è¦ãªã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§
-ã³æ
-å ±ãtarget_serial.cfgã«è¨è¿°ããï¼é¢æ°ã®å®ä½ãå¿
-è¦ãªå ´åã«ã¯ï¼
-target_serial.cç­ã®ãã¡ã¤ã«ãç¨æããï¼
-
-ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ä¸­ã§ï¼ã¿ã¼ã²ããã®ã·ãªã¢ã«I/Oããã¤ã¹ã«
-ä¾å­ããé¨åãï¼ã·ãªã¢ã«I/Oããã¤ã¹ãã©ã¤ãã¨å¼ã¶ï¼ã·ãªã¢ã«I/Oããã¤ã¹
-ãã©ã¤ãã¯ï¼ããããï¼ITRONããã¤ã¹ãã©ã¤ãè¨­è¨ã¬ã¤ãã©ã¤ã³ã®PDICã«ç¸å½
-ããï¼
-
-8.3.1 å¤æ°ï¼ãã¼ã¿åï¼ç®¡çé¢æ°
-
-(8-3-1-1) TNUM_PORT
-
-ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãããµãã¼ãããã·ãªã¢ã«ãã¼ãæ°ãå®ç¾©ãã
-ãã¯ã­ï¼ãã®ãã¯ã­ã®å®ç¾©ã¯ï¼target_syssvc.hã¾ãã¯ããããã¤ã³ã¯ã«ã¼ãã
-ãããã¡ã¤ã«ã«å«ããï¼
-
-(8-3-1-2) void sio_initialize(intptr_t exinf)ï¼ãªãã·ã§ã³ï¼
-
-ã·ãªã¢ã«I/Oããã¤ã¹ãã©ã¤ãã®åæåå¦çï¼target_serial.cfgã«ï¼ãã®é¢æ°
-ãåæåã«ã¼ãã³ã¨ãã¦ç»é²ããéçAPIãå«ããï¼
-
-(8-3-1-3) void sio_terminate(intptr_t exinf)ï¼ãªãã·ã§ã³ï¼
-
-ã·ãªã¢ã«I/Oããã¤ã¹ãã©ã¤ãã®çµäºå¦çï¼target_serial.cfgã«ï¼ãã®é¢æ°ã
-çµäºå¦çã«ã¼ãã³ã¨ãã¦ç»é²ããéçAPIãå«ããï¼
-
-(8-3-1-4) void sio_isr(intptr_t exinf)
-
-ã·ãªã¢ã«I/Oããã¤ã¹ã®å²è¾¼ã¿ãµã¼ãã¹ã«ã¼ãã³ï¼target_serial.cfgã«ï¼ãã®
-é¢æ°ãå²è¾¼ã¿ãµã¼ãã¹ã«ã¼ãã³ã¨ãã¦ç»é²ããéçAPIãå«ããï¼ã¾ãï¼ãã®é
-çAPIã«å¿
-è¦ãªã·ãªã¢ã«I/Oããã¤ã¹ã®å²è¾¼ã¿çªå·ãªã©ã¯ï¼target_serial.hã§ã
-ã¯ã­å®ç¾©ããï¼å²è¾¼ã¿ãµã¼ãã¹ã«ã¼ãã³ã§ã¯ãªãï¼å²è¾¼ã¿ãã³ãã©ã¨ãããã¨
-ãã§ããï¼
-
-(8-3-1-5) SIOPCB
-
-ã·ãªã¢ã«I/Oãã¼ãç®¡çãã­ãã¯ã®ãã¼ã¿åï¼target_serial.hã«ã¯ï¼ãã¼ã¿å
-ã®å®£è¨ã ãå«ã¾ãã¦ããã°ããï¼ï¼
-
-(8-3-1-6) SIO_RDY_SNDã¨SIO_RDY_RCV
-
-éä¿¡å¯è½ã³ã¼ã«ããã¯ã®è­å¥çªå·ãSIO_RDY_SNDã«ï¼åä¿¡éç¥ã³ã¼ã«ããã¯ã®è­
-å¥çªå·ãSIO_RDY_RCVã«ãã¯ã­å®ç¾©ããï¼ã³ã¼ã«ããã¯ã®ç¦æ­¢ï¼è¨±å¯ãè¡ãªããµã¼
-ãã¹ã³ã¼ã«ï¼sio_ena_cbrã¨sio_dis_cbrï¼ã§ç¨ããï¼
-
-8.3.2 ããã¤ã¹ãµã¼ãã¹ã«ã¼ãã³
-
-ä»¥ä¸ã®ããã¤ã¹ãµã¼ãã«ã«ã¼ãã³ã¯ï¼ï¼å°ãªãã¨ãï¼ã·ãªã¢ã«I/Oãã¼ãããã®
-å²è¾¼ã¿ããã¹ã¯ãããç¶æ
-ã§å¼ã³åºãããï¼ã¾ãï¼ã¿ã¹ã¯ã³ã³ãã­ã¹ãï¼éã¿
-ã¹ã¯ã³ã³ãã­ã¹ãã®ãããã§å¼ã³åºãããå ´åãããï¼ãããã§å¼ã³åºããã¦
-ãåä½ããããã«ããªããã°ãªããªãï¼ï¼
-
-(8-3-2-1) SIOPCB *sio_opn_por(ID siopid, intptr_t exinf)
-
-siopidã§æå®ãããã·ãªã¢ã«I/Oãã¼ãããªã¼ãã³ããé¢æ°ï¼exinfã¯ã·ãªã¢ã«
-I/Oãã¼ãã«å¯¾ããæ¡å¼µæ
-å ±ã§ï¼ã³ã¼ã«ããã¯ãå¼ã¶æã«ãã¼ããåºå¥ããã
-ãã«æ¸¡ãï¼
-
-(8-3-2-2) void sio_cls_por(SIOPCB *siopcb)
-
-siopcbã§æå®ãããã·ãªã¢ã«I/Oãã¼ããã¯ã­ã¼ãºããé¢æ°ï¼
-
-(8-3-2-3) bool_t sio_snd_chr(SIOPCB *siopcb, char c)
-
-siopcbã§æå®ãããã·ãªã¢ã«I/Oãã¼ãã«ï¼cã§ç¤ºãããæå­ãéä¿¡ããé¢æ°ï¼
-æå­ãéä¿¡ã¬ã¸ã¹ã¿ã«å
-¥ããå ´åã«ã¯trueãï¼åã«éä¿¡ããæå­ã®éä¿¡ãçµãã£
-ã¦ããªãããã«ï¼æå­ãéä¿¡ã¬ã¸ã¹ã¿ã«å
-¥ããããªãã£ãå ´åã«ã¯falseãè¿ãï¼
-
-(8-3-2-4) int_t sio_rcv_chr(SIOPCB *siopcb)
-
-siopcbã§æå®ãããã·ãªã¢ã«I/Oãã¼ãããæå­ãèª­ãé¢æ°ï¼æå­ãåä¿¡ãã¦ã
-ãå ´åï¼èª­ãã æå­ã®ã³ã¼ãã¯æ­£ã®å¤ã¨ãã¦è¿ãï¼æå­ãåä¿¡ãã¦ããªãå ´å
-ã«ã¯-1ãè¿ãï¼
-
-(8-3-2-5) void sio_ena_cbr(SIOPCB *siopcb, uint_t cbrtn)
-
-siopcbã§æå®ãããã·ãªã¢ã«I/Oãã¼ãããã®ï¼cbrtnã§æå®ãããã³ã¼ã«ãã
-ã¯ãè¨±å¯ããï¼cbrtnã«ã¯ï¼SIO_RDY_SNDãSIO_RDY_RCVãæå®ã§ããï¼
-
-(8-3-2-6) void sio_dis_cbr(SIOPCB *siopcb, uint_t cbrtn)
-
-siopcbã§æå®ãããã·ãªã¢ã«I/Oãã¼ãããã®ï¼cbrtnã§æå®ãããã³ã¼ã«ãã
-ã¯ãç¦æ­¢ããï¼cbrtnã«ã¯ï¼SIO_RDY_SNDãSIO_RDY_RCVãæå®ã§ããï¼
-
-8.3.3 ã³ã¼ã«ããã¯ã«ã¼ãã³
-
-ã¿ã¼ã²ããä¾å­é¨ã¯ï¼å¿
-è¦ãªã¿ã¤ãã³ã°ã§ï¼ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ã
-ã®ã¿ã¼ã²ããéä¾å­é¨ã«å«ã¾ããä»¥ä¸ã®ã³ã¼ã«ããã¯ã«ã¼ãã³ãå¼ã³åºã³ã ã
-ãªããã°ãªããªãï¼ãã ãï¼ããããã®ã³ã¼ã«ããã¯ãç¦æ­¢ããã¦ããæã¯ï¼
-ã³ã¼ã«ããã¯ã«ã¼ãã³ãå¼ã³åºãã¦ã¯ãªããªãï¼
-
-ã³ã¼ã«ããã¯ã«ã¼ãã³ã¯ï¼ï¼å°ãªãã¨ãï¼ã·ãªã¢ã«I/Oãã¼ãããã®å²è¾¼ã¿ãç¦
-æ­¢ãããç¶æ
-ã§ï¼éã¿ã¹ã¯ã³ã³ãã­ã¹ãã§å¼ã³åºãï¼exinfã«ã¯ï¼ã·ãªã¢ã«I/O
-ãã¼ãã®ãªã¼ãã³æã«æå®ãããæ¡å¼µæ
-å ±ãæ¸¡ãï¼
-
-(8-3-3-1) void sio_irdy_snd(intptr_t exinf)
-
-éä¿¡å¯è½ã³ã¼ã«ããã¯ã«ã¼ãã³ï¼ã·ãªã¢ã«I/Oãã¼ãã«å¯¾ãã¦æå­ãéä¿¡ã§ãã
-ç¶æ
-ã«ãªã£ãå ´åã«å¼ã³åºãï¼ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã¯ï¼ãã®ã³ã¼
-ã«ããã¯ã«ã¼ãã³ã®ä¸­ã§ï¼sio_snd_chrãå¼ã³åºãã¦æ¬¡ã®æå­ãéä¿¡ãããï¼é
-ä¿¡ãã¹ãæå­ããªãå ´åã«ã¯éä¿¡å¯è½ã³ã¼ã«ããã¯ãç¦æ­¢ããï¼
-
-(8-3-3-2) void sio_irdy_rcv(intptr_t exinf)
-
-åä¿¡éç¥ã³ã¼ã«ããã¯ã«ã¼ãã³ï¼ã·ãªã¢ã«I/Oãã¼ãããæå­ãåä¿¡ããå ´åã«
-å¼ã³åºãï¼ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã¯ï¼ãã®ã³ã¼ã«ããã¯ã«ã¼ãã³ã®
-ä¸­ã§ï¼å¿
-ãsio_rcv_chrãå¼ã³åºãã¦åä¿¡ããæå­ãåãåºãï¼
-
-8.4 ã«ã¼ãã«èµ·åã¡ãã»ã¼ã¸ã®åºåã®ã¿ã¼ã²ããä¾å­å®ç¾©
-
-ã¿ã¼ã²ããä¾å­é¨ã§æä¾ãã¹ãã«ã¼ãã«èµ·åã¡ãã»ã¼ã¸ã®åºåã®ããã®å®ç¾©ã¯
-æ¬¡ã®éãã§ããï¼
-
-(8-4-1) TARGET_NAME
-
-ã¿ã¼ã²ããã®åç§°ã«å®ç¾©ããï¼
-
-(8-4-2) TARGET_COPYRIGHTï¼ãªãã·ã§ã³ï¼
-
-ã«ã¼ãã«èµ·åã¡ãã»ã¼ã¸ã«ï¼ã¿ã¼ã²ããä¾å­é¨ã®èä½æ¨©è¡¨ç¤ºãè¿½å ããããã®
-ãã¯ã­ï¼ããã©ã«ãã§ã¯ï¼ã¿ã¼ã²ããä¾å­é¨ã®èä½æ¨©è¡¨ç¤ºãè¿½å ããªãï¼
-
-8.5 ãµã³ãã«ãã­ã°ã©ã ã¨ãã¹ããã­ã°ã©ã ã®ã¿ã¼ã²ããä¾å­å®ç¾©
+8.5.2 å®è¡æéåå¸éè¨ãµã¼ãã¹ã®è¨­å®å¤æ´
+
+(8-5-2-1) HISTTIMï¼ãªãã·ã§ã³ï¼
+
+å®è¡æéè¨æ¸¬ç¨ã®æå»ã®ãã¼ã¿åãå®ç¾©ãããã¯ã­ï¼å®ç¾©ããªãå ´åã®ããã©
+ã«ãã¯HRTCNTï¼
+
+(8-5-2-2) void HIST_GET_TIM(HISTTIM *p_time)ï¼ãªãã·ã§ã³ï¼
+
+å®è¡æéè¨æ¸¬ç¨ã®ç¾å¨æå»ã*p_timeã«åå¾ããå¦çã«å®ç¾©ãããã¯ã­ï¼å®ç¾©ã
+ãªãå ´åã®ããã©ã«ãã¯ï¼fch_hrtã®è¿å¤ã*p_timeã«åå¾ããå¦çã«ãªãï¼
+
+(8-5-2-3) uint_t HIST_CONV_TIM(HISTTIM time)ï¼ãªãã·ã§ã³ï¼
+
+å®è¡æéè¨æ¸¬ç¨ã®æå»ã®å·®ï¼æéï¼ãï¼å®è¡æéåå¸éè¨ç¨ã®å¤ã«å¤æããå¦
+çã«å®ç¾©ãããã¯ã­ï¼æå»ãéå»ã«æ»ã£ãããªã¼ããã­ã¼ãããã®åºå¥ãã¤ã
+ãªãå ´åã«ã¯ï¼æä¸ä½ãããã1ã®å¤ï¼INT_MAXãããå¤§ããå¤ï¼ãè¿ãï¼å®ç¾©
+ããªãå ´åã®ããã©ã«ãã¯ï¼timeãuint_tã«ã­ã£ã¹ãããå¦çã«ãªãï¼
+
+(8-5-2-4) void HIST_BM_HOOK(void)ï¼ãªãã·ã§ã³ï¼
+
+å®è¡æéè¨æ¸¬ç´åã«è¡ãã¹ãå¦çã«å®ç¾©ãããã¯ã­ï¼ã­ã£ãã·ã¥ã®ãã¼ã¸ããã£
+ã«ï¼ã¡ã¢ãªããªã¢å¦çç­ãè¡ãããå ´åã«ã¯ï¼ãã®ãã¯ã­ã«å®ç¾©ããï¼å®ç¾©ã
+ãªãå ´åã®ããã©ã«ãã¯ï¼ç©ºã®å¦çã«ãªãï¼
+
+8.5.3 ãã¬ã¼ã¹ã­ã°æ©è½ã®è¨­å®å¤æ´
+
+ã·ã¹ãã ã­ã°æ©è½ã®è¨­å®ãå¤æ´ããããã«ï¼LOGTIMï¼SYSLOG_GET_LOGTIMï¼
+LOGPARï¼ULOGPARãå®ç¾©ããå ´åï¼ãã¬ã¼ã¹ã­ã°æ©è½ã«ãåãè¨­å®ãé©ç¨ãããï¼
+
+ãªãï¼ãã¬ã¼ã¹ã­ã°è¨é²ã®ãµã³ãã«ã³ã¼ããçµã¿è¾¼ãéã«ã¯ï¼target_syssvc.h
+ã«è¨è¿°ãè¿½å ããå¿
+è¦ãããï¼è©³ããã¯ï¼ã6.11.2 ãã¬ã¼ã¹ã­ã°è¨é²ã®ãµã³ã
+ã«ã³ã¼ããã®ç¯ãåç
+§ãããã¨ï¼
+
+8.6 ãµã³ãã«ãã­ã°ã©ã ã¨ãã¹ããã­ã°ã©ã ã®ã¿ã¼ã²ããä¾å­å®ç¾©
 
 ã¿ã¼ã²ããä¾å­é¨ã§æä¾ãã¹ããµã³ãã«ãã­ã°ã©ã ããã³ãã¹ããã­ã°ã©ã ã®
@@ -4827,5 +4966,5 @@
 ããã¤ã³ã¯ã«ã¼ãããããã¡ã¤ã«ï¼ã«å«ããï¼
 
-(8-5-1) STACK_SIZEï¼ãªãã·ã§ã³ï¼
+(8-6-1) STACK_SIZEï¼ãªãã·ã§ã³ï¼
 
 ãµã³ãã«ãã­ã°ã©ã ããã³ãã¹ããã­ã°ã©ã ã®ã¿ã¹ã¯ã®ã¹ã¿ãã¯ãµã¤ãºãå®ç¾©
@@ -4836,5 +4975,5 @@
 ããï¼
 
-(8-5-2) CPUEXC1ï¼ãªãã·ã§ã³ï¼
+(8-6-2) CPUEXC1ï¼ãªãã·ã§ã³ï¼
 
 ãµã³ãã«ãã­ã°ã©ã ããã³ãã¹ããã­ã°ã©ã ã§ç¨ããCPUä¾å¤ã®CPUä¾å¤ãã³ã
@@ -4843,5 +4982,5 @@
 ãã¹ããã­ã°ã©ã ã¯ã³ã³ãã¤ã«ã§ããªãï¼
 
-(8-5-3) RAISE_CPU_EXCEPTIONï¼ãªãã·ã§ã³ï¼
+(8-6-3) RAISE_CPU_EXCEPTIONï¼ãªãã·ã§ã³ï¼
 
 CPUEXC1ã«å®ç¾©ããCPUä¾å¤ãçºçãããCè¨èªã®ãã­ã°ã©ã ãå®ç¾©ãããã¯ã­ï¼
@@ -4849,5 +4988,5 @@
 ãå®ç¾©ããªããã°ãªããªãï¼
 
-(8-5-4) PREPARE_RETURN_CPUEXCï¼ãªãã·ã§ã³ï¼
+(8-6-4) PREPARE_RETURN_CPUEXCï¼ãªãã·ã§ã³ï¼
 
 CPUä¾å¤ãèµ·ãããå½ä»¤ãã¹ã­ããããããã«æ»ãçªå°ãä¿®æ­£ãããªã©ï¼CPUä¾
@@ -4861,10 +5000,10 @@
 å¤ãã³ãã©ãããªã¿ã¼ã³ããå¾ã®å¦çãé¤å¤ãããï¼
 
-(8-5-5) TASK_PORTIDï¼ãªãã·ã§ã³ï¼
+(8-6-5) TASK_PORTIDï¼ãªãã·ã§ã³ï¼
 
 ãµã³ãã«ãã­ã°ã©ã ã«ããã¦ï¼ã³ãã³ãæå­ãèª­ã¿è¾¼ãã·ãªã¢ã«ãã¼ãçªå·ã
 å®ç¾©ãããã¯ã­ï¼å®ç¾©ããªãå ´åã®ããã©ã«ãå¤ã¯1ï¼
 
-(8-5-6) LOOP_REFï¼ãªãã·ã§ã³ï¼
+(8-6-6) LOOP_REFï¼ãªãã·ã§ã³ï¼
 
 ãµã³ãã«ãã­ã°ã©ã ã«ããã¦ï¼ãã­ã»ããµã®éåº¦ãè¨æ¸¬ããããã®ã«ã¼ãåæ°
@@ -4874,5 +5013,5 @@
 æ°ã«å®ç¾©ããï¼
 
-(8-5-7) MEASURE_TWICEï¼ãªãã·ã§ã³ï¼
+(8-6-7) MEASURE_TWICEï¼ãªãã·ã§ã³ï¼
 
 ãµã³ãã«ãã­ã°ã©ã ã«ããã¦ï¼ãã­ã»ããµã®éåº¦ã2åº¦è¨æ¸¬ããå ´åã«å®ç¾©ãã
@@ -4880,5 +5019,5 @@
 è¨æ¸¬ã§ã¯è¨æ¸¬çµæãå®å®ããªãå ´åã«å®ç¾©ããï¼
 
-(8-5-8) TASK_LOOPï¼ãªãã·ã§ã³ï¼
+(8-6-8) TASK_LOOPï¼ãªãã·ã§ã³ï¼
 
 ãµã³ãã«ãã­ã°ã©ã ã«ããã¦ï¼ãã­ã»ããµã®éåº¦ãè¨æ¸¬ããã«ï¼ã¿ã¹ã¯å
@@ -4887,36 +5026,4 @@
 ¨ä½ã®å®
 è¡æéã0.4ç§ç¨åº¦ã«ãªããããªã«ã¼ãåæ°ãï¼ãã®ãã¯ã­ã«å®ç¾©ããï¼
-
-8.6 å®è¡æéåå¸éè¨ãµã¼ãã¹ã®ã¿ã¼ã²ããä¾å­å®ç¾©
-
-å®è¡æéåå¸éè¨ãµã¼ãã¹ã®è¨­å®ãã¿ã¼ã²ããä¾å­é¨ã§å¤æ´ããå ´åã«ï¼ã¿ã¼
-ã²ããä¾å­é¨ã§æä¾ãã¹ãå®è¡æéåå¸éè¨ãµã¼ãã¹ã®ããã®å®ç¾©ã¯æ¬¡ã®éã
-ã§ããï¼ãããã®å®ç¾©ã¯ï¼target_test.hï¼ã¾ãã¯ããããã¤ã³ã¯ã«ã¼ãããã
-ãã¡ã¤ã«ï¼ã«å«ããï¼ãã®ä»ã«ï¼ã¿ã¼ã²ããä¾å­ã§å¿
-è¦ãªåæåå¦çãããå ´
-åã«ãï¼ã¿ã¼ã²ããä¾å­é¨ã«å«ããï¼
-
-(8-6-1) HISTTIMï¼ãªãã·ã§ã³ï¼
-
-å®è¡æéè¨æ¸¬ç¨ã®æå»ã®ãã¼ã¿åãå®ç¾©ãããã¯ã­ï¼å®ç¾©ããªãå ´åã®ããã©
-ã«ãã¯HRTCNTï¼
-
-(8-6-2) void HIST_GET_TIM(HISTTIM *p_time)ï¼ãªãã·ã§ã³ï¼
-
-å®è¡æéè¨æ¸¬ç¨ã®ç¾å¨æå»ã*p_timeã«åå¾ããå¦çã«å®ç¾©ãããã¯ã­ï¼å®ç¾©ã
-ãªãå ´åã®ããã©ã«ãã¯ï¼fch_hrtã®è¿å¤ã*p_timeã«åå¾ããå¦çã«ãªãï¼
-
-(8-6-3) uint_t HIST_CONV_TIM(HISTTIM time)ï¼ãªãã·ã§ã³ï¼
-
-å®è¡æéè¨æ¸¬ç¨ã®æå»ã®å·®ï¼æéï¼ãï¼å®è¡æéåå¸éè¨ç¨ã®å¤ã«å¤æããå¦
-çã«å®ç¾©ãããã¯ã­ï¼æå»ãéå»ã«æ»ã£ãããªã¼ããã­ã¼ãããã®åºå¥ãã¤ã
-ãªãå ´åã«ã¯ï¼æä¸ä½ãããã1ã®å¤ï¼INT_MAXãããå¤§ããå¤ï¼ãè¿ãï¼å®ç¾©
-ããªãå ´åã®ããã©ã«ãã¯ï¼timeãuint_tã«ã­ã£ã¹ãããå¦çã«ãªãï¼
-
-(8-6-4) void HIST_BM_HOOK(void)ï¼ãªãã·ã§ã³ï¼
-
-å®è¡æéè¨æ¸¬ç´åã«è¡ãã¹ãå¦çã«å®ç¾©ãããã¯ã­ï¼ã­ã£ãã·ã¥ã®ãã¼ã¸ããã£
-ã«ï¼ã¡ã¢ãªããªã¢å¦çç­ãè¡ãããå ´åã«ã¯ï¼ãã®ãã¯ã­ã«å®ç¾©ããï¼å®ç¾©ã
-ãªãå ´åã®ããã©ã«ãã¯ï¼ç©ºã®å¦çã«ãªãï¼
 
 
@@ -4994,16 +5101,14 @@
 å®¹
 
-(3-5) æ§è½è©ä¾¡ç¨ã·ã¹ãã æå»ã®åç
-§ã«é¢ããè¦å®
-	ã»get_utmã®ãµãã¼ãã®æç¡ï¼ãã®å¶éäºé 
-
-
-(3-6) æ¡å¼µããã±ã¼ã¸ã«é¢ããè¦å®
+(3-5) æ¡å¼µããã±ã¼ã¸ã«é¢ããè¦å®
 	ã»åæ¡å¼µããã±ã¼ã¸ã®ãµãã¼ãã®æç¡
-		- ãã¥ã¼ããã¯ã¹æ©è½æ¡å¼µããã±ã¼ã¸
+		- ããªããèª¿æ´æ©è½æ¡å¼µããã±ã¼ã¸
+		- ã¡ãã»ã¼ã¸ãããã¡æ©è½æ¡å¼µããã±ã¼ã¸
 		- ãªã¼ãã©ã³ãã³ãã©æ©è½æ¡å¼µããã±ã¼ã¸
 		- ã¿ã¹ã¯åªå
 åº¦æ¡å¼µããã±ã¼ã¸
 		- å¶ç´ã¿ã¹ã¯æ¡å¼µããã±ã¼ã¸
+		- ãµãåªå
+åº¦æ©è½æ¡å¼µããã±ã¼ã¸
 		- åççææ©è½æ¡å¼µããã±ã¼ã¸
 	ã»ãªã¼ãã©ã³ãã³ãã©æ©è½æ¡å¼µããã±ã¼ã¸ããµãã¼ãããå ´åã«ï¼æ®ãã
@@ -5012,5 +5117,5 @@
 	ãæ¹æ³
 
-(3-7) ãã®ä»
+(3-6) ãã®ä»
 	ã»ãã®ä»ã®å¶éäºé 
 
@@ -5081,5 +5186,5 @@
 ããã±ã¼ã¸ãä½æããå ´åã«ã¯ï¼æ¬¡ã®ã³ãã³ããå®è¡ããï¼
 
-	% utils/makerelease arch/arm_gcc/MANIFEST
+	% ruby utils/makerelease.rb arch/arm_gcc/MANIFEST
 
 ãã®ã³ãã³ãã«ããï¼RELEASE/asp3_arch_arm_gcc-<ãã¼ã¸ã§ã³çªå·>.tar.gzã
@@ -5088,5 +5193,5 @@
 ãï¼
 
-	% utils/makerelease target/ct11mpcore_gcc/E_PACKAGE
+	% ruby utils/makerelease.rb target/ct11mpcore_gcc/E_PACKAGE
 
 ãã®ã³ãã³ãã«ããï¼RELEASE/asp3_ct11mpcore_gcc-<ãã¼ã¸ã§ã³çªå·>.tar.gz
@@ -5094,9 +5199,9 @@
 ãï¼ï¼
 
-ãªãï¼makereleaseã¦ã¼ãã£ãªãã£ã¯ï¼ASP3ã«ã¼ãã«ã®ã½ã¼ã¹ãã¡ã¤ã«ãç½®ãã
-ããã£ã¬ã¯ããªãï¼asp3ã¨ããåç§°ã§ãããã¨ãä»®å®ãã¦ããï¼ç°ãªãåç§°ã®
-å ´åã§ãããã±ã¼ã¸ã¯ä½æã§ãããï¼ããã±ã¼ã¸ãå±éããæã«å±éããããã£
-ã¬ã¯ããªãasp3ã§ãªããªãï¼ï¼ã¾ãï¼æ¨æºã®tarã³ãã³ããGNU tarã§ãããã¨
-ï¼æ­£ç¢ºã«ã¯ï¼zãªãã·ã§ã³ã«å¯¾å¿ãã¦ãããã¨ï¼ãæ³å®ãã¦ããï¼
+ãªãï¼makerelease.rbã¯ï¼ASP3ã«ã¼ãã«ã®ã½ã¼ã¹ãã¡ã¤ã«ãç½®ããããã£ã¬ã¯
+ããªãï¼asp3ã¨ããåç§°ã§ãããã¨ãä»®å®ãã¦ããï¼ç°ãªãåç§°ã®å ´åã§ããã
+ã±ã¼ã¸ã¯ä½æã§ãããï¼ããã±ã¼ã¸ãå±éããæã«å±éããããã£ã¬ã¯ããªã
+asp3ã§ãªããªãï¼ï¼ã¾ãï¼æ¨æºã®tarã³ãã³ããGNU tarã§ãããã¨ï¼æ­£ç¢ºã«ã¯ï¼
+zãªãã·ã§ã³ã«å¯¾å¿ãã¦ãããã¨ï¼ãæ³å®ãã¦ããï¼
 
 ããã±ã¼ã¸è¨è¿°ãã¡ã¤ã«ã«ã¯ï¼ããã±ã¼ã¸ã«å«ãããã¡ã¤ã«åãï¼ããã±ã¼ã¸
@@ -5153,5 +5258,5 @@
 
 Makefile.target		Makefileã®ã¿ã¼ã²ããä¾å­é¨ï¼ï¼ç« ï¼
-target_offset.tf	ãªãã»ãããã¡ã¤ã«çæç¨ãã³ãã¬ã¼ããã¡ã¤ã«ï¼2.5.1ç¯ï¼
+target_offset.trb	ãªãã»ãããã¡ã¤ã«çæç¨ã®çæã¹ã¯ãªããï¼2.5.1ç¯ï¼
 					ãªãã·ã§ã³ï¼
 
@@ -5179,4 +5284,6 @@
 target_rename.h		target_rename.defããçæããããã¡ã¤ã«ï¼6.12ç¯ï¼
 target_unrename.h	target_rename.defããçæããããã¡ã¤ã«ï¼6.12ç¯ï¼
+target_kernel.cfg	ã«ã¼ãã«å®è£
+ã®ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ï¼6.16ç¯ï¼
 target_timer.cfg	ã¿ã¤ããã©ã¤ãã®ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡
 					ã¤ã«ï¼6.13ç¯ï¼
@@ -5190,22 +5297,19 @@
 					ã«ã®ä¸¡æ¹ããã¤ã³ã¯ã«ã¼ããããï¼ï¼ç« ï¼ãªãã·ã§ã³ï¼
 
-target_def.csv		ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®å¤åå¾ã·ã³ãã«ãã¼ãã«ã®ã¿ã¼ã²ã
+target_sym.def		ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®å¤åå¾ã·ã³ãã«ãã¼ãã«ã®ã¿ã¼ã²ã
 					ãä¾å­é¨ï¼ï¼ç« ï¼ãªãã·ã§ã³ï¼
-target.tf			ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹2ã®ãã³ãã¬ã¼ããã¡ã¤ã«ã®
-					ã¿ã¼ã²ããä¾å­é¨ï¼7.2ç¯ï¼
-target_check.tf		ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹3ã®ãã³ãã¬ã¼ããã¡ã¤ã«ï¼7.3
-					ç¯ï¼
+target_kernel.trb	ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹2ã®çæã¹ã¯ãªããã®ã¿ã¼ã²ã
+					ãä¾å­é¨ï¼7.2ç¯ï¼
+target_check.trb	ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹3ã®çæã¹ã¯ãªããï¼7.3ç¯ï¼
 target_cfg1_out.h	cfg1_out.cã®ãªã³ã¯ã«å¿
 è¦ãªã¹ã¿ãã®å®ç¾©ãã¡ã¤ã«ï¼7.4
 					ç¯ï¼
 
-target_syssvc.h		ã·ã¹ãã ãµã¼ãã¹ã®ã¿ã¼ã²ããä¾å­å®ç¾©ï¼8.0ç¯ï¼
-target_serial.cfg	ã·ãªã¢ã«ãã©ã¤ãã®ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡
-					ã¤ã«ï¼8.3ç¯ï¼
-target_serial.h		ã·ãªã¢ã«ãã©ã¤ãã®ããããã¡ã¤ã«ï¼8.3ç¯ï¼ï¼ã·ãªã¢ã«
-					ãã©ã¤ãã®ã¿ããã¤ã³ã¯ã«ã¼ãããã
-target_serial.c		ã·ãªã¢ã«ãã©ã¤ãã®å®è£
-ãã¡ã¤ã«ï¼8.3ç¯ï¼ãªãã·ã§ã³ï¼ï¼
-target_test.h		ãã¹ããã­ã°ã©ã ã®ã¿ã¼ã²ããä¾å­å®ç¾©ï¼8.4ç¯ï¼
+tSIOPort<ã·ã¹ãã ç¥ç§°>.cdl		ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ã¿ã¼ã²ã
+								ãä¾å­é¨ã®ã»ã«ã¿ã¤ãã®å®ç¾©ï¼8.2ç¯ï¼
+tPutLog<ã·ã¹ãã ç¥ç§°>.cdl		ä½ã¬ãã«åºåã®ã»ã«ã¿ã¤ãã®å®ç¾©ï¼8.3ç¯ï¼
+target.cdl			ã¿ã¼ã²ããä¾å­é¨ã®ã³ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«ï¼8.4ç¯ï¼
+target_syssvc.h		ã·ã¹ãã ãµã¼ãã¹ã®ã¿ã¼ã²ããä¾å­å®ç¾©ï¼8.5ç¯ï¼
+target_test.h		ãã¹ããã­ã°ã©ã ã®ã¿ã¼ã²ããä¾å­å®ç¾©ï¼8.6ç¯ï¼
 
 target_user.txt		ã¦ã¼ã¶ã¼ãºããã¥ã¢ã«ï¼9.1ç¯ï¼
Index: asp3_wo_tecs/trunk/doc/systim_design.txt
===================================================================
--- asp3_wo_tecs/trunk/doc/systim_design.txt	(revision 302)
+++ 	(revision )
@@ -1,809 +1,0 @@
-													TOPPERS Confidential
-		TOPPERS/ASP3ã«ã¼ãã« è¨­è¨ã¡ã¢
-		ASP3ã«ã¼ãã«ã«ãããã·ã¹ãã æå»ç®¡çæ©è½ã®è¨­è¨ã«ã¤ãã¦
-
-		ä½æè
-: é«ç°åºç« ï¼åå¤å±å¤§å­¦ï¼
-		æçµæ´æ°: 2014å¹´6æ22æ¥
-
-âã¡ã¢ã®ä½ç½®ä»ã
-
-ãã®ã¡ã¢ã¯ï¼TOPPERS/ASP3ã«ã¼ãã«ã«ãããã·ã¹ãã æå»ç®¡çæ©è½ã®è¨­è¨ã«ã¤
-ãã¦è¨è¿°ãããã®ã§ããï¼æçµçãªè¨­è¨ãã­ã¥ã¡ã³ãã¯ï¼ASP3ã«ã¼ãã«ã®è¨­è¨
-æ¸ã«å
-¥ãè¾¼ãäºå®ã§ãããï¼ãã®ã¡ã¢ã¯ï¼è¨­è¨ãã­ã¥ã¡ã³ããä½æããéç¨ã
-è¨é²ãããã¨ãç®çã¨ããï¼
-
-âåç
-§æç®
-
-[1] TOPPERSç¬¬3ä¸ä»£ã«ã¼ãã«ï¼ITRONç³»ï¼çµ±åä»æ§æ¸ Release 3.A.0ï¼æçµæ´æ°:
-2014å¹´5æ18æ¥ï¼ï¼
-
-[2] TOPPERSãã­ã¸ã§ã¯ã ãã£ã¹ã«ãã·ã§ã³ã¡ã¢ãTOPPERSç¬¬3ä¸ä»£ã«ã¼ãã«
-ï¼ITRONç³»ï¼ã«ãããæéç®¡çã«ã¤ãã¦ãï¼æçµæ´æ°: 2014å¹´5æ18æ¥ï¼ï¼
-
-[3] TOPPERS/ASP3ã«ã¼ãã« è¨­è¨ã¡ã¢ Release 3.A.0ï¼æçµæ´æ°: 2014å¹´5æ31
-æ¥ï¼ï¼
-
-âå®è£
-å¯¾è±¡ã¨ããå¤é¨ä»æ§
-
-ãã®ã¡ã¢ã§ã¯ï¼æç®[1]ã®ä»¥ä¸ã®é¨åã«è¨è¿°ããã¦ããä»æ§ã®ä¸­ã§ï¼ASP3ã«ã¼ã
-ã«ï¼ããªããèª¿æ´æ©è½æ¡å¼µããã±ã¼ã¸ãå«ãï¼ã§ãµãã¼ãããæ©è½ãå®è£
-ãã
-ããã®è¨­è¨ãã­ã¥ã¡ã³ããä½æããï¼
-
-	ã2.3.2 ãµã¼ãã¹ã³ã¼ã«ã¨ãã©ã¡ã¼ã¿ãã®ç¯ã®æ¬¡ã®é¨å
-		(2) ã·ã¹ãã æå»ã¨ç¸å¯¾æé
-		(3) ã¿ã¤ã ã¢ã¦ãã¨ãã¼ãªã³ã°
-
-	ã4.6.1 ã·ã¹ãã æå»ç®¡çãã®ç¯ã®å
-¨ä½
-
-ã¾ãï¼å®è£
-ã§æ³å®ãããã¼ãã¦ã§ã¢æ§æã¨ãã¦ï¼æ¬¡ã®è¨è¿°ãèæ
-®ããï¼
-
-	ã2.1.4 æ³å®ãããã¼ãã¦ã§ã¢æ§æãã®ç¯ã®(c)
-
-å
-·ä½çã«ã¯ï¼ä»¥ä¸ã®ã¿ã°ãæã¤ä»æ§ãå®è£
-å¯¾è±¡ã¨ãªãï¼ä»æ§æ¸ã«è¨è¿°ããã¦ã
-ãé ã«ãªã¹ãã¢ããããï¼ï¼ãªãï¼ä¸ã®ãªã¹ãä¸­ã®ãâãä»¥éã®è¨è¿°ã¯ï¼å¾ã®
-å·¥ç¨ã§è¿½è¨ãããã®ã§ããï¼ãã®å·¥ç¨ã§ã¯ï¼ã¾ãã¯ãªã¹ãã¢ããã®ã¿ãè¡ã£ã¦
-ããï¼
-
-â2.1.4 æ³å®ãããã¼ãã¦ã§ã¢æ§æ
-
-NGKI0556ï¼(c)ã3ã
-
-â2.3.2(2) ã·ã¹ãã æå»ã¨ç¸å¯¾æé
-
-NGKI0548ï¼(a*)ã3ã		âASPD1001ï¼ASPD1043ï¼t_stddef.h
-NGKI0041ï¼(b)			âASPD1001ï¼â¦
-NGKI0042ï¼(a)			âASPD1001ï¼â¦
-NGKI0549ï¼(a)ã3ã		âASPD1001ï¼â¦ï¼t_stddef.h
-NGKI0550ï¼(b*)ã3ã		âASPD1001ï¼ã·ã¹ãã æå»ç®¡çæ©è½ã®è¨­è¨å
-¨ä½ã«å½±é¿
-NGKI0551ï¼(b*)ã3ã		ât_stddef.h
-NGKI0046ï¼(a*)			âASPD1026ï¼ASPD1027
-NGKI0048ï¼(b)			âNGKI1233ï¼NGKI2472ï¼NGKI2481
-NGKI0049ï¼(a)			âASPD1049
-NGKI0050ï¼(a)			âASPD1049
-NGKI0552ï¼(a)ã3ã		âtime_event.c
-
-â2.3.2(3) ã¿ã¤ã ã¢ã¦ãã¨ãã¼ãªã³ã°ï¼ä¸é¨ï¼
-
-NGKI0553ï¼(b)ã3ã		âASPD1001ï¼â¦
-NGKI0554ï¼(a)ã3ã		âASPD1001ï¼â¦
-
-â4.6.1 ã·ã¹ãã æå»ç®¡ç
-
-NGKI3603ï¼(a)
-NGKI2333ï¼(a)
-NGKI3559ï¼(a)ã3ã
-NGKI2336ï¼(a)
-NGKI2337ï¼(a)
-NGKI2338ï¼(a)ãMã		âASP3å¯¾è±¡å¤
-NGKI2339ï¼(a)ãMã		âASP3å¯¾è±¡å¤
-NGKI2340ï¼(a)ãMã		âASP3å¯¾è±¡å¤
-NGKI2341ï¼(a)ãMã		âASP3å¯¾è±¡å¤
-NGKI2342ï¼(a)ãMã		âASP3å¯¾è±¡å¤
-NGKI3560ï¼(a)ã3ã
-NGKI3593ï¼(a)ã3ã		âããªããæ©è½æ¡å¼µ
-NGKI3594ï¼(b)ã3ã		âããªããæ©è½æ¡å¼µ
-NGKI3595ï¼(a)ã3Mã		âASP3å¯¾è±¡å¤
-NGKI3580ï¼(a)ã3ã
-NGKI3574ï¼(d)ã3ã
-NGKI3573ï¼(a)ã3ã
-NGKI3575ï¼(a)ã3ã
-NGKI3576ï¼(a)ã3Mã		âASP3å¯¾è±¡å¤
-NGKI3561ï¼(a)ã3ãâNGKI3594
-NGKI3562ï¼(a)ã3ã
-NGKI3578ï¼(a)ã3ã
-NGKI3579ï¼(a)ã3ã
-ASPS0224ï¼(a)ã3ã
-ASPS0225ï¼(a)ã3ã
-NGKI3563ï¼(a*)ã3ã		âtime_manage.c
-NGKI3564ï¼(a*)ã3ã		âtime_manage.c
-NGKI3565ï¼(a*)ã3ã		âtime_manage.c
-NGKI3566ï¼(a)ã3Pã		âASP3å¯¾è±¡å¤
-NGKI3567ï¼(a)ã3ã		âASPD1059ï¼ASPD1060
-NGKI3568ï¼(a)ã3Mã		âASP3å¯¾è±¡å¤
-NGKI2349ï¼(a*)			âtime_manage.c
-NGKI2350ï¼(a*)			âtime_manage.c
-NGKI2351ï¼(a*)			âtime_manage.c
-NGKI2352ï¼(a)ãPã		âASP3å¯¾è±¡å¤
-NGKI2353ï¼(a)ãPã		âASP3å¯¾è±¡å¤
-NGKI2354ï¼(a)			âASPD1057ï¼ASPD1058
-NGKI3591ï¼(a)ã3ã		âASPD1041ï¼ASPD1057ï¼ASPD1058
-NGKI3592ï¼(a)ã3ã		âASPD1059ï¼ASPD1060
-NGKI2355ï¼(a)ãMã		âASP3å¯¾è±¡å¤
-NGKI3581ï¼(a*)ã3ã		âtime_manage.c
-NGKI3583ï¼(a*)ã3ã		âtime_manage.c
-NGKI3584ï¼(a*)ã3ã		âtime_manage.c
-NGKI3585ï¼(a)ã3Pã		âASP3å¯¾è±¡å¤
-NGKI3586ï¼(a*)ã3ã		âASPD1053
-NGKI3587ï¼(a*)ã3ã		âASPD1053
-NGKI3588ï¼(a*)ã3ã		âtime_event.c
-NGKI3589ï¼(a*)ã3ã		âtime_event.c
-NGKI3590ï¼(a)ã3Mã		âASP3å¯¾è±¡å¤
-NGKI3596ï¼(a)ã3ã		âããªããæ©è½æ¡å¼µ
-NGKI3598ï¼(a)ã3ã		âããªããæ©è½æ¡å¼µ
-NGKI3599ï¼(a)ã3ãâNGKI3594		âããªããæ©è½æ¡å¼µ
-NGKI3600ï¼(a)ã3Pã		âASP3å¯¾è±¡å¤
-NGKI3601ï¼(a)ã3ã		âããªããæ©è½æ¡å¼µ
-NGKI3602ï¼(a)ã3Mã		âASP3å¯¾è±¡å¤
-ASPS0226ï¼(a)ã3ã		âãµãã¼ãç¯å²ã«é¢ããè¦æ±
-ASPS0227ï¼(a)ã3ã		âãµãã¼ãç¯å²ã«é¢ããè¦æ±
-NGKI3569ï¼(a*)ã3ã		âtime_manage.c
-NGKI3571ï¼(a*)ã3ã		âtime_manage.c
-NGKI3572ï¼(a*)ã3ã		âtime_manage.c
-NGKI3577ï¼(a)ã3Mã		âASP3å¯¾è±¡å¤
-
-ãããã®ä¸­ã§ï¼ASP3ã«ã¼ãã«ã§ãµãã¼ãããªãæ©è½ã«é¢ããã¿ã°ã«ã¯ï¼ãâ
-ASP3å¯¾è±¡å¤ãã¨è¨è¼ããï¼å
-·ä½çã«ã¯ï¼ä¿è­·æ©è½å¯¾å¿ã«ã¼ãã«ããã«ããã­ã»ã
-ãµå¯¾å¿ã«ã¼ãã«ã®ã¿ã«é©ç¨ãããã¿ã°ãããã«è©²å½ããï¼
-
-ã¾ãï¼ãâããªããæ©è½æ¡å¼µãã¨è¨è¼ããã¿ã°ã¯ï¼ï¼»ASPS0224ï¼½ã«ããæ¨æºã§
-ã¯ãµãã¼ãããªããï¼ï¼»ASPS0225ï¼½ã«ããããªããèª¿æ´æ©è½æ¡å¼µããã±ã¼ã¸ã§
-ãµãã¼ããããã¨ãç¤ºãï¼ãâãµãã¼ãç¯å²ã«é¢ããè¦æ±ãã¯ï¼ASP3ã«ã¼ãã«
-ããã³æ¡å¼µããã±ã¼ã¸ã§ï¼ã©ã®ç¯å²ã®ä»æ§ããµãã¼ããããã«é¢ããè¨è¿°ã§ã
-ãï¼
-
-å¤é¨ä»æ§æ¸ããã®è¦æ±äºé 
-ã«å ãã¦ï¼ASP3ã«ã¼ãã« è¨­è¨ã¡ã¢ï¼æç®[3]ï¼ã®
-ãTOPPERS/ASP3ã«ã¼ãã«ã®å®è£
-è¨­è¨æ¹éãã®ç« ã«è¨è¿°ããã¦ããä»¥ä¸ã®è¦æ±äº
-é 
-ãèæ
-®ããï¼
-
-(1) ã½ã¼ã¹ã³ã¼ãã®èª­ã¿ãããã»æ¹é ãããããéè¦ãã
-(2) æ°ããã¿ã¼ã²ããã·ã¹ãã ã¸ã®ãã¼ãã£ã³ã°ãå®¹æãªæ§é ã¨ãã
-(3) æ¤è¨¼ãå®¹æãªæ§é ã¨ãã
-(4) å®è¡æ§è½ã¨ã¡ã¢ãªä½¿ç¨éã«é
-æ
-®ãã
-(5) ã¹ã±ã¼ã©ããªãã£ã«é
-æ
-®ãã
-(6) ãã£ãã¯ã¬ã¹ã®æéç®¡çï¼ãã£ãã¯ã¬ã¹ã«ã¼ãã«ï¼
-
-âTOPPERS/ASP3ã«ã¼ãã«ã®å®è£
-è¨­è¨æ¹é
-
-ASPR0001ï¼(a)
-ASPR0002ï¼(a)
-ASPR0003ï¼(a)
-ASPR0004ï¼(a)
-ASPR0005ï¼(a)
-ASPR0006ï¼(a)
-ASPR0007ï¼(a)
-ASPR0008ï¼(a)
-ASPR0009ï¼(a)
-ASPR0010ï¼(a)
-ASPR0011ï¼(a)ã3ã
-
-âè¨­è¨ãã­ã¥ã¡ã³ãã®æ¬ä½
-
-âãã£ãã¯ã¬ã¹ã®ã¿ã¤ã ã¤ãã³ãå¦ç
-
-ãªã¼ãã©ã³ãã³ãã©ã®èµ·åä»¥å¤ã®ã¿ã¤ã ã¤ãã³ãå¦çï¼ã¿ã¤ã ã¢ã¦ãå¦çï¼ã¿
-ã¹ã¯ã®é
-å»¶ï¼å¨æãã³ãã©ã®èµ·åï¼ã¢ã©ã¼ã ãã³ãã©ã®èµ·åï¼ã¯ï¼ã·ã¹ãã æ
-å»ããã£ããã¨ãã¦è¡ãããï¼»NGKI3603ï¼½ï¼
-
-ASP3ã«ã¼ãã«ã§ã¯ï¼ã·ã¹ãã æå»ã¯ï¼ãã¼ãã¦ã§ã¢ãæã¤é«åè§£è½ã¿ã¤ããç¨
-ãã¦å®ç¾ããï¼é«åè§£è½ã¿ã¤ãã¯ï¼ä¸å®æéæ¯ã«ã«ã¦ã³ãã¢ãããï¼æå®ãã
-åæ°ã«ã¦ã³ãã¢ãããããï¼ã¿ã¤ãå²è¾¼ã¿ãçºçãããæ©è½ãæã¤ãã®ã¨ãã
-ï¼»NGKI0556ï¼½ï¼
-
-å¦çãã¹ãã¿ã¤ã ã¤ãã³ãããªãæã«ã¿ã¤ãå²è¾¼ã¿ãçºçãããªãããã«ãã
-ããã«ã¯ï¼»ASPR0011ï¼½ï¼çºçãå¾
-ã£ã¦ããã¿ã¤ã ã¤ãã³ãã®ä¸­ã§ï¼æãæ©ãçº
-çããã¿ã¤ã ã¤ãã³ãã®çºçæå»ã«å²è¾¼ã¿ãçºçãããããã«ï¼é«åè§£è½ã¿ã¤
-ããè¨­å®ããã®ãåºæ¬ã§ãããASPD1002ãï¼
-
-âã¿ã¤ã ã¤ãã³ããã¼ã
-
-ã¿ã¤ã ã¤ãã³ããå¹ççã«å¦çããããã«ï¼çºçãå¾
-ã£ã¦ããã¿ã¤ã ã¤ãã³ã
-ã®éåãç®¡çãï¼ãã®ä¸­ã§çºçæå»ãæãæ©ããã®ãå¹ççã«åãåºãããã¼
-ã¿æ§é ãå¿
-è¦ã§ããï¼ãã®ãã¼ã¿æ§é ã«ã¯ï¼TOPPERS/JSPã«ã¼ãã«ã§å°å
-¥ãã¦ã
-ãé·ãå®ç¸¾ã®ããã¿ã¤ã ã¤ãã³ããã¼ããç¨ããï¼ã¿ã¤ã ã¤ãã³ããã¼ãã®è¨­
-è¨ã«ã¤ãã¦ã¯ï¼å¥ã«è¨è¿°ãããã¨ã¨ããï¼
-
-ã¿ã¤ã ã¤ãã³ããã¼ãã«ç»é²ããã¦ããã¿ã¤ã ã¤ãã³ãã®ä¸­ã§ï¼çºçæå»ãæ
-ãæ©ããã®ãï¼å
-é ­ã®ã¿ã¤ã ã¤ãã³ãã¨å¼ã¶ï¼
-
-âã¤ãã³ãæå»
-
-ã·ã¹ãã æå»ã¯64ãããã®æ´æ°åã«ãªãå ´åããããï¼»NGKI0548ï¼½ï¼ã¿ã¤ã ã¤
-ãã³ãã®çºçæå»ã64ãããã§ç®¡çããã®ã¯å¹çãæªãï¼ãªããªãï¼ã¿ã¤ã ã¤
-ãã³ãã®çºçæå»ã¯ç¸å¯¾æéã§ããæå®ã§ããï¼»NGKI0041ï¼½ï¼ç¸å¯¾æéã¯32ãã
-ãã§è¡¨ç¾ããããã¨ããï¼»NGKI0549ï¼½ï¼ããæç¹ã§ã¿ã¤ã ã¤ãã³ããã¼ãã«ç»
-é²ããã¦ããã¿ã¤ã ã¤ãã³ãã®çºçæå»ã¯ï¼ããããï¼32ãããã§è¡¨ç¾ã§ãã
-æéå¹
-ã«åã¾ãããã§ããï¼ããã§ï¼ã¿ã¤ã ã¤ãã³ããã¼ãã«ç»é²ããã¦ãã
-ã¿ã¤ã ã¤ãã³ãã®çºçæå»ã¯ï¼32ãããã®ç¬¦å·ç¡ãæ´æ°åã§è¡¨ç¾ãããã¨ã«ã
-ããASPD1001ãï¼ãã®æå»ãï¼ã¤ãã³ãæå»ã¨å¼ã¶ï¼
-
-å®éã«ã¯ï¼ããæç¹ã§ç»é²ããã¦ããã¿ã¤ã ã¤ãã³ãã®çºçæå»ã32ãããã§
-è¡¨ç¾ã§ããæéå¹
-ã«åã¾ãããã«ï¼å¤é¨ä»æ§ãå®ãã¦ããï¼ä»¥ä¸ã§ã¯ï¼ããã
-32ãããã§è¡¨ç¾ã§ããæéå¹
-ã«åã¾ããã¨ãè«è¨¼ããï¼
-
-ã¿ã¤ã ã¤ãã³ãã®çºçæå»ãç¸å¯¾æéã§æå®ããå ´åï¼ç¸å¯¾æéã®åºæºæå»ã¯ï¼
-å¨æãã³ãã©ã®èµ·åæå»ãé¤ãã¦ã¯ï¼»NGKI2372ï¼½ï¼»NGKI2373ï¼½ï¼ç¸å¯¾æéãæ
-å®ãããµã¼ãã¹ã³ã¼ã«ãå¼ã³åºããæå»ï¼è¨ãæããã¨ç¾å¨æå»ï¼ã§ãã
-ï¼»NGKI0042ï¼½ï¼ãã®ããï¼ç¸å¯¾æéã«æå®ã§ããæå¤§å¤ãTMAX_RELTIMã¨æ¸ãã
-ã¨ã«ããã¨ï¼ã¿ã¤ã ã¤ãã³ããã¼ãã«ç»é²ããã¦ããã¿ã¤ã ã¤ãã³ãã®çºçæ
-å»ã¯ï¼ããããï¼ç¾å¨æå»ä»¥éã§ï¼(ç¾å¨æå»ï¼TMAX_RELTIM)ä»¥åã§ããï¼å¨æ
-ãã³ãã©ã®èµ·åæå»ã«é¢ãã¦ã¯ï¼ãå¨æãã³ãã©ã®ã¿ã¤ã ã¤ãã³ãã®ç»é²ãã®
-ç¯ã§æ¤è¨ããï¼
-
-ãã ãï¼ä»¥ä¸ã«æããããã¤ãã®çç±ã§ï¼ç»é²ããã¦ããã¿ã¤ã ã¤ãã³ãã®çº
-çæå»ãï¼ç¾å¨æå»ããåãï¼(ç¾å¨æå»ï¼TMAX_RELTIM)ããå¾ã«ãªãå ´åãã
-ãï¼
-
-ããã§ï¼TMAX_RELTIMã4,000,000,000ã¨ãï¼»NGKI0550ï¼½ï¼32ãããã§è¡¨ç¾ã§ã
-ãæå¤§å¤ï¼4,294,967,296ï¼ã¨ã®éã«ï¼294,967,295ï¼ç´294ç§ï¼ã®ãã¼ã¸ã³ãè¨­
-ãã¦ããï¼ãã®ããï¼ä»¥ä¸ã«æããçç±æ¯ã®æå¤§å¹
-ã®åè¨ã294ç§ãè¶
-ããªãã
-ã°ï¼32ãããã§è¡¨ç¾ã§ããæéå¹
-ã«åã¾ããã¨ã«ãªãï¼
-
-ä»¥ä¸ã§ã¯ï¼ç»é²ããã¦ããã¿ã¤ã ã¤ãã³ãã®çºçæå»ãï¼ç¾å¨æå»ããåã«ãª
-ãçç±ã¨åã«ãªãæå¤§å¹
-ï¼(ç¾å¨æå»ï¼TMAX_RELTIM)ããå¾ã«ãªãçç±ã¨å¾ã«ãª
-ãæå¤§å¹
-ã«ã¤ãã¦æ¤è¨ããï¼
-
-(1) ç¾å¨æå»ããåã«ãªãçç±
-
-(1-1) ã¿ã¤ã ã¤ãã³ãå¦çã®é
-ã
-
-ã¿ã¤ã ã¤ãã³ããå¦çããããã®ã¿ã¤ãå²è¾¼ã¿ãçºçãã¦ããï¼ã¿ã¤ã ã¤ãã³
-ããå¦çãããã¾ã§ã®éã¯ï¼ã¿ã¤ã ã¤ãã³ãã®çºçæå»ã¯ï¼ç¾å¨æå»ããåã«
-ãªã£ã¦ããï¼ç¹ã«ï¼ã¿ã¤ãå²è¾¼ã¿ãé·æéãã¹ã¯ããã¦ããå ´åãï¼ã¿ã¤ãå²
-è¾¼ã¿ããåªå
-ãããå¦çãé·æéå®è¡ããã¦ããå ´åï¼ãã­ã»ããµãå¦çã§ã
-ãä»¥ä¸ã®é »åº¦ã§ã¿ã¤ã ã¤ãã³ããçºçããå ´åã«ã¯ï¼ã¿ã¤ã ã¤ãã³ãã®å¦çã¯
-å¤§å¹
-ã«é
-ãããã¨ã«ãªãï¼ã¿ã¤ã ã¤ãã³ãã®å¦çãå¤§å¹
-ã«é
-ããåå ã¯ã¢ããª
-ã±ã¼ã·ã§ã³ã«ãã£ã¦ä½ããããã®ã§ããããï¼ãã®ç¶æ³ãé²ãã®ã¯ã¢ããªã±ã¼
-ã·ã§ã³ã®è²¬ä»»ã¨ããï¼å
-·ä½çã«ã¯ï¼ã¿ã¤ã ã¤ãã³ãã®å¦çã2ç§ä»¥ä¸é
-ããç¶æ³
-ã§ã¯ï¼ã«ã¼ãã«ã®åä½ã¯ä¿è¨¼ãããªããã®ã¨ãã¦ããï¼»NGKI3608ï¼½ï¼ãã®ããï¼
-ã¿ã¤ã ã¤ãã³ãå¦çã®é
-ãã«ããï¼ç»é²ããã¦ããã¿ã¤ã ã¤ãã³ãã®çºçæå»
-ãç¾å¨æå»ããåã«ãªãæå¤§å¹
-ã¯ï¼2ç§ã¨èãã¦ããï¼
-
-(1-2) ã·ã¹ãã æå»ã®èª¿æ´ã«ããã·ã¹ãã æå»ãé²ãã
-
-ã·ã¹ãã æå»ãèª¿æ´ãããµã¼ãã¹ã³ã¼ã«ï¼adj_timï¼ã«ããã·ã¹ãã æå»ãé²ã
-ãã¨ï¼ç»é²ããã¦ããã¿ã¤ã ã¤ãã³ãã®çºçæå»ãï¼ç¾å¨æå»ããåã«ãªãå¯
-è½æ§ãããï¼ããã«é¢ãã¦ã¯ï¼adj_timã®1åã®å¼åºãã§é²ããããæéç¯å²ã
-æå¤§1ç§ã«å¶éããã¦ããï¼»NGKI3561ï¼½ï¼»NGKI3584ï¼½ãã¨ã«å ãã¦ï¼1ç§ä»¥ä¸é
-å»ã®çºçæå»ãæã¤ã¿ã¤ã ã¤ãã³ããå¦çãããã«æ®ã£ã¦ããå ´åã¯ï¼ããä»¥
-ä¸ã·ã¹ãã æå»ãé²ãããã¨ãã§ããªãï¼»NGKI3588ï¼½ãã¨ã¨ãã¦ããï¼ãã®ã
-ãï¼ã·ã¹ãã æå»ãé²ãããã¨ã«ããï¼ç»é²ããã¦ããã¿ã¤ã ã¤ãã³ãã®çºç
-æå»ãç¾å¨æå»ããåã«ãªãæå¤§å¹
-ã¯ï¼2ç§ä»¥ä¸ã§ããï¼
-
-å¤é¨ä»æ§ã®å¶éï¼»NGKI3608ï¼½ã¯ï¼ã·ã¹ãã æå»ã®èª¿æ´ã«ããã·ã¹ãã æå»ãé²
-ããå ´åã«ãé©ç¨ããããã®ã§ããï¼ãã®ããï¼(1-2)ã®çç±ã«ããã¿ã¤ã ã¤ã
-ã³ãã®çºçæå»ãç¾å¨æå»ããåã«ãªãæå¤§å¹
-ï¼2ç§ä»¥ä¸ï¼ã¯ï¼(1-1)ã®çç±ã«
-ããæå¤§å¹
-ï¼2ç§ï¼ã«å«ã¾ããï¼å®éã«ã¯ï¼(1-2)ã®æå¤§å¹
-ãèæ
-®ãã¦ï¼å¤é¨ä»
-æ§ï¼»NGKI3608ï¼½ã®å¶éæéãå®ããï¼
-
-(2) (ç¾å¨æå»ï¼TMAX_RELTIM)ããå¾ã«ãªãçç±
-
-(2-1) ç¸å¯¾æéãé·ãæ¹ã«ä¸¸ãã
-
-è©³ãããã¨ã¯å¾è¿°ãããï¼ç¸å¯¾æéãæå®ããæ°ããªã¿ã¤ã ã¤ãã³ããç»é²ã
-ãæã«ã¯ï¼ç¸å¯¾æéãé·ãæ¹ã«ä¸¸ããããã«ï¼ã¿ã¤ã ã¤ãã³ãã®çºçæå»ã«é«
-åè§£è½ã¿ã¤ãã®é²ã¿å¹
-ãå ããï¼ãã®ããï¼ç»é²ããã¿ã¤ã ã¤ãã³ãã®çºçæ
-å»ãï¼(ç¾å¨æå»ï¼TMAX_RELTIM)ããï¼é«åè§£è½ã¿ã¤ãã®é²ã¿å¹
-ã®åï¼å¾ã«ãªã
-å ´åãããï¼é«åè§£è½ã¿ã¤ãã®é²ã¿å¹
-ã¯ã¿ã¼ã²ããã«ããå®ã¾ããï¼ã¿ã¼ã²ã
-ãä¾å­é¨ã«å¯¾ãã¦ï¼1ããªç§ä»¥ä¸ã«ããã¨ããå¶ç´ãèª²ããã¨ã«ãã
-ãASPD1021ãï¼
-
-(2-2) ã·ã¹ãã æå»ã®èª¿æ´ã«ããã·ã¹ãã æå»ãæ»ãã
-
-ã·ã¹ãã æå»ãèª¿æ´ãããµã¼ãã¹ã³ã¼ã«ï¼adj_timï¼ã«ããã·ã¹ãã æå»ãæ»ã
-ã¨ï¼ç»é²ããã¦ããã¿ã¤ã ã¤ãã³ãã®çºçæå»ãï¼(ç¾å¨æå»ï¼TMAX_RELTIM)ã
-ãå¾ã«ãªãå¯è½æ§ãããï¼ããã«é¢ãã¦ã¯ï¼adj_timã®1åã®å¼åºãã§æ»ããæ
-éç¯å²ãæå¤§1ç§ã«å¶éããã¦ããï¼»NGKI3561ï¼½ï¼»NGKI3584ï¼½ãã¨ã«å ãã¦ï¼ç¾
-å¨ã®ã·ã¹ãã æå»ãï¼ã·ã¹ãã æå»ãæãé²ãã§ããæã®ã·ã¹ãã æå»ãã1ç§
-ä»¥ä¸æ»ã£ã¦ããå ´åã«ã¯ï¼ã·ã¹ãã æå»ãããä»¥ä¸æ»ããªãï¼»NGKI3589ï¼½ãã¨
-ã¨ãã¦ããï¼ãã®ããï¼ã·ã¹ãã æå»ãæ»ãããã¨ã«ããï¼ç»é²ããã¦ããã¿
-ã¤ã ã¤ãã³ãã®çºçæå»ã(ç¾å¨æå»ï¼TMAX_RELTIM)ããå¾ã«ãªãæå¤§å¹
-ã¯ï¼2
-ç§ä»¥ä¸ã§ããï¼
-
-âã¤ãã³ãæå»ã®æ¯è¼æ¹æ³
-
-ã¤ãã³ãæå»ã32ãããã§è¡¨ç¾ããã¨ï¼å¨åãããã¨ã¯é¿ããããªãï¼ã¤ãã³
-ãæå»ãå¨åããï¼UINT32_MAXãè¶
-ããï¼ã¨ï¼ã¤ãã³ãæå»ã¯0ã«æ»ãããï¼ã¤
-ãã³ãæå»ã®åå¾é¢ä¿ãï¼ã¤ãã³ãæå»ã®åç´ãªå¤§å°é¢ä¿ã§å¤å®ãããã¨ãã§
-ããªããªãï¼
-
-ã¤ãã³ãæå»ãå¨åããå ´åã§ãï¼ã¤ãã³ãæå»ã®åå¾é¢ä¿ãå¤å®ã§ãããã
-ã«ããããã«ï¼å¨åããåã®ã¤ãã³ãæå»ï¼å¤ã¨ãã¦ã¯å¤§ããï¼ã¨å¨åå¾ã®ã¤
-ãã³ãæå»ï¼å¤ã¨ãã¦ã¯å°ããï¼ã®å¢çãç¤ºãå¤ãï¼ã°ã­ã¼ãã«å¤æ°ã§ç®¡çã
-ããASPD1008ãï¼ãããï¼å¢çã¤ãã³ãæå»ã¨å¼ã¶ï¼ã¤ãã³ãæå»ã®åå¾é¢ä¿
-ã¯ï¼æ¯è¼å¯¾è±¡ã®ã¤ãã³ãæå»ããå¢çã¤ãã³ãæå»ãå¼ããå¤ï¼ãªã¼ããã­ã¼
-ã¯ç¡è¦ããï¼ã®å¤§å°é¢ä¿ã§å¤å®ãããASPD1009ãï¼
-
-åå¾é¢ä¿ã®å¤å®ãå¿
-è¦ãªã¤ãã³ãæå»ã¯ï¼ã¿ã¤ã ã¤ãã³ããã¼ãã«ç»é²ããã¦
-ãããã¹ã¦ã®ã¿ã¤ã ã¤ãã³ãã®çºçæå»ã¨ï¼ç¾å¨ã®ã¤ãã³ãæå»ã§ããï¼ãã®
-ããï¼ç´æçã«ã¯ï¼å¢çã¤ãã³ãæå»ã¯ï¼åè¿°ã®ãã¼ã¸ã³ã®ä¸­ã«è¨­å®ããã¦ã
-ãã°ããï¼å
-·ä½çã«ã¯ï¼å¢çã¤ãã³ãæå»ã¯ï¼ç¾å¨æå»ãã(1-1)ã®æå¤§å¹
-ãå¼
-ããã¤ãã³ãæå»ã¨ï¼(ç¾å¨æå»ï¼TMAX_RELTIM)ã«(2-1)ã¨(2-2)ã®æå¤§å¹
-ãå ã
-ãã¤ãã³ãæå»ã®éï¼ã¤ãã³ãæå»ã¯å¾ªç°ãã¦ããããï¼2ã¤ã®ãéãããããï¼
-ãã¼ã¸ã³ã¨ãªã£ã¦ããæ¹ã®éï¼ã«è¨­å®ããã¦ããã°ããï¼
-
-åè¿°ã®ãã¼ã¸ã³ããï¼(1-1)(2-1)(2-2)ã®æå¤§å¹
-ãå¼ãã¨ï¼ç´290ç§ã®ãã¼ã¸ã³
-ãæ®ãï¼å¢çã¤ãã³ãæå»ã¯ï¼ãã®éã®ã©ãã«ç½®ãã¦ãè¯ããï¼(1-1)ã®æå¤§å¹
-
-ã¯ã¢ããªã±ã¼ã·ã§ã³ã®è¨­è¨ãæªãã¨è¶
-ãã¦ãã¾ãå¯è½æ§ãããããï¼ãããè¶
-
-ããå ´åã®ã­ãã¹ãæ§ãèæ
-®ãã¦ï¼ç¾å¨ã®ã¤ãã³ãæå»ã®200ç§åã«è¨­å®ããã
-ã¨ã¨ãããASPD1010ãï¼
-
-âç¾å¨æå»ã®ç®åº
-
-ã¤ãã³ãæå»ã¨ï¼é«åè§£è½ã¿ã¤ãã®ã«ã¦ã³ãå¤ï¼ä»¥ä¸ï¼åã«ã«ã¦ã³ãå¤ã¨å¼ã¶ï¼
-ã®å¯¾å¿ãç®¡çããããã«ï¼ç¾å¨æå»ãç®åºããåº¦ã«ï¼ç®åºããæç¹ã§ã®ã«ã¦ã³
-ãå¤ã¨ã¤ãã³ãæå»ãï¼ã°ã­ã¼ãã«å¤æ°ã«ä¿å­ãããASPD1012ãï¼ããªãã¡ï¼
-ãããã®ã°ã­ã¼ãã«å¤æ°ã«ã¯ï¼ç¾å¨æå»ãååã«ç®åºããæç¹ã§ã®ã«ã¦ã³ãå¤
-ã¨ã¤ãã³ãæå»ãä¿æãã¦ããï¼
-
-ç¾å¨æå»ï¼ç¾å¨ã®ã¤ãã³ãæå»ï¼ãå¿
-è¦ã¨ããå ´åã«ã¯ï¼æ¬¡ã®å¦çãè¡ãï¼ã¾
-ãï¼é«åè§£è½ã¿ã¤ãããï¼ç¾å¨ã®ã«ã¦ã³ãå¤ãèª­ã¿åºããASPD1013ãï¼èª­ã¿åº
-ããã«ã¦ã³ãå¤ã¨ååã®ã«ã¦ã³ãå¤ã®å·®ããï¼ã¤ãã³ãæå»ãã©ãã ãé²ãã 
-ããæ±ãããASPD1014ãï¼ãã®å¤ãï¼ååã®ã¤ãã³ãæå»ã«å ãã¦ï¼ç¾å¨ã®ã¤
-ãã³ãæå»ãç®åºãããASPD1015ãï¼ç®åºããã¤ãã³ãæå»ã¯ï¼èª­ã¿åºããç¾
-å¨ã®ã«ã¦ã³ãå¤ã¨ã¨ãã«ï¼ã°ã­ã¼ãã«å¤æ°ã«æ ¼ç´ãããASPD1016ãï¼ããã«ï¼
-å¢çã¤ãã³ãæå»ãæ´æ°ãããASPD1011ãï¼
-
-ãªãï¼æå¾ã«ç¾å¨æå»ãç®åºããæç¹ã§ã®ã¤ãã³ãæå»ã¯ï¼ã«ã¼ãã«ã®åæå
-æã«0ã«åæåãããASPD1047ãï¼ã¾ãï¼å¢çã¤ãã³ãæå»ãï¼ããã«åããã¦
-åæåãããASPD1048ãï¼
-
-âé«åè§£è½ã¿ã¤ãå²è¾¼ã¿ã®çºçã¿ã¤ãã³ã°ã®è¨­å®
-
-åè¿°ããããã«ï¼é«åè§£è½ã¿ã¤ãããã®å²è¾¼ã¿ã®çºçã¿ã¤ãã³ã°ã¯ï¼ã¿ã¤ã ã¤
-ãã³ããã¼ãã®å
-é ­ã®ã¿ã¤ã ã¤ãã³ãã®çºçæå»ã«è¨­å®ããã®ãåºæ¬ã§ãã
-ï¼»ASPD1002ï¼½ï¼
-
-ãã ãï¼é«åè§£è½ã¿ã¤ãã®ã¿ã¤ãå¨æãï¼APIã§æå®ã§ããæå¤§ç¸å¯¾æéããã
-ç­ãå ´åã«ã¯ï¼ä¸ã®ãããªè¨­å®ãã§ããªãå ´åãããï¼å
-·ä½çã«ã¯ï¼å
-é ­ã®ã¿
-ã¤ã ã¤ãã³ãã®çºçæå»ã¾ã§ã®æéãï¼é«åè§£è½ã¿ã¤ãã®ã¿ã¤ãå¨æãããé·
-ãå ´åã«ï¼å
-é ­ã®ã¿ã¤ã ã¤ãã³ãã®çºçæå»ã«å²è¾¼ã¿ãçºçããããã«è¨­å®ã§
-ããªãï¼ãã®å ´åï¼ã¿ã¤ãå¨æãçµéããä»¥åã«ããã¼ã®å²è¾¼ã¿ãçºçããï¼
-æå»ãæ´æ°ããå¦çãè¡ããASPD1003ãï¼ä¸å¿
-è¦ãªã¿ã¤ãã³ã°ã§å²è¾¼ã¿ãçºç
-ãããã¨ã«ãªããï¼ã¿ã¤ãå¨æãçµéããä»¥åã«æå»ãæ´æ°ããå¦çãè¡ããª
-ãã¨ï¼é«åè§£è½ã¿ã¤ããå¨åããããããããªããªãããï¼ãããããªãï¼
-
-ããã§ï¼ããã¼ã®å²è¾¼ã¿ãçºçãããã¿ã¤ãã³ã°ãåé¡ã«ãªãï¼ã¿ã¤ãå¨æã
-çµéããç´åã«å²è¾¼ã¿ããããããã«è¨­å®ããå ´åï¼ä½ããã®çç±ã§å²è¾¼ã¿å¦
-çãé
-å»¶ããã¨ï¼å²è¾¼ã¿ãã³ãã©å
-ã§é«åè§£è½ã¿ã¤ããèª­ãã æç¹ã§ã¿ã¤ãã
-å¨åãã¦ããå¯è½æ§ãããï¼ã¿ã¤ããå¨åãããã¨ãè¦è½ã¨ãå¯è½æ§ãããï¼
-ããã§ï¼ããã¼ã®å²è¾¼ã¿ãçºçãããã¾ã§ã®æéã¯ï¼ã¿ã¤ãå¨æããã¿ã¤ãå²
-è¾¼ã¿ã®æå¤§é
-å»¶æéãå¼ããæéãããç­ãæéã«è¨­å®ããªããã°ãªããªã
-ãASPD1004ãï¼ããã¼ã®å²è¾¼ã¿ãçºçãããã¾ã§ã®æéã¯ï¼ã¿ã¼ã²ããä¾å­ã«
-å®ãããã¨ã¨ãããASPD1005ãï¼
-
-åãçç±ã§ï¼ã¿ã¤ã ã¤ãã³ããã¼ãã®å
-é ­ã®ã¿ã¤ã ã¤ãã³ãã®çºçã¾ã§ã®æé
-ãï¼ããã¼ã®å²è¾¼ã¿ãçºçãããã¾ã§ã®æéãããé·ãå ´åã«ã¯ï¼ããã¼ã®å²
-è¾¼ã¿ãçºçãããã¾ã§ã®æéãçµéããã¿ã¤ãã³ã°ã§å²è¾¼ã¿ãçºçããï¼æå»
-ãæ´æ°ããå¦çãè¡ããASPD1006ãï¼ããã¼ã®å²è¾¼ã¿ãçºçãããã¾ã§ã®æé
-ã¯ã¿ã¤ãå¨æãããç­ãè¨­å®ããããã¨ããï¼ãã®å¦çã«ããï¼»ASPD1003ï¼½ã
-å®ç¾ãããï¼
-
-ããã«ï¼ã¿ã¤ã ã¤ãã³ããã¼ããç©ºã®å ´åã«ãï¼ããã¼ã®å²è¾¼ã¿ãçºçããã
-ã¾ã§ã®æéãçµéããã¿ã¤ãã³ã°ã§å²è¾¼ã¿ãçºçããï¼æå»ãæ´æ°ããå¦çã
-è¡ããASPD1007ãï¼
-
-ã·ã¹ãã æå»ãèª¿æ´ããå ´åãï¼ä½ããã®çç±ã§å²è¾¼ã¿å¦çãé
-å»¶ããå ´åã«
-ã¯ï¼é«åè§£è½ã¿ã¤ãã®å²è¾¼ã¿çºçã¿ã¤ãã³ã°ãè¨­å®ãããã¨ããæç¹ã§ï¼å
-é ­
-ã®ã¿ã¤ã ã¤ãã³ãã®çºçæå»ãéãã¦ããå¯è½æ§ãããï¼ãã®ãããªå ´åã«ã¯ï¼
-ã¿ã¤ãå²è¾¼ã¿ãããã«çºçããããASPD1017ãï¼
-
-âé«åè§£è½ã¿ã¤ãå²è¾¼ã¿ã®å¦ç
-
-é«åè§£è½ã¿ã¤ãå²è¾¼ã¿ãçºçããã¨ï¼ã¾ãï¼åè¿°ã®æ¹æ³ã§ç¾å¨æå»ãç®åºãã
-ãASPD1022ãï¼æ¬¡ã«ï¼ã¿ã¤ã ã¤ãã³ããã¼ãä¸­ã®ã¿ã¤ã ã¤ãã³ãã®ä¸­ã§ï¼çºç
-æå»ãç¾å¨æå»ä»¥åã®ãã®ãï¼ä»¥ä¸ã®æé ã§å¦çããï¼
-
-ã¿ã¤ã ã¤ãã³ããã¼ããç©ºã§ãªãå ´åã«ã¯ï¼å
-é ­ã®ã¿ã¤ã ã¤ãã³ãã®çºçæå»
-ã¨ç¾å¨æå»ãæ¯è¼ãï¼çºçæå»ãç¾å¨æå»ä»¥åã§ããå ´åã«ã¯ï¼ãã®ã¿ã¤ã ã¤
-ãã³ããã¿ã¤ã ã¤ãã³ããã¼ãããåé¤ãï¼ã¿ã¤ã ã¤ãã³ããå¦çãã
-ãASPD1018ãï¼ãããï¼ã¿ã¤ã ã¤ãã³ããã¼ããç©ºã«ãªããï¼å
-é ­ã®ã¿ã¤ã ã¤
-ãã³ãã®çºçæå»ãç¾å¨æå»ä»¥åã§ãªããªãã¾ã§ç¹°ãè¿ããASPD1019ãï¼
-
-ï¼»ASPD1019ï¼½ã®ç¹°ãè¿ãã®éã«ï¼ã¿ã¤ã ã¤ãã³ãã1ã¤ä»¥ä¸å¦çãã¦ããå ´åã«
-ã¯ï¼ãã®éã«æéãçµéãã¦ããã¨èããããããï¼ååº¦ï¼åè¿°ã®æ¹æ³ã§ç¾å¨
-æå»ãç®åºãï¼åã®æ®µè½ã«è¨è¿°ããå¦çãè¡ããASPD1020ãï¼
-
-ã¿ã¤ã ã¤ãã³ãã1ã¤ãå¦çããã«ï¼»ASPD1019ï¼½ã®ç¹°ãè¿ããçµããå ´åã«ã¯ï¼
-åè¿°ã®æ¹æ³ã§é«åè§£è½ã¿ã¤ãå²è¾¼ã¿ã®çºçã¿ã¤ãã³ã°ãè¨­å®ãï¼å²è¾¼ã¿å¦çã
-çµãããASPD1025ãï¼
-
-âç¸å¯¾æéæå®ã«ããã¿ã¤ã ã¤ãã³ãã®ç»é²
-
-ç¸å¯¾æéãæå®ãã¦ã¿ã¤ã ã¤ãã³ããç»é²ããå ´åã«ã¯ï¼ç¾å¨æå»ãé
-ãæ¹ã«
-ä¸¸ããæå»ã«ï¼æå®ãããç¸å¯¾æéãå ãã¦ï¼ã¿ã¤ã ã¤ãã³ãã®çºçæå»ãæ±
-ãããASPD1026ãï¼
-
-ç¾å¨æå»ãé
-ãæ¹ã«ä¸¸ããã®ã¯ï¼ï¼»NGKI0046ï¼½ã«ããï¼ã¿ã¤ã ã¤ãã³ãã®å¦ç
-ãè¡ãã¾ã§ã®æéãï¼ç¸å¯¾æéã«ãã£ã¦æå®ããä»¥ä¸ã¨ããªããã°ãªããªãã
-ãã§ããï¼ããã«å¯¾ãã¦ï¼åè¿°ã®æ¹æ³ã§ç¾å¨æå»ãç®åºããã¨ï¼ç¾å¨æå»ãæ©
-ãæ¹ã«ä¸¸ããæå»ãæ±ã¾ãï¼ããã§ï¼åè¿°ã®æ¹æ³ã§ç®åºããç¾å¨æå»ã«ï¼é«å
-è§£è½ã¿ã¤ãã®é²ã¿å¹
-ï¼ãããï¼TSTEP_HRTCNTã¨æ¸ãï¼ãå ãã¦ï¼ç¾å¨æå»ãé
-
-ãæ¹ã«ä¸¸ããæå»ã¨ãããASPD1027ãï¼
-
-ä»¥ä¸ã®å¦çã®å¾ï¼ã¿ã¤ã ã¤ãã³ããã¿ã¤ã ã¤ãã³ããã¼ãã«æ¿å
-¥ãã
-ãASPD1030ãï¼ç»é²ããã¿ã¤ã ã¤ãã³ããï¼å
-é ­ã®ã¿ã¤ã ã¤ãã³ãã«ãªã£ãå ´
-åã«ã¯ï¼åè¿°ã®æ¹æ³ã§é«åè§£è½ã¿ã¤ãå²è¾¼ã¿ã®çºçã¿ã¤ãã³ã°ãè¨­å®ãã
-ãASPD1031ãï¼
-
-ãã ãï¼é«åè§£è½ã¿ã¤ãå²è¾¼ã¿ã®å¦çã®éä¸­ã§ã¿ã¤ã ã¤ãã³ããç»é²ãããå ´
-åã«ã¯ï¼ã¿ã¤ãå²è¾¼ã¿å¦çãçµããåã«é«åè§£è½ã¿ã¤ãå²è¾¼ã¿ã®çºçã¿ã¤ãã³
-ã°ãè¨­å®ãããããï¼ããã§è¨­å®ããå¿
-è¦ã¯ãªãï¼ãããå®ç¾ããããã«ï¼é«
-åè§£è½ã¿ã¤ãå²è¾¼ã¿ã®å¦çä¸­ã§ãããã¨ãç¤ºããã©ã°ãã°ã­ã¼ãã«å¤æ°ã«ç¨æ
-ããASPD1032ãï¼ãã®ãã©ã°ãã»ããããã¦ããå ´åã«ã¯ï¼é«åè§£è½ã¿ã¤ãå²
-è¾¼ã¿ã®çºçã¿ã¤ãã³ã°ã®è¨­å®ãè¡ããªããASPD1034ãï¼ãªãï¼ãã®ãã©ã°ã¯ï¼
-ã·ã¹ãã ã®åæåæã«ã¯ãªã¢ãï¼é«åè§£è½ã¿ã¤ãå²è¾¼ã¿ã®å¦çã®å
-¥å£ã§ã»ãã
-ãï¼åºå£ã§ã¯ãªã¢ãããASPD1033ãï¼
-
-âå¨æãã³ãã©ã®ã¿ã¤ã ã¤ãã³ãã®ç»é²
-
-ASP3ã«ã¼ãã«ã§ã¯ï¼TA_PHSå±æ§ã®å¨æãã³ãã©ããµãã¼ãããªãï¼»ASPS0172ï¼½
-ããï¼å¨æãã³ãã©ãåä½éå§ããæå»ãï¼å¨æãã³ãã©ãèµ·åããæå»ã®åº
-æºæå»ã¨ãªãï¼»NGKI2372ï¼½ï¼
-
-å¨æãã³ãã©ã®ååã®èµ·åæå»ã¯ï¼å¨æãã³ãã©ãåä½éå§ããæå»ããï¼å¨
-æãã³ãã©ã®èµ·åä½ç¸å¾ã§ããï¼»NGKI2365ï¼½ï¼å¨æãã³ãã©ãèµ·åããã¿ã¤ã 
-ã¤ãã³ããç»é²ããå¦çã®å
-å®¹ã¯ï¼å¨æãã³ãã©ãéçAPIã«ããåä½éå§ãã
-å ´åã¨ï¼ãµã¼ãã¹ã³ã¼ã«ã«ããåä½éå§ããå ´åã§ç°ãªãï¼
-
-å¨æãã³ãã©ãéçAPIã«ããåä½éå§ããå ´åã«ã¯ï¼ã«ã¼ãã«ã®åæåå¦çã§ï¼
-ã¿ã¤ã ã¤ãã³ããç»é²ããï¼ãã®æç¹ã§ã¯ã·ã¹ãã æå»ã¯0ã§ããããï¼å¨æã
-ã³ãã©ãåä½éå§ããæå»ã¯0ã¨ãããã¨ã«ãªãï¼èµ·åä½ç¸ãçºçæå»ã¨ãã¦ï¼
-ã¿ã¤ã ã¤ãã³ããã¿ã¤ã ã¤ãã³ããã¼ãã«æ¿å
-¥ãããASPD1035ãï¼èµ·åä½ç¸ã¨
-ãã¦æå®ã§ããæéã¯0ä»¥ä¸TMAX_RELTIMä»¥ä¸ã§ããããï¼»NGKI2399ï¼½ï¼ã¿ã¤ã 
-ã¤ãã³ãã®çºçæå»ã¯ï¼ç¾å¨æå»ä»¥éï¼(ç¾å¨æå»ï¼TMAX_RELTIM)ä»¥åã¨ããç¯
-å²ã«åã¾ãï¼å¨æãã³ãã©ã®åä½éå§ã®æç¡ã«ãããããï¼ã«ã¼ãã«ã®åæå
-å¦çã®æå¾ã§ï¼é«åè§£è½ã¿ã¤ãå²è¾¼ã¿ã®çºçã¿ã¤ãã³ã°ãè¨­å®ããå¿
-è¦ããã
-ããï¼ã¿ã¤ã ã¤ãã³ããç»é²ããæç¹ã§ã¯ï¼é«åè§£è½ã¿ã¤ãå²è¾¼ã¿ã®çºçã¿ã¤
-ãã³ã°ã¯è¨­å®ããªãï¼
-
-å¨æãã³ãã©ããµã¼ãã¹ã³ã¼ã«ã«ããåä½éå§ããå ´åã«ã¯ï¼ç¾å¨æå»ãåºæº
-æå»ï¼èµ·åä½ç¸ãç¸å¯¾æéã¨ãã¦ã¿ã¤ã ã¤ãã³ããç»é²ããã°ããããï¼ãã§
-ã«æ¤è¨ããã¿ã¤ã ã¤ãã³ãã®çºçæå»ãç¸å¯¾æéã§æå®ããå ´åã¨åæ§ã§ãã
-ãASPD1036ãï¼
-
-å¨æãã³ãã©ã®2åç®ä»¥éã®èµ·åæå»ã¯ï¼ååã®èµ·åæå»ããï¼å¨æãã³ãã©ã®
-èµ·åå¨æå¾ã§ããï¼»NGKI2365ï¼½ï¼ãã®ããã®ã¿ã¤ã ã¤ãã³ãã®ç»é²å¦çã¯ï¼é«
-åè§£è½ã¿ã¤ãå²è¾¼ã¿ã®å¦çããå¼ã³åºãããå¨æãã³ãã©èµ·åã«ã¼ãã³ã®ä¸­ã§ï¼
-å¨æãã³ãã©ãå¼ã³åºãåã«ï¼å¨æãã³ãã©ãæ¬¡åèµ·åããããã®ã¿ã¤ã ã¤ã
-ã³ããç»é²ããå½¢ã§è¡ããASPD1037ãï¼ç»é²ããã¿ã¤ã ã¤ãã³ãã®çºçæå»ã¯ï¼
-å¨æãã³ãã©ã®ä»åã®èµ·åæå»ã«èµ·åå¨æãå ããæå»ã¨ãããASPD1038ãï¼
-
-å¨æãã³ãã©èµ·åã«ã¼ãã³ãå¼ã°ããæç¹ã§ï¼å¨æãã³ãã©ãä»åèµ·åããã¿
-ã¤ã ã¤ãã³ãã¯ï¼ç´åã¾ã§ï¼ã¿ã¤ã ã¤ãã³ããã¼ãã®å
-é ­ã«ãã£ãã¿ã¤ã ã¤ã
-ã³ãã§ããï¼ã¾ãï¼èµ·åå¨æã¨ãã¦æå®ã§ããæéã¯0ããå¤§ããTMAX_RELTIM
-ä»¥ä¸ã§ãããã¨ããï¼»NGKI2397ï¼½ï¼ç»é²ããã¿ã¤ã ã¤ãã³ãã®çºçæå»ã¯ï¼ç´
-åã¾ã§å
-é ­ã«ãã£ãã¿ã¤ã ã¤ãã³ãã®çºçæå»ããå¾ã§ï¼(ç´åã¾ã§å
-é ­ã«ãã£
-ãã¿ã¤ã ã¤ãã³ãã®çºçæå»ï¼TMAX_RELTIM)ä»¥åã¨ããç¯å²ã«åã¾ãï¼ã¿ã¤ã 
-ã¤ãã³ãã®å¦çã2ç§ä»¥ä¸é
-ããç¶æ³ã§ã¯ï¼ã«ã¼ãã«ã®åä½ã¯ä¿è¨¼ãããªããã®
-ã¨ãã¦ããï¼»NGKI3608ï¼½ãã¨ããï¼ç´åã¾ã§å
-é ­ã«ãã£ãã¿ã¤ã ã¤ãã³ãã®çº
-çæå»ãï¼ç¾å¨æå»ããåã«ãªãæå¤§å¹
-ã¯2ç§ã¨èãã¦ããï¼æ¢ã«æ¤è¨ãã
-(1-1)ã®æå¤§å¹
-ã®ç¯å²å
-ã§ããï¼
-
-ã¿ã¤ã ã¤ãã³ããç»é²ããå¨æãã³ãã©èµ·åã«ã¼ãã³ã¯ï¼é«åè§£è½ã¿ã¤ãå²è¾¼
-ã¿ã®å¦çããå¼ã³åºãããããï¼ããã§é«åè§£è½ã¿ã¤ãå²è¾¼ã¿ã®çºçã¿ã¤ãã³
-ã°ãè¨­å®ããå¿
-è¦ã¯ãªãï¼
-
-âã¿ã¤ã ã¤ãã³ãã®ç»é²è§£é¤
-
-ã¿ã¤ã ã¤ãã³ãã®ç»é²ãè§£é¤ããå ´åã«ã¯ï¼ã¿ã¤ã ã¤ãã³ããã¿ã¤ã ã¤ãã³ã
-ãã¼ãããåé¤ãããASPD1039ãï¼
-
-é«åè§£è½ã¿ã¤ãå²è¾¼ã¿ã®å¦çã®éä¸­ã§ã¿ã¤ã ã¤ãã³ããç»é²è§£é¤ãããå ´åã§
-ãªãï¼åé¤ããã¿ã¤ã ã¤ãã³ããå
-é ­ã®ã¿ã¤ã ã¤ãã³ãã§ãã£ãå ´åã«ã¯ï¼å
-è¿°ã®æ¹æ³ã§é«åè§£è½ã¿ã¤ãå²è¾¼ã¿ã®çºçã¿ã¤ãã³ã°ãè¨­å®ãããASPD1040ãï¼
-
-âã¿ã¤ã ã¤ãã³ããçºçããã¾ã§ã®æéã®è¨ç®
-
-ã¿ã¤ã ã¤ãã³ããçºçããã¾ã§ã®æéãè¨ç®ããå ´åã«ã¯ï¼ã¿ã¤ã ã¤ãã³ãã®
-çºçæå»ããï¼ç¾å¨æå»ãé
-ãæ¹ã«ä¸¸ããæå»ãå¼ããã¨ã«ãã£ã¦æ±ãã
-ãASPD1049ãï¼ç¾å¨æå»ãé
-ãæ¹ã«ä¸¸ããæå»ã¯ï¼ï¼»ASPD1027ï¼½ã®æ¹æ³ã§æ±ã
-ããASPD1050ãï¼
-
-ç¾å¨æå»ãé
-ãæ¹ã«ä¸¸ããã®ã¯ï¼ï¼»NGKI0050ï¼½ã«ããï¼ã¿ã¤ã ã¤ãã³ããçºç
-ããæå»ãç¸å¯¾æéã§è¿ãå ´åã«ã¯ï¼ã¿ã¤ã ã¤ãã³ããå¦çãããã®ã¯ï¼åºæº
-æå»ããç¸å¯¾æéã¨ãã¦è¿ãããä»¥ä¸ã®æéãçµéããå¾ã¨ããªããã°ãªããª
-ãããã§ããï¼ããã§ã®åºæºæå»ã¯ï¼ç¸å¯¾æéãè¿ããµã¼ãã¹ã³ã¼ã«ãå¼ã³åº
-ããæå»ï¼è¨ãæããã¨ç¾å¨æå»ï¼ã§ããï¼»NGKI0049ï¼½ï¼
-
-ãã ãï¼ã¿ã¤ã ã¤ãã³ãã®çºçæå»ãï¼ç¾å¨æå»ä»¥åã§ããå ´åã«ã¯ï¼ã¿ã¤ã 
-ã¤ãã³ãã¾ã§ã®æ®ãæéã¨ãã¦0ãè¿ãï¼»NGKI0552ï¼½ï¼
-
-âã·ã¹ãã æå»ã®ç®¡ç
-
-ã·ã¹ãã æå»ãåç
-§ãããµã¼ãã¹ã³ã¼ã«ï¼get_timï¼ã¯ï¼ã·ã¹ãã æå»ãæãé²
-ãã§ããæã®ã·ã¹ãã æå»ï¼adj_timã§ã·ã¹ãã æå»ãæ»ãã¦ããªãå ´åã«ã¯ï¼
-ç¾å¨ã®ã·ã¹ãã æå»ã«ä¸è´ããï¼ãè¿ãï¼»NGKI3591ï¼½ï¼ãããå®ç¾ããããã«ï¼
-ã·ã¹ãã æå»ãæãé²ãã§ããæã®ã¤ãã³ãæå»ãï¼ã°ã­ã¼ãã«å¤æ°ã§ç®¡çã
-ããASPD1041ãï¼
-
-æãé²ãã§ããæã®ã¤ãã³ãæå»ã¯ï¼ã«ã¼ãã«ã®åæåæã«0ã«åæåã
-ãASPD1046ãï¼ç¾å¨ã®ã¤ãã³ãæå»ãé²ããåº¦ã«æ´æ°ããï¼å
-·ä½çã«ã¯ï¼æã
-é²ãã§ããæã®ã¤ãã³ãæå»ã¨é²ããåã®ç¾å¨ã®ã¤ãã³ãæå»ã®å·®ãï¼ç¾å¨ã®
-ã¤ãã³ãæå»ã®é²ã¿åãããå°ããå ´åã«ã¯ï¼æãé²ãã§ããæã®ã¤ãã³ãæ
-å»ãï¼é²ããå¾ã®ç¾å¨ã®ã¤ãã³ãæå»ã«ä¸è´ããããASPD1042ãï¼
-
-ã·ã¹ãã æå»ã¨ã¤ãã³ãæå»ã¯ï¼åãéåº¦ã§é²ãããï¼ã·ã¹ãã æå»ãè¨­å®ã
-ãªãéã¯ï¼ãã®å·®ã¯ä¸å®ã§ããï¼ãã®å·®ãç®¡çããããã«ï¼get_timã§åç
-§ãã
-ããã·ã¹ãã æå»ï¼64ãããã®ç¬¦å·ç¡ãæ´æ°åï¼ãã ãï¼64ãããã®æ´æ°åã
-ãµãã¼ãããã¦ããªãã¿ã¼ã²ããã§ã¯32ãããã®ç¬¦å·ç¡ãæ´æ°åï¼»NGKI0548ï¼½ï¼
-ã¨ï¼æãé²ãã§ããæã®ã¤ãã³ãæå»ï¼32ãããã®ç¬¦å·ç¡ãæ´æ°åï¼ã®å·®ãï¼
-ã°ã­ã¼ãã«å¤æ°ã§ç®¡çãããASPD1043ãï¼ãã®å·®ãï¼ã·ã¹ãã æå»ã®ãªãã»ã
-ãã¨å¼ã¶ï¼
-
-ã«ã¼ãã«ã®åæåæã«ã¯ï¼ã·ã¹ãã æå»ã¯0ã«åæåããï¼»NGKI2333ï¼½ï¼æãé²
-ãã§ããæã®ã¤ãã³ãæå»ã0ã«åæåãããï¼»ASPD1046ï¼½ãã¨ããï¼ã·ã¹ãã 
-æå»ã®ãªãã»ããã0ã«åæåãããASPD1044ãï¼ã¾ãï¼ã·ã¹ãã æå»ã64ãã
-ãã®ç¬¦å·ç¡ãæ´æ°åã®å ´åã«ã¯ï¼æãé²ãã§ããæã®ã¤ãã³ãæå»ãé²ããçµ
-æï¼ãã®å¤ãå¨åããæã«ã¯ï¼ã·ã¹ãã æå»ã®ãªãã»ããã«2^32ãå ç®ãã
-ãASPD1045ãï¼
-
-âã·ã¹ãã æå»ã®åç
-§ã¨è¨­å®
-
-ã·ã¹ãã æå»ã®åç
-§ï¼get_timï¼ã®å¦çæ¬ä½ï¼æä»å¶å¾¡ã®å
-å´ã®å¦çï¼ã§ã¯ï¼ã¾
-ãï¼åè¿°ã®æ¹æ³ã§ç¾å¨æå»ãç®åºã»æ´æ°ãï¼ããã«ä¼´ã£ã¦ï¼æãé²ãã§ããæ
-ã®ã¤ãã³ãæå»ãæ´æ°ãããASPD1057ãï¼ãã®å¾ï¼æãé²ãã§ããæã®ã¤ãã³
-ãæå»ã«ã·ã¹ãã æå»ã®ãªãã»ãããå ãããã¨ã§ï¼æãé²ãã§ããæã®ã·ã¹
-ãã æå»ãæ±ãï¼æå®ãããã¡ã¢ãªé åã«è¿ããASPD1058ãï¼
-
-ã·ã¹ãã æå»ã®è¨­å®ï¼set_timï¼ã®å¦çæ¬ä½ï¼æä»å¶å¾¡ã®å
-å´ã®å¦çï¼ã§ã¯ï¼ã¾
-ãï¼åè¿°ã®æ¹æ³ã§ç¾å¨æå»ãç®åºã»æ´æ°ãï¼ããã«ä¼´ã£ã¦ï¼æãé²ãã§ããæ
-ã®ã¤ãã³ãæå»ãæ´æ°ãããASPD1059ãï¼ãã®å¾ï¼æå®ãããã·ã¹ãã æå»ã¨
-æãé²ãã§ããæã®ã¤ãã³ãæå»ã®å·®ãæ±ãï¼ã·ã¹ãã æå»ã®ãªãã»ããã«æ ¼
-ç´ãããASPD1060ãï¼
-
-ï¼»NGKI3592ï¼½ã§å¤åããªããã¨ãè¦æ±ããã¦ãããget_timã§åç
-§ããã·ã¹ãã 
-æå»ã®é²ã¿ãæ­¢ã¾ã£ã¦ããæéãã¯ï¼æãé²ãã§ããæã®ã¤ãã³ãæå»ã¨ç¾å¨
-ã®ã¤ãã³ãæå»ã®å·®ã§å®ç¾ããã¦ããï¼ä¸è¨ã®set_timã®å¦çæé ã§ã¯ï¼ç¾å¨æ
-å»ã¨æãé²ãã§ããæã®ã¤ãã³ãæå»ãï¼ãµã¼ãã¹ã³ã¼ã«ãå¼ã³åºãããæç¹
-ã®ç¶æ
-ã«æ´æ°ããä»¥å¤ã«ã¯ï¼æãé²ãã§ããæã®ã¤ãã³ãæå»ã¨ç¾å¨ã®ã¤ãã³
-ãæå»ã®å·®ãå¤æ´ãããã¨ã¯ãªãï¼ãã®ããï¼ä¸ã®å¦çæé ã§ï¼»NGKI3592ï¼½ã®
-è¦æ±ãæºããã¦ããï¼
-
-âã·ã¹ãã æå»ã®èª¿æ´
-
-ã·ã¹ãã æå»ã®èª¿æ´ï¼adj_timï¼ã®å¦çæ¬ä½ï¼æä»å¶å¾¡ã®å
-å´ã®å¦çï¼ã¯ï¼ä»¥ä¸
-ã®æé ã§è¡ãï¼
-
-ã¾ãï¼åè¿°ã®æ¹æ³ã§ç¾å¨æå»ãç®åºãããASPD1051ãï¼æ¬¡ã«ï¼E_OBJã¨ã©ã¼ã®
-ãã§ãã¯ãè¡ããASPD1052ãï¼E_OBJã¨ã©ã¼ã®ãã§ãã¯ã®å
-å®¹ã¯ï¼ã·ã¹ãã æå»
-ãé²ããå ´åã¨é
-ãããå ´åã§ç°ãªãï¼ã·ã¹ãã æå»ãé²ããå ´åã«ã¯ï¼ã¿ã¤
-ã ã¤ãã³ããã¼ããç©ºã§ãªãï¼å
-é ­ã®ã¿ã¤ã ã¤ãã³ãã®çºçæå»ãç¾å¨æå»ã
-ãã1ç§ä»¥ä¸åã§ããå ´åã«ï¼E_OBJã¨ã©ã¼ã¨ããï¼»NGKI3588ï¼½ï¼ã·ã¹ãã æå»
-ãé
-ãããå ´åã«ã¯ï¼æãé²ãã§ããæã®ã¤ãã³ãæå»ã¨ç¾å¨ã®ã¤ãã³ãæå»
-ã¨ã®å·®ã1ç§ä»¥ä¸ã®å ´åã«ï¼E_OBJã¨ã©ã¼ã¨ããï¼»NGKI3589ï¼½ï¼
-
-E_OBJã¨ã©ã¼ã§ãªãå ´åã«ã¯ï¼ç¾å¨ã®ã¤ãã³ãæå»ã«ï¼æå®ãããèª¿æ´éãå ã
-ããASPD1053ãï¼ããã«ããï¼ã·ã¹ãã æå»ã®ç¾å¨å¤ã«æå®ãããèª¿æ´éãå 
-ãããï¼»NGKI3586ï¼½ï¼ã¿ã¤ã ã¤ãã³ããçºçããã¾ã§ã®ç¸å¯¾æéãèª¿æ´ããã
-ï¼»NGKI3587ï¼½ï¼ã¾ãï¼å¢çã¤ãã³ãæå»ãæ´æ°ãããASPD1055ãï¼
-
-ããã§ï¼ã¤ãã³ãæå»ãé²ããå ´åã«ã¯ï¼ï¼»ASPD1042ï¼½ã¨åãæ¹æ³ã§ï¼æãé²
-ãã§ããæã®ã¤ãã³ãæå»ãæ´æ°ãããASPD1054ãï¼
-
-æå¾ã«ï¼åè¿°ã®æ¹æ³ã§é«åè§£è½ã¿ã¤ãå²è¾¼ã¿ã®çºçã¿ã¤ãã³ã°ãè¨­å®ãã
-ãASPD1056ãï¼
-
-âã«ã¼ãã«ã®åæåæã®å¦ç
-
-ã«ã¼ãã«ã®åæåæã«ã¯ï¼ã¿ã¤ã ã¤ãã³ãç®¡çã¢ã¸ã¥ã¼ã«ã®åæåå¦çã«ãã
-ã¦ï¼æå¾ã«ç¾å¨æå»ãç®åºããæç¹ã§ã®ã¤ãã³ãæå»ï¼å¢çã¤ãã³ãæå»ï¼æ
-ãé²ãã§ããæã®ã¤ãã³ãæå»ï¼é«åè§£è½ã¿ã¤ãå²è¾¼ã¿ã®å¦çä¸­ã§ãããã¨ã
-ç¤ºããã©ã°ãåæåãï¼ã¿ã¤ã ã¤ãã³ããã¼ããç©ºã«åæåãããASPD1061ãï¼
-
-ãã®å¾ã«å¼ã³åºãããå¨æãã³ãã©æ©è½ã®åæåå¦çã«ããã¦ï¼éçAPIã«ãã
-åä½éå§ããå¨æãã³ãã©ã®ï¼ååã®èµ·åã®ããã®ã¿ã¤ã ã¤ãã³ããç»é²ãã
-ãASPD1062ãï¼
-
-ã«ã¼ãã«ã®åæåå¦çã®æå¾ï¼ã«ã¼ãã«åä½ãéå§ããç´åï¼ã«ï¼é«åè§£è½ã¿
-ã¤ãã®ç¾å¨ã®ã«ã¦ã³ãå¤ãèª­ã¿åºãï¼ãã®å¤ã§ï¼æå¾ã«ç¾å¨æå»ãç®åºããæ
-ç¹ã§ã®ã«ã¦ã³ãå¤ãåæåãããASPD1063ãï¼æå¾ã«ï¼åè¿°ã®æ¹æ³ã§ï¼é«åè§£
-è½ã¿ã¤ãå²è¾¼ã¿ã®çºçã¿ã¤ãã³ã°ãè¨­å®ãããASPD1064ãï¼
-
-âé«åè§£è½ã¿ã¤ãã¢ã¸ã¥ã¼ã«ï¼ã¿ã¼ã²ããä¾å­é¨ï¼ã®ä»æ§
-
-â
-æªå®æ
-
-âãã¬ã¼ãµããªãã£
-
-âASPD1001ã«é¢ããè£è¶³èª¬æ
-
-ASPD1001ï¼ã¿ã¤ã ã¤ãã³ãã®çºçæå»ãï¼ã«ã¼ãã«å
-é¨ã§ã¯32ãããã§æ±ãï¼
-ã¯ï¼ããåããè¨­è¨ã®çµæã§ããï¼å
-·ä½çã«ã¯ï¼å¤é¨ä»æ§ã®å¤ãã®è¦æ±ã«ä¾å­
-ãã¦æ±ºå®ããã¦ãããã¨ã«å ãã¦ï¼ããã«ä¾å­ãã¦ä»ã®å¤ãã®è¨­è¨ãåºã¦ãã¦
-ããï¼ã¤ã¾ãï¼å¤é¨ä»æ§ã¨è¨­è¨ãå¤å¯¾å¤ã«é¢ä¿ãã¦ããä¸­ã§ï¼ASPD1001ããã
-ã«ãªã£ã¦ããï¼
-
-ã¾ãï¼ASPD1001ããå¤é¨ä»æ§ã«å¯¾ããå¶éäºé 
-ãæ½åºããã¦ããã¨ããæå³ã§
-ãï¼ããåããè¨­è¨ã«ãªã£ã¦ããï¼ãã®é¢ä¿ãç´ ç´ã«è¡¨ç¾ããã¨ï¼è¨­è¨ããå¤
-é¨ä»æ§ã«å¯¾ãã¦ãªã³ã¯ããããã¨ã«ãªããï¼ãã®ãããªéé¢ä¿ã¯é¿ããã¹ãã¨
-èããããï¼å¤é¨ä»æ§ããè¨­è¨ã¸ã®ãªã³ã¯ã¨ãã¦è¡¨ç¾ãã¦ããï¼ããã«è©²å½ã
-ããªã³ã¯ã¯ï¼ä¸ã®ãã¬ã¼ãµããªãã£ä¸è¦§ã§"#"ãã¤ãã¦åºå¥ããï¼ã¾ãï¼å¤é¨ä»
-æ§æ¸ã®ä»æ§æ±ºå®ã®çç±ã«ï¼ãããã®å¶éäºé 
-ãï¼å®è£
-ãèæ
-®ãããã®ã§ããæ¨
-ãè¨è¿°ãã¦ããï¼
-
-âè¨­è¨é 
-ç®ã«å¯¾ããä¸ä½è¦æ±ããã®ãã¬ã¼ãµããªãã£
-
-ASPD1001ï¼(a*)				âASPR0006ï¼NGKI0548ï¼NGKI0041ï¼NGKI0042ï¼
-								NGKI0549ï¼NGKI0550#ï¼NGKI0553ï¼NGKI0554ï¼
-								NGKI3608#ï¼NGKI3561#ï¼NGKI3584#ï¼NGKI3588#ï¼
-								NGKI3589ï¼NGKI2372ï¼NGKI2373ï¼ASPS0172ï¼
-								NGKI2365ï¼NGKI2397ï¼NGKI2399
-ASPD1002ï¼(a*)				âASPR0011
-ASPD1003ï¼(b*)(e:ASPD1002)
-ASPD1004ï¼(d)
-ASPD1005ï¼(d)
-ASPD1006ï¼(a*)(e:ASPD1002)	âASPD1003
-ASPD1007ï¼(a*)
-ASPD1008ï¼(a*)				âASPD1001
-ASPD1009ï¼(a*)				âASPD1001
-ASPD1010ï¼(ab*)				âASPD1001
-ASPD1011ï¼(a*)				âASPD1016ï¼ASPD1010
-ASPD1012ï¼(a*)				âNGKI3559ï¼ASPR0011
-ASPD1013ï¼(a*)				âNGKI3559
-ASPD1014ï¼(a*)				âNGKI3559
-ASPD1015ï¼(a*)				âNGKI3559
-ASPD1016ï¼(a*)				âASPD1012
-ASPD1017ï¼(a*)(e:ASPD1002)
-ASPD1018ï¼(a*)
-ASPD1019ï¼(a*)
-ASPD1020ï¼(a*)
-ASPD1021ï¼(d)
-ASPD1022ï¼(a*)
-ASPD1023ï¼æ¬ çª
-ASPD1024ï¼æ¬ çª
-ASPD1025ï¼(a*)
-ASPD1026ï¼(a*)
-ASPD1027ï¼(a*)				âASPD1050
-ASPD1028ï¼æ¬ çª
-ASPD1029ï¼æ¬ çª
-ASPD1030ï¼(a*)
-ASPD1031ï¼(a*)
-ASPD1032ï¼(a*)
-ASPD1033ï¼(a*)
-ASPD1034ï¼(a*)
-ASPD1035ï¼(a*)
-ASPD1036ï¼(a*)
-ASPD1037ï¼(a*)
-ASPD1038ï¼(a*)
-ASPD1039ï¼(a*)
-ASPD1040ï¼(a*)
-ASPD1041ï¼(a*)				âNGKI3591
-ASPD1042ï¼(a*)				âASPD1041
-ASPD1043ï¼(a*)
-ASPD1044ï¼(a*)
-ASPD1045ï¼(a*)
-ASPD1046ï¼(a*)				âASPD1041
-ASPD1047ï¼(a*)
-ASPD1048ï¼(a*)				âASPD1010
-ASPD1049ï¼(a*)				âNGKI0049ï¼NGKI0050
-ASPD1050ï¼(a*)				âASPD1027
-ASPD1051ï¼(a*)
-ASPD1052ï¼(a*)
-ASPD1053ï¼(a*)				âNGKI3586ï¼NGKI3587
-ASPD1054ï¼(a*)
-ASPD1055ï¼(a*)				âASPD1010
-ASPD1056ï¼(a*)
-ASPD1057ï¼(a*)				âNGKI2354ï¼NGKI3591
-ASPD1058ï¼(a*)				âNGKI2354ï¼NGKI3591
-ASPD1059ï¼(a*)				âNGKI3567ï¼NGKI3592
-ASPD1060ï¼(a*)				âNGKI3567ï¼NGKI3592
-ASPD1061ï¼(a*)
-ASPD1062ï¼(a*)
-ASPD1063ï¼(a*)
-ASPD1064ï¼(a*)
-
-ä»¥ä¸
Index: asp3_wo_tecs/trunk/doc/user.txt
===================================================================
--- asp3_wo_tecs/trunk/doc/user.txt	(revision 302)
+++ asp3_wo_tecs/trunk/doc/user.txt	(revision 306)
@@ -3,6 +3,6 @@
 		ã¦ã¼ã¶ã¼ãºããã¥ã¢ã«
 
-		å¯¾å¿ãã¼ã¸ã§ã³: Release 3.0
-		æçµæ´æ°: 2016å¹´1æ11æ¥
+		å¯¾å¿ãã¼ã¸ã§ã³: Release 3.1
+		æçµæ´æ°: 2016å¹´5æ13æ¥
 
 ãã®ãã­ã¥ã¡ã³ãã¯ï¼TOPPERS/ASP3ã«ã¼ãã«ãä½¿ç¨ããããã«å¿
@@ -10,4 +10,13 @@
 ãèª¬
 æãããã®ã§ããï¼
+
+ãã®ãã­ã¥ã¡ã³ãã§ã¯ï¼TOPPERSçµè¾¼ã¿ã³ã³ãã¼ãã³ãã·ã¹ãã ï¼TECSï¼ãã·ã¹
+ãã ãµã¼ãã¹ã®æ§ç¯ã«ã®ã¿ç¨ãï¼ã¢ããªã±ã¼ã·ã§ã³ãã­ã°ã©ã ã¯Cè¨èªã«ããè¨
+è¿°ãããã¨ãæ³å®ãã¦ããï¼ã¢ããªã±ã¼ã·ã§ã³ãã­ã°ã©ã ãå«ãã·ã¹ãã å
+¨ä½
+ãTECSãç¨ãã¦æ§ç¯ããæ¹æ³ã«ã¤ãã¦ã¯ï¼ä»¥ä¸ã®URLã«ããTECSãªãã¡ã¬ã³ã¹ã
+ãã¥ã¢ã«ãåèã«ãããã¨ï¼
+
+	http://dev.toppers.jp/trac_user/tecs/wiki/WikiStart
 
 ----------------------------------------------------------------------
@@ -63,5 +72,5 @@
  ã®è²¬ä»»ãè² ããªãï¼
  
- $Id: user.txt 505 2016-01-12 01:41:01Z ertl-hiro $
+ $Id: user.txt 752 2016-05-14 15:06:22Z ertl-hiro $
 ----------------------------------------------------------------------
 
@@ -82,5 +91,5 @@
 ï¼ï¼ã¯ã¤ãã¯ã¹ã¿ã¼ãã¬ã¤ã
 	3.1 éçºç°å¢ã®æºå
-	3.2 ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®æ§ç¯
+	3.2 TECSã¸ã§ãã¬ã¼ã¿ã®æºå
 	3.3 ãµã³ãã«ãã­ã°ã©ã ã®æ§ç¯ã¨å®è¡
 	3.4 ã«ã¼ãã«ãé¢æ°åä½ã§ã©ã¤ãã©ãªåããæ¹æ³
@@ -92,8 +101,10 @@
 	4.2 ã¿ã¼ã²ããéä¾å­é¨ã®ãã¡ã¤ã«æ§æ
 ï¼ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªããã®ä½¿ãæ¹
-ï¼ï¼Makefileã®ä¿®æ­£æ¹æ³
+ï¼ï¼æ¨æºã®Makefileã®ä¿®æ­£æ¹æ³
 	6.1 Makefileã®å¤æ°å®ç¾©
 	6.2 ã³ã³ãã¤ã«ãªãã·ã§ã³
 ï¼ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ä½¿ãæ¹
+	7.1 ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®èµ·å
+	7.2 ã¿ã¤ããã©ã¤ãã®çµè¾¼ã¿
 ï¼ï¼ã·ã¹ãã ãµã¼ãã¹
 	8.1 ã·ã¹ãã ã­ã°æ©è½
@@ -108,13 +119,18 @@
 		8.1.6 ã·ã¹ãã ã­ã°æ©è½ã®ãµã¼ãã¹ã³ã¼ã«
 		8.1.7 ã·ã¹ãã ã­ã°æ©è½ã®ããã®ã©ã¤ãã©ãªé¢æ°ã¨ãã¯ã­
-		8.1.8 ã·ã¹ãã ã­ã°æ©è½ã®ãã®ä»ã®ãµã¼ãã¹
+		8.1.8 ã·ã¹ãã ã­ã°æ©è½ã®çµè¾¼ã¿ã¨åå¤ã
 	8.2 ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ã
 		8.2.1 ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ãµã¼ãã¹ã³ã¼ã«
 		8.2.2 ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ãã®ä»ã®ãµã¼ãã¹
+		8.2.3 ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®çµè¾¼ã¿ã¨åå¤ã
 	8.3 ã·ã¹ãã ã­ã°ã¿ã¹ã¯
-		8.3.1 ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®ãµã¼ãã¹ã³ã¼ã«
+		8.3.1 ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®æ©è½
 		8.3.2 ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®ãã®ä»ã®ãµã¼ãã¹
+		8.3.3 ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®çµè¾¼ã¿ã¨åå¤ã
 	8.4 å®è¡æéåå¸éè¨ãµã¼ãã¹
-	8.5 ã«ã¼ãã«èµ·åã¡ãã»ã¼ã¸ã®åºå
+		8.4.1 å®è¡æéåå¸éè¨ãµã¼ãã¹ã®æ¦è¦
+		8.4.2 å®è¡æéåå¸éè¨ãµã¼ãã¹ã®ãµã¼ãã¹ã³ã¼ã«
+		8.4.3 å®è¡æéåå¸éè¨ãµã¼ãã¹ã®çµè¾¼ã¿ã¨åå¤ã
+	8.5 ã«ã¼ãã«èµ·åã¡ãã»ã¼ã¸åºå
 ï¼ï¼ãµãã¼ãã©ã¤ãã©ãª
 	9.1 åºæ¬çãªã©ã¤ãã©ãªé¢æ°
@@ -123,4 +139,6 @@
 ï¼ï¼ï¼ãã¹ããã­ã°ã©ã 
 	10.1 ãã¹ããã­ã°ã©ã ç¨ãµã¼ãã¹
+		10.1.1 ãã¹ããã­ã°ã©ã ç¨ãµã¼ãã¹ã®ãµã¼ãã¹ã³ã¼ã«
+		10.1.2 ãã¹ããã­ã°ã©ã ç¨ãµã¼ãã¹ã®çµè¾¼ã¿ã¨åå¤ã
 	10.2 ã«ã¼ãã«ã®æ´åæ§æ¤æ»
 	10.3 æ©è½ãã¹ããã­ã°ã©ã 
@@ -128,5 +146,6 @@
 	10.5 æ§è½è©ä¾¡ãã­ã°ã©ã 
 ï¼ï¼ï¼ä½¿ç¨ä¸ã®æ³¨æã¨ãã³ã
-	11.1 ã¿ã¤ããã©ã¤ãã®çµè¾¼ã¿
+	11.1 å®è¡æéã¨å²è¾¼ã¿ç¦æ­¢æéã«é¢ããæ³¨æäºé 
+
 	11.2 assertãã¯ã­ã®å¦ç
 	11.3 ã·ã¹ãã ã­ã°æ©è½ã®æ±ã
@@ -171,14 +190,17 @@
 ã®ä»æ§ã®è©³ç´°ã«ã¤ãã¦ã¯ï¼å¥éPDFãã¡ã¤ã«ã®å½¢ã§é
 å¸ãã¦ãããTOPPERSç¬¬3ä¸
-ä»£ã«ã¼ãã«ï¼ITRONç³»ï¼çµ±åä»æ§æ¸ï¼Release 3.B.0ï¼ããåç
+ä»£ã«ã¼ãã«ï¼ITRONç³»ï¼çµ±åä»æ§æ¸ï¼Release 3.1.0ï¼ããåç
 §ãããã¨ï¼
 
+ã«ã¼ãã«ä»æ§ã®ä¸­ã§ï¼ã¿ã¼ã²ããå®ç¾©äºé 
+ã«ã¤ãã¦ã¯ï¼ã¿ã¼ã²ããä¾å­é¨ãã£
+ã¬ã¯ããªã«ããã¿ã¼ã²ããä¾å­é¨ã®ã¦ã¼ã¶ã¼ãºããã¥ã¢ã«ãåç
+§ãããã¨ï¼
+
 1.3 ãã¤ã°ã¬ã¼ã·ã§ã³ã¬ã¤ã
 
-å¾æ¥ã®TOPPERSã«ã¼ãã«ãä»ã®Î¼ITRON4.0ä»æ§æºæ ã®ã«ã¼ãã«ããï¼TOPPERSç¬¬
-3ä¸ä»£ã«ã¼ãã«ã«ç§»è¡ããããã®æ¹æ³ï¼ã¾ãã¯ãã³ãï¼ãèª¬æãããTOPPERSç¬¬
-3ä¸ä»£ã«ã¼ãã«ã¸ã®ãã¤ã°ã¬ã¼ã·ã§ã³ã¬ã¤ãããï¼å¥éPDFãã¡ã¤ã«ã®å½¢ã§é
-å¸
-ãã¦ããï¼å¿
+å¾æ¥ã®TOPPERSã«ã¼ãã«ãä»ã®Î¼ITRON4.0ä»æ§æºæ ã®ã«ã¼ãã«ããï¼ASP3ã«ã¼ã
+ã«ã«ç§»è¡ããããã®æ¹æ³ï¼ã¾ãã¯ãã³ãï¼ãèª¬æãããTOPPERS/ASP3ã«ã¼ãã«
+ã¸ã®ãã¤ã°ã¬ã¼ã·ã§ã³ã¬ã¤ãããç¨æãã¦ããï¼å¿
 è¦ã«å¿ãã¦åç
 §ãããã¨ï¼
@@ -204,5 +226,5 @@
 é ­çªå°
 ï¼ATT_TERã®terrtnï¼ããã­ã°ã©ã ã®éå§çªå°ã¨ãã¦æ­£ãããªãå ´åã®ã¨ã©ã¼ã¯ï¼
-ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã«ãã£ã¦æ¤åºãããªãå ´åãããï¼ã¿ã¼ã²ããã«ä¾å­ï¼ï¼
+ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã«ãã£ã¦æ¤åºãããªãå ´åãããï¼ã¿ã¼ã²ããã«ãä¾å­ï¼ï¼
 
 kernel_cfg.cï¼ããã³cfg1_out.cï¼ã¯ï¼ã«ã¼ãã«ï¼ã·ã¹ãã ãµã¼ãã¹ï¼ã¢ããª
@@ -219,7 +241,6 @@
 ããã¦ããå ´åã«ï¼ãã®ä¸­ã«å«ã¾ããCè¨èªããªãã­ã»ããµã®ã¤ã³ã¯ã«ã¼ããã£
 ã¬ã¯ãã£ãï¼#includeï¼ã§ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ã®ç½®ããã¦ãã
-ãã£ã¬ã¯ããªãï¼ãã¡ã¤ã«ãæ¤ç´¢ãããã¹ã«ã¯ãããªãã¨ããåé¡ãããï¼ä¾
-ãã°ï¼syssvc/syslog.cfgã«ã#include "syslog.h"ãã¨è¨è¿°ã§ããªãã®ã¯ï¼ã
-ã®åé¡ãããããã§ããï¼
+ãã£ã¬ã¯ããªãï¼ãã¡ã¤ã«ãæ¤ç´¢ãããã¹ã«å
+¥ããªãã¨ããåé¡ãããï¼
 
 ç¾æç¹ã§ã¯ï¼ã¢ãã¬ã¹ã64ãããã®ç°å¢ã«ã¯å¯¾å¿ãã¦ããªãï¼64ãããã¢ãã¬
@@ -328,10 +349,12 @@
 
 	ãã¹ãã·ã¹ãã ç¨ã®ãã¼ã«
-		perl		åä½ç¢ºèªï¼5.10.0
 		GNU Make	åä½ç¢ºèªï¼3.81
-
-	TOPPERSæ°ä¸ä»£ã«ã¼ãã«ç¨ã³ã³ãã£ã®ã¥ã¬ã¼ã¿
-		cfg			åä½ç¢ºèªï¼1.9.4
-					â» 1.5ä»¥åã®ãã¼ã¸ã§ã³ã§ã¯åä½ããªãï¼
+		ruby		åä½ç¢ºèªï¼2.0.0
+
+	TOPPERSç¬¬3ä¸ä»£ã«ã¼ãã«åã Rubyçã³ã³ãã£ã®ã¥ã¬ã¼ã¿
+		cfg			åä½ç¢ºèªï¼1.2.1
+
+	TOPPERSçµè¾¼ã¿ã³ã³ãã¼ãã³ãã·ã¹ãã ï¼TECSï¼ã¸ã§ãã¬ã¼ã¿
+		tecsgen		åä½ç¢ºèªï¼1.3.1.7
 
 	ã¿ã¼ã²ããã·ã¹ãã ç¨ã®ãã¼ã«ï¼ã¯ã­ã¹éçºç°å¢ï¼
@@ -341,4 +364,12 @@
 		æ¨æºCã©ã¤ãã©ãªï¼å¿
 é ã§ã¯ãªãï¼
+
+ASP3ã«ã¼ãã«ã§ã¯ï¼æå­ã³ã¼ããUTF-8ã«çµ±ä¸ãã¦ãããï¼Windowsç°å¢ã§ruby
+ãç¨ããã¨ï¼ããã©ã«ãã®æå­ã³ã¼ããWindows-31Jã«ãªãï¼ã¨ã©ã¼ã¨ãªãå ´å
+ãããï¼ãã®ãããªç°å¢ã§ã¯ï¼rubyã®èµ·åæãªãã·ã§ã³ã«ã-Eutf-8ããæå®ã
+ãå¿
+è¦ãããï¼ããå
+·ä½çã«ã¯ï¼ãset RUBYOPT=-Eutf-8ãã«ããï¼rubyã®ããã©
+ã«ãã®ãªãã·ã§ã³ãæå®ããæ¹æ³ãæ¨å¥¨ããï¼
 
 ã¿ã¼ã²ããã·ã¹ãã ç¨ã®ãã¼ã«ã«GNUéçºç°å¢ãç¨ããå ´åã«ã¯ï¼ä»¥ä¸ã®ãã¼ã«
@@ -366,64 +397,42 @@
 ä»¥ä¸ã§ã¯ï¼ãããã®ãã¼ã«ãç¨æã§ãã¦ãããã¨ãåæã«ï¼UNIXãã·ã³ä¸ã§ã®
 æ§ç¯æé ãèª¬æããï¼ã¾ãä»¥ä¸ã®èª¬æã§ã¯ï¼makeã³ãã³ããGNU Makeã§ããã
-ã®ã¨ããï¼ASP3ã«ã¼ãã«ã®ãµã³ãã«ã®Makefileã¯ï¼GNU Makeã®æ¡å¼µæ©è½ãç¨ã
-ã¦ããï¼ï¼
-
-3.2 ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®æ§ç¯
-
-ã«ã¼ãã«ãæ§ç¯ããåã«ï¼ã¾ãï¼TOPPERSæ°ä¸ä»£ã«ã¼ãã«ç¨ã³ã³ãã£ã®ã¥ã¬ã¼ã¿
-ãæ§ç¯ããå¿
-è¦ãããï¼ç°¡æããã±ã¼ã¸ã«å«ã¾ãã¦ããå ´åãªã©ï¼ã³ã³ãã£ã®ã¥
-ã¬ã¼ã¿ãå®è¡ãã¡ã¤ã«å½¢å¼ã§å
-¥æããå ´åã«ã¯ï¼ãã®ã¹ãããã¯å¿
+ã®ã¨ããï¼ASP3ã«ã¼ãã«ã®æ¨æºã®Makefileã¯ï¼GNU Makeã®æ¡å¼µæ©è½ãç¨ãã¦ã
+ãï¼ï¼
+
+ãªãï¼TOPPERSç¬¬3ä¸ä»£ã«ã¼ãã«åã Rubyçã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã¯ï¼ASP3ã«ã¼ã
+ã«ã®ããã±ã¼ã¸ã«å«ã¾ãã¦ããããï¼ç¹å¥ãªæºåã¯å¿
 è¦ãªãï¼
 
-ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®æ§ç¯ã«ã¯ï¼ä»¥ä¸ã®ãã¼ã«ãå¿
-è¦ã§ããï¼
-
-	ãã¹ãã·ã¹ãã ç¨ã®ãã¼ã«ï¼ã»ã«ãéçºç°å¢ï¼
-		C++ã³ã³ãã¤ã©ï¼C++ã©ã¤ãã©ãª
-					åä½ç¢ºèªï¼Mac OS Xç°å¢ï¼ï¼GNU C++ 4.2.1
-		Boost		åä½ç¢ºèªï¼1.52.0
-		GNU Make	åä½ç¢ºèªï¼3.81
-
-æåã«ï¼ããã±ã¼ã¸ã«ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ã½ã¼ã¹ãã¡ã¤ã«ãå«ã¾ãã¦ããªã
-å ´åã«ã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ããã±ã¼ã¸ãï¼ASP3ã«ã¼ãã«ã®ã½ã¼ã¹ãã¡ã¤
-ã«ãå±éãããã£ã¬ã¯ããªã®ä¸ã«å±éããï¼
-
+3.2 TECSã¸ã§ãã¬ã¼ã¿ã®æºå
+
+ã¾ãï¼TOPPERSçµè¾¼ã¿ã³ã³ãã¼ãã³ãã·ã¹ãã ï¼TECSï¼ã®ã¸ã§ãã¬ã¼ã¿ãæºåã
+ãå¿
+è¦ãããï¼TECSã¸ã§ãã¬ã¼ã¿ãï¼ASP3ã«ã¼ãã«ã®ç°¡æããã±ã¼ã¸ã«å«ã¾ã
+ã¦ããå ´åã«ã¯ï¼ãã®ã¹ãããã¯çç¥ãããã¨ãã§ããï¼
+
+TECSã¸ã§ãã¬ã¼ã¿ã¯ï¼TECSã¸ã§ãã¬ã¼ã¿ã®åå¥ããã±ã¼ã¸ã«å«ã¾ãã¦ããï¼
+TECSã¸ã§ãã¬ã¼ã¿ã®åå¥ããã±ã¼ã¸ãä»»æã®å ´æã«å±éãï¼ãã®ä¸ã®tecsgenãã£
+ã¬ã¯ããªãï¼ASP3ã«ã¼ãã«ã®ã½ã¼ã¹ãã¡ã¤ã«ãå±éãããã£ã¬ã¯ããªããã·ã³
+ããªãã¯ãªã³ã¯ãã¯ãï¼ã³ãã¼ãã¦ãããï¼ï¼ã¤ã¾ãï¼ASP3ã«ã¼ãã«ã®ã½ã¼ã¹
+ãã¡ã¤ã«ã®ãã£ã¬ã¯ããªããtecsgen.rbã¸ã®ç¸å¯¾ãã¹ãï¼tecsgen/tecsgen.rb
+ã¨ãªãã°ããï¼ä¸ã®æé ã¯ï¼TECSã¸ã§ãã¬ã¼ã¿ã®ããã±ã¼ã¸ãï¼asp3ã®è¦ªãã£
+ã¬ã¯ããªã«å±éããå ´åã®ä¾ã§ããï¼
+
+	% tar xvfz tecsgen-1.3.1.7.tgz
 	% cd asp3
-	% tar xvfz cfg-1.9.4.tar.gz
-
-ã¾ãã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ããã±ã¼ã¸ãä»ã®ãã£ã¬ã¯ããªã«å±éãï¼ASP3
-ã«ã¼ãã«ã®ã½ã¼ã¹ãã¡ã¤ã«ãå±éãããã£ã¬ã¯ããªããã·ã³ããªãã¯ãªã³ã¯ã
-ã¯ã£ã¦ãããï¼
-
-ã½ã¼ã¹ãã¡ã¤ã«ãå±éã§ããã¨ï¼cfgãã£ã¬ã¯ããªã«ç§»åãï¼ã³ã³ãã£ã®ã¥ã¬ã¼
-ã·ã§ã³ã¹ã¯ãªããï¼configureï¼ã§Makefileã®ç°å¢ä¾å­é¨ï¼Makefile.configï¼
-ãçæããå¾ï¼makeã³ãã³ãã«ããã³ã³ãã£ã®ã¥ã¬ã¼ã¿ï¼cfgãã­ã°ã©ã ï¼ãæ§
-ç¯ã§ããï¼
-
-	% cd cfg
-	% ./configure --without-xml
-	% make depend
-	% make
-
-ãã ãï¼Boostãã¤ã³ã¹ãã¼ã«ãããã£ã¬ã¯ããªããã³åç§°ãæ¨æºã§æ³å®ãã¦ã
-ããã®ã¨ã¯éãå ´åã«ã¯ï¼configureã®--with-headersããã³--with-librariesãª
-ãã·ã§ã³ã«ããï¼ããããã¡ã¤ã«ããã³ã©ã¤ãã©ãªã®ç½®ããããã£ã¬ã¯ããªã
-æå®ããå¿
-è¦ãããï¼--without-xmlã¯ï¼AUTOSAR XMLãã¡ã¤ã«ã®èª­ã¿è¾¼ã¿æ©è½
-ï¼ASP3ã«ã¼ãã«ç¨ã«ã¯å¿
-è¦ãªãï¼ãåãè¾¼ã¾ãªããã¨ãæå®ãããªãã·ã§ã³ã§
-ããï¼AUTOSAR XMLãã¡ã¤ã«ã®èª­ã¿è¾¼ã¿æ©è½ãåãè¾¼ãã«ã¯ï¼Xerces-C++ XML
-Parserãå¿
-è¦ã«ãªãï¼ï¼
-
-ã¾ãï¼ãã¹ãã·ã¹ãã ã«ãã£ã¦ã¯ï¼æé©åã¬ãã«ãä¸ããã¨æ­£ããã³ã³ãã¤ã«
-ã§ããªããã¨ãç¥ããã¦ããï¼ãã®ãããªå ´åã«ã¯ï¼æé©åã¬ãã«ãä¸ãããï¼
-æé©åãææ­¢ããããã«ï¼Makefileãä¿®æ­£ããå¿
-è¦ãããï¼
-
-ãªãï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ä½¿ç¨æ¹æ³ã«ã¤ãã¦ã¯ï¼ãï¼ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿
-ã®ä½¿ãæ¹ãã®ç« ã§èª¬æããï¼
+	% ln -s ../tecsgen/tecsgen .
+	% file tecsgen/tecsgen.rb
+	tecsgen/tecsgen.rb: a ruby script text executable
+
+ä»¥ä¸ã§èª¬æããæ¨æºã®æé ã§ã¯ï¼TECSã¸ã§ãã¬ã¼ã¿ãRubyã¹ã¯ãªããï¼ãã­ã¹
+ããã¡ã¤ã«å½¢å¼ï¼ã®ã¾ã¾å®è¡ãããï¼Windowsç°å¢ã§ã¯ï¼Exerbãç¨ãã¦å®è¡å½¢
+å¼ãã¡ã¤ã«ã«å¤æãã¦å®è¡ããæ¹æ³ãããï¼
+
+TECSã¸ã§ãã¬ã¼ã¿ãä¸è¨ä»¥å¤ã®å ´æã«ç½®ããå ´åãï¼Windowså®è¡å½¢å¼ã®TECSã¸ã§
+ãã¬ã¼ã¿ãç¨ããå ´åã«ã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªããã®-Gãªãã·ã§
+ã³ã§ï¼TECSã¸ã§ãã¬ã¼ã¿ã®ãã¹åãæå®ããã°ããï¼
+
+ãªãï¼TECSã¸ã§ãã¬ã¼ã¿ã®ãã¼ã¸ã§ã³ãç¢ºèªãããå ´åã«ã¯ï¼tecsgenã
+--versionãªãã·ã§ã³ãã¤ãã¦å®è¡ããã°ããï¼
 
 3.3 ãµã³ãã«ãã­ã°ã©ã ã®æ§ç¯ã¨å®è¡
@@ -437,10 +446,10 @@
 ã¯ããªã®ä¸ã®OBJã¨ããåç§°ã®ãã£ã¬ã¯ããªã«ããå ´åã«ã¯ï¼æ¬¡ã®ã³ãã³ããå®
 è¡ããï¼ãã£ã¬ã¯ããªã®å ´æã¨åç§°ã¯ä»»æã«æ±ºãã¦ããï¼ãã ãï¼å ´æãå¤ã
-ãå ´åã«ã¯ï¼configureã®ç¸å¯¾ãã¹ãå¤æ´ãå¿
+ãå ´åã«ã¯ï¼configure.rbã®ç¸å¯¾ãã¹ãå¤æ´ãå¿
 è¦ã§ããï¼ä»¥ä¸åæ§ï¼ï¼
 
 	% mkdir OBJ
 	% cd OBJ
-	% perl ../configure -T <ã¿ã¼ã²ããç¥ç§°>
+	% ruby ../configure.rb -T <ã¿ã¼ã²ããç¥ç§°>
 
 ããã§ï¼<ã¿ã¼ã²ããç¥ç§°>ã¯ï¼targetãã£ã¬ã¯ããªã®ä¸ã«ç½®ããã¦ããã¿ã¼ã²ã
@@ -454,6 +463,6 @@
 ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªããã®å®è¡å¾ï¼å¿
 è¦ã§ããã°Makefileãä¿®æ­£ã
-ãï¼Makefileã®ä¿®æ­£æ¹æ³ã«ã¤ãã¦ã¯ï¼ãï¼ï¼Makefileã®ä¿®æ­£æ¹æ³ãã®ç« ã§èª¬æ
-ããï¼
+ãï¼Makefileã®ä¿®æ­£æ¹æ³ã«ã¤ãã¦ã¯ï¼ãï¼ï¼æ¨æºã®Makefileã®ä¿®æ­£æ¹æ³ãã®ç« 
+ã§èª¬æããï¼
 
 ãã®å¾ï¼makeã³ãã³ãã«ãããµã³ãã«ãã­ã°ã©ã ã®ã­ã¼ãã¢ã¸ã¥ã¼ã«ï¼aspã¾ã
@@ -463,7 +472,8 @@
 
 ããã§æ§ç¯ãããµã³ãã«ãã­ã°ã©ã ï¼sampleãã£ã¬ã¯ããªã®sample1.hï¼
-sample1.cï¼sample1.cfgï¼ã¯ï¼ASP3ã«ã¼ãã«ã®åºæ¬çãªåä½ãç¢ºèªããããã®
-ãã®ã§ããï¼ãã®ãã­ã°ã©ã ã®æ¦è¦èª¬æã¯ï¼sample1.cã®å
-é ­ã®ã³ã¡ã³ãã«ããï¼
+sample1.cï¼sample1.cfgï¼sample1.cdlï¼ã¯ï¼ASP3ã«ã¼ãã«ã®åºæ¬çãªåä½ãç¢º
+èªããããã®ãã®ã§ããï¼ãã®ãã­ã°ã©ã ã®æ¦è¦èª¬æã¯ï¼sample1.cã®å
+é ­ã®ã³
+ã¡ã³ãã«ããï¼
 
 3.4 ã«ã¼ãã«ãé¢æ°åä½ã§ã©ã¤ãã©ãªåããæ¹æ³
@@ -482,5 +492,5 @@
 	% mkdir OBJ
 	% cd OBJ
-	% perl ../configure -T <ã¿ã¼ã²ããç¥ç§°> -f
+	% ruby ../configure.rb -T <ã¿ã¼ã²ããç¥ç§°> -f
 	% make
 
@@ -502,5 +512,5 @@
 	% mkdir KERNEL_LIB
 	% cd KERNEL_LIB
-	% perl ../configure -T <ã¿ã¼ã²ããç¥ç§°> -f
+	% ruby ../configure.rb -T <ã¿ã¼ã²ããç¥ç§°> -f
 	% make libkernel.a
 
@@ -516,5 +526,5 @@
 	% mkdir APL
 	% cd APL
-	% perl ../configure -T <ã¿ã¼ã²ããç¥ç§°> -L ../KERNEL_LIB
+	% ruby ../configure.rb -T <ã¿ã¼ã²ããç¥ç§°> -L ../KERNEL_LIB
 	% make
 
@@ -537,5 +547,5 @@
 	% mkdir OBJ
 	% cd OBJ
-	% perl ../configure -T <ã¿ã¼ã²ããç¥ç§°> -L ../OBJ
+	% ruby ../configure.rb -T <ã¿ã¼ã²ããç¥ç§°> -L ../OBJ
 	% make libkernel.a
 	% make cleankernel
@@ -559,4 +569,5 @@
 	include/		ã¢ããªã±ã¼ã·ã§ã³åãããããã¡ã¤ã«
 	kernel/			ã«ã¼ãã«ã®ã½ã¼ã¹ãã¡ã¤ã«
+	tecs_kernel/	TECSããã«ã¼ãã«ãå¼ã³åºãããã®ã½ã¼ã¹ãã¡ã¤ã«
 	syssvc/			ã·ã¹ãã ãµã¼ãã¹ã®ããããã¡ã¤ã«ï¼ã½ã¼ã¹ãã¡ã¤ã«
 	library/		ãµãã¼ãã©ã¤ãã©ãªã®ã½ã¼ã¹ãã¡ã¤ã«
@@ -566,4 +577,6 @@
 		gcc/		GCCéçºç°å¢ä¾å­é¨
 		logtrace/	ãã¬ã¼ã¹ã­ã°è¨é²ã®ãµã³ãã«ã³ã¼ã
+	cfg/			ã³ã³ãã£ã®ã¥ã¬ã¼ã¿
+		doc/		ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã­ã¥ã¡ã³ã
 	utils/			ã¦ã¼ãã£ãªãã£ãã­ã°ã©ã 
 	sample/			ãµã³ãã«ãã­ã°ã©ã ã¨Makefile
@@ -577,160 +590,214 @@
 
 	README.txt			TOPPERS/ASP3ã«ã¼ãã«ã®ç°¡åãªç´¹ä»
-	configure			ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªããï¼GNUéçºç°å¢ç¨ï¼
+	configure.rb		ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªããï¼GNUéçºç°å¢ç¨ï¼
 	MANIFEST			åå¥ããã±ã¼ã¸ã®ãã¡ã¤ã«ãªã¹ã
 
-	doc/
-		user.txt			ã¦ã¼ã¶ã¼ãºããã¥ã¢ã«
-		asp_spec.txt		TOPPERS/ASP3ã«ã¼ãã«ã®ä»æ§æ¦è¦
-		extension.txt		æ©è½æ¡å¼µã»ãã¥ã¼ãã³ã°ã¬ã¤ã
-		porting.txt			ã¿ã¼ã²ããä¾å­é¨ ãã¼ãã£ã³ã°ã¬ã¤ã
-		configurator.txt	ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ä»æ§
-		design.txt			è¨­è¨ã¡ã¢
-		version.txt			å¤æ´å±¥æ­´
-
-	include/
-		kernel.h		ASP3ã«ã¼ãã«ãä½¿ç¨ããããã®å®ç¾©
-		sil.h			ã·ã¹ãã ã¤ã³ã¿ãã§ã¼ã¹ã¬ã¤ã¤ãä½¿ç¨ããããã®å®ç¾©
-		t_stddef.h		TOPPERSå
+  doc/
+	user.txt			ã¦ã¼ã¶ã¼ãºããã¥ã¢ã«
+	asp_spec.txt		TOPPERS/ASP3ã«ã¼ãã«ã®ä»æ§æ¦è¦
+	migration.txt		TOPPERS/ASP3ã«ã¼ãã«ã¸ã®ãã¤ã°ã¬ã¼ã·ã§ã³ã¬ã¤ã
+	extension.txt		æ©è½æ¡å¼µã»ãã¥ã¼ãã³ã°ã¬ã¤ã
+	porting.txt			ã¿ã¼ã²ããä¾å­é¨ ãã¼ãã£ã³ã°ã¬ã¤ã
+	configurator.txt	ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ä»æ§
+	design.txt			è¨­è¨ã¡ã¢
+	version.txt			å¤æ´å±¥æ­´
+
+  include/
+	kernel.h		ASP3ã«ã¼ãã«ãä½¿ç¨ããããã®å®ç¾©
+	sil.h			ã·ã¹ãã ã¤ã³ã¿ãã§ã¼ã¹ã¬ã¤ã¤ãä½¿ç¨ããããã®å®ç¾©
+	t_stddef.h		TOPPERSå
 ±éããããã¡ã¤ã«
-		itron.h			ITRONä»æ§å
+	itron.h			ITRONä»æ§å
 ±éè¦å®ã®ãã¼ã¿åã»å®æ°ã»ãã¯ã­
-		t_syslog.h		ã·ã¹ãã ã­ã°åºåãè¡ãããã®å®ç¾©
-		t_stdlib.h		åºæ¬çãªã©ã¤ãã©ãªé¢æ°ãä½¿ç¨ããããã®å®ç¾©
-		queue.h			ã­ã¥ã¼æä½ã©ã¤ãã©ãªãä½¿ç¨ããããã®å®ç¾©
-		log_output.h	ã·ã¹ãã ã­ã°ã®ãã©ã¼ãããåºåãä½¿ç¨ããããã®å®ç¾©
-
-	kernel/
-		Makefile.kernel		ã«ã¼ãã«ã®ãã¡ã¤ã«æ§æã®å®ç¾©
-		kernel_impl.h		ã«ã¼ãã«å®è£
+	t_syslog.h		ã·ã¹ãã ã­ã°åºåãè¡ãããã®å®ç¾©
+	t_stdlib.h		åºæ¬çãªã©ã¤ãã©ãªé¢æ°ãä½¿ç¨ããããã®å®ç¾©
+	queue.h			ã­ã¥ã¼æä½ã©ã¤ãã©ãªãä½¿ç¨ããããã®å®ç¾©
+	log_output.h	ã·ã¹ãã ã­ã°ã®ãã©ã¼ãããåºåãä½¿ç¨ããããã®å®ç¾©
+
+  kernel/
+	Makefile.kernel		ã«ã¼ãã«ã®ãã¡ã¤ã«æ§æã®å®ç¾©
+	kernel_impl.h		ã«ã¼ãã«å®è£
 ç¨æ¨æºããããã¡ã¤ã«
-		kernel_int.h		kernel_cfg.cç¨ã®ããããã¡ã¤ã«
-		kernel_rename.def	ã«ã¼ãã«ã®å
+	kernel_int.h		kernel_cfg.cç¨ã®ããããã¡ã¤ã«
+	kernel_rename.def	ã«ã¼ãã«ã®å
 é¨è­å¥åã®ãªãã¼ã å®ç¾©
-		kernel_rename.h		ã«ã¼ãã«ã®å
+	kernel_rename.h		ã«ã¼ãã«ã®å
 é¨è­å¥åã®ãªãã¼ã 
-		kernel_unrename.h	ã«ã¼ãã«ã®å
+	kernel_unrename.h	ã«ã¼ãã«ã®å
 é¨è­å¥åã®ãªãã¼ã è§£é¤	
-		kernel_api.csv		ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®éçAPIãã¼ãã«
-		kernel_def.csv		ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®å¤åå¾ã·ã³ãã«ãã¼ãã«
-		kernel.tf			ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹2ã®ãã³ãã¬ã¼ããã¡ã¤ã«
-		kernel_check.tf		ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹3ã®ãã³ãã¬ã¼ããã¡ã¤ã«
-		genoffset.tf		ãªãã»ãããã¡ã¤ã«çæç¨ã®ãã³ãã¬ã¼ããã¡ã¤ã«
-		allfunc.h		ãã¹ã¦ã®é¢æ°ãã³ã³ãã¤ã«ããããã®å®ç¾©
-		check.h			ã¨ã©ã¼ãã§ãã¯ç¨ãã¯ã­
-		startup.c		ã«ã¼ãã«ã®åæåã¨çµäºå¦ç
-		task.h			ã¿ã¹ã¯ç®¡çã¢ã¸ã¥ã¼ã«é¢é£ã®å®ç¾©
-		task.c			ã¿ã¹ã¯ç®¡çã¢ã¸ã¥ã¼ã«
-		task.tf			ã¿ã¹ã¯ç®¡çã¢ã¸ã¥ã¼ã«ã®ãã³ãã¬ã¼ããã¡ã¤ã«
-		taskhook.h		ã¿ã¹ã¯ç®¡çã«é¢é£ããããã¯ã«ã¼ãã³é¢é£ã®å®ç¾©
-		taskhook.c		ã¿ã¹ã¯ç®¡çã«é¢é£ããããã¯ã«ã¼ãã³
-		wait.h			å¾
+	kernel_api.def		ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®éçAPIãã¼ãã«
+	kernel_sym.def		ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®å¤åå¾ã·ã³ãã«ãã¼ãã«
+	kernel.trb			ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹2ã®çæã¹ã¯ãªãã
+	kernel_check.trb	ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹3ã®çæã¹ã¯ãªãã
+	genoffset.trb		ãªãã»ãããã¡ã¤ã«çæç¨ã®çæã¹ã¯ãªãã
+	allfunc.h			ãã¹ã¦ã®é¢æ°ãã³ã³ãã¤ã«ããããã®å®ç¾©
+	check.h				ã¨ã©ã¼ãã§ãã¯ç¨ãã¯ã­
+	startup.c			ã«ã¼ãã«ã®åæåã¨çµäºå¦ç
+	task.h				ã¿ã¹ã¯ç®¡çã¢ã¸ã¥ã¼ã«é¢é£ã®å®ç¾©
+	task.c				ã¿ã¹ã¯ç®¡çã¢ã¸ã¥ã¼ã«
+	task.trb			ã¿ã¹ã¯ç®¡çã¢ã¸ã¥ã¼ã«ã®çæã¹ã¯ãªãã
+	taskhook.h			ã¿ã¹ã¯ç®¡çã«é¢é£ããããã¯ã«ã¼ãã³é¢é£ã®å®ç¾©
+	taskhook.c			ã¿ã¹ã¯ç®¡çã«é¢é£ããããã¯ã«ã¼ãã³
+	wait.h				å¾
 ã¡ç¶æ
 ç®¡çã¢ã¸ã¥ã¼ã«é¢é£ã®å®ç¾©
-		wait.c			å¾
+	wait.c				å¾
 ã¡ç¶æ
 ç®¡çã¢ã¸ã¥ã¼ã«
-		time_event.h	ã¿ã¤ã ã¤ãã³ãç®¡çã¢ã¸ã¥ã¼ã«é¢é£ã®å®ç¾©
-		time_event.c	ã¿ã¤ã ã¤ãã³ãç®¡çã¢ã¸ã¥ã¼ã«
-		task_manage.c	ã¿ã¹ã¯ç®¡çæ©è½
-		task_refer.c	ã¿ã¹ã¯ã®ç¶æ
+	time_event.h		ã¿ã¤ã ã¤ãã³ãç®¡çã¢ã¸ã¥ã¼ã«é¢é£ã®å®ç¾©
+	time_event.c		ã¿ã¤ã ã¤ãã³ãç®¡çã¢ã¸ã¥ã¼ã«
+	task_manage.c		ã¿ã¹ã¯ç®¡çæ©è½
+	task_refer.c		ã¿ã¹ã¯ã®ç¶æ
 åç
 §æ©è½
-		task_sync.c		ã¿ã¹ã¯ä»å±åææ©è½
-		task_term.c		ã¿ã¹ã¯çµäºæ©è½
-		semaphore.h		ã»ããã©æ©è½é¢é£ã®å®ç¾©
-		semaphore.c		ã»ããã©æ©è½
-		semaphore.tf	ã»ããã©æ©è½ã®ãã³ãã¬ã¼ããã¡ã¤ã«
-		eventflag.h		ã¤ãã³ããã©ã°æ©è½é¢é£ã®å®ç¾©
-		eventflag.c		ã¤ãã³ããã©ã°æ©è½
-		eventflag.tf	ã¤ãã³ããã©ã°æ©è½ã®ãã³ãã¬ã¼ããã¡ã¤ã«
-		dataqueue.h		ãã¼ã¿ã­ã¥ã¼æ©è½é¢é£ã®å®ç¾©
-		dataqueue.c		ãã¼ã¿ã­ã¥ã¼æ©è½
-		dataqueue.tf	ãã¼ã¿ã­ã¥ã¼æ©è½ã®ãã³ãã¬ã¼ããã¡ã¤ã«
-		pridataq.h		åªå
+	task_sync.c			ã¿ã¹ã¯ä»å±åææ©è½
+	task_term.c			ã¿ã¹ã¯çµäºæ©è½
+	semaphore.h			ã»ããã©æ©è½é¢é£ã®å®ç¾©
+	semaphore.c			ã»ããã©æ©è½
+	semaphore.trb		ã»ããã©æ©è½ã®çæã¹ã¯ãªãã
+	eventflag.h			ã¤ãã³ããã©ã°æ©è½é¢é£ã®å®ç¾©
+	eventflag.c			ã¤ãã³ããã©ã°æ©è½
+	eventflag.trb		ã¤ãã³ããã©ã°æ©è½ã®çæã¹ã¯ãªãã
+	dataqueue.h			ãã¼ã¿ã­ã¥ã¼æ©è½é¢é£ã®å®ç¾©
+	dataqueue.c			ãã¼ã¿ã­ã¥ã¼æ©è½
+	dataqueue.trb		ãã¼ã¿ã­ã¥ã¼æ©è½ã®çæã¹ã¯ãªãã
+	pridataq.h			åªå
 åº¦ãã¼ã¿ã­ã¥ã¼æ©è½é¢é£ã®å®ç¾©
-		pridataq.c		åªå
+	pridataq.c			åªå
 åº¦ãã¼ã¿ã­ã¥ã¼æ©è½
-		pridataq.tf		åªå
-åº¦ãã¼ã¿ã­ã¥ã¼æ©è½ã®ãã³ãã¬ã¼ããã¡ã¤ã«
-		mempfix.h		åºå®é·ã¡ã¢ãªãã¼ã«æ©è½é¢é£ã®å®ç¾©
-		mempfix.c		åºå®é·ã¡ã¢ãªãã¼ã«æ©è½
-		mempfix.tf		åºå®é·ã¡ã¢ãªãã¼ã«æ©è½ã®ãã³ãã¬ã¼ããã¡ã¤ã«
-		mutex.h			ãã¥ã¼ããã¯ã¹æ©è½é¢é£ã®å®ç¾©
-		mutex.c			ãã¥ã¼ããã¯ã¹æ©è½
-		mutex.tf		ãã¥ã¼ããã¯ã¹æ©è½ã®ãã³ãã¬ã¼ããã¡ã¤ã«
-		time_manage.c	ã·ã¹ãã æå»ç®¡çæ©è½
-		cyclic.h		å¨æéç¥æ©è½é¢é£ã®å®ç¾©
-		cyclic.c		å¨æéç¥æ©è½
-		cyclic.tf		å¨æéç¥æ©è½ã®ãã³ãã¬ã¼ããã¡ã¤ã«
-		alarm.h			ã¢ã©ã¼ã éç¥æ©è½é¢é£ã®å®ç¾©
-		alarm.c			ã¢ã©ã¼ã éç¥æ©è½
-		alarm.tf		ã¢ã©ã¼ã éç¥æ©è½ã®ãã³ãã¬ã¼ããã¡ã¤ã«
-		sys_manage.c	ã·ã¹ãã ç¶æ
+	pridataq.trb		åªå
+åº¦ãã¼ã¿ã­ã¥ã¼æ©è½ã®çæã¹ã¯ãªãã
+	mutex.h				ãã¥ã¼ããã¯ã¹æ©è½é¢é£ã®å®ç¾©
+	mutex.c				ãã¥ã¼ããã¯ã¹æ©è½
+	mutex.trb			ãã¥ã¼ããã¯ã¹æ©è½ã®çæã¹ã¯ãªãã
+	mempfix.h			åºå®é·ã¡ã¢ãªãã¼ã«æ©è½é¢é£ã®å®ç¾©
+	mempfix.c			åºå®é·ã¡ã¢ãªãã¼ã«æ©è½
+	mempfix.trb			åºå®é·ã¡ã¢ãªãã¼ã«æ©è½ã®çæã¹ã¯ãªãã
+	time_manage.c		ã·ã¹ãã æå»ç®¡çæ©è½
+	cyclic.h			å¨æéç¥æ©è½é¢é£ã®å®ç¾©
+	cyclic.c			å¨æéç¥æ©è½
+	cyclic.trb			å¨æéç¥æ©è½ã®çæã¹ã¯ãªãã
+	alarm.h				ã¢ã©ã¼ã éç¥æ©è½é¢é£ã®å®ç¾©
+	alarm.c				ã¢ã©ã¼ã éç¥æ©è½
+	alarm.trb			ã¢ã©ã¼ã éç¥æ©è½ã®çæã¹ã¯ãªãã
+	sys_manage.c		ã·ã¹ãã ç¶æ
 ç®¡çæ©è½
-		interrupt.h		å²è¾¼ã¿ç®¡çæ©è½é¢é£ã®å®ç¾©
-		interrupt.c		å²è¾¼ã¿ç®¡çæ©è½
-		interrupt.tf	å²è¾¼ã¿ç®¡çæ©è½ã®ãã³ãã¬ã¼ããã¡ã¤ã«
-		exception.h		CPUä¾å¤ç®¡çæ©è½é¢é£ã®å®ç¾©
-		exception.c		CPUä¾å¤ç®¡çæ©è½
-		exception.tf	CPUä¾å¤ç®¡çæ©è½ã®ãã³ãã¬ã¼ããã¡ã¤ã«
-
-	syssvc/
-		banner.h		ã«ã¼ãã«èµ·åã¡ãã»ã¼ã¸ã®åºåã®ããã®å®ç¾©
-		banner.c		ã«ã¼ãã«èµ·åã¡ãã»ã¼ã¸ã®åºå
-		banner.cfg		ã«ã¼ãã«èµ·åã¡ãã»ã¼ã¸ã®åºåã®ã³ã³ãã£ã®ã¥ã¬ã¼
-						ã·ã§ã³ãã¡ã¤ã«
-		histogram.h		å®è¡æéåå¸éè¨ãµã¼ãã¹ãä½¿ç¨ããããã®å®ç¾©
-		histogram.c		å®è¡æéåå¸éè¨ãµã¼ãã¹
-		logtask.h		ã·ã¹ãã ã­ã°ã¿ã¹ã¯ãä½¿ç¨ããããã®å®ç¾©
-		logtask.c		ã·ã¹ãã ã­ã°ã¿ã¹ã¯
-		logtask.cfg		ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«
-		serial.h		ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ããä½¿ç¨ããããã®å®ç¾©
-		serial.c		ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ã
-		serial.cfg		ã·ãªã¢ã«ãã©ã¤ãã®ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«
-		syslog.h		ã·ã¹ãã ã­ã°æ©è½ãä½¿ç¨ããããã®å®ç¾©
-		syslog.c		ã·ã¹ãã ã­ã°æ©è½
-		syslog.cfg		ã·ã¹ãã ã­ã°æ©è½ã®ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«
-		test_svc.h		ãã¹ããã­ã°ã©ã ç¨ãµã¼ãã¹ãä½¿ç¨ããããã®å®ç¾©
-		test_svc.c		ãã¹ããã­ã°ã©ã ç¨ãµã¼ãã¹
-
-	library/
-		log_output.c	ã·ã¹ãã ã­ã°ã®ãã©ã¼ãããåºå
-		strerror.c		ã¨ã©ã¼ã¡ãã»ã¼ã¸æå­åãè¿ãé¢æ°
-		t_perror.c		ã¨ã©ã¼ã¡ãã»ã¼ã¸ã®åºå
-		vasyslog.c		å¯å¤æ°å¼æ°ã®ã·ã¹ãã ã­ã°ã©ã¤ãã©ãª
-
-	arch/gcc/
-		tool_stddef.h	t_stddef.hã®éçºç°å¢ä¾å­é¨ï¼GCCç¨ï¼
-
-	arch/logtrace/
-		trace_config.h	ãã¬ã¼ã¹ã­ã°ã«é¢ããè¨­å®
-		trace_config.c	ãã¬ã¼ã¹ã­ã°æ©è½
-		trace_config.cfg ãã¬ã¼ã¹ã­ã°æ©è½ãçµã¿è¾¼ãããã®ã³ã³ãã£ã®ã¥
-						ã¬ã¼ã·ã§ã³ãã¡ã¤ã«
-		trace_dump.c	ãã¬ã¼ã¹ã­ã°ã®ãã³ã
-
-	utils/
-		applyrename		ãã¡ã¤ã«ã«ãªãã¼ã ãé©ç¨
-		genrename		ãªãã¼ã ããããã¡ã¤ã«ã®çæ
-		gentest			ãã¹ããã­ã°ã©ã ã®çæ
-		makerelease		é
+	interrupt.h			å²è¾¼ã¿ç®¡çæ©è½é¢é£ã®å®ç¾©
+	interrupt.c			å²è¾¼ã¿ç®¡çæ©è½
+	interrupt.trb		å²è¾¼ã¿ç®¡çæ©è½ã®çæã¹ã¯ãªãã
+	exception.h			CPUä¾å¤ç®¡çæ©è½é¢é£ã®å®ç¾©
+	exception.c			CPUä¾å¤ç®¡çæ©è½
+	exception.trb		CPUä¾å¤ç®¡çæ©è½ã®çæã¹ã¯ãªãã
+
+  tecs_kernel/
+	kernel.cdl						ã«ã¼ãã«ãªãã¸ã§ã¯ãã®ã³ã³ãã¼ãã³ã
+									è¨è¿°ãã¡ã¤ã«
+	tecs_kernel.h					ã«ã¼ãã«ãªãã¸ã§ã¯ãã®ã³ã³ãã¼ãã³ã
+									åã®ããã®ããããã¡ã¤ã«
+	init_tecs.c						TECSã®åæåå¦ç
+	tKernel_inline.h				ã«ã¼ãã«æä½ã®ã¤ã³ã©ã¤ã³é¢æ°
+	tTask.c							ã¿ã¹ã¯æä½
+	tTask_inline.h					ã¿ã¹ã¯æä½ã®ã¤ã³ã©ã¤ã³é¢æ°
+	tSemaphore_inline.h				ã»ããã©æä½ã®ã¤ã³ã©ã¤ã³é¢æ°
+	tEventflag_inline.h				ã¤ãã³ããã©ã°æä½ã®ã¤ã³ã©ã¤ã³é¢æ°
+	tDataqueue_inline.h				ãã¼ã¿ã­ã¥ã¼æä½ã®ã¤ã³ã©ã¤ã³é¢æ°
+	tPriorityDataqueue_inline.h		åªå
+åº¦ãã¼ã¿ã­ã¥ã¼æä½ã®ã¤ã³ã©ã¤ã³é¢æ°
+	tFixedSizeMemoryPool_inline.h	åºå®é·ã¡ã¢ãªãã¼ã«æä½ã®ã¤ã³ã©ã¤ã³é¢æ°
+	tMutex_inline.h					ãã¥ã¼ããã¯ã¹æä½ã®ã¤ã³ã©ã¤ã³é¢æ°
+	tCyclicNotifier.c				å¨æéç¥æä½
+	tCyclicNotifier_inline.h		å¨æéç¥æä½ã®ã¤ã³ã©ã¤ã³é¢æ°
+	tAlarmNotifier.c				ã¢ã©ã¼ã éç¥æä½
+	tAlarmNotifier_inline.h			ã¢ã©ã¼ã éç¥æä½ã®ã¤ã³ã©ã¤ã³é¢æ°
+	tInterruptRequest_inline.h		å²è¾¼ã¿è¦æ±ã©ã¤ã³æä½ã®ã¤ã³ã©ã¤ã³é¢æ°
+	tISR.c							å²è¾¼ã¿ãµã¼ãã¹ã«ã¼ãã³æä½
+	tInterruptHandler.c				å²è¾¼ã¿ãã³ãã©æä½
+	tCpuExceptionHandler.c			CPUä¾å¤ç®¡çæä½
+	tInitializeRoutine.c			åæåã«ã¼ãã³æä½
+	tTerminateRoutine.c				çµäºå¦çã«ã¼ãã³æä½
+
+  syssvc/
+	syslog.h				ã·ã¹ãã ã­ã°æ©è½ãä½¿ç¨ããããã®å®ç¾©
+	tSysLog.cdl				ã·ã¹ãã ã­ã°æ©è½ã®ã³ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«
+	tSysLog.c				ã·ã¹ãã ã­ã°æ©è½
+	tSysLogAdapter.cdl		ã·ã¹ãã ã­ã°æ©è½ã®ã¢ããã¿ã®ã³ã³ãã¼ãã³ãè¨
+							è¿°ãã¡ã¤ã«
+	tSysLogAdapter.c		ã·ã¹ãã ã­ã°æ©è½ã®ã¢ããã¿
+	serial.h				ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ããä½¿ç¨ãããã
+							ã®å®ç¾©
+	tSerialPort.cdl			ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ã³ã³ãã¼ãã³
+							ãè¨è¿°ãã¡ã¤ã«
+	tSerialPortMain.c		ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®æ¬ä½
+	tSerialAdapter.cdl		ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ã¢ããã¿ã®ã³
+							ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«
+	tSerialAdapter.c		ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ã¢ããã¿
+	tLogTask.cdl			ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®ã³ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«
+	tLogTaskMain.c			ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®æ¬ä½
+	test_svc.h				ãã¹ããã­ã°ã©ã ç¨ãµã¼ãã¹ãä½¿ç¨ããããã®å®ç¾©
+	tTestService.cdl		ãã¹ããã­ã°ã©ã ç¨ãµã¼ãã¹ã®ã³ã³ãã¼ãã³ãè¨
+							è¿°ãã¡ã¤ã«
+	tTestService.c			ãã¹ããã­ã°ã©ã ç¨ãµã¼ãã¹
+	histogram.h				å®è¡æéåå¸éè¨ãµã¼ãã¹ãä½¿ç¨ããããã®å®ç¾©
+	tHistogram.cdl			å®è¡æéåå¸éè¨ãµã¼ãã¹ã®ã³ã³ãã¼ãã³ãè¨è¿°
+							ãã¡ã¤ã«
+	tHistogram.h			å®è¡æéåå¸éè¨ãµã¼ãã¹ã®ããããã¡ã¤ã«
+	tHistogram.c			å®è¡æéåå¸éè¨ãµã¼ãã¹
+	tHistogramAdapter.cdl	å®è¡æéåå¸éè¨ãµã¼ãã¹ã®ã¢ããã¿ã®ã³ã³ãã¼
+							ãã³ãè¨è¿°ãã¡ã¤ã«
+	tHistogramAdapter.c		å®è¡æéåå¸éè¨ãµã¼ãã¹ã®ã¢ããã¿
+	tBanner.cdl				ã«ã¼ãã«èµ·åã¡ãã»ã¼ã¸åºåã®ã³ã³ãã¼ãã³ãè¨
+							è¿°ãã¡ã¤ã«
+	tBannerMain.c			ã«ã¼ãã«èµ·åã¡ãã»ã¼ã¸åºåã®æ¬ä½
+
+  library/
+	log_output.c		ã·ã¹ãã ã­ã°ã®ãã©ã¼ãããåºå
+	strerror.c			ã¨ã©ã¼ã¡ãã»ã¼ã¸æå­åãè¿ãé¢æ°
+	t_perror.c			ã¨ã©ã¼ã¡ãã»ã¼ã¸ã®åºå
+	vasyslog.c			å¯å¤æ°å¼æ°ã®ã·ã¹ãã ã­ã°ã©ã¤ãã©ãª
+
+  arch/gcc/
+	tool_stddef.h		t_stddef.hã®éçºç°å¢ä¾å­é¨ï¼GCCç¨ï¼
+
+  arch/tracelog/
+	trace_log.h			ãã¬ã¼ã¹ã­ã°ã«é¢ããè¨­å®
+	tTraceLog.cdl		ãã¬ã¼ã¹ã­ã°æ©è½ã®ã³ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«
+	tTraceLog.c			ãã¬ã¼ã¹ã­ã°æ©è½
+
+  cfg/
+	MANIFEST			åå¥ããã±ã¼ã¸ã®ãã¡ã¤ã«ãªã¹ã
+	cfg.rb				ã³ã³ãã£ã®ã¥ã¬ã¼ã¿æ¬ä½
+	pass1.rb			ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹1ã®å¦ç
+	pass2.rb			ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹2ã®å¦ç
+	GenFile.rb			GenFileã¯ã©ã¹ã®å®ç¾©
+	SRecord.rb			SRecordã¯ã©ã¹ã®å®ç¾©
+
+  cfg/doc/
+	cfg_user.txt		ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ ã¦ã¼ã¶ã¼ãºããã¥ã¢ã«
+
+  utils/
+	applyrename.rb		ãã¡ã¤ã«ã«ãªãã¼ã ãé©ç¨
+	genrename.rb		ãªãã¼ã ããããã¡ã¤ã«ã®çæ
+	gentest.rb			ãã¹ããã­ã°ã©ã ã®çæ
+	makerelease.rb		é
 å¸ããã±ã¼ã¸ã®çæ
-		move-if-change	å
-å®¹ã«æ´æ°ããã£ãå ´åã®ãã¡ã¤ã«ã®ç½®æ
-
-	sample/
-		Makefile		ãµã³ãã«ã®Makefileï¼GNUéçºç°å¢ç¨ï¼
-		sample1.h		ãµã³ãã«ãã­ã°ã©ã (1)ã«é¢ããå®ç¾©
-		sample1.c		ãµã³ãã«ãã­ã°ã©ã (1)
-		sample1.cfg		ãµã³ãã«ãã­ã°ã©ã (1)ã®ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«
+
+  sample/
+	Makefile			æ¨æºã®Makefileï¼GNUéçºç°å¢ç¨ï¼ã®ãã³ãã¬ã¼ã
+	sample1.h			ãµã³ãã«ãã­ã°ã©ã (1)ã«é¢ããå®ç¾©
+	sample1.c			ãµã³ãã«ãã­ã°ã©ã (1)
+	sample1.cfg			ãµã³ãã«ãã­ã°ã©ã (1)ã®ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«
+	sample1.cdl			ãµã³ãã«ãã­ã°ã©ã (1)ã®ã³ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«
+	tSample2.h			ãµã³ãã«ãã­ã°ã©ã (2)ã«é¢ããå®ç¾©
+	tSample2.c			ãµã³ãã«ãã­ã°ã©ã (2)
+	tSample2.cfg		ãµã³ãã«ãã­ã°ã©ã (2)ã®ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«
+	tSample2.cdl		ãµã³ãã«ãã­ã°ã©ã (2)ã®ã³ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«
 
 
 ï¼ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªããã®ä½¿ãæ¹
 
-ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªããï¼configureï¼ã¯ï¼ASP3ã«ã¼ãã«ããã³ã¢ã
-ãªã±ã¼ã·ã§ã³ãã­ã°ã©ã ãæ§ç¯ããããã«å¿
-è¦ãªåºæ¬çãªã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§
-ã³ãè¡ãããã®ãã­ã°ã©ã ã§ããï¼
+ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªããï¼configure.rbï¼ã¯ï¼ASP3ã«ã¼ãã«ããã³
+ã¢ããªã±ã¼ã·ã§ã³ãã­ã°ã©ã ãæ§ç¯ããããã«å¿
+è¦ãªåºæ¬çãªã³ã³ãã£ã®ã¥ã¬ã¼
+ã·ã§ã³ãè¡ãããã®ãã­ã°ã©ã ã§ããï¼
 
 ASP3ã«ã¼ãã«ãç¨ãã¦ã¢ããªã±ã¼ã·ã§ã³ãä½æããå ´åã«ã¯ï¼ã¾ããªãã¸ã§ã¯
@@ -750,6 +817,6 @@
 		åãæå®ããï¼çç¥ããå ´åã«ã¯ï¼sampleãã£ã¬ã¯ããªï¼ASP3ã«ã¼ã
 		ã«ã®ã½ã¼ã¹ãã¡ã¤ã«ãç½®ãããã£ã¬ã¯ããªã®ä¸ã®"sample"ï¼ã¨ãªãï¼
-		""ã§å²ããã¨ã«ãã£ã¦ï¼è¤æ°ã®ãã£ã¬ã¯ããªãæå®ãããã¨ãå¯è½ã§
-		ããï¼
+		ãã®ãªãã·ã§ã³ãè¤æ°è¨è¿°ãããï¼""ã§å²ããã¨ã«ãã£ã¦ï¼è¤æ°ã®ãã£
+		ã¬ã¯ããªãæå®ãããã¨ãå¯è½ã§ããï¼
 
 	-A <ã¢ããªã±ã¼ã·ã§ã³ãã­ã°ã©ã å>
@@ -778,10 +845,11 @@
 		ãªã±ã¼ã·ã§ã³ãã­ã°ã©ã åã«".o"ãä»å ãããã®ï¼ä»¥å¤ã«ï¼ãªã³ã¯ã
 		ã¹ããªãã¸ã§ã¯ããã¡ã¤ã«ã®åç§°ãï¼".o"ãä»å ããå½¢ã§æå®ããï¼
-		""ã§å²ããã¨ã«ãã£ã¦ï¼è¤æ°ã®ãã¡ã¤ã«ãæå®ãããã¨ãå¯è½ã§ããï¼
+		ãã®ãªãã·ã§ã³ãè¤æ°è¨è¿°ãããï¼""ã§å²ããã¨ã«ãã£ã¦ï¼è¤æ°ã®ãã¡
+		ã¤ã«ãæå®ãããã¨ãå¯è½ã§ããï¼
 
 	-S <ãªãã¸ã§ã¯ããã¡ã¤ã«å>
 		ã·ã¹ãã ãµã¼ãã¹ã®ãªãã¸ã§ã¯ããã¡ã¤ã«ã®åç§°ãï¼".o"ãä»å ãã
-		å½¢ã§æå®ããï¼""ã§å²ããã¨ã«ãã£ã¦ï¼è¤æ°ã®ãã¡ã¤ã«ãæå®ããã
-		ã¨ãå¯è½ã§ããï¼
+		å½¢ã§æå®ããï¼ãã®ãªãã·ã§ã³ãè¤æ°è¨è¿°ãããï¼""ã§å²ããã¨ã«ãã£
+		ã¦ï¼è¤æ°ã®ãã¡ã¤ã«ãæå®ãããã¨ãå¯è½ã§ããï¼
 
 	-L <ã«ã¼ãã«ã©ã¤ãã©ãªã®ãã£ã¬ã¯ããªå>
@@ -802,5 +870,5 @@
 	-D <ASP3ã«ã¼ãã«ã®ã½ã¼ã¹ãã£ã¬ã¯ããªå>
 		ASP3ã«ã¼ãã«ã®ã½ã¼ã¹ãã¡ã¤ã«ãç½®ãããã£ã¬ã¯ããªåãæå®ããï¼
-		çç¥ããå ´åã«ã¯ï¼configureã®ç½®ããã¦ãããã£ã¬ã¯ããªã¨ãªãï¼
+		çç¥ããå ´åã«ã¯ï¼configure.rbã®ç½®ããã¦ãããã£ã¬ã¯ããªã¨ãªãï¼
 
 	-l <ãã­ã°ã©ãã³ã°è¨èª>
@@ -829,11 +897,10 @@
 		ã³ãã¤ã©ç­ï¼ãçµ¶å¯¾ãã¹ã§æå®ããå ´åã«ç¨ããï¼
 
-	-p <perlã®ãã¹å>
-		perlã®ãã¹åãæå®ããï¼çç¥ããå ´åã«ã¯ï¼åã«"perl"ã¨ãªãï¼
+	-R <rubyã®ãã¹å>
+		rubyã®ãã¹åãæå®ããï¼çç¥ããå ´åã«ã¯ï¼åã«"ruby"ã¨ãªãï¼
 
 	-g <ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹å>
 		ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ï¼cfgï¼ã®ãã¹åãæå®ããï¼çç¥ããå ´åã«ã¯ï¼
-		ããã©ã«ãã®ãã¹åï¼ASP3ã«ã¼ãã«ã®ã½ã¼ã¹ãã£ã¬ã¯ããªã®ä¸ã®
-		cfg/cfg/cfgï¼ã¨ãªãï¼
+		"ruby $(SRCDIR)/cfg/cfg.rb"ã¨ãªãï¼
 
 	-G <TECSã¸ã§ãã¬ã¼ã¿ã®ãã¹å>
@@ -841,26 +908,27 @@
 		ã¯ï¼"ruby $(SRCDIR)/tecsgen/tecsgen.rb"ã¨ãªãï¼
 
-	-P <ãã­ã»ããµæ°>
-		ãã«ããã­ã»ããµå¯¾å¿ã«ã¼ãã«ã®å ´åã«ï¼ãã­ã»ããµãæå®ããï¼
-
 	-o <ãªãã·ã§ã³æå­å>
 		ã³ã³ãã¤ã©ã«ä¸ãããªãã·ã§ã³æå­åã§ï¼ã·ã³ãã«å®ç¾©ä»¥å¤ã®ãã®ï¼
-		ã·ã³ãã«å®ç¾©ã®ãªãã·ã§ã³ã¯ï¼-Oãªãã·ã§ã³ãä½¿ç¨ããï¼ãªãã·ã§ã³
-		æå­åã«ã¹ãã¼ã¹ãå«ã¾ããå ´åã«ã¯ï¼"-O2 -Wall"ã®ããã«ï¼""ã§å²
-		ãã§è¨è¿°ããå¿
+		ã·ã³ãã«å®ç¾©ã®ãªãã·ã§ã³ã¯ï¼-Oãªãã·ã§ã³ã§æå®ããï¼ãªãã·ã§ã³
+		æå­åã«ã¹ãã¼ã¹ãå«ã¾ããå ´åã«ã¯ï¼ãã®ãªãã·ã§ã³ãè¤æ°è¨è¿°ã
+		ããï¼"-O2 -Wall"ã®ããã«ï¼""ã§å²ãã§è¨è¿°ããå¿
 è¦ãããï¼
 
 	-O <ãªãã·ã§ã³æå­å>
 		ã³ã³ãã¤ã©ã«ä¸ããã·ã³ãã«å®ç¾©ã®ããã®ãªãã·ã§ã³æå­åï¼ãªãã·ã§
-		ã³æå­åã«ã¹ãã¼ã¹ãå«ã¾ããå ´åã«ã¯ï¼"-DTEST -DPERF"ã®ããã«ï¼
-		""ã§å²ãã§è¨è¿°ããå¿
+		ã³æå­åã«ã¹ãã¼ã¹ãå«ã¾ããå ´åã«ã¯ï¼ãã®ãªãã·ã§ã³ãè¤æ°è¨è¿°
+		ãããï¼"-DTEST -DPERF"ã®ããã«ï¼""ã§å²ãã§è¨è¿°ããå¿
 è¦ãããï¼
 
 	-k <ãªãã·ã§ã³æå­å>
 		ãªã³ã«ã«ä¸ãããªãã·ã§ã³æå­åï¼ãªãã·ã§ã³æå­åã«ã¹ãã¼ã¹ãå«
-		ã¾ããå ´åã«ã¯ï¼""ã§å²ãã§è¨è¿°ããå¿
+		ã¾ããå ´åã«ã¯ï¼ãã®ãªãã·ã§ã³ãè¤æ°è¨è¿°ãããï¼""ã§å²ãã§è¨è¿°
+		ããå¿
 è¦ãããï¼
 
-ãªãï¼åä¸ã®ãªãã·ã§ã³ãè¤æ°æå®ãã¦ã¯ãªããªãï¼
+ã¾ãï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªããã«å¯¾ãããã©ã¡ã¼ã¿ã«ããï¼è¿½å ã®
+å®ç¾©ãè¡ããã¨ãã§ããï¼ä¾ãã°ï¼ãã«ããã­ã»ããµå¯¾å¿ã«ã¼ãã«ã§ãã­ã»ã
+ãµæ°ãæå®ããå ´åã«ã¯ï¼ãPRC_NUM=<ãã­ã»ããµæ°>ãããã©ã¡ã¼ã¿ã«æå®ã
+ãï¼
 
 ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªãããè¡ãå¦çã¯æ¬¡ã®éãã§ããï¼
@@ -883,5 +951,5 @@
 
 
-ï¼ï¼Makefileã®ä¿®æ­£æ¹æ³
+ï¼ï¼æ¨æºã®Makefileã®ä¿®æ­£æ¹æ³
 
 åã®ç« ã§èª¬æããããã«ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªããã«ä¸ãããªãã·ã§
@@ -942,6 +1010,6 @@
 APPL_ASMOBJSï¼APPL_COBJSï¼APPL_CXXOBJSã«åæããï¼ãã®å
 ï¼APPL_COBJSã
-APPL_CXXOBJSã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªããã®-Aãªãã·ã§ã³ã§è¨­å®ã
-ãï¼-Uãªãã·ã§ã³ã§è¿½å è¨­å®ãããã¨ãã§ããï¼
+APPL_CXXOBJSã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªããã®-Aãªãã·ã§ã³ã§è¨­å®ãï¼
+-Uãªãã·ã§ã³ã§è¿½å è¨­å®ãããã¨ãã§ããï¼
 
 (E) ã¢ããªã±ã¼ã·ã§ã³ã®ã³ã³ãã¤ã«ãªãã·ã§ã³
@@ -975,10 +1043,11 @@
 (I) ã¿ã¼ã²ãããã¡ã¤ã«ã®å®ç¾©
 
-ã¿ã¼ã²ãã"all"ã®ä¾å­ãã¡ã¤ã«ã¨ãã¦ï¼ã­ã¼ãã¢ã¸ã¥ã¼ã«ã®å½¢å¼ãæå®ããï¼
-å
-·ä½çã«ã¯ï¼ELFå½¢å¼ã®æã¯$(OBJFILE)ï¼ãã¤ããªå½¢å¼ã®æã¯$(OBJNAME).binï¼
-ã¢ãã­ã¼ã© Så½¢å¼ã®æã¯$(OBJNAME).srecãæå®ããï¼$(OBJFILE)ã¯ï¼OBJEXTã
-å®ç¾©ããå ´åã«ã¯$(OBJNAME).$(OBJEXT)ï¼ããã§ãªãå ´åã«ã¯$(OBJNAME)ã¨ãª
-ãï¼
+make allã«ããï¼ELFå½¢å¼ä»¥å¤ã®ã­ã¼ãã¢ã¸ã¥ã¼ã«ãä½ãããå ´åã«ã¯ï¼ä½ãã
+ãã­ã¼ãã¢ã¸ã¥ã¼ã«ã®å½¢å¼ãï¼allã«å¯¾ãã$(MAKE)ã³ãã³ãã®ãã©ã¡ã¼ã¿ã¾ã
+ã¯ä¾å­é¢ä¿ã«è¿½å æå®ããï¼å
+·ä½çã«ã¯ï¼ãã¤ããªå½¢å¼ã®æã¯$(OBJNAME).binï¼
+ã¢ãã­ã¼ã© Så½¢å¼ã®æã¯$(OBJNAME).srecãè¿½å æå®ããï¼ãªãï¼$(OBJFILE)ã¯ï¼
+OBJEXTãå®ç¾©ããå ´åã«ã¯$(OBJNAME).$(OBJEXT)ï¼ããã§ãªãå ´åã«ã¯
+$(OBJNAME)ã¨ãªãï¼
 
 6.2 ã³ã³ãã¤ã«ãªãã·ã§ã³
@@ -988,4 +1057,10 @@
 ãã«ã®ãããã°ãçµäºããã°ï¼-DNDEBUGãæå®ãã¦ã³ã³ãã¤ã«ããæ¹ãå¹çã
 ãããªãï¼
+
+ASP3ã«ã¼ãã«ã¯ï¼æ¨æºCã©ã¤ãã©ãªãä½¿ç¨ããã«è¨è¿°ãã¦ãããï¼ã¢ããªã±ã¼ã·ã§
+ã³ã§æ¨æºCã©ã¤ãã©ãªãä½¿ç¨ããå ´åã«ã¯ï¼ã«ã¼ãã«ãæ¨æºCã©ã¤ãã©ãªãä½¿ã£
+ãæ¹ãå¹çãè¯ãå ´åãããï¼ã«ã¼ãã«ãæ¨æºCã©ã¤ãã©ãªãä½¿ã£ã¦ããå ´åã«
+ã¯ï¼ã³ã³ãã¤ã«ãªãã·ã§ã³ã«-DTOPPERS_USE_STDLIBãæå®ããï¼å¹æãããã
+ã©ããã¯ã¿ã¼ã²ããä¾å­ï¼ï¼
 
 ã¿ã¼ã²ããä¾å­é¨ã«ããã¦ï¼ã³ã³ãã¤ã«ãªãã·ã§ã³ã«-Werrorï¼è­¦åãã¨ã©ã¼æ±
@@ -1001,42 +1076,52 @@
 ï¼ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ä½¿ãæ¹
 
-ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ï¼cfgï¼ã¯ï¼TOPPERSç¬¬3ä¸ä»£ã«ã¼ãã«ï¼ITRONç³»ï¼çµ±åä»æ§
-æ¸ã®2.12.5ç¯ã®è¨è¿°ã®éãï¼3ã¤ã®ãã¹ã§æ§æãããï¼
-
-ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã¯ï¼ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«åããã©ã¡ã¼
-ã¿ã«åãï¼ä»¥ä¸ã®ãªãã·ã§ã³ãæã¤ï¼éè¦ãªãã®ã®ã¿ï¼ï¼
-
-	--help
-		ãªãã·ã§ã³ã®ãªã¹ãã¨èª¬æãè¡¨ç¤ºããï¼
-
-	-vï¼»--versionï¼½
-		ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¼ã¸ã§ã³ãè¡¨ç¤ºããï¼
+ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ï¼cfgï¼ã«ããå¦çã¯ï¼ãTOPPERSç¬¬3ä¸ä»£ã«ã¼ãã«ï¼ITRON
+ç³»ï¼çµ±åä»æ§æ¸ãã®ã2.12.5 ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®å¦çã¢ãã«ãã®ç¯ã®è¨è¿°ã®
+éãï¼3ã¤ã®ãã¹ã§æ§æãããï¼
+
+ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ä½¿ãæ¹ã«ã¤ãã¦ï¼æ¨æºã®Makefileãä½¿ç¨ãã¦ããå ´åã«
+ã¯ã»ã¨ãã©ç¥ãå¿
+è¦ããªãï¼ãã®ç« ã§ã¯ï¼æ¨æºã®Makefileãä¿®æ­£ããå ´åãç¬
+èªã®Makefileãç¨ããå ´åã®ããã«ï¼ASP3ã«ã¼ãã«ãä½¿ç¨ããä¸ã§å¿
+è¦ã¨ãªã
+ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ä½¿ãæ¹ã«ã¤ãã¦èª¬æããï¼
+
+ãªãï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ä½¿ç¨æ¹æ³ã«é¢ããè©³ç´°ã¯ï¼ãTOPPERSç¬¬3ä¸ä»£ã«ã¼
+ãã«åã Rubyçã³ã³ãã£ã®ã¥ã¬ã¼ã¿ ã¦ã¼ã¶ã¼ãºããã¥ã¢ã«ããåç
+§ãããã¨ï¼
+
+7.1 ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®èµ·å
+
+ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã¯ï¼ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«åï¼ãã¹1ã§
+ã®ã¿æå¹ï¼ããã©ã¡ã¼ã¿ã«åãï¼ä»¥ä¸ã®ãªãã·ã§ã³ãæã¤ï¼ä¸»ãªãã®ï¼ï¼
 
 	-kï¼»--kernelï¼½<ã«ã¼ãã«å>
-		ã«ã¼ãã«ã®åç§°ãæå®ããï¼ããã©ã«ãã¯aspï¼
+		ã«ã¼ãã«ã®åç§°ãæå®ããï¼ASP3ã«ã¼ãã«ã§ã¯ï¼aspãæå®ããï¼
 
 	-pï¼»--passï¼½<ãã¹çªå·>
 		ãã¹çªå·ãæå®ããï¼1ã3ã®ããããï¼
 
-	-Iï¼»--include-pathï¼½<ã¤ã³ã¯ã«ã¼ããã¹å>
-		INCLUDEãã£ã¬ã¯ãã£ãã«ããã¦ï¼ã¤ã³ã¯ã«ã¼ãããã³ã³ãã£ã®ã¥ã¬ã¼
-		ã·ã§ã³ãã¡ã¤ã«ãæ¢ããã¹åãæå®ããï¼
-
-	-Tï¼»--template-fileï¼½<ãã³ãã¬ã¼ããã¡ã¤ã«å>
-		ãã³ãã¬ã¼ããã¡ã¤ã«ã®åç§°ãæå®ããï¼ãã¹2ã¨ãã¹3ã§æå¹ï¼
+	-Iï¼»--include-directoryï¼½<ã¤ã³ã¯ã«ã¼ããã£ã¬ã¯ããªå>
+		INCLUDEãã£ã¬ã¯ãã£ãã«ããã¤ã³ã¯ã«ã¼ãããã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§
+		ã³ãã¡ã¤ã«ãæ¢ããã£ã¬ã¯ããªåãæå®ããï¼çæã¹ã¯ãªããï¼trbãã¡
+		ã¤ã«ï¼ãæ¢ãå ´åã«ãç¨ããï¼
+
+	-Tï¼»--trb-fileï¼½<çæã¹ã¯ãªããå>
+		çæã¹ã¯ãªããï¼trbãã¡ã¤ã«ï¼ã®åç§°ãæå®ããï¼ãã¹2ã¨ãã¹3ã§æ
+		å¹ï¼
 
 	--api-table <éçAPIãã¼ãã«ãã¡ã¤ã«å>
-		éçAPIãã¼ãã«ã®ãã¡ã¤ã«åãæå®ããï¼
-
-	--cfg1-def-table <å¤åå¾ã·ã³ãã«ãã¼ãã«ãã¡ã¤ã«å>
-		å¤åå¾ã·ã³ãã«ãã¼ãã«ã®ãã¡ã¤ã«åãæå®ããï¼
-
-	-rï¼»--rom-imageï¼½<ã­ã¼ãã¢ã¸ã¥ã¼ã«å>
+		éçAPIãã¼ãã«ã®ãã¡ã¤ã«åãæå®ããï¼ãã¹1ã§ã®ã¿æå¹ï¼
+
+	--symval-table <å¤åå¾ã·ã³ãã«ãã¼ãã«ãã¡ã¤ã«å>
+		å¤åå¾ã·ã³ãã«ãã¼ãã«ã®ãã¡ã¤ã«åãæå®ããï¼ãã¹1ã§ã®ã¿æå¹ï¼
+
+	-rï¼»--rom-imageï¼½<ã­ã¼ãã¢ã¸ã¥ã¼ã«ã®Sã¬ã³ã¼ããã¡ã¤ã«å>
 		ã­ã¼ãã¢ã¸ã¥ã¼ã«ãSã¬ã³ã¼ããã©ã¼ãããã®å½¢ã«å¤æãããã¡ã¤ã«ã®
-		åç§°ãæå®ããï¼ãã¹3ã§ã®ã¿æå¹ï¼
-
-	-s [--symbol-table] <ã·ã³ãã«ãã¡ã¤ã«å>
+		åç§°ãæå®ããï¼ãã¹2ã¨ãã¹3ã§æå¹ï¼
+
+	-s [--rom-symbol] <ã­ã¼ãã¢ã¸ã¥ã¼ã«ã®ã·ã³ãã«ãã¡ã¤ã«å>
 		ã­ã¼ãã¢ã¸ã¥ã¼ã«ä¸­ã®åã·ã³ãã«ã¨ã¢ãã¬ã¹ã®å¯¾å¿è¡¨ãå«ãã·ã³ãã«
-		ãã¡ã¤ã«ã®åç§°ãæå®ããï¼ãã¹3ã§ã®ã¿æå¹ï¼
+		ãã¡ã¤ã«ã®åç§°ãæå®ããï¼ãã¹2ã¨ãã¹3ã§æå¹ï¼
 
 	--id-output-file <IDçªå·åºåãã¡ã¤ã«å>
@@ -1049,35 +1134,109 @@
 		è¾¼ãï¼ãã¹2ã§ã®ã¿æå¹ï¼
 
-	--external-id
-		ãªãã¸ã§ã¯ãã®IDçªå·ãä¿æããå¤æ°ã®å®ç¾©ãçæããï¼ãã¹2ã§ã®ã¿
-		æå¹ï¼
-
-	-Mï¼»--print-dependenciesï¼½<ã¿ã¼ã²ããã·ã³ãã«>
-		ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ã®ä¾å­é¢ä¿ãåºåããï¼
-		Makefileä¸­ã®ä¾å­é¢ä¿ãçæããéã«ç¨ããï¼
-
-ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®è©³ç´°ä»æ§ã«ã¤ãã¦ã¯ï¼å¥éPDFãã¡ã¤ã«ã®å½¢ã§é
-å¸ãã¦ã
-ããTOPPERSæ°ä¸ä»£ã«ã¼ãã«ç¨ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ä»æ§ããåç
-§ãããã¨ï¼
+	-Mï¼»--print-dependenciesï¼½<ä¾å­é¢ä¿ãã¡ã¤ã«å>
+		ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ã®ä¾å­é¢ä¿ãåºåããï¼ã
+		ã¹1ã§ã®ã¿æå¹ï¼GCCã®-Mãªãã·ã§ã³ã¨ç°ãªãï¼-Mãªãã·ã§ã³ãä»ãã
+		å ´åãï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã¯éå¸¸ã®å¦çãè¡ãï¼ä¾å­é¢ä¿ãåºåã
+		ãã ãã¨ããä½¿ãæ¹ã¯ã§ããªãï¼ï¼ä¾å­é¢ä¿ãã¡ã¤ã«åãæå®ããªã
+		å ´åï¼æ¨æºåºåã«åºåããï¼
+
+	-O [--omit-output-db]
+		æ¬¡ã®ãã¹ã«æ
+å ±ãå¼ãæ¸¡ãããã®ãã¼ã¿ãã¡ã¤ã«ãä½æããªãï¼
+
+7.2 ã¿ã¤ããã©ã¤ãã®çµè¾¼ã¿
+
+ã«ã¼ãã«ãå
+é¨çã«ä½¿ç¨ããå²è¾¼ã¿ãã³ãã©ï¼é«åè§£è½ã¿ã¤ããã©ã¤ãã®å²è¾¼
+ã¿ãã³ãã©ãªã©ï¼ãç»é²ããããã«ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹1ã«ï¼ã«ã¼ãã«
+å®è£
+ã®ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ï¼target_kernel.cfgï¼ãèª­ã¿è¾¼ã¾ãã
+å¿
+è¦ãããï¼
 
 
 ï¼ï¼ã·ã¹ãã ãµã¼ãã¹
 
+ASP3ã«ã¼ãã«ã®é
+å¸ããã±ã¼ã¸ã«ã¯ï¼ä»¥ä¸ã®ã·ã¹ãã ãµã¼ãã¹ãå«ã¾ãã¦ããï¼
+
+  ã»ã·ã¹ãã ã­ã°æ©è½
+  ã»ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ã
+	  - ã¿ã¼ã²ããéä¾å­é¨
+	  - ã¿ã¼ã²ããä¾å­é¨
+  ã»ã·ã¹ãã ã­ã°ã¿ã¹ã¯
+  ã»ä½ã¬ãã«åºåï¼ã¿ã¼ã²ããä¾å­é¨ã®ã¿ï¼
+  ã»ãã¹ããã­ã°ã©ã ç¨ãµã¼ãã¹
+  ã»å®è¡æéåå¸éè¨ãµã¼ãã¹
+  ã»ã«ã¼ãã«èµ·åã¡ãã»ã¼ã¸åºå
+
+ãããã®ã·ã¹ãã ãµã¼ãã¹ã¯ï¼TOPPERSçµè¾¼ã¿ã³ã³ãã¼ãã³ãã·ã¹ãã ï¼TECSï¼
+ãç¨ãã¦å®è£
+ãã¦ããï¼
+
+åèã®ããã«ï¼ã·ã¹ãã ã­ã°æ©è½ï¼ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãï¼ã¿ã¼ã²ã
+ãéä¾å­é¨ããã³ã¿ã¼ã²ããä¾å­é¨ï¼ï¼ã·ã¹ãã ã­ã°ã¿ã¹ã¯ï¼ä½ã¬ãã«åºåã®
+éã®çµåé¢ä¿ãä¸ã®å³ã«ç¤ºãï¼
+
+    +----------------------+       +------------------------+
+    | TECSã¢ããªã±ã¼ã·ã§ã³ |       | éTECSã¢ããªã±ã¼ã·ã§ã³ |
+    +----------------------+       +------------------------+
+        |cSysLog    |cSerialPort              .
+        |           |                         .           ã¢ããªã±ã¼ã·ã§ã³
+  - - - | - - - - - | - - - - - - - - - - - - . - - - - - - - - - - - - -
+        |           +----------------------+  .          ã·ã¹ãã ãµã¼ãã¹
+		|                 . . . . . . . . .|. . . . . .
+        |                 .                |          .
+        |        +----------------+        |  +----------------+ 
+        | cSysLog| tSysLogAdapter |        |  | tSysLogAdapter |
+        +--------|  SysLogAdapter |        |  |  SysLogAdapter |
+        |        +----------------+        |  +----------------+
+        |                                  |          |cSerialPort
+        |        +----------+ cSerialPort  |          | 
+        |        |          |--------------+----------+
+        | cSysLog| tLogTask |                         |
+        +--------|  LogTask |-------------------+     |
+        |        |          |cnSerialPortManage |     |
+        |        +----------+                   |     |
+        |              |cPutLog                 |     |
+        |              |                        |     |
+        |eSysLog       |      enSerialPortManage|     |eSerialPort
+   +----v----+         |                    +---v-----v---+
+   | tSysLog |         |                    | tSerialPort |
+   |  SysLog |         |                    | SerialPort1 |
+   +---------+         |                    +---------^---+
+       |cPutLog        |                cSIOPort|     |eiSIOCBR
+       |               |                        |     | 
+       +-------+-------+                        |     | ã¿ã¼ã²ããéä¾å­é¨
+  - - - - - - -|- - - - - - - - - - - - - - - - | - - | - - - - - - - - -
+               |                                |     |   ã¿ã¼ã²ããä¾å­é¨
+               |                                |     |
+               |ePutLog                 eSIOPort|     |ciSIOCBR
+     +---------v--------+           +-----------v----------------+
+     |   ä½ã¬ãã«åºå   |           |   ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹   |
+     |   PutLogTarget   |           | ãã©ã¤ãã®ã¿ã¼ã²ããä¾å­é¨ |
+     +------------------+           |        SIOPortTarget1      |
+                                    +----------------------------+
+
+ä»¥ä¸ã§ã¯ï¼ãããã®ã·ã¹ãã ãµã¼ãã¹ãï¼Cè¨èªã§è¨è¿°ãããã¢ããªã±ã¼ã·ã§ã³
+ããä½¿ç¨ããæ¹æ³ã«ã¤ãã¦èª¬æããï¼ãã ãï¼ãã¹ããã­ã°ã©ã ç¨ãµã¼ãã¹ã«
+ã¤ãã¦ã¯ï¼ã10.1 ãã¹ããã­ã°ã©ã ç¨ãµã¼ãã¹ãã®ç¯ã§è¿°ã¹ãï¼
+
+ã¾ãï¼ã¿ã¼ã²ããä¾å­ã®ä½ã¬ãã«åºåã¯ï¼ã¢ããªã±ã¼ã·ã§ã³ããç´æ¥å¼ã³åºã
+ãã¨ãæ³å®ãã¦ããªãããï¼ãã®ããã¥ã¢ã«ã§ã¯èª¬æããªãï¼ä½ã¬ãã«åºåã¯ï¼
+ã³ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«ã§ï¼ã¿ã¼ã²ããä¾å­é¨ã®target.cdlãã¤ã³ãã¼ã
+ãããã¨ã§ï¼ã·ã¹ãã ã«çµã¿è¾¼ããã¨ãã§ããï¼
+
 8.1 ã·ã¹ãã ã­ã°æ©è½
 
-ã·ã¹ãã ã­ã°æ©è½ã¯ï¼ã«ã¼ãã«å
-ã§çºçããç°å¸¸äºè±¡ããã¬ã¼ã¹ã­ã°ï¼ã·ã¹ã
-ã ãµã¼ãã¹ãã¢ããªã±ã¼ã·ã§ã³ã§çºçããç°å¸¸äºè±¡ããã¬ã¼ã¹ã­ã°ãï¼ã­ã°æ
-
-å ±ã¨ãã¦è¨é²ããããã®æ©è½ã§ããï¼ã¾ãï¼è¨é²ããã­ã°æ
-å ±ãåãåºãæ©è½
-ãæã¤ï¼
-
-ã·ã¹ãã ã­ã°æ©è½ã¯ï¼ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ã§syslog.cfg
-ãã¤ã³ã¯ã«ã¼ããããã¨ã§ï¼ã·ã¹ãã ã«çµã¿è¾¼ããã¨ãã§ããï¼ã·ã¹ãã ã­ã°
-åºåãè¡ãã½ã¼ã¹ãã¡ã¤ã«ã§ã¯ï¼t_syslog.hãã¤ã³ã¯ã«ã¼ãããï¼ã¾ãï¼ã·ã¹
-ãã ã­ã°æ©è½ã®ãã®ä»ã®ãµã¼ãã¹ã³ã¼ã«ãå¼ã³åºãã½ã¼ã¹ãã¡ã¤ã«ã§ã¯ï¼
-syslog.hãã¤ã³ã¯ã«ã¼ãããï¼
+ã·ã¹ãã ã­ã°æ©è½ã¯ï¼ã·ã¹ãã å
+ã§çºçããç°å¸¸äºè±¡ç­ãï¼ã­ã°æ
+å ±ã¨ãã¦è¨
+é²ããããã®æ©è½ã§ããï¼ã¾ãï¼è¨é²ããã­ã°æ
+å ±ãåãåºãæ©è½ãæã¤ï¼
+
+ã·ã¹ãã ã­ã°åºåãè¡ãã½ã¼ã¹ãã¡ã¤ã«ã§ã¯ï¼t_syslog.hãã¤ã³ã¯ã«ã¼ãããï¼
+ã¾ãï¼ã·ã¹ãã ã­ã°æ©è½ã®ãã®ä»ã®ãµã¼ãã¹ã³ã¼ã«ãå¼ã³åºãã½ã¼ã¹ãã¡ã¤ã«
+ã§ã¯ï¼syslog.hãã¤ã³ã¯ã«ã¼ãããï¼
 
 8.1.1 ã·ã¹ãã ã­ã°æ©è½ã®ä½ç½®ä»ã
@@ -1100,10 +1259,6 @@
 
 ä»¥ä¸ã®ããã«ï¼ã·ã¹ãã ã­ã°æ©è½ã¯ã«ã¼ãã«ããä¸ã®éå±¤ã®ã¢ã¸ã¥ã¼ã«ã§ãã
-ãï¼ã·ã¹ãã ã­ã°æ©è½ã®ä¸­ã§ã­ã°æå»ãåãåºãããã«ï¼ã«ã¼ãã«ã®æ©è½ãå¿
-
-è¦ã¨ããï¼å®è£
-ä¸ã¯ï¼ã«ã¼ãã«ã®å
-é¨å¤æ°ãç´æ¥åç
-§ãã¦ããï¼ãã®ããï¼ã«ã¼
+ãï¼ã·ã¹ãã ã­ã°æ©è½ã®ä¸­ã§ã­ã°æå»ãåãåºãããã«ï¼æ¨æºï¼ã¿ã¼ã²ããä¾
+å­é¨ã§å¤æ´ããªãå ´åï¼ã§ã¯ï¼ã«ã¼ãã«ã®æ©è½ãç¨ãã¦ããï¼ãã®ããï¼ã«ã¼
 ãã«ã®å®è¡éå§åãçµäºå¾ã¯ï¼ã­ã°æå»ã¯æ­£ããè¨é²ãããªãï¼
 
@@ -1125,25 +1280,22 @@
 ã²ããä¾å­ã«ç¨æããä½ã¬ãã«ã®æå­åºåé¢æ°ãç¨ãã¦ã­ã°æ
 å ±ãåºåããæ©
-è½ã§ããï¼ä½ã¬ãã«ã®æå­åºåé¢æ°ã¯ï¼ã¿ã¼ã²ããä¾å­é¨ã§ç¨æãããã¨ã¨ã
-ã¦ãããï¼æçµè£½åã«çµã¿è¾¼ã¾ããå ´åãªã©ã§ã¯ï¼æå­ãåºåããæ¹æ³ããªã
-ç¶æ³ãèããããï¼ãã®ãããªå ´åï¼ä½ã¬ãã«ã®æå­åºåé¢æ°ã«éãããæå­
-ã¯ï¼ã¡ã¢ãªä¸ã«æ®ãã¦ãããï¼æ¨ã¦ã¦ãã¾ããããªãï¼
+è½ã§ããï¼æçµè£½åã«çµã¿è¾¼ãå ´åãªã©ã§ï¼æå­ãåºåããæ¹æ³ããªãå ´åã®
+å¯¾å¿æ¹æ³ã«ã¤ãã¦ã¯ï¼ã11.3 ã·ã¹ãã ã­ã°æ©è½ã®æ±ããã®ç¯ãåç
+§ãããã¨ï¼
 
 ã­ã°æ
 å ±ãï¼ã­ã°ãããã¡ã¸è¨é²ãããä½ã¬ãã«åºåæ©è½ãç¨ãã¦åºåããã
-ã®è¨­å®ã¯ï¼ã·ã¹ãã ã­ã°æ©è½ã®ãµã¼ãã¹ã³ã¼ã«ï¼syslog_msk_logï¼ã«ãã£ã¦è¡
-ããã¨ãã§ããï¼syslog_msk_logã®ä½¿ãæ¹ã«ã¤ãã¦ã¯å¾è¿°ããï¼ããã©ã«ãã§
-ã¯ï¼ã·ã¹ãã ã­ã°ã¿ã¹ã¯ãåä½ãããï¼syslog_msk_logãå¼ã³åºããªãå ´åï¼ï¼
-ãã¹ã¦ã®ã­ã°æ
-å ±ãä½ã¬ãã«åºåæ©è½ãç¨ãã¦åºåãï¼ã­ã°ãããã¡ã«ã¯è¨é²
-ããªãï¼
+ã¯ï¼ã·ã¹ãã ã­ã°æ©è½ã®ã»ã«ã®çµä¸ãè¨è¿°ã§è¨­å®ãï¼ã·ã¹ãã ã­ã°æ©è½ã®ãµã¼
+ãã¹ã³ã¼ã«ï¼syslog_msk_logï¼ã§ã·ã¹ãã åä½ä¸­ã«å¤æ´ãããã¨ãã§ããï¼ã
+ããã®æ¹æ³ã«ã¤ãã¦ã¯å¾è¿°ããï¼
 
 ä½ã¬ãã«åºåæ©è½ãç¨ããã¨ï¼ã­ã°ã¡ãã»ã¼ã¸ã®ä½æå¦çï¼printfç¸å½ã®å¦çï¼
-ã¨ä½ã¬ãã«ã®æå­åºåå¦çãã«ã¼ãã«å
-ã§è¡ãããã«ï¼ã«ã¼ãã«ã®å¿ç­æ§ãæª
-ããªããã¨ã«æ³¨æããªããã°ãªããªãï¼ç¹ã«ï¼ä½ã¬ãã«ã®æå­åºåå¦çã¯ãã
-ã¤ã¹ããã¼ãªã³ã°ããå½¢ã§å®è£
-ããã®ãéå¸¸ã§ï¼ãã®å ´åã«ã¯ï¼ã«ã¼ãã«ã®å¿
-ç­æ§ã¯å®ç¨çã¨è¨ããªãç¨ã«æªããªãï¼
+ã¨ä½ã¬ãã«ã®æå­åºåå¦çãå
+¨å²è¾¼ã¿ç¦æ­¢ç¶æ
+ã§è¡ãããã«ï¼å²è¾¼ã¿å¿ç­æ§ã
+æªããªããã¨ã«æ³¨æããªããã°ãªããªãï¼ç¹ã«ï¼ä½ã¬ãã«ã®æå­åºåå¦çã¯ã
+ãã¤ã¹ããã¼ãªã³ã°ããå½¢ã§å®è£
+ããã®ãéå¸¸ã§ï¼ãã®å ´åã«ã¯ï¼å²è¾¼ã¿å¿ç­
+æ§ã¯å®ç¨çã¨è¨ããªãç¨ã«æªããªãï¼
 
 8.1.3 ã­ã°æ
@@ -1161,5 +1313,4 @@
 		LOG_TYPE_OVR		ãªã¼ãã©ã³ãã³ãã©
 		LOG_TYPE_EXC		CPUä¾å¤ãã³ãã©
-		LOG_TYPE_TEX		ã¿ã¹ã¯ä¾å¤å¦çã«ã¼ãã³
 		LOG_TYPE_TSKSTAT	ã¿ã¹ã¯ç¶æ
 å¤å
@@ -1169,6 +1320,5 @@
 ã­ã°æ
 å ±ã®ç¨®å¥ã®ä¸­ã§ï¼LOG_TYPE_COMMENTã¨LOG_TYPE_ASSERTä»¥å¤ã¯ï¼ã«ã¼ãã«
-ã®ãã¬ã¼ã¹ã­ã°ã«ç¨ããããã®ãã®ã§ãããï¼ä½¿ç¨ãããã©ããã¯ã¿ã¼ã²ãã
-ä¾å­é¨ã«ä»»ããã¦ããï¼
+ã®ãã¬ã¼ã¹ã­ã°ã«ç¨ããããã®ãã®ã§ï¼ã·ã¹ãã ã­ã°æ©è½ã§ã¯ç¨ãã¦ããªãï¼
 
 8.1.4 ã­ã°æ
@@ -1200,6 +1350,7 @@
 å ±ãã­ã°ãããã¡ã«è¨é²ãããã¨ï¼ã©ã®éè¦åº¦ã®ã­ã°æ
 å ±
-ãä½ã¬ãã«åºåæ©è½ãç¨ãã¦åºåãããã¯ï¼ã·ã¹ãã ã­ã°æ©è½ã®ãµã¼ãã¹ã³ã¼
-ã«ï¼syslog_msk_logï¼ã«ãã£ã¦è¨­å®ãããã¨ãã§ããï¼
+ãä½ã¬ãã«åºåæ©è½ãç¨ãã¦åºåãããã¯ï¼ã·ã¹ãã ã­ã°æ©è½ã®ã»ã«ã®çµä¸ã
+è¨è¿°ã§è¨­å®ãï¼ã·ã¹ãã ã­ã°æ©è½ã®ãµã¼ãã¹ã³ã¼ã«ï¼syslog_msk_logï¼ã§ã·ã¹
+ãã åä½ä¸­ã«å¤æ´ãããã¨ãã§ããï¼
 
 8.1.5 ã­ã°æ
@@ -1226,7 +1377,5 @@
 
 ã·ã¹ãã ã­ã°æ©è½ã®æä¾ãããµã¼ãã¹ã³ã¼ã«ã¯æ¬¡ã®éãã§ããï¼ãããã®ãµã¼
-ãã¹ã³ã¼ã«ãå¼ã³åºãã½ã¼ã¹ãã¡ã¤ã«ã§ã¯ï¼syslog.hãã¤ã³ã¯ã«ã¼ãããå¿
-è¦
-ãããï¼
+ãã¹ã³ã¼ã«ãå¼ã³åºãã½ã¼ã¹ãã¡ã¤ã«ã§ã¯ï¼syslog.hãã¤ã³ã¯ã«ã¼ãããï¼
 
 (1) ER syslog_wri_log(uint_t prio, const SYSLOG *p_syslog)
@@ -1383,15 +1532,45 @@
 syslog_msk_logã«æ¸¡ãå¼æ°ãä½ãããã«ç¨ããï¼
 
-8.1.8 ã·ã¹ãã ã­ã°æ©è½ã®ãã®ä»ã®ãµã¼ãã¹
-
-ã·ã¹ãã ã­ã°æ©è½ã¯ï¼åè¨ã®ãµã¼ãã¹ã³ã¼ã«ç­ã«å ãã¦ï¼åæåå¦çã®ããã®
-é¢æ°ãæã¤ï¼
-
-(1) void syslog_initialize(intptr_t exinf)
-
-ã·ã¹ãã ã­ã°æ©è½ãåæåããï¼ã­ã°ãããã¡ã«ã­ã°æ
-å ±ãè¨é²ããã¦ããå ´
-åã«ã¯ï¼æ¶å»ãããï¼syslog.cfgã«ãã£ã¦ï¼ã«ã¼ãã«ã«åæåã«ã¼ãã³ã¨ãã¦
-ç»é²ãããï¼exinfã¯ç¡è¦ãããï¼
+8.1.8 ã·ã¹ãã ã­ã°æ©è½ã®çµè¾¼ã¿ã¨åå¤ã
+
+ã·ã¹ãã ã­ã°æ©è½ã¯ï¼ã·ã¹ãã ã­ã°æ©è½ã®æ¬ä½ã¨ï¼ã·ã¹ãã ã­ã°æ©è½ãCè¨èªã§
+è¨è¿°ãããã¢ããªã±ã¼ã·ã§ã³ããå¼ã³åºãããã®ã¢ããã¿ã§æ§æãããï¼
+
+ã·ã¹ãã ã­ã°æ©è½ã®æ¬ä½ã¯ï¼ã³ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«ã§tSysLog.cdlãã¤ã³
+ãã¼ããï¼ä»¥ä¸ã®ãããªã»ã«ã®çµä¸ãè¨è¿°ãå«ãããã¨ã§ï¼ã·ã¹ãã ã«çµã¿è¾¼
+ããã¨ãã§ããï¼sample1.cdlã«ã¯ï¼ãã®è¨è¿°ãå«ã¾ãã¦ããï¼ï¼
+
+----------------------------------------
+cell tSysLog SysLog {
+	logBufferSize = 32;					/* ã­ã°ãããã¡ã®ãµã¤ãº */
+	initLogMask = C_EXP("LOG_UPTO(LOG_NOTICE)");
+										/* ã­ã°ãããã¡ã«è¨é²ãã¹ãéè¦åº¦ */
+	initLowMask = C_EXP("LOG_UPTO(LOG_EMERG)");
+									   	/* ä½ã¬ãã«åºåãã¹ãéè¦åº¦ */
+	/* ä½ã¬ãã«åºåã¨ã®çµå */
+	cPutLog = PutLogTarget.ePutLog;
+};
+----------------------------------------
+
+ãã®è¨è¿°ãå¤æ´ãããã¨ã§ï¼ã·ã¹ãã ã­ã°æ©è½ã®ã­ã°ãããã¡ã®ãµã¤ãºï¼ã­ã°
+ãããã¡ã«è¨é²ãã¹ãéè¦åº¦ã®åæå¤ï¼ä½ã¬ãã«åºåãã¹ãéè¦åº¦ã®åæå¤ã
+å¤æ´ãããã¨ãã§ããï¼
+
+ã·ã¹ãã ã­ã°æ©è½ã®ã¢ããã¿ã¯ï¼ã³ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«ã§
+tSysLogAdapter.cdlãã¤ã³ãã¼ããï¼ä»¥ä¸ã®ã»ã«ã®çµä¸ãè¨è¿°ãå«ãããã¨ã§ï¼
+ã·ã¹ãã ã«çµã¿è¾¼ããã¨ãã§ããï¼sample1.cdlã«ã¯ï¼ãã®è¨è¿°ãå«ã¾ãã¦ã
+ãï¼ï¼
+
+----------------------------------------
+cell tSysLogAdapter SysLogAdapter {
+	cSysLog = SysLog.eSysLog;
+};
+----------------------------------------
+
+ã·ã¹ãã ã­ã°æ©è½ãåãå¤ãå ´åã«ã¯ï¼ä¸ã®2ã¤ã®ã»ã«ã®çµä¸ãè¨è¿°ãåé¤ãï¼
+ã³ã³ãã¤ã«ãªãã·ã§ã³ã«-DTOPPERS_OMIT_SYSLOGãè¿½å ããã°ããï¼ãã ãï¼ã·
+ã¹ãã ã­ã°ã¿ã¹ã¯ã¯ã·ã¹ãã ã­ã°æ©è½ãä½¿ç¨ããããï¼ãããå¤ããã¨ãå¿
+è¦
+ã§ããï¼
 
 8.2 ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ã
@@ -1400,22 +1579,16 @@
 ããï¼
 
-ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã¯ï¼ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤
-ã«ã§serial.cfgãã¤ã³ã¯ã«ã¼ããããã¨ã§ï¼ã·ã¹ãã ã«çµã¿è¾¼ããã¨ãã§ããï¼
-ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ããå¼ã³åºãã½ã¼ã¹ãã¡ã¤ã«ã§ã¯ï¼serial.hã
-ã¤ã³ã¯ã«ã¼ãããï¼
-
-ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã¯ï¼ãã¼ãæ¯ã«ã»ããã©ã2åãã¤ä½¿ç¨ããï¼
-ã»ããã©ãçæããéçAPIã¯ï¼serial.cfgã«å«ã¾ãã¦ããï¼
-
 8.2.1 ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ãµã¼ãã¹ã³ã¼ã«
 
 ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ããå¼ã³åºããµã¼ãã¹ã³ã¼ã«ã®ä»æ§ã¯æ¬¡ã®éã
 ã§ããï¼ãã®ä¸­ã§ï¼ã·ãªã¢ã«ãã¼ãã®IDçªå·ï¼portidï¼ã®è§£éã¯ã¿ã¼ã²ããä¾
-å­ã¨ãªãï¼
-
-ãããã®ãµã¼ãã¹ã³ã¼ã«ã¯ï¼éã¿ã¹ã¯ã³ã³ãã­ã¹ãããå¼ã³åºããã¨ã¯ã§ããª
-ãï¼ã¾ãï¼serial_rea_datã¨serial_wri_datã¯ï¼ãã£ã¹ãããä¿çç¶æ
-ã§å¼ã³
-åºããã¨ã¯ã§ããªãï¼ããããï¼å¼ã³åºããå ´åã«ã¯E_CTXã¨ã©ã¼ã¨ãªãï¼
+å­ã¨ãªãï¼ãããã®ãµã¼ãã¹ã³ã¼ã«ãå¼ã³åºãã½ã¼ã¹ãã¡ã¤ã«ã§ã¯ï¼serial.h
+ãã¤ã³ã¯ã«ã¼ãããï¼
+
+ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ãµã¼ãã¹ã³ã¼ã«ã¯ï¼éã¿ã¹ã¯ã³ã³ãã­ã¹ã
+ããå¼ã³åºããã¨ã¯ã§ããªãï¼ã¾ãï¼serial_rea_datã¨serial_wri_datã¯ï¼ãã£
+ã¹ãããä¿çç¶æ
+ã§å¼ã³åºããã¨ã¯ã§ããªãï¼ããããï¼å¼ã³åºããå ´åã«ã¯
+E_CTXã¨ã©ã¼ã¨ãªãï¼
 
 (1) ER serial_opn_por(ID portid)
@@ -1495,19 +1668,58 @@
 8.2.2 ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ãã®ä»ã®ãµã¼ãã¹
 
-ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã¯ï¼åè¨ã®ãµã¼ãã¹ã³ã¼ã«ã«å ãã¦ï¼åæå
-å¦çã¨æªéä¿¡æå­ã®ååºãå¦çãæã¤ï¼åæåå¦çã¯ï¼ã«ã¼ãã«ã«åæåã«ã¼
-ãã³ã¨ãã¦ç»é²ããï¼ã¾ãï¼ã¿ã¼ã²ããä¾å­ã§ï¼åæåå¦çï¼çµäºå¦çï¼å²è¾¼
-ã¿ãµã¼ãã¹ã«ã¼ãã³ãæã¤ï¼ãããã®ç»é²å¦çã¯serial.cfgã«å«ã¾ããï¼
-
-(1) void serial_initialize(intptr_t exinf)
-
-ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ããåæåããï¼ã«ã¼ãã«ã«åæåã«ã¼ãã³ã¨
-ãã¦ç»é²ããï¼exinfã¯ç¡è¦ããï¼
-
-(2) bool_t serial_get_chr(ID portid, char *p_c)
-
-portidã§æå®ãããã·ãªã¢ã«ãã¼ãã®éä¿¡ãããã¡ä¸­ã®æå­ãï¼p_cã®æãçªå°
-ã«åãåºãï¼trueãè¿ãé¢æ°ï¼æå­ããªãã£ãæã«ã¯ï¼falseãè¿ãï¼çµäºå¦ç
-ã«ã¼ãã³ä¸­ã§å¼ã³åºããã¨ãæ³å®ãã¦ããï¼
+ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã¯ï¼åç¯ã®ãµã¼ãã¹ã³ã¼ã«ã«å ãã¦ï¼ã·ã¹ã
+ã ã®çµäºæã«æªéä¿¡ã®æå­ãåãåºãããã®æ©è½ï¼çµäºå¦çã«ã¼ãã³ããå¼ã³
+åºããã¨ãæ³å®ï¼ãæã¤ãï¼Cè¨èªã§è¨è¿°ãããã¢ããªã±ã¼ã·ã§ã³ããå¼ã³åºã
+ãã¨ã¯æ³å®ãã¦ããªãï¼
+
+8.2.3 ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®çµè¾¼ã¿ã¨åå¤ã
+
+ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã¯ï¼ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ã¿ã¼
+ã²ããéä¾å­é¨ï¼ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ã¿ã¼ã²ããä¾å­é¨ã¨ï¼ã·
+ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ããCè¨èªã§è¨è¿°ãããã¢ããªã±ã¼ã·ã§ã³ããå¼ã³
+åºãããã®ã¢ããã¿ã§æ§æãããï¼
+
+ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ã¿ã¼ã²ããä¾å­é¨ã¯ï¼ã³ã³ãã¼ãã³ãè¨è¿°
+ãã¡ã¤ã«ã§ï¼ã¿ã¼ã²ããä¾å­é¨ã®target.cdlãã¤ã³ãã¼ããããã¨ã§ï¼ã·ã¹ã
+ã ã«çµã¿è¾¼ããã¨ãã§ããï¼
+
+ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ã¿ã¼ã²ããéä¾å­é¨ã¯ï¼ã³ã³ãã¼ãã³ãè¨
+è¿°ãã¡ã¤ã«ã§tSerialPort.cdlãã¤ã³ãã¼ããï¼ä»¥ä¸ã®ãããªã»ã«ã®çµä¸ãè¨è¿°
+ãå«ãããã¨ã§ï¼ã·ã¹ãã ã«çµã¿è¾¼ããã¨ãã§ããï¼SIOPortTarget1ã®çµä¸ã
+è¨è¿°ãï¼ã¿ã¼ã²ããä¾å­é¨ã«å«ã¾ãã¦ãããã¨ãæ³å®ï¼ã·ãªã¢ã«ãã¼ãæ¯ã«ï¼
+ã»ã«ã®çµä¸ãè¨è¿°ãå¿
+è¦ï¼sample1.cdlã«ã¯ï¼ãã®è¨è¿°ãå«ã¾ãã¦ããï¼ï¼
+
+----------------------------------------
+cell tSerialPort SerialPort1 {
+	receiveBufferSize = 256;			/* åä¿¡ãããã¡ã®ãµã¤ãº */
+	sendBufferSize    = 256;			/* éä¿¡ãããã¡ã®ãµã¤ãº */
+
+	/* ã¿ã¼ã²ããä¾å­é¨ã¨ã®çµå */
+	cSIOPort = SIOPortTarget1.eSIOPort;
+	eiSIOCBR <= SIOPortTarget1.ciSIOCBR;	/* ã³ã¼ã«ããã¯ */
+};
+----------------------------------------
+
+ãã®è¨è¿°ãå¤æ´ãããã¨ã§ï¼ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®åä¿¡ãããã¡
+ã®ãµã¤ãºã¨éä¿¡ãããã¡ã®ãµã¤ãºãå¤æ´ãããã¨ãã§ããï¼ã·ãªã¢ã«ãã¼ãæ¯
+ã«å¥ã
+ã«è¨­å®ãããã¨ãã§ããï¼ï¼
+
+ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®ã¢ããã¿ã¯ï¼ã³ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«
+ã§tSerialAdapter.cdlãã¤ã³ãã¼ããï¼ä»¥ä¸ã®ãããªã»ã«ã®çµä¸ãè¨è¿°ãå«ã
+ããã¨ã§ï¼ã·ã¹ãã ã«çµã¿è¾¼ããã¨ãã§ããï¼ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ã1ãã¼
+ãã®ã¿ãµãã¼ãããå ´åï¼sample1.cdlã«ã¯ï¼ãã®è¨è¿°ãå«ã¾ãã¦ããï¼ï¼
+
+----------------------------------------
+cell tSerialAdapter SerialAdapter {
+	cSerialPort[0] = SerialPort1.eSerialPort;
+};
+----------------------------------------
+
+ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ããåãå¤ãå ´åã«ã¯ï¼ä¸ã®2ã¤ã®ã»ã«ã®çµä¸ã
+è¨è¿°ãåé¤ããã°ããï¼ãã ãï¼ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã¯ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼
+ã¹ãã©ã¤ããä½¿ç¨ããããï¼ãããå¤ããã¨ãå¿
+è¦ã§ããï¼
 
 8.3 ã·ã¹ãã ã­ã°ã¿ã¹ã¯
@@ -1518,65 +1730,81 @@
 
 ASP3ã«ã¼ãã«ã®é
-å¸ããã±ã¼ã¸ã«å«ã¾ããã·ã¹ãã ã­ã°ã¿ã¹ã¯ã¯ï¼ã·ãªã¢ã«ãã¼
-ãã«ã­ã°æ
-å ±ãæå­åã®å½¢ã§åºåãããã®ã§ï¼ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®ä¸ä¾ã¨ã
-ãä½ç½®ä»ãã§æä¾ãã¦ããï¼
-
-ãã®ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã¯ï¼ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ã§
-logtask.cfgãã¤ã³ã¯ã«ã¼ããããã¨ã§ï¼ã·ã¹ãã ã«çµã¿è¾¼ããã¨ãã§ããï¼ã·
-ã¹ãã ã­ã°ã¿ã¹ã¯ã®ãµã¼ãã¹ãå¼ã³åºãã½ã¼ã¹ãã¡ã¤ã«ã§ã¯ï¼logtask.hãã¤ã³
-ã¯ã«ã¼ãããï¼
-
-ã·ã¹ãã ã­ã°ã¿ã¹ã¯ãå®è¡éå§ãããã¨ï¼éè¦åº¦ãLOG_EMERGã®ã­ã°æ
-å ±ãä½ã¬
-ãã«åºåæ©è½ãç¨ãã¦åºåãï¼éè¦åº¦ãLOG_NOTICEãããããé«ãã­ã°æ
-å ±ã
-ã­ã°ãããã¡ã«è¨é²ããããã«ï¼ã·ã¹ãã ã­ã°æ©è½ã®è¨­å®ãå¤æ´ãããï¼
-
-8.3.1 ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®ãµã¼ãã¹ã³ã¼ã«
-
-ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®ãµã¼ãã¹ãå¼ã³åºããµã¼ãã¹ã³ã¼ã«ã®ä»æ§ã¯æ¬¡ã®éãã§
-ããï¼
-
-(1) ER logtask_flush(uint_t count)
-
-ã·ã¹ãã ã­ã°æ©è½ã®ã­ã°ãããã¡ä¸­ã®ã­ã°æ
-å ±ã®æ°ãcountä»¥ä¸ã«ãªãã¾ã§å¾
+å¸ããã±ã¼ã¸ã«å«ã¾ããã·ã¹ãã ã­ã°ã¿ã¹ã¯ã¯ï¼ã·ãªã¢ã«ã¤
+ã³ã¿ãã§ã¼ã¹ãã©ã¤ããç¨ãã¦ã­ã°æ
+å ±ãæå­åã®å½¢ã§åºåãããã®ã§ï¼ã·ã¹
+ãã ã­ã°ã¿ã¹ã¯ã®ä¸ä¾ã¨ããä½ç½®ä»ãã§æä¾ãã¦ããï¼
+
+8.3.1 ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®æ©è½
+
+ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã¯ï¼å®è¡éå§ãããã¨ï¼ã¾ãï¼çµåãããã·ãªã¢ã«ã¤ã³ã¿
+ãã§ã¼ã¹ãã©ã¤ãã®ã·ãªã¢ã«ãã¼ãããªã¼ãã³ããï¼
+
+ãã®å¾ï¼ã·ã¹ãã ã­ã°æ©è½ãç¨ãã¦ã­ã°ãããã¡ããã­ã°æ
+å ±ãåãåºãï¼ã
+ããæå­åã«å¤æãã¦ï¼ã·ãªã¢ã«ãã¼ãã«åºåããï¼ã­ã°ãããã¡ãç©ºã®å ´å
+ã«ã¯ï¼ä¸å®æéï¼ããã©ã«ãã§ã¯1ããªç§ãã»ã«ã®çµä¸ãè¨è¿°ã§å¤æ´å¯è½ï¼å¾
 ã¤ï¼
-countã0ã®å ´åã«ã¯ï¼ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®éä¿¡ãããã¡ãç©ºã«
-ãªãã®ãå¾
-ã¤ï¼
+ãããã®å¦çãï¼ã«ã¼ãã«ã®çµäºã¾ã§ç¹°ãè¿ãï¼
+
+ã«ã¼ãã«ã®çµäºå¦çã§ã¯ï¼ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®éä¿¡ãããã¡ã«
+èç©ããããã¼ã¿ã¨ï¼ã­ã°ãããã¡ã«è¨é²ãããã­ã°æ
+å ±ãï¼ä½ã¬ãã«åºåæ©
+è½ãç¨ãã¦åºåããï¼åºåãã¹ãã­ã°æ
+å ±ãããå ´åã«ã¯ï¼ãããåºåããå
+ã«ï¼"-- buffered messages --"ã¨ããæå­åãåºåããï¼
+
+ããã«ããï¼ã«ã¼ãã«çµäºæç¹ã§æªåºåã®ã­ã°æ
+å ±ã®ã»ã¨ãã©ãåºåãããã¨
+ãã§ããï¼ãã ãï¼ã«ã¼ãã«çµäºæç¹ã§ï¼ã·ã¹ãã ã­ã°ã¿ã¹ã¯ãã­ã°ãããã¡
+ããåãåºãããï¼ã¾ã ã·ãªã¢ã«ãã¼ãã«éã£ã¦ããªãã­ã°æ
+å ±ã¯ï¼åºåãã
+ãªãï¼
 
 8.3.2 ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®ãã®ä»ã®ãµã¼ãã¹
 
-ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã¯ï¼åè¨ã®ãµã¼ãã¹ã³ã¼ã«ã«å ãã¦ï¼ã¡ã¤ã³å¦çã¨çµäºå¦
-çãæã¤ï¼ã¡ã¤ã³å¦çã¯ã¿ã¹ã¯ã¨ãã¦ï¼çµäºå¦çã¯çµäºå¦çã«ã¼ãã³ã¨ãã¦ç»
-é²ããï¼ãããã®ç»é²å¦çã¯logtask.cfgã«å«ã¾ããï¼
-
-(1) void logtask_main(intptr_t exinf)
-
-ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®ã¡ã¤ã³å¦çï¼exinfã«ã¯ï¼ã­ã°æ
-å ±ãåºåããã·ãªã¢ã«ãã¼
-ãã®IDçªå·ãæ¸¡ãï¼
-
-(2) void logtask_terminate(intptr_t exinf)
-
-ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®çµäºå¦çï¼ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®éä¿¡ãã
-ãã¡ã«èç©ããããã¼ã¿ã¨ï¼ã­ã°ãããã¡ã«è¨é²ãããã­ã°æ
-å ±ãï¼ä½ã¬ãã«
-åºåæ©è½ãç¨ãã¦åºåããï¼åºåãã¹ãã­ã°æ
-å ±ãããå ´åã«ã¯ï¼ãããåºå
-ããåã«ï¼"-- buffered messages --"ã¨ããæå­åãåºåããï¼exinfã¯ç¡è¦
-ããï¼
-
-ãã®é¢æ°ãçµäºå¦çã«ã¼ãã³ã¨ãã¦ç»é²ãããã¨ã§ï¼ã«ã¼ãã«çµäºæç¹ã§æªåº
-åã®ã­ã°æ
-å ±ã®ã»ã¨ãã©ãåºåãããã¨ãã§ããï¼ãã ãï¼æªåºåã®ã­ã°æ
-å ±
-ã®å
-ï¼ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®ã¡ã¤ã³å¦çãï¼ã­ã°ãããã¡ããåãåºãããï¼
-ã¾ã ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã«éä¿¡ãã¦ããªãæ
-å ±ã¯ï¼ãã®é¢æ°ã§ã¯
-åºåã§ããªãï¼
+ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã¯ï¼åç¯ã®æ©è½ã«å ãã¦ï¼ã·ã¹ãã ã­ã°æ©è½ã®ã­ã°ãããã¡
+ä¸­ã®ã­ã°æ
+å ±ãæå®ããæ°ä»¥ä¸ã«ãªãã¾ã§å¾
+ã¤ï¼æå®ããæ°ã0ã®å ´åã«ã¯ï¼ã·
+ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã®éä¿¡ãããã¡ãç©ºã«ãªãã®ãå¾
+ã¤ï¼æ©è½ãæ
+ã¤ãï¼Cè¨èªã§è¨è¿°ãããã¢ããªã±ã¼ã·ã§ã³ããå¼ã³åºããã¨ã¯æ³å®ãã¦ããªãï¼
+
+8.3.3 ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®çµè¾¼ã¿ã¨åå¤ã
+
+ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã¯ï¼ã³ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«ã§tLogTask.cdlãã¤ã³ãã¼
+ããï¼ä»¥ä¸ã®ãããªã»ã«ã®çµä¸ãè¨è¿°ãå«ãããã¨ã§ï¼ã·ã¹ãã ã«çµã¿è¾¼ãã
+ã¨ãã§ããï¼sample1.cdlã«ã¯ï¼ãã®ãããªè¨è¿°ãå«ã¾ãã¦ããï¼ï¼
+
+----------------------------------------
+cell tLogTask LogTask {
+	priority  = 3;					/* ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®åªå
+åº¦ */
+	stackSize = LogTaskStackSize;	/* ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®ã¹ã¿ãã¯ãµã¤ãº */
+	interval = 10000;				/* ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®åä½éé */
+	flushWait = 1000;				/* ãã©ãã·ã¥å¾
+ã¡ã®åä½æé */
+
+	/* ã·ãªã¢ã«ã¤ã³ã¿ãã§ã¼ã¹ãã©ã¤ãã¨ã®çµå */
+	cSerialPort        = SerialPort1.eSerialPort;
+	cnSerialPortManage = SerialPort1.enSerialPortManage;
+
+	/* ã·ã¹ãã ã­ã°æ©è½ã¨ã®çµå */
+	cSysLog = SysLog.eSysLog;
+
+	/* ä½ã¬ãã«åºåã¨ã®çµå */
+	cPutLog = PutLogTarget.ePutLog;
+};
+----------------------------------------
+
+ãã®è¨è¿°ãå¤æ´ãããã¨ã§ï¼ã·ã¹ãã ã­ã°ã¿ã¹ã¯ã®åªå
+åº¦ï¼ã¹ã¿ãã¯ãµã¤ãºï¼
+åä½ééï¼ã­ã°ãããã¡ãç©ºã®å ´åã«å¾
+ã¤æéï¼ï¼ãã©ãã·ã¥å¾
+ã¡ã®åä½æé
+ãå¤æ´ãããã¨ãã§ããï¼
+
+ã·ã¹ãã ã­ã°ã¿ã¹ã¯ãåãå¤ãå ´åã«ã¯ï¼ä¸ã®ã»ã«ã®çµä¸ãè¨è¿°ãåé¤ããã°
+ããï¼
 
 8.4 å®è¡æéåå¸éè¨ãµã¼ãã¹
@@ -1586,15 +1814,10 @@
 ã ãµã¼ãã¹ã§ããï¼
 
-å®è¡æéåå¸éè¨ãµã¼ãã¹ãç¨ããå ´åã«ã¯ï¼histogram.hãã¤ã³ã¯ã«ã¼ããï¼
-histogram.cãã³ã³ãã¤ã«ã»ãªã³ã¯ããï¼
+8.4.1 å®è¡æéåå¸éè¨ãµã¼ãã¹ã®æ¦è¦
 
 å®è¡æéåå¸éè¨ãµã¼ãã¹ã¯ï¼è¤æ°ã®ãã­ã°ã©ã åºéã®å®è¡æéãè¨æ¸¬ã»éè¨ã»
 è¡¨ç¤ºãããã¨ãã§ããï¼ãã­ã°ã©ã åºéæ¯ã«ï¼å®è¡æéåå¸ãè¨é²ããããã®
 ãã¼ã¿æ§é ãæã¤ï¼ã©ã®ãã¼ã¿æ§é ãç¨ããããï¼IDçªå·ï¼histidï¼ã§æå®ã
-ãï¼ä½¿ç¨ã§ãããã¼ã¿æ§é ã®æ°ã¯ï¼TNUM_HISTã§å®ç¾©ãããï¼ããªãã¡ï¼IDçªå·
-ã¨ãã¦ï¼1ãTNUM_HISTãæå®ãããã¨ãã§ããï¼TNUM_HISTã¯ï¼ããã©ã«ãå¤ã
-histgram.cã®ä¸­ã§å®ç¾©ããã¦ããï¼ã³ã³ãã¤ã«ãªãã·ã§ã³ãã¿ã¼ã²ããä¾å­é¨
-ï¼target_test.hã¾ãã¯ããããã¤ã³ã¯ã«ã¼ãããããã¡ã¤ã«ï¼ã«ããå¤æ´ãã
-ãã¨ãã§ããï¼
+ãï¼
 
 ã¿ã¼ã²ããä¾å­é¨ã§è¨­å®ãå¤æ´ãã¦ããªãå ´åï¼å®è¡æéåå¸éè¨ãµã¼ãã¹ã¯ï¼
@@ -1609,15 +1832,13 @@
 §ãããã¨ï¼
 
-(1) void init_hist(ID histid, uint_t maxval, uint_t histarea[])
-
-histidã§æå®ããããã¼ã¿æ§é ãåæåããï¼maxvalã«ã¯è¨é²ããæå¤§æéãï¼
-histareaã«ã¯è¨é²é åã®å
-é ­çªå°ãæå®ããï¼histareaã§å§ã¾ãè¨æ¶é åã¯ï¼
-è¦ç´ æ°ãmaxvalã«æå®ããå¤+1ã®uint_tåã®é
-åã¨ãã¦ç¢ºä¿ããï¼ä¾ãã°ï¼
-maxvalã«1000ãæå®ããå ´åã«ã¯ï¼histareaã«ã¯è¦ç´ æ°ã1001ã®uint_tåã®é
-
-åã®å
-é ­çªå°ãæ¸¡ãï¼
+8.4.2 å®è¡æéåå¸éè¨ãµã¼ãã¹ã®ãµã¼ãã¹ã³ã¼ã«
+
+å®è¡æéåå¸éè¨ãµã¼ãã¹ãå¼ã³åºããµã¼ãã¹ã³ã¼ã«ã®ä»æ§ã¯æ¬¡ã®éãã§ããï¼
+ãããã®ãµã¼ãã¹ã³ã¼ã«ãå¼ã³åºãã½ã¼ã¹ãã¡ã¤ã«ã§ã¯ï¼histogram.hãã¤ã³ã¯
+ã«ã¼ãããï¼
+
+(1) void init_hist(ID histid)
+
+histidã§æå®ããããã¼ã¿æ§é ãåæåããï¼
 
 (2) void begin_measure(ID histid)
@@ -1632,24 +1853,59 @@
 åºéã®å®è¡æéãæ±ãï¼ãã®çµæãè¨é²ããï¼
 
-(4) void print_hist(ID histid, void (*flush)(void))
-
-ã·ã¹ãã ã­ã°æ©è½ãç¨ãã¦ï¼å®è¡æéåå¸ã®è¨æ¸¬çµæãåºåããï¼ã­ã°ãããã¡
-ãæº¢ããã®ãé²ãããã«ï¼è¨æ¸¬çµæã®åºåä¸­ããã³åºåå¾ã«ï¼flushã§æå®ãã
-ãé¢æ°ãå¼ã³åºãï¼
-
-8.5 ã«ã¼ãã«èµ·åã¡ãã»ã¼ã¸ã®åºå
-
-ã«ã¼ãã«èµ·åã¡ãã»ã¼ã¸ã®åºåã¯ï¼ã«ã¼ãã«ã®èµ·åæã«ï¼ã«ã¼ãã«ã®åç§°ããã¼
+(4) void print_hist(ID histid)
+
+ã·ã¹ãã ã­ã°æ©è½ãç¨ãã¦ï¼å®è¡æéåå¸ã®è¨æ¸¬çµæãåºåããï¼
+
+8.4.3 å®è¡æéåå¸éè¨ãµã¼ãã¹ã®çµè¾¼ã¿ã¨åå¤ã
+
+å®è¡æéåå¸éè¨ãµã¼ãã¹ã¯ï¼å®è¡æéåå¸éè¨ãµã¼ãã¹ã®æ¬ä½ã¨ï¼å®è¡æé
+åå¸éè¨ãµã¼ãã¹ãCè¨èªã§è¨è¿°ãããã¢ããªã±ã¼ã·ã§ã³ããå¼ã³åºãããã®ã¢
+ããã¿ã§æ§æãããï¼
+
+å®è¡æéåå¸éè¨ãµã¼ãã¹ã®æ¬ä½ã¯ï¼ã³ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«ã§
+tHistogram.cdlãã¤ã³ãã¼ããï¼ä»¥ä¸ã®ãããªã»ã«ã®çµä¸ãè¨è¿°ãå«ãããã¨
+ã§ï¼ã·ã¹ãã ã«çµã¿è¾¼ããã¨ãã§ããï¼perf_pf.cdlã«ã¯ï¼ãã®ãããªè¨è¿°ãå«
+ã¾ãã¦ããï¼ï¼ã»ã«ã®çµä¸ãè¨è¿°ã¯ï¼å®è¡æéåå¸ãè¨é²ããããã®ãã¼ã¿æ§
+é æ¯ã«å¿
+è¦ã§ããï¼
+
+----------------------------------------
+cell tHistogram Histogram1 { };
+cell tHistogram Histogram2 { maxTime = 2000 };
+----------------------------------------
+
+ããã§ï¼maxTimeã¯ï¼éè¨ã§ããæå¤§å®è¡æéã§ããï¼ä¸ã®ä¾ã®Histogram1ã®ã
+ãã«maxTimeã®æå®ãçç¥ããå ´åï¼ããã©ã«ãå¤ã¨ãã¦1000ãä½¿ãããï¼
+
+å®è¡æéåå¸éè¨ãµã¼ãã¹ã®ã¢ããã¿ã¯ï¼ã³ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«ã§
+tHistogramAdapter.cdlãã¤ã³ãã¼ããï¼ä»¥ä¸ã®ãããªã»ã«ã®çµä¸ãè¨è¿°ãå«ã
+ããã¨ã§ï¼ã·ã¹ãã ã«çµã¿è¾¼ããã¨ãã§ããï¼å®è¡æéåå¸ãè¨é²ããããã®
+ãã¼ã¿æ§é ã2ã¤ãµãã¼ãããå ´åï¼perf_pf.cdlã«ã¯ï¼ãã®ãããªè¨è¿°ãå«ã¾
+ãã¦ããï¼ï¼
+
+----------------------------------------
+cell tHistogramAdapter HistogramAdapter {
+	cHistogram[0] = Histogram1.eHistogram;
+	cHistogram[1] = Histogram2.eHistogram;
+};
+----------------------------------------
+
+8.5 ã«ã¼ãã«èµ·åã¡ãã»ã¼ã¸åºå
+
+ã«ã¼ãã«èµ·åã¡ãã»ã¼ã¸åºåã¯ï¼ã«ã¼ãã«ã®èµ·åæã«ï¼ã«ã¼ãã«ã®åç§°ããã¼
 ã¸ã§ã³çªå·ï¼èä½æ¨©è¡¨ç¤ºãªã©ãåºåããããã®æ©è½ã§ããï¼
 
-ã«ã¼ãã«èµ·åã¡ãã»ã¼ã¸ã®åºåã¯ï¼ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«
-ã§banner.cfgãã¤ã³ã¯ã«ã¼ããããã¨ã§ï¼ã·ã¹ãã ã«çµã¿è¾¼ããã¨ãã§ããï¼
-
-ã«ã¼ãã«èµ·åã¡ãã»ã¼ã¸ã®åºåã¯ï¼æ¬¡ã®é¢æ°ã§æ§æãããï¼
-
-(1) void print_banner(intptr_t exinf)
-
-ã·ã¹ãã ã­ã°æ©è½ãç¨ãã¦ï¼ã«ã¼ãã«èµ·åã¡ãã»ã¼ã¸ãåºåããï¼banner.cfg
-ã«ãã£ã¦ï¼ã«ã¼ãã«ã«åæåã«ã¼ãã³ã¨ãã¦ç»é²ãããï¼exinfã¯ç¡è¦ãããï¼
+ã«ã¼ãã«èµ·åã¡ãã»ã¼ã¸åºåã¯ï¼ã³ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«ã§tBanner.cdlã
+ã¤ã³ãã¼ããï¼ä»¥ä¸ã®ãããªã»ã«ã®çµä¸ãè¨è¿°ãå«ãããã¨ã§ï¼ã·ã¹ãã ã«çµ
+ã¿è¾¼ããã¨ãã§ããï¼BannerTargetNameã¨BannerCopyrightNoticeã®å®ç¾©ãï¼ã¿ã¼
+ã²ããä¾å­é¨ã«å«ã¾ãã¦ãããã¨ãæ³å®ï¼sample1.cdlã«ã¯ï¼ãã®è¨è¿°ãå«ã¾ã
+ã¦ããï¼ï¼
+
+----------------------------------------
+cell tBanner Banner {
+	targetName      = BannerTargetName;
+	copyrightNotice = BannerCopyrightNotice;
+};
+----------------------------------------
 
 
@@ -1777,15 +2033,19 @@
 æ¤åºããå ´åã«ã¯ï¼ãã­ã°ã©ã ãçµäºãããï¼
 
-ãã¹ããã­ã°ã©ã ç¨ãµã¼ãã¹ãç¨ããå ´åã«ã¯ï¼test_svc.hãã¤ã³ã¯ã«ã¼ããï¼
-test_svc.cãã³ã³ãã¤ã«ã»ãªã³ã¯ããï¼
-
-(1) void test_start(char *progname)
+10.1.1 ãã¹ããã­ã°ã©ã ç¨ãµã¼ãã¹ã®ãµã¼ãã¹ã³ã¼ã«
+
+ãã¹ããã­ã°ã©ã ç¨ãµã¼ãã¹ãå¼ã³åºããµã¼ãã¹ã³ã¼ã«ã®ä»æ§ã¯æ¬¡ã®éãã§ã
+ãï¼ãããã®ãµã¼ãã¹ã³ã¼ã«ãå¼ã³åºãã½ã¼ã¹ãã¡ã¤ã«ã§ã¯ï¼test_svc.hãã¤
+ã³ã¯ã«ã¼ãããï¼
+
+(1) void test_start(const char *progname)
 
 ãã¹ããã­ã°ã©ã ã®éå§æã«å¼ã³åºãé¢æ°ï¼prognameã«ã¯ï¼ãã¹ããã­ã°ã©ã 
 åãæ¸¡ãï¼
 
-(2) void set_bit_func(BIT_FUNC bit_func)
-
-ãã§ãã¯ãã¤ã³ãã«ããã¦å¼ã³åºãèªå·±è¨ºæ­é¢æ°ãè¨­å®ããããã®é¢æ°ï¼
+(2) void set_bit_func(const void *bit_func)
+
+ãã§ãã¯ãã¤ã³ãã«ããã¦å¼ã³åºãèªå·±è¨ºæ­é¢æ°ãè¨­å®ããããã®é¢æ°ï¼ãã®
+é¢æ°ãå¼ã³åºããªãå ´åï¼ãã§ãã¯ãã¤ã³ãã§èªå·±è¨ºæ­é¢æ°ãå¼ã³åºããªãï¼
 
 (3) void check_point(uint_t count)
@@ -1848,4 +2108,20 @@
 ä½ãã¦ããªãã¨è¦ãªãï¼ãã­ã°ã©ã ãçµäºãããï¼
 
+10.1.2 ãã¹ããã­ã°ã©ã ç¨ãµã¼ãã¹ã®çµè¾¼ã¿ã¨åå¤ã
+
+ãã¹ããã­ã°ã©ã ç¨ãµã¼ãã¹ã¯ï¼ã³ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«ã§
+tTestService.cdlãã¤ã³ãã¼ããï¼ä»¥ä¸ã®ã»ã«ã®çµä¸ãè¨è¿°ãå«ãããã¨ã§ï¼
+ã·ã¹ãã ã«çµã¿è¾¼ããã¨ãã§ããï¼test_pf.cdlã¨perf_pf.cdlã«ã¯ï¼ãã®è¨è¿°
+ãå«ã¾ãã¦ããï¼ï¼
+
+----------------------------------------
+cell tTestService TestService {
+	cSysLog = SysLog.eSysLog;
+};
+----------------------------------------
+
+ãã¹ããã­ã°ã©ã ç¨ãµã¼ãã¹ãåãå¤ãå ´åã«ã¯ï¼ä¸ã®ã»ã«ã®çµä¸ãè¨è¿°ãå
+é¤ããã°ããï¼
+
 10.2 ã«ã¼ãã«ã®æ´åæ§æ¤æ»
 
@@ -1881,33 +2157,36 @@
 
 æ©è½ãã¹ããã­ã°ã©ã ã¯ãã¹ããã­ã°ã©ã ç¨ãµã¼ãã¹ãä½¿ç¨ãã¦ããããï¼æ§
-ç¯ããå ´åã«ã¯ï¼Makefileã®SYSSVC_COBJSã«ï¼test_svc.oãè¿½å ããå¿
-è¦ãã
-ãï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªãããä½¿ç¨ããå ´åã«ã¯ï¼-Sãªãã·ã§ã³ã§
-test_svc.oãæå®ããï¼å
-·ä½çã«ã¯ï¼æ¬¡ã®ã³ãã³ããå®è¡ããã°ããï¼æ§ç¯ç¨
-ã®ãã£ã¬ã¯ããªãï¼ASP3ã«ã¼ãã«ã®ã½ã¼ã¹ãã¡ã¤ã«ãå±éãããã£ã¬ã¯ããªã®
-ç´ä¸ã«ããã¨ä»®å®ãã¦ããï¼ï¼
-
-	% perl ../configure -T <ã¿ã¼ã²ããç¥ç§°> -A <ãã¹ããã­ã°ã©ã å> \
-											-a ../test -S test_svc.o
+ç¯ããå ´åã«ã¯ï¼ã³ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«ã«test_pf.cdlãä½¿ç¨ããå¿
+è¦ã
+ããï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªãããä½¿ç¨ããå ´åã«ã¯ï¼-Cãªãã·ã§ã³
+ã§test_pf.cdlãæå®ããï¼å
+·ä½çã«ã¯ï¼æ¬¡ã®ã³ãã³ããå®è¡ããã°ããï¼æ§ç¯
+ç¨ã®ãã£ã¬ã¯ããªãï¼ASP3ã«ã¼ãã«ã®ã½ã¼ã¹ãã¡ã¤ã«ãå±éãããã£ã¬ã¯ããª
+ã®ç´ä¸ã«ããã¨ä»®å®ãã¦ããï¼ï¼
+
+	% ruby ../configure.rb -T <ã¿ã¼ã²ããç¥ç§°> -a ../test \
+						-A <ãã¹ããã­ã°ã©ã å> -C test_pf.cdl
 
 ãã ãï¼CPUä¾å¤å¦çã®ãã¹ã(1)ã(13)ã¯ï¼åä¸ã®ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼
-ã·ã§ã³ãå
-±ç¨ãã¦ããããï¼test_cpuexc.cfgãæ¬¡ã®ããã«ã³ãã¼ãã¦ããå¿
-è¦
-ãããï¼
-
-	% cp ../test/test_cpuexc.cfg test_cpuexc<ãã¹ãçªå·>.cfg
+ã·ã§ã³ãã¡ã¤ã«ï¼test_cpuexc.cfgï¼ãå
+±ç¨ãã¦ããããï¼-cãªãã·ã§ã³ã§
+test_cpuexc.cfgãæå®ããå¿
+è¦ãããï¼
+
+	% ruby ../configure.rb -T <ã¿ã¼ã²ããç¥ç§°> -a ../test \
+						-A <ãã¹ããã­ã°ã©ã å> -C test_pf.cdl \
+						-c test_cpuexc.cfg
 
 ã¾ãï¼ããã¤ãã®ãã¹ããã­ã°ã©ã ã§ã¯ï¼ã«ã¼ãã«ã®æ´åæ§æ¤æ»ãå®æ½ãã¦ã
-ãï¼è©²å½ãããã¹ããã­ã°ã©ã ãæ§ç¯ããå ´åã«ã¯ï¼Makefileã®SYSSVC_COBJS
-ã«ï¼bit_kernel.oã¾ãã¯bit_mutex.oãè¿½å ããå¿
-è¦ãããï¼ã³ã³ãã£ã®ã¥ã¬ã¼
-ã·ã§ã³ã¹ã¯ãªãããä½¿ç¨ããå ´åã«ã¯ï¼-Sãªãã·ã§ã³ã§ãããã®ãã¡ã¤ã«ãæ
-å®ããï¼å
+ãï¼è©²å½ãããã¹ããã­ã°ã©ã ãæ§ç¯ããå ´åã«ã¯ï¼ã·ã¹ãã ãµã¼ãã¹ã®ãªã
+ã¸ã§ã¯ããã¡ã¤ã«åã«ï¼bit_kernel.oã¾ãã¯bit_mutex.oãè¿½å ããå¿
+è¦ãããï¼
+ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªãããä½¿ç¨ããå ´åã«ã¯ï¼-Sãªãã·ã§ã³ã§ãã
+ãã®ãã¡ã¤ã«ãæå®ããï¼å
 ·ä½çã«ã¯ï¼æ¬¡ã®ã³ãã³ããå®è¡ããã°ããï¼
 
-	% perl ../configure -T <ã¿ã¼ã²ããç¥ç§°> -A <ãã¹ããã­ã°ã©ã å> \
-				-a ../test -S "test_svc.o bit_kernel.o bit_mutex.o"
+	% ruby ../configure.rb -T <ã¿ã¼ã²ããç¥ç§°> -a ../test \
+						-A <ãã¹ããã­ã°ã©ã å> -C test_pf.cdl \
+						-S "bit_kernel.o bit_mutex.o"
 
 ç¾ãã¼ã¸ã§ã³ã§ç¨æãã¦ããæ©è½ãã¹ããã­ã°ã©ã ã¯æ¬¡ã®éãï¼
@@ -1924,24 +2203,26 @@
 (10) test_cpuexc10			CPUä¾å¤å¦çã®ãã¹ã(10)
 (11) test_dlynse			sil_dly_nseã«é¢ãããã¹ã
-(12) test_hrt1.c			fch_hrtã«é¢ãããã¹ã(1)
-(13) test_mutex1.c			ãã¥ã¼ããã¯ã¹æ©è½ã®ãã¹ã(1)
-(14) test_mutex2.c			ãã¥ã¼ããã¯ã¹æ©è½ã®ãã¹ã(2)
-(15) test_mutex3.c			ãã¥ã¼ããã¯ã¹æ©è½ã®ãã¹ã(3)
-(16) test_mutex4.c			ãã¥ã¼ããã¯ã¹æ©è½ã®ãã¹ã(4)
-(17) test_mutex5.c			ãã¥ã¼ããã¯ã¹æ©è½ã®ãã¹ã(5)
-(18) test_mutex6.c			ãã¥ã¼ããã¯ã¹æ©è½ã®ãã¹ã(6)
-(19) test_mutex7.c			ãã¥ã¼ããã¯ã¹æ©è½ã®ãã¹ã(7)
-(20) test_mutex8.c			ãã¥ã¼ããã¯ã¹æ©è½ã®ãã¹ã(8)
-(21) test_notify1.c			éç¥å¦çã®ãã¹ã(1)
-(22) test_raster1.c			ã¿ã¹ã¯çµäºè¦æ±æ©è½ã«é¢ãããã¹ã(1)
-(23) test_raster2.c			ã¿ã¹ã¯çµäºè¦æ±æ©è½ã«é¢ãããã¹ã(2)
-(24) test_sem1				ã»ããã©æ©è½ã®ãã¹ã(1)
-(25) test_sem2				ã»ããã©æ©è½ã®ãã¹ã(2)
-(26) test_sysman1			ã·ã¹ãã ç¶æ
+(12) test_flg1				ã¤ãã³ããã©ã°æ©è½ã®ãã¹ã(1)
+(13) test_dtq1				ãã¼ã¿ã­ã¥ã¼æ©è½ã®ãã¹ã(1)
+(14) test_hrt1.c			fch_hrtã«é¢ãããã¹ã(1)
+(15) test_mutex1.c			ãã¥ã¼ããã¯ã¹æ©è½ã®ãã¹ã(1)
+(16) test_mutex2.c			ãã¥ã¼ããã¯ã¹æ©è½ã®ãã¹ã(2)
+(17) test_mutex3.c			ãã¥ã¼ããã¯ã¹æ©è½ã®ãã¹ã(3)
+(18) test_mutex4.c			ãã¥ã¼ããã¯ã¹æ©è½ã®ãã¹ã(4)
+(19) test_mutex5.c			ãã¥ã¼ããã¯ã¹æ©è½ã®ãã¹ã(5)
+(20) test_mutex6.c			ãã¥ã¼ããã¯ã¹æ©è½ã®ãã¹ã(6)
+(21) test_mutex7.c			ãã¥ã¼ããã¯ã¹æ©è½ã®ãã¹ã(7)
+(22) test_mutex8.c			ãã¥ã¼ããã¯ã¹æ©è½ã®ãã¹ã(8)
+(23) test_notify1.c			éç¥å¦çã®ãã¹ã(1)
+(24) test_raster1.c			ã¿ã¹ã¯çµäºè¦æ±æ©è½ã«é¢ãããã¹ã(1)
+(25) test_raster2.c			ã¿ã¹ã¯çµäºè¦æ±æ©è½ã«é¢ãããã¹ã(2)
+(26) test_sem1				ã»ããã©æ©è½ã®ãã¹ã(1)
+(27) test_sem2				ã»ããã©æ©è½ã®ãã¹ã(2)
+(28) test_sysman1			ã·ã¹ãã ç¶æ
 ç®¡çæ©è½ã®ãã¹ã(1)
-(27) test_sysstat1			ã·ã¹ãã ç¶æ
+(29) test_sysstat1			ã·ã¹ãã ç¶æ
 ã«é¢ãããã¹ã(1)
-(28) test_task1				ã¿ã¹ã¯ç®¡çã¢ã¸ã¥ã¼ã«ã®ãã¹ã(1)
-(29) test_tmevt1.c			ã¿ã¤ã ã¤ãã³ãç®¡çã¢ã¸ã¥ã¼ã«ã®ãã¹ã(1)
+(30) test_task1				ã¿ã¹ã¯ç®¡çã¢ã¸ã¥ã¼ã«ã®ãã¹ã(1)
+(31) test_tmevt1.c			ã¿ã¤ã ã¤ãã³ãç®¡çã¢ã¸ã¥ã¼ã«ã®ãã¹ã(1)
 
 CPUä¾å¤å¦çã®ãã¹ããã­ã°ã©ã ã®ä¸é¨ã¯ï¼CPUä¾å¤ãã³ãã©ãããªã¿ã¼ã³ãã
@@ -1982,6 +2263,6 @@
 ãªã®ç´ä¸ã«ããã¨ä»®å®ãã¦ããï¼ï¼
 
-	% perl ../configure -T <ãã¹ãç¨ã®ã¿ã¼ã²ããç¥ç§°> \
-				 -A <ãã¹ããã­ã°ã©ã å> -a ../test -S test_svc.o \
+	% ruby ../configure.rb -T <ãã¹ãç¨ã®ã¿ã¼ã²ããç¥ç§°> -a ../test \
+				 -A <ãã¹ããã­ã°ã©ã å> -C test_pf.cdl \
 				-O -DHRT_CONFIG<1ã¾ãã¯2>
 
@@ -2021,15 +2302,14 @@
 
 æ§è½è©ä¾¡ãã­ã°ã©ã ã¯ãã¹ããã­ã°ã©ã ç¨ãµã¼ãã¹ã¨å®è¡æéåå¸éè¨ãµã¼ã
-ã¹ãä½¿ç¨ãã¦ããããï¼æ§ç¯ããå ´åã«ã¯ï¼Makefileã®SYSSVC_COBJSã«ï¼
-test_svc.oã¨histogram.oãè¿½å ããå¿
-è¦ãããï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯
-ãªãããä½¿ç¨ããå ´åã«ã¯ï¼-Sãªãã·ã§ã³ã§test_svc.oã¨histgram.oãæå®ã
-ãï¼å
-·ä½çã«ã¯ï¼æ¬¡ã®ã³ãã³ããå®è¡ããã°ããï¼æ§ç¯ç¨ã®ãã£ã¬ã¯ããªãï¼
-ASP3ã«ã¼ãã«ã®ã½ã¼ã¹ãã¡ã¤ã«ãå±éãããã£ã¬ã¯ããªã®ç´ä¸ã«ããã¨ä»®å®ã
-ã¦ããï¼ï¼
-
-	% perl ../configure -T <ã¿ã¼ã²ããç¥ç§°> -A <æ§è½è©ä¾¡ãã­ã°ã©ã å> \
-									-a ../test -S "test_svc.o histogram.o"
+ã¹ãä½¿ç¨ãã¦ããããï¼æ§ç¯ããå ´åã«ã¯ï¼ã³ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«ã«
+perf_pf.cdlãä½¿ç¨ããå¿
+è¦ãããï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªãããä½¿ç¨
+ããå ´åã«ã¯ï¼-Cãªãã·ã§ã³ã§perf_pf.cdlãæå®ããï¼å
+·ä½çã«ã¯ï¼æ¬¡ã®ã³ã
+ã³ããå®è¡ããã°ããï¼æ§ç¯ç¨ã®ãã£ã¬ã¯ããªãï¼ASP3ã«ã¼ãã«ã®ã½ã¼ã¹ãã¡
+ã¤ã«ãå±éãããã£ã¬ã¯ããªã®ç´ä¸ã«ããã¨ä»®å®ãã¦ããï¼ï¼
+
+	% ruby ../configure.rb -T <ã¿ã¼ã²ããç¥ç§°> -a ../test \
+						-A <æ§è½è©ä¾¡ãã­ã°ã©ã å> -C perf_pf.cdl
 
 ç¾ãã¼ã¸ã§ã³ã§ç¨æãã¦ããæ§è½è©ä¾¡ãã­ã°ã©ã ã¯æ¬¡ã®éãï¼
@@ -2112,10 +2392,98 @@
 ï¼ï¼ï¼ä½¿ç¨ä¸ã®æ³¨æã¨ãã³ã
 
-11.1 ã¿ã¤ããã©ã¤ãã®çµè¾¼ã¿
-
-ã¿ã¤ããã©ã¤ããã·ã¹ãã ã«çµã¿è¾¼ãããã«ï¼ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§
-ã³ãã¡ã¤ã«ã®å
-é ­ã§target_timer.cfgãã¤ã³ã¯ã«ã¼ãããå¿
-è¦ãããï¼
+11.1 å®è¡æéã¨å²è¾¼ã¿ç¦æ­¢æéã«é¢ããæ³¨æäºé 
+
+
+ASP3ã«ã¼ãã«ã®åãµã¼ãã¹ã³ã¼ã«ã¯ï¼å¯è½ãªéãï¼æå¤§å®è¡æéãä¸å®å¤ã¨ãª
+ãããã«å®è£
+ãã¦ãããï¼ãã®ããã«å®è£
+ã§ããªãç¶æ³ãããï¼æå¤§å®è¡æé
+ãä½ããã®ãã©ã¡ã¼ã¿ã«ä¾å­ããå ´åãããï¼ã¾ãASP3ã«ã¼ãã«ã§ã¯ï¼ã«ã¼ã
+ã«ã®å¦çã®ã»ã¼å
+¨ä½ãã«ã¼ãã«ç®¡çã®å²è¾¼ã¿ãç¦æ­¢ããç¶æ
+ï¼CPUã­ãã¯ç¶æ
+ã¨
+åç­ï¼ã§å®è¡ããããï¼ãã®ãããªå ´åã«ã¯ï¼æå¤§å²è¾¼ã¿ç¦æ­¢æéãä½ããã®
+ãã©ã¡ã¼ã¿ã«ä¾å­ãããã¨ã«ãªãï¼
+
+ä»¥ä¸ã§ã¯ï¼ãµã¼ãã¹ã³ã¼ã«ã®å®è¡æéããã³å²è¾¼ã¿ç¦æ­¢æéãï¼ä½ããã®ãã©
+ã¡ã¼ã¿ã«ä¾å­ããå ´åã«ã¤ãã¦èª¬æããï¼
+
+(1) set_flgã«ããè¤æ°ã®ã¿ã¹ã¯ãå¾
+ã¡è§£é¤ãããå ´å
+
+TA_WMULå±æ§ã§ããï¼TA_CLRå±æ§ã§ãªãã¤ãã³ããã©ã°ã«å¯¾ããset_flgã«ããï¼
+è¤æ°ã®ã¿ã¹ã¯ãå¾
+ã¡è§£é¤ãããå ´åãããï¼ãã®å ´åï¼ãµã¼ãã¹ã³ã¼ã«ã®å®è¡
+æéããã³ã«ã¼ãã«å
+ã§ã®å²è¾¼ã¿ç¦æ­¢æéãï¼å¾
+ã¡è§£é¤ãããã¿ã¹ã¯ã®æ°ã®æ°
+ã®ãªã¼ãã§é·ããªãï¼ãã®å®è¡æéã®ä¼¸ã³ãè¨æ¸¬ããããã«ï¼æ§è½è©ä¾¡ãã­ã°
+ã©ã perf3ãç¨æãã¦ããï¼
+
+ã¾ãï¼TA_WMULå±æ§ã®ã¤ãã³ããã©ã°ã«å¯¾ããset_flgã®å®è¡æéããã³ã«ã¼ã
+ã«å
+ã§ã®å²è¾¼ã¿ç¦æ­¢æéã¯ï¼å¯¾è±¡ã¤ãã³ããã©ã°å¾
+ã¡ç¶æ
+ã®ã¿ã¹ã¯ï¼å¾
+ã¡è§£é¤
+ãããªãã¿ã¹ã¯ãå«ãï¼ã®æ°ã®ãªã¼ãã§ãé·ããªããï¼ããã«ããå®è¡æéã
+ãã³å²è¾¼ã¿ç¦æ­¢æéã®å¤åã¯ãããã§ããï¼å®éã®å½±é¿ã¯å°ããï¼
+
+(2) ini_yyyã«ããè¤æ°ã®ã¿ã¹ã¯ãå¾
+ã¡è§£é¤ãããå ´å
+
+å¯¾è±¡ãªãã¸ã§ã¯ãå¾
+ã¡ç¶æ
+ã®ã¿ã¹ã¯ãè¤æ°ããã¨ï¼ini_yyyã«ããï¼è¤æ°ã®ã¿ã¹
+ã¯ãå¾
+ã¡è§£é¤ãããï¼ãã®å ´åï¼ãµã¼ãã¹ã³ã¼ã«ã®å®è¡æéããã³ã«ã¼ãã«å
+
+ã§ã®å²è¾¼ã¿ç¦æ­¢æéãï¼å¾
+ã¡è§£é¤ãããã¿ã¹ã¯ã®æ°ã®ãªã¼ãã§é·ããªãï¼
+
+(3) ã¿ã¹ã¯åªå
+åº¦é ã®å¾
+ã¡è¡åã«ã¿ã¹ã¯ãæ¿å
+¥ãããå ´å
+
+å¾
+ã¡è¡åãã¿ã¹ã¯ã®åªå
+åº¦é ã«ãªã£ã¦ããåæã»éä¿¡ãªãã¸ã§ã¯ãã«å¯¾ãã¦ï¼
+ã¿ã¹ã¯ãå¾
+ã¡ç¶æ
+ã«ãªãå ´åï¼ãµã¼ãã¹ã³ã¼ã«ã®å®è¡æéããã³ã«ã¼ãã«å
+ã§
+ã®å²è¾¼ã¿ç¦æ­¢æéãï¼ãã§ã«å¾
+ã£ã¦ããã¿ã¹ã¯ï¼ã®ä¸­ã§æ°ãã«å¾
+ã¡ç¶æ
+ã«ãªã
+ã¿ã¹ã¯ããåªå
+åº¦ãé«ããåããã®ï¼ã®æ°ã®ãªã¼ãã§é·ããªãï¼ãã ãï¼ãã
+ã«ããå®è¡æéããã³å²è¾¼ã¿ç¦æ­¢æéã®å¤åã¯ãããã§ããï¼å®éã®å½±é¿ã¯å°
+ããï¼
+
+(4) åªå
+åº¦ãã¼ã¿ã­ã¥ã¼ã«ãã¼ã¿ãéä¿¡ããå ´å
+
+åªå
+åº¦ãã¼ã¿ã­ã¥ã¼ã«å¯¾ãã¦ãã¼ã¿ãéä¿¡ããå ´åï¼ãµã¼ãã¹ã³ã¼ã«ã®å®è¡æ
+éããã³ã«ã¼ãã«å
+ã§ã®å²è¾¼ã¿ç¦æ­¢æéãï¼ãã§ã«åªå
+åº¦ãã¼ã¿ã­ã¥ã¼ç®¡çé 
+åã«æ ¼ç´ããã¦ãããã¼ã¿ï¼ã®ä¸­ã§æ°ãã«éä¿¡ããããã¼ã¿ããåªå
+åº¦ãé«ã
+ãåããã®ï¼ã®æ°ã®ãªã¼ãã§é·ããªãï¼ãã ãï¼ããã«ããå®è¡æéããã³å²
+è¾¼ã¿ç¦æ­¢æéã®å¤åã¯ãããã§ããï¼å®éã®å½±é¿ã¯å°ããï¼
+
+(5) ã¿ã¤ã ã¤ãã³ãå¦çæé
+
+ã¿ã¤ã ã¤ãã³ããç»é²ã¾ãã¯ç»é²è§£é¤ããå ´åï¼ãµã¼ãã¹ã³ã¼ã«ã®å®è¡æéã
+ãã³ã«ã¼ãã«å
+ã§ã®å²è¾¼ã¿ç¦æ­¢æéãï¼ãã§ã«ç»é²ããã¦ããã¿ã¤ã ã¤ãã³ã
+ã®å¯¾æ°ãªã¼ãã§é·ããªãï¼ã¾ãï¼é«åè§£è½ã¿ã¤ãå²è¾¼ã¿ã®å®è¡æéããã³ãã®
+ä¸­ã§ã®å²è¾¼ã¿ç¦æ­¢æéãï¼åæ§ã«é·ããªãï¼ãã ãï¼æéã®ä¼¸ã³ãå¯¾æ°ãªã¼ã
+ã§ãããã¨ããï¼å®éã®å½±é¿ã¯éããã¦ããï¼ãã®å®è¡æéã®ä¼¸ã³ãè¨æ¸¬ãã
+ããã«ï¼æ§è½è©ä¾¡ãã­ã°ã©ã perf5ãç¨æãã¦ããï¼
 
 11.2 assertãã¯ã­ã®å¦ç
@@ -2148,7 +2516,8 @@
 
 ã·ã¹ãã ã­ã°æ©è½ãä¸åä½¿ç¨ããªãå ´åã«ã¯ï¼ã·ã¹ãã ã­ã°æ©è½ãã·ã¹ãã ã«
-çµã¿è¾¼ã¾ãï¼ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ã§syslog.cfgãã¤ã³ã¯
-ã«ã¼ãããªãï¼ï¼ã·ã¹ãã ã­ã°æ©è½ã®ãµã¼ãã¹ã³ã¼ã«ãå¼ã³åºãã½ã¼ã¹ãã¡ã¤
-ã«ãTOPPERS_OMIT_SYSLOGãå®ç¾©ãã¦ã³ã³ãã¤ã«ããã°ããï¼
+çµã¿è¾¼ã¾ãï¼ã·ã¹ãã ã­ã°æ©è½ã®ãµã¼ãã¹ã³ã¼ã«ãå¼ã³åºãã½ã¼ã¹ãã¡ã¤ã«ã
+TOPPERS_OMIT_SYSLOGãå®ç¾©ãã¦ã³ã³ãã¤ã«ããã°ããï¼è©³ããã¯ï¼ã8.1.8 ã·
+ã¹ãã ã­ã°æ©è½ã®çµè¾¼ã¿ã¨åå¤ããã®ç¯ãåç
+§ãããã¨ï¼
 
 (2) ã­ã°æ
@@ -2215,11 +2584,11 @@
 
 ãã®æ¹æ³ã¯ï¼ãªãã¸ã§ã¯ãã³ã¼ãä¸­ã«IDçªå·ãç´æ¥åãè¾¼ã¾ããããã«å®è¡å¹
-çãè¯ãä¸æ¹ã§ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ãå®è¡ããã¦kernel_cfg.hãæ¸ãæãã
-åº¦ã«ï¼ã¢ããªã±ã¼ã·ã§ã³ãã­ã°ã©ã ã®åã³ã³ãã¤ã«ãå¿
-è¦ã«ãªãã¨ããæ¬ ç¹ã
-ããï¼ãã®ããï¼ã¢ããªã±ã¼ã·ã§ã³ãã­ã°ã©ã ãæ§æãããã¡ã¤ã«ã®ä¸­ã§ï¼ä¸
-é¨ã®ãã¡ã¤ã«ã®ã¿ã§ãªãã¸ã§ã¯ãè­å¥åãåç
-§ããæ§æã«ããã¨ãã£ãå·¥å¤«ã
-ãããã¨ãæã¾ããï¼
+çãè¯ãä¸æ¹ã§ï¼ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ãå¤æ´ããã¦
+kernel_cfg.hãæ¸ãæããåº¦ã«ï¼ã¢ããªã±ã¼ã·ã§ã³ãã­ã°ã©ã ã®åã³ã³ãã¤ã«
+ãå¿
+è¦ã«ãªãã¨ããæ¬ ç¹ãããï¼ãã®ããï¼ã¢ããªã±ã¼ã·ã§ã³ãã­ã°ã©ã ãæ§
+æãããã¡ã¤ã«ã®ä¸­ã§ï¼ä¸é¨ã®ãã¡ã¤ã«ã®ã¿ã§ãªãã¸ã§ã¯ãè­å¥åãåç
+§ãã
+æ§æã«ããã¨ãã£ãå·¥å¤«ããããã¨ãæã¾ããï¼
 
 (2) ãªãã¸ã§ã¯ãã®IDçªå·ãä¿æããå¤æ°ãç¨ãã
@@ -2234,6 +2603,7 @@
 
 ã¢ããªã±ã¼ã·ã§ã³ãã­ã°ã©ã ä¸­ã§ã¯ï¼ãã®å¤æ°ï¼TASK1_idï¼ãç¨ãããã¨ã§ï¼
-ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ãå®è¡ããã¦kernel_cfg.hãæ¸ãæããåº¦ã«ï¼ä¸è¨ã®å¤æ°
-å®ç¾©ãå«ãã ãã¡ã¤ã«ã®ã¿ãåã³ã³ãã¤ã«ããã°ãããã¨ã«ãªãï¼
+ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ãå¤æ´ããã¦kernel_cfg.hãæ¸ãæ
+ãã£ãæã«ãï¼ä¸è¨ã®å¤æ°å®ç¾©ãå«ãã ãã¡ã¤ã«ã®ã¿ãåã³ã³ãã¤ã«ããã°ã
+ããã¨ã«ãªãï¼
 
 ãã®æ¹æ³ã¯ï¼ã¢ããªã±ã¼ã·ã§ã³ãã­ã°ã©ã ã®åã³ã³ãã¤ã«ãæå°éã«ã§ããå©
@@ -2244,15 +2614,15 @@
 ãã¨ããå¶éãããï¼
 
-ãªãï¼ASP3ã«ã¼ãã«ã®ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã¯ï¼--external-idãªãã·ã§ã³ãä»å 
-ãããã¨ã«ããï¼ä¸è¨ã®å¤æ°å®ç¾©ãkernel_cfg.cä¸­ã«çæããæ©è½ãæã£ã¦ã
-ãã®ã§ï¼ãã¹ã¦ã®ãªãã¸ã§ã¯ãIDããã®æ¹æ³ã§åç
-§ããå ´åã«ã¯ï¼ãã®æ©è½ã
-ç¨ãããã¨ãæ¨å¥¨ããï¼
-
-ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã«ããIDçªå·å²ä»ãã®ãã1ã¤ã®èª²é¡ã¨ãã¦ï¼ã³ã³ãã£ã®ã¥
-ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ã®ä¿®æ­£ã«ããï¼ãªãã¸ã§ã¯ãIDã®å²ä»ããå¤ãã£ã¦ãã¾ã
-ãã¨ãæããããï¼ããã¯ï¼ã¢ããªã±ã¼ã·ã§ã³ã½ããã¦ã§ã¢ã®è¨­è¨ä»æ§æ¸ã«ID
-çªå·ãè¨è¼ããã¦ããå ´åãï¼ãããã°ä½æ¥­ã«ããã¦IDçªå·ãç´æ¥æ±ã£ã¦ãã
-å ´åã«ï¼ä½æ¥­å¹çãä½ä¸ãããå¯è½æ§ãèããããï¼
+ãªãï¼ASP3ã«ã¼ãã«ã®ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã¯ï¼ã³ã³ãã¤ã«ãªãã·ã§ã³ã«
+-DUSE_EXTERNAL_IDãæå®ãããã¨ã«ããï¼ä¸è¨ã®å¤æ°å®ç¾©ãkernel_cfg.cä¸­ã«
+çæããæ©è½ãæã£ã¦ããã®ã§ï¼ãã¹ã¦ã®ãªãã¸ã§ã¯ãIDããã®æ¹æ³ã§åç
+§ã
+ãå ´åã«ã¯ï¼ãã®æ©è½ãç¨ãããã¨ãæ¨å¥¨ããï¼
+
+ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã«ããIDçªå·å²ä»ãã®ãã1ã¤ã®èª²é¡ã¨ãã¦ï¼ã·ã¹ãã ã³ã³
+ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ã®ä¿®æ­£ã«ããï¼ãªãã¸ã§ã¯ãIDã®å²ä»ããå¤ãã£
+ã¦ãã¾ããã¨ãæããããï¼ããã¯ï¼ã¢ããªã±ã¼ã·ã§ã³ã½ããã¦ã§ã¢ã®è¨­è¨ä»
+æ§æ¸ã«IDçªå·ãè¨è¼ããã¦ããå ´åãï¼ãããã°ä½æ¥­ã«ããã¦IDçªå·ãç´æ¥æ±ã£
+ã¦ããå ´åã«ï¼ä½æ¥­å¹çãä½ä¸ãããå¯è½æ§ãèããããï¼
 
 ãã®åé¡ã«å¯¾å¿ããããã«ï¼ASP3ã«ã¼ãã«ã®ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã«ï¼IDçªå·ã®
@@ -2280,11 +2650,10 @@
 ã³ã¼ãã¯èªç¶ãªååãç¨ãã¦è¨è¿°ãï¼Cè¨èªããªãã­ã»ããµã®ãã¯ã­å®ç¾©
 ï¼#defineï¼ãç¨ãã¦ï¼ããã"_kernel_"ã¾ãã¯"_KERNEL_"ã§å§ã¾ãååï¼èªç¶
-ãªååãyyyyyã®å ´åã«ã¯ï¼_kernel_yyyyyï¼ã«ãªãã¼ã ããä»çµã¿ãç¨ãã¦ã
-ãï¼
+ãªååãyyyã®å ´åã«ã¯ï¼_kernel_yyyï¼ã«ãªãã¼ã ããä»çµã¿ãç¨ãã¦ããï¼
 
 å
 ·ä½çã«ã¯ï¼é¢é£ãããã£ã¬ã¯ããªã«xxx_rename.defãç½®ãï¼ãããããªãã¼
 ã ã®ããã®ããããã¡ã¤ã«ï¼xxx_rename.hããã³xxx_unrename.hï¼ãçæãã
-ãã¼ã«ï¼utils/genrenameï¼ãç¨æãã¦ããï¼
+ãã¼ã«ï¼utils/genrename.rbï¼ãç¨æãã¦ããï¼
 
 ãã®ä»çµã¿ã¯ï¼ã½ã¼ã¹ã³ã¼ãã®å¯èª­æ§åä¸ã«å½¹ç«ã¤ä¸æ¹ã§ï¼å¼å®³ãããï¼ä¾ã
@@ -2294,6 +2663,6 @@
 
 ãã®ç¶æ³ã«å¯¾å¿ããããã«ï¼ASP3ã«ã¼ãã«ã§ã¯ï¼ã½ã¼ã¹ã³ã¼ãä¸­ã®è©²å½ããå
-ç§°ããªãã¼ã ããããã®ã¦ã¼ãã£ãªãã£ï¼utils/applyrenameï¼ãç¨æãã¦ããï¼
-applyrenameã¦ã¼ãã£ãªãã£ã«ï¼ãªãã¼ã å®ç¾©ãã¡ã¤ã«ï¼xxx_rename.defï¼ã®ã
+ç§°ããªãã¼ã ããããã®ã¦ã¼ãã£ãªãã£ï¼utils/applyrename.rbï¼ãç¨æãã¦
+ããï¼ãã®ã¦ã¼ãã£ãªãã£ã«ï¼ãªãã¼ã å®ç¾©ãã¡ã¤ã«ï¼xxx_rename.defï¼ã®ã
 ãªãã£ãã¯ã¹ï¼xxxã®é¨åï¼ã¨ï¼ãªãã¼ã ããããã¡ã¤ã«ãªã¹ããä¸ããã¨ï¼ãª
 ãã¼ã å¦çãè¡ãªãï¼ä¾ãã°ï¼kernelãã£ã¬ã¯ããªã®ãã¹ã¦ã®ãã¡ã¤ã«ã«å¯¾ã
@@ -2303,5 +2672,5 @@
 
 	% cd kernel
-	% ../utils/applyrename kernel *
+	% ruby ../utils/applyrename.rb kernel *
 
 ã¾ãï¼ã¿ã¼ã²ããä¾å­é¨ã®ãã£ã¬ã¯ããªã®ãã¹ã¦ã®ãã¡ã¤ã«ã«å¯¾ãã¦ï¼ã«ã¼ã
@@ -2310,6 +2679,6 @@
 
 	% cd target/ct11mpcore_gcc/
-	% ../../utils/applyrename target *
-	% ../../utils/applyrename ../../kernel/kernel *
+	% ruby ../../utils/applyrename.rb target *
+	% ruby ../../utils/applyrename.rb ../../kernel/kernel *
 
 11.6 ãã¬ã¼ã¹ã­ã°è¨é²ã®ãµã³ãã«ã³ã¼ãã®ä½¿ç¨æ¹æ³
@@ -2317,35 +2686,48 @@
 ãã¬ã¼ã¹ã­ã°è¨é²ã®ãµã³ãã«ã³ã¼ããã¿ã¼ã²ããä¾å­é¨ã«çµã¿è¾¼ã¾ãã¦ããå ´
 åã«ã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªããã«ãããä½¿ç¨ãããã¨ãæç¤ºãã
-ãªãã·ã§ã³ï¼-rï¼ãä»å ãããã¨ã§ï¼ã¡ã¢ãªä¸ã«ãã¬ã¼ã¹ã­ã°ãè¨é²ããæ©è½
-ãæå¹ã«ãªãï¼
-
-ãã¬ã¼ã¹ã­ã°è¨é²ã®ä½¿ç¨æ¹æ³ã®ä¸ä¾ã¨ãã¦ï¼ã·ã¹ãã èµ·åæã«ãã¬ã¼ã¹ã­ã°ã®
-è¨é²ãéå§ãï¼ã·ã¹ãã çµäºæã«è¨é²ãããã¬ã¼ã¹ã­ã°ããã³ãããããã«ã¯ï¼
-ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ã«æ¬¡ã®ãããªè¨è¿°ãè¿½å ããï¼
-
-	#include "arch/logtrace/trace_config.h"
-	ATT_INI({ TA_NULL, TRACE_AUTOSTOP, trace_initialize });
-	ATT_TER({ TA_NULL, target_fput_log, trace_dump });
-
-ããã§ï¼åæåã«ã¼ãã³ï¼trace_initializeï¼ã¸ã®å¼æ°ã¯ï¼åæåç´å¾ã®ãã¬ã¼
-ã¹ã­ã°ã®åä½ã¢ã¼ããæå®ãããã®ã§ããï¼æå®ã§ããåä½ã¢ã¼ãã«ã¤ãã¦ã¯ï¼
-arch/logtrace/trace_config.hä¸­ã®ã³ã¡ã³ãã«èª¬æãããï¼
-
-çµäºå¦çã«ã¼ãã³ï¼trace_dumpï¼ã¯ï¼è¨é²ããããã¬ã¼ã¹ã­ã°ãã¿ã¼ã²ããä¾
-å­ã®ä½ã¬ãã«åºåæ©è½ãå©ç¨ãã¦ãã³ãããããã®ãã®ã§ããï¼ãã¬ã¼ã¹ã­ã°
-ãå¥ã®æ¹æ³ã§åãåºãå ´åã«ã¯ï¼çµäºå¦çã«ã¼ãã³ãç»é²ããå¿
-è¦ã¯ãªãï¼
-
-ä»¥ä¸ã®æ¹æ³ã§ã¯ï¼trace_initializeãåæåã«ã¼ãã³ã§ï¼trace_dumpãçµäºå¦
-çã«ã¼ãã³ã§å¼ã³åºãã¦ããããï¼åæåã«ã¼ãã³ãå¼ã³åºãåãçµäºå¦çã«ã¼
-ãã³ãå¼ã³åºããå¾ã«ã¯ï¼ãã¬ã¼ã¹ã­ã°è¨é²ã®æ©è½ãå©ç¨ã§ããªãï¼åæåã«ã¼
-ãã³ãå¼ã³åºãåãçµäºå¦çã«ã¼ãã³ãå¼ã³åºããå¾ã«å®è¡ãããå¦çï¼ä¾ã
-ã°ï¼ã«ã¼ãã«ãªãã¸ã§ã¯ãã®åæåå¦çãï¼trace_initializeãããå
-ã«ç»é²
-ããåæåã«ã¼ãã³ï¼trace_dumpãããå
-ã«ç»é²ããçµäºå¦çã«ã¼ãã³ï¼ã§ã
-ã¬ã¼ã¹ã­ã°è¨é²ã®æ©è½ãå©ç¨ããããã«ã¯ï¼trace_initializeã¨trace_dumpã
-é©åãªå ´æã§å¼ã¶ããã«ä¿®æ­£ãããã¨ãå¿
-è¦ã§ããï¼
+ãªãã·ã§ã³ï¼-rï¼ãä»å ãï¼ã³ã³ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«ã«ä»¥ä¸ã®è¨è¿°ãå«ã
+ããã¨ã§ï¼ã¡ã¢ãªä¸ã«ãã¬ã¼ã¹ã­ã°ãè¨é²ããæ©è½ãæå¹ã«ãªãï¼
+
+----------------------------------------
+/*
+ *  ãã¬ã¼ã¹ã­ã°æ©è½ã®çµä¸ãè¨è¿°
+ */
+import("arch/tracelog/tTraceLog.cdl");
+
+cell tTraceLog TraceLog {
+	logBufferSize = 1024;				/* ã­ã°ãããã¡ã®ãµã¤ãº */
+	initialMode = C_EXP("TRACE_RINGBUF");
+
+	/* ä½ã¬ãã«åºåã¨ã®çµå */
+	cPutLog = PutLogTarget.ePutLog;
+};
+----------------------------------------
+
+ãã®è¨è¿°ãå¤æ´ãããã¨ã§ï¼ãã¬ã¼ã¹ã­ã°æ©è½ã®ã­ã°ãããã¡ã®ãµã¤ãºãå¤æ´
+ãããã¨ãã§ããï¼
+
+initialModeãTRACE_RINGBUFã«ãããã¨ã§ï¼ã·ã¹ãã èµ·åæã«ãã¬ã¼ã¹ã­ã°ã®
+è¨é²ãéå§ããï¼ããã«æå®ã§ããåä½ã¢ã¼ãã¯ï¼ä»¥ä¸ã®ããããã§ããï¼
+
+	TRACE_STOP			ãã¬ã¼ã¹åæ­¢
+	TRACE_RINGBUF		ãªã³ã°ãããã¡ã¢ã¼ã
+	TRACE_AUTOSTOP		èªååæ­¢ã¢ã¼ã
+
+ã¾ãï¼ã·ã¹ãã çµäºæã«ï¼è¨é²ãããã¬ã¼ã¹ã­ã°ããã³ãããããã«ã¯ï¼ã³ã³
+ãã¼ãã³ãè¨è¿°ãã¡ã¤ã«æ¬¡ã®è¨è¿°ãè¿½å ããï¼ãã¬ã¼ã¹ã­ã°ãå¥ã®æ¹æ³ã§åã
+åºãå ´åã«ã¯ï¼ãã®è¨è¿°ã¯ä¸è¦ï¼ï¼
+
+----------------------------------------
+cell tTerminateRoutine TraceLogTerminate {
+	cTerminateRoutineBody = TraceLog.eDump;
+};
+----------------------------------------
+
+ãã®æ¹æ³ã§ã¯ï¼ãã¬ã¼ã¹ã­ã°ã®ãã³ããçµäºå¦çã«ã¼ãã³ã§è¡ã£ã¦ã¦ããããï¼
+çµäºå¦çã«ã¼ãã³ãå¼ã³åºããå¾ã®ãã¬ã¼ã¹ã­ã°ã¯åºåãããªãï¼çµäºå¦çã«ã¼
+ãã³ãå¼ã³åºããå¾ã«å®è¡ãããå¦çã§ãã¬ã¼ã¹ã­ã°è¨é²ã®æ©è½ãå©ç¨ããã
+ãã«ã¯ï¼ãã¬ã¼ã¹ã­ã°ã®ãã³ããé©åãªå ´æã§è¡ãããã«ä¿®æ­£ãããã¨ãå¿
+è¦
+ã§ããï¼
 
 11.7 ã·ã¹ãã ã®èµ·åæã®åæåå¦ç
@@ -2401,16 +2783,16 @@
 ç½®ã¢ãã¬ã¹ãä¸è´ãã
 ããªã³ã«ã¹ã¯ãªããï¼æ¨æºã®ãªã³ã«ã¹ã¯ãªããã¯ãã®ããã«ãªã£ã¦ããï¼ãç¨
-ããï¼ãµã³ãã«ã®Makefileã§ã¯ï¼LDSCRIPTã«ãããªã³ã«ã¹ã¯ãªãããæå®ãã
-ã®ã§ã¯ãªãï¼LDFLAGSã¨CFG1_OUT_LDFLAGSã«ç°ãªããªã³ã«ã¹ã¯ãªãããç¨ãããª
-ãã·ã§ã³ãè¨­å®ããã°ããï¼
-
-ãã¹3ã§ã®ã¨ã©ã¼ãåé¿ããããã«ã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹3ã®ãã³ãã¬ã¼
-ããã¡ã¤ã«ã«ããã¦ï¼rodataã»ã¯ã·ã§ã³ã®å
+ããï¼æ¨æºã®Makefileã§ã¯ï¼LDSCRIPTã«ãããªã³ã«ã¹ã¯ãªãããæå®ããã®ã§
+ã¯ãªãï¼LDFLAGSã¨CFG1_OUT_LDFLAGSã«ç°ãªããªã³ã«ã¹ã¯ãªãããç¨ãããªãã·ã§
+ã³ãè¨­å®ããã°ããï¼
+
+ãã¹3ã§ã®ã¨ã©ã¼ãåé¿ããããã«ã¯ï¼ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹3ã®çæã¹ã¯
+ãªããã«ããã¦ï¼rodataã»ã¯ã·ã§ã³ã®å
 å®¹ãï¼é
-ç½®ã¢ãã¬ã¹ããã¢ã¯ã»ã¹
-ã¢ãã¬ã¹ã«ã³ãã¼ããï¼ãã®ããã«ã¯ï¼ãã¹3ã®ãã³ãã¬ã¼ããã¡ã¤ã«ã®ã¿ã¼ã²ã
-ãä¾å­é¨ã§ï¼LMA.ORDER_LISTç­ã®ãã³ãã¬ã¼ããã¡ã¤ã«å¤æ°ãè¨­å®ããã°ããï¼
-å
-·ä½çãªæ¹æ³ã¯ï¼ãã¿ã¼ã²ããä¾å­é¨ ãã¼ãã£ã³ã°ã¬ã¤ãããåç
+ç½®ã¢ãã¬ã¹ããã¢ã¯ã»ã¹ã¢ã
+ã¬ã¹ã«ã³ãã¼ããï¼ãã®ããã«ã¯ï¼ãã¹3ã®çæã¹ã¯ãªããã®ã¿ã¼ã²ããä¾å­é¨
+ã§ï¼$lmaListãè¨­å®ããã°ããï¼å
+·ä½çãªæ¹æ³ã¯ï¼ãã¿ã¼ã²ããä¾å­é¨ ãã¼ãã£
+ã³ã°ã¬ã¤ãããåç
 §ãããã¨ï¼
 
@@ -2637,5 +3019,5 @@
 	ER ercd = get_tim(SYSTIM *p_systim)
 	ER ercd = adj_tim(int32_t adjtim)
-	HRTCNT ercd = fch_hrt(void)
+	HRTCNT hrtcnt = fch_hrt(void)
 
 	ER ercd = sta_cyc(ID cycid)
@@ -2721,8 +3103,10 @@
 13.3 ãã¼ã¸ã§ã³å±¥æ­´
 
-	2014å¹´11æ24æ¥	Release	3.A.0		æåã®ãªãªã¼ã¹
+	2014å¹´11æ24æ¥	Release 3.A.0		æåã®æ©æãªãªã¼ã¹ï¼Î±çï¼
 	2015å¹´8æ5æ¥	Release	3.B.0
-	2016å¹´ æ æ¥	Release	3.0.0		æåã®ä¸è¬å
+	2016å¹´2æ8æ¥	Release	3.0.0		æåã®ä¸è¬å
 ¬é
+	2016å¹´2æ14æ¥	Release	3.0.1
+	2016å¹´5æ15æ¥	Release	3.1.0
 
 ä»¥ä¸
Index: asp3_wo_tecs/trunk/doc/version.txt
===================================================================
--- asp3_wo_tecs/trunk/doc/version.txt	(revision 302)
+++ asp3_wo_tecs/trunk/doc/version.txt	(revision 306)
@@ -3,6 +3,6 @@
 		å¤æ´å±¥æ­´
 
-		å¯¾å¿ãã¼ã¸ã§ã³: Release 3.0.0
-		æçµæ´æ°: 2016å¹´1æ10æ¥
+		å¯¾å¿ãã¼ã¸ã§ã³: Release 3.1.0
+		æçµæ´æ°: 2016å¹´5æ15æ¥
 
 ãã®ãã­ã¥ã¡ã³ãã¯ï¼TOPPERS/ASP3ã«ã¼ãã«ã®å¤æ´å±¥æ­´ãï¼æ°ããæ¹ããé ã«
@@ -62,5 +62,158 @@
  ã®è²¬ä»»ãè² ããªãï¼
  
- $Id: version.txt 507 2016-01-12 01:58:33Z ertl-hiro $
+ $Id: version.txt 752 2016-05-14 15:06:22Z ertl-hiro $
+----------------------------------------------------------------------
+
+		TOPPERS/ASP3ã«ã¼ãã«
+		Release 3.0.1 ãã 3.1.0 ã¸ã®ä¸»ãªå¤æ´ç¹
+
+âå¤æ´ç¹ã®ãªã¹ã
+
+ã»éçAPIã®ãã©ã¡ã¼ã¿ã®çç¥
+	- CRE_TSKã®stkï¼CRE_DTQã®dtqmbï¼CRE_PDQã®pdqmbï¼CRE_MBFã®mbfmbï¼
+	  CRE_MPFã®mpfã¨mpfmbï¼DEF_ICSã®istkã®è¨è¿°ãçç¥å¯è½ã«ããï¼
+
+ã»ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ä»æ§å¤æ´ã«å¯¾å¿
+	- StrValã¯ã©ã¹ãNumStrã¯ã©ã¹ã«ç½®ãæãããã¨ã«å¯¾å¿ï¼
+	- ã·ã³ãã«åå¾ã·ã³ãã«ãã¼ãã«ã§boolåããµãã¼ãããã®ãæ´»ç¨ããã
+	  ãã«å¤æ´ï¼
+	- ã·ã³ãã«åå¾ã·ã³ãã«ãã¼ãã«ã«ããåå¾ããå¤ãï¼StrValã¯ã©ã¹ã®ãª
+	  ãã¸ã§ã¯ãã«ãã¦ã°ã­ã¼ãã«å¤æ°ã«è¨­å®ãã¦ããã®ãï¼å¤ã®ã¾ã¾ã§è¨­å®
+	  ããããã«å¤æ´ããã®ã«å¯¾å¿ï¼
+	- ä¸è¬å®æ°å¼ãã©ã¡ã¼ã¿ã®å¤ãï¼ï¼StrValã¯ã©ã¹ã§ã¯ãªãï¼Stringã¯ã©ã¹
+	  ã®ãªãã¸ã§ã¯ãã§ä¿æããããã«å¤æ´ããã®ã«å¯¾å¿ï¼
+
+ã»åççææ©è½æ¡å¼µããã±ã¼ã¸ã®ä¿®æ­£
+	- acre_yyyã§ï¼ãã±ããã®å
+å®¹ãã­ã¼ã«ã«å¤æ°ã«ã³ãã¼ããããã«ä¿®æ­£ï¼
+	- DEF_KMMã®kmmãã©ã¡ã¼ã¿ãçç¥å¯è½ã«ï¼
+
+ã»ãã°ãã£ãã¯ã¹
+	- ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹3ã§ï¼ãªãã¸ã§ã¯ãã®IDçªå·ã®å²ä»ããå¤é¨ã
+	  ãåãè¾¼ãã§ããå ´åã«å¯¾å¿ï¼
+	- test_dlynse.cãï¼TCYC_HRTCNTãå®ç¾©ããã¦ããå ´åã«å¯¾å¿ï¼
+	- bit_kernel.cã®ãï¼p_schedtskã¨dspflgã®æ´åæ§ãæ¤æ»ããããã«ä¿®æ­£ï¼
+	- éçAPIã®ãã©ã¡ã¼ã¿æ«ã«æ¹è¡ãããå ´åã®ä¸å
+·åãä¿®æ­£ï¼
+
+ã»ARMã³ã¢ä¾å­é¨ã®ä¿®æ­£
+	- GR-PEACHåãã®ã¿ã¼ã²ããä¾å­é¨ã¨ï¼RZ/Aã·ãªã¼ãºã®ãããåãã®ã³ã¢
+	  ä¾å­é¨ãè¿½å ï¼
+	- ã¹ã¿ãã¯ãã¤ã³ã¿ã8ãã¤ãå¢çã§ã¢ã©ã¤ã³ãããããã«ä¿®æ­£ï¼
+	- sil_dly_nseãï¼åå²äºæ¸¬ãããå ´åã«å¯¾å¿ã§ããããã«ä¿®æ­£ï¼
+	- ãã¯ã¿ãã¼ãã«ãç½®ãã»ã¯ã·ã§ã³åã".vector"ã«å¤æ´ï¼32ãã¤ãå¢çã§
+	  ã¢ã©ã¤ã³ãããããã«ä¿®æ­£ï¼
+
+ã»ãã¹ããã­ã°ã©ã ã®ä¿®æ­£
+	- æéãã©ã¡ã¼ã¿ãï¼TEST_TIME_CPã¨TEST_TIME_PROCãç¨ãã¦è¨è¿°ï¼
+	- test_dlynse.cãï¼TCYC_HRTCNTãåç
+§ããããã«ä¿®æ­£ï¼
+
+ã»ãµã³ãã«ãã­ã°ã©ã ã®ä¿®æ­£
+	- å²è¾¼ã¿ã®åä½ç¢ºèªãè¡ããããã«ä¿®æ­£ï¼ã¿ã¼ã²ããä¾å­ï¼ï¼
+
+ã»ãã®ä»ã®ä¿®æ­£
+	- kernel_impl.hããCASTãã¯ã­ã®å®ç¾©ãåé¤ï¼
+	- ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ãã¹3ã§ï¼æé©åã«ããå¤æ°ããªããªãã±ã¼ã¹ã«å¯¾
+	  å¿ï¼
+	- ç¬¦å·ç¡ãã®ãã©ã¡ã¼ã¿ã®ã¨ã©ã¼ãã§ãã¯ãï¼0ä»¥ä¸ã§ãã§ãã¯ããã®ã§ã¯
+	  ãªãï¼0ã¨ã®ä¸è´ã§ãã§ãã¯ããããã«ä¿®æ­£ï¼
+	- çæã¹ã¯ãªããã®è¨è¿°ã¹ã¿ã¤ã«ã®ä¿®æ­£ï¼
+	- ãã¹ããã¨ã©ã¼ã«ãªã£ãæã«'\007'ãåºåããããã«ä¿®æ­£ï¼
+	- libkernel.aã®ãªã³ã¯æ¹æ³ãå¤æ´ï¼HRP3ã®é½åï¼ï¼
+	- gentest.rbã®æ¹åï¼
+
+ã»ãã­ã¥ã¡ã³ãã®å
+
+å®ï¼ã³ã¡ã³ãã®ä¿®æ­£
+
+ã»ãã¼ã¸ã§ã³çªå·ã®æ´æ°
+	- ã«ã¼ãã«ã®ãã¼ã¸ã§ã³çªå·ãæ´æ°ï¼
+
+âã¿ã¼ã²ããä¾å­é¨ã®è¦ä¿®æ­£ç®æï¼3.0.1 â 3.1.0ï¼
+
+(1) ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ä»æ§å¤æ´ã«å¯¾å¿
+	- StrValã¯ã©ã¹ãNumStrã¯ã©ã¹ã«ç½®ãæãããã¨ã«å¯¾å¿ããï¼
+	- ã·ã³ãã«åå¾ã·ã³ãã«ãã¼ãã«ã§boolåããµãã¼ããããã¨ã«ä¼´ãï¼
+	  boolåã§åå¾ããããã«å¤æ´ããã·ã³ãã«ã«ã¤ãã¦ï¼çæã¹ã¯ãªããå
+
+	  ã§åç
+§ãã¦ããç®æãä¿®æ­£ããï¼ä¾ãã°ï¼ã$SYMBOL == 1ãã«ããå®ç¾©
+	  ã®æç¡ããã§ãã¯ãã¦ããå ´åã«ã¯ï¼åã«ã$SYMBOLãã«å¤æ´ããï¼
+	- ã·ã³ãã«åå¾ã·ã³ãã«ãã¼ãã«ã«ããåå¾ããå¤ãï¼StrValã¯ã©ã¹ã®ãª
+	  ãã¸ã§ã¯ãã«ãã¦ã°ã­ã¼ãã«å¤æ°ã«è¨­å®ãã¦ããã®ãï¼å¤ã®ã¾ã¾ã§è¨­å®
+	  ããããã«å¤æ´ããã®ã«å¯¾å¿ããï¼
+	- ä¸è¬å®æ°å¼ãã©ã¡ã¼ã¿ã®å¤ãï¼ï¼StrValã¯ã©ã¹ã§ã¯ãªãï¼Stringã¯ã©ã¹
+	  ã®ãªãã¸ã§ã¯ãã§ä¿æããããã«å¤æ´ããã®ã«å¯¾å¿ããï¼
+	- $bLittleEndianãåç
+§ãã¦ããã°ï¼$endianLittleã«å¤æ´ããï¼
+
+(2) CASTãã¯ã­ã®å®ç¾©æ¹æ³ã®å¤æ´ã¸ã®å¯¾å¿
+	- CASTãã¯ã­ãä½¿ç¨ãã¦ããããããã¡ã¤ã«ã®å
+é ­ã«ï¼CASTãã¯ã­ã®å®ç¾©
+	  ãå«ããï¼
+
+(3) ãã¹ããã­ã°ã©ã ã®æéãã©ã¡ã¼ã¿ã®å¤æ´ã¸ã®å¯¾å¿
+	- å¿
+è¦ã§ããã°ï¼target_test.hã«ï¼TEST_TIME_CPã¨TEST_TIME_PROCã®å®ç¾©
+	  ãå«ããï¼TEST_TIME_CPã®ããã©ã«ãã¯ï¼é·ãã®æéã«ãªã£ã¦ããï¼ï¼
+
+(4) init_tskinictxbé¢æ°ã®ãã©ã¡ã¼ã¿ã®å¤æ´ã¸ã®å¯¾å¿
+	- ã¿ã¼ã²ããä¾å­é¨ã§TSKINICTXBãå®ç¾©ãã¦ããï¼åççææ©è½æ¡å¼µãã
+	  ã±ã¼ã¸ããµãã¼ãããå ´åã«ã¯ï¼init_tskinictxbé¢æ°ã®ãã©ã¡ã¼ã¿ã®å¤
+	  æ´ã«å¯¾å¿ããï¼
+
+(5)ï¼»ARMä¾å­é¨ï¼½ã³ã¢å
+±éé¨ã®ä¿®æ­£ã¸ã®å¯¾å¿
+	- irc_begin_int/excããirc_end_int/excã«æ
+å ±ãæ¸¡ãæ¹æ³ãå¤æ´ããï¼1
+	  ã¯ã¼ãã§ããã°ï¼ã¹ã¿ãã¯ã®å
+é ­ãä½¿ããã¨ãã§ããï¼ï¼ã¾ãï¼ã¹ã¿ã
+	  ã¯ãã¤ã³ã¿ã8ãã¤ãå¢çã§ã¢ã©ã¤ã³ãããããã«ä¿®æ­£ããï¼
+	- ãã¯ã¿ãã¼ãã«ãç½®ãã»ã¯ã·ã§ã³åã".vector"ã«å¤æ´ããã®ã«å¯¾å¿ããï¼
+	- sil_dly_nseã®ãã©ã¡ã¼ã¿ãåèª¿æ´ããï¼
+
+----------------------------------------------------------------------
+
+		TOPPERS/ASP3ã«ã¼ãã«
+		Release 3.0.0 ãã 3.0.1 ã¸ã®ä¸»ãªå¤æ´ç¹
+
+âå¤æ´ç¹ã®ãªã¹ã
+
+ã»ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ä¿®æ­£
+	- BCOPYã®ä¸å
+·åãä¿®æ­£ï¼SRecordã¯ã©ã¹ã®å®è£
+ãæ¹è¯ï¼ï¼
+	- ã¨ã©ã¼ã¡ãã»ã¼ã¸ã®ä¿®æ­£ï¼
+	- DOMAINè¨è¿°ã¨CLASSè¨è¿°ãåãä»ããããã«ä¿®æ­£ï¼ASP3ã«ã¼ãã«ã«ã¯é¢ä¿
+	  ãªãï¼ï¼
+	- ã¨ã©ã¼ã¡ãã»ã¼ã¸ã®å±éæ©è½ãæ´»ç¨ããè¨è¿°ã«ä¿®æ­£ï¼
+
+ã»TECSé¢é£ã®ä¿®æ­£
+	- å¤æ°åã®ä¿®æ­£ï¼dataqueueSentValueï¼ï¼
+	- tTimeEventHandlerã®ã¢ããã¿é¢æ°ãï¼ãã©ã°ã¤ã³ã§çæããããã«ãã
+	  ãã¨ã«å¯¾å¿ï¼tTimeEventHandler.cãåé¤ï¼
+
+ã»ãã°ãã£ãã¯ã¹
+	- kernel_check.trbã®LMAããVMAã¸ã®ã³ãã¼ã®ä¸å
+·åã®ä¿®æ­£ï¼
+	- ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ã¨ã©ã¼åºåã³ã¼ãã®ä¸å
+·åã®ä¿®æ­£ï¼
+	- ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ãåºåããã¨ã©ã¼ã³ã¼ãã®èª¤ãã®ä¿®æ­£ï¼
+
+ã»ãã®ä»ã®ä¿®æ­£
+	- GetStackTskinictxbã®ç¬¬3ãã©ã¡ã¼ã¿ã«ï¼ã¿ã¹ã¯åæåãã­ãã¯ã®å
+é ­çª
+	  å°ãæ¸¡ãããã«ä¿®æ­£ï¼
+
+ã»ãã¼ã¸ã§ã³çªå·ã®æ´æ°
+	- ã«ã¼ãã«ã®ãã¼ã¸ã§ã³çªå·ãæ´æ°ï¼
+
+âã¿ã¼ã²ããä¾å­é¨ã®è¦ä¿®æ­£ç®æï¼3.0.0 â 3.0.1ï¼
+
+(1) GetStackTskinictxbã®ä¿®æ­£
+	- ã¿ã¼ã²ããä¾å­é¨ã§GetStackTskinictxbãå®ç¾©ãã¦ããã°ï¼ç¬¬3ãã©ã¡ã¼
+	  ã¿ãåãåãããã«ä¿®æ­£ããï¼
+
 ----------------------------------------------------------------------
 
@@ -69,4 +222,29 @@
 
 âå¤æ´ç¹ã®ãªã¹ã
+
+ã»TECSã®å°å
+¥
+	- ã·ã¹ãã ãµã¼ãã¹ãï¼TECSãç¨ãã¦æ§ç¯ï¼
+	- ã·ã¹ãã ã­ã°æ©è½ã§ã­ã°ã®åºåå
+ã®åæå¤ãçµã¿ä¸ãè¨è¿°ã§æå®ã§ãã
+	  ããã«ãï¼ããã©ã«ãã®è¨­å®å¤ãå¤æ´ï¼ã­ã°ã¿ã¹ã¯ã®èµ·åæã«è¨­å®ãã
+	  ã®ããããï¼
+	- ãã¬ã¼ã¹ã­ã°è¨é²ã®ãµã³ãã«ã³ã¼ãã®TECSåã«ä¼´ãï¼ãã£ã¬ã¯ããªã
+	  arch/tracelogã«å¤æ´ï¼
+
+ã»Rubyçã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®å°å
+¥
+	- ãã¹ã¦ã®ãã³ãã¬ã¼ããã¡ã¤ã«ãï¼Rubyã§è¨è¿°ãããçæã¹ã¯ãªããã«
+	  ç½®ãæããï¼
+	- kernel_api.csvãkernel_api.defã«ãªãã¼ã ãï¼ãã©ã¼ããããå¤æ´ï¼
+	- kernel_def.csvãkernel_sym.defã«ãªãã¼ã ãï¼ãã©ã¼ããããå¤æ´ï¼
+	- Makefileã®å¤æ´ï¼ä¾å­é¢ä¿ãã«ã¼ã«ã®æ´çãå®æ½ï¼ï¼
+	- ãµã³ãã«ãã­ã°ã©ã ããã³ãã¹ããã­ã°ã©ã ã®ã·ã¹ãã ã³ã³ãã£ã®ã¥ã¬ã¼
+	  ã·ã§ã³ãã¡ã¤ã«ããï¼kernel_timer.cfgã®ã¤ã³ã¯ã«ã¼ããåé¤ï¼Makefile
+	  å´ã§å¯¾å¿ããï¼ï¼
+	- --external-idãå»æ­¢ï¼ã³ã³ãã¤ã«ãªãã·ã§ã³ã§åããã¨ãã§ããããã«
+	  ä¿®æ­£ï¼
+
+ã»å¤æ°ã®ã¤ã³ã¯ãªã¡ã³ãã«ããã¤ãã³ãï¼ã¨ã©ã¼éç¥ã®è¿½å 
 
 ã»lock_cpu_dspï¼unlock_cpu_dspã®å°å
@@ -83,8 +261,16 @@
 	  request_dispatchãå¼ã¶ããã«ä¿®æ­£ããï¼ARM Cortex-Må¯¾å¿ï¼ï¼
 
-ã»ãã®ä»ã®ãã°ãã£ãã¯ã¹
+ã»ã¿ã¤ã ã¤ãã³ãç®¡çã®æ¹è¯ï¼HRP3ã«ã¼ãã«ã¨ã®æ´åæ§ã®ããï¼
+	- ã¿ã¤ã ã¤ãã³ããã¼ãä¸­ã§ã®ä½ç½®ã®è¡¨ç¾ãï¼ã¤ã³ããã¯ã¹ãããã¤ã³ã¿
+	  ã«å¤æ´ï¼
+	- ã¿ã¤ã ã¤ãã³ãã®çºçæå»ãï¼ã¿ã¤ã ã¤ãã³ããã­ãã¯ä¸­ã«æã¤ããã«
+	  å¤æ´ï¼
+
+ã»ãã°ãã£ãã¯ã¹
 	- éç¥ãã³ãã©ã®ããã®å¤æ°ã«staticãä»ããã®ããããï¼
 
 ã»ãã¹ããã­ã°ã©ã ã®è¿½å 
+	- ã¤ãã³ããã©ã°æ©è½ã®ãã¹ã(1)ï¼flg1ï¼ãè¿½å ï¼
+	- ãã¼ã¿ã­ã¥ã¼æ©è½ã®ãã¹ã(1)ï¼dtq1ï¼ãè¿½å ï¼
 	- ã«ã¼ãã«æ§è½è©ä¾¡ãã­ã°ã©ã (5)ï¼perf5ï¼ãè¿½å ï¼
 
@@ -99,31 +285,44 @@
 	- APPLDIRï¼APPL_DIRï¼SYSSVC_DIRï¼KERNEL_DIRãï¼ããããï¼â¦DIRSï¼è¤
 	  æ°å½¢ï¼ã«ãªãã¼ã ï¼
+	- DEVTOOLDIRã®æ°è¨­ï¼
+	- SYSSVC_LIBSã®å»æ­¢ï¼
 	- DBGENVã®å»æ­¢ï¼
 	- ä¸è¦ã«ãªã£ãå¤æ°ç­ã®åé¤ï¼
 
-ã»configureã®å¤§å¹
+ã»ã¦ã¼ãã£ãªãã£ã®Rubyå
+	- ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªããï¼configureï¼ã¨4ã¤ã®ã¦ã¼ãã£ãªãã£
+	  ãã­ã°ã©ã ãï¼PerlããRubyã«ãã¼ãã£ã³ã°ï¼
+
+ã»ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ã¹ã¯ãªããï¼configure.rbï¼ã®å¤§å¹
 ãªä»æ§å¤æ´
 	- ãµã³ãã«ãã­ã°ã©ã ãçæããå¦çãåé¤ï¼
+	- ãã©ã¡ã¼ã¿ããã·ã³ãã«å®ç¾©ãåãè¾¼ãæ©è½ãè¿½å ï¼
 	- -uãªãã·ã§ã³ãå»æ­¢ï¼-aãªãã·ã§ã³ã«çµ±åï¼ï¼
 	- -tãªãã·ã§ã³ã¨-dãªãã·ã§ã³ã®å½¹å²ãå¤æ´ï¼
 	- -cãªãã·ã§ã³ï¼-Cãªãã·ã§ã³ï¼-wãªãã·ã§ã³ï¼-Vãªãã·ã§ã³ï¼-Gãªãã·ã§
 	  ã³ãè¿½å ï¼
-	- perlã®ãã­ã°ã©ã ã®å ´æãæ¤ç´¢ããå¦çãåé¤ï¼
+	- -pãªãã·ã§ã³ï¼-Pãªãã·ã§ã³ãå»æ­¢ï¼
 	- ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ãç¨æã§ãã¦ãããã®ãã§ãã¯ãåé¤ï¼
 
 ã»ãã®ä»ã®ä¿®æ­£
 	- OVRTIMåãPRCTIMåã«ãªãã¼ã ï¼
+	- ã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®ã¨ã©ã¼ã¡ãã»ã¼ã¸ã®ä¿®æ­£ï¼
 	- bit_kernel.cï¼bit_mutex.cãè¦ç´ãï¼ASP3å¯¾å¿ãèæ
-®ï¼ï¼
+®ï¼ã¿ã¹ã¯åªå
+åº¦æ¡
+	  å¼µããã±ã¼ã¸ã«å¯¾å¿ï¼ï¼
 	- test_raster1ãï¼bit_kernelãä½¿ç¨ããããã«ä¿®æ­£ï¼
 	- æ§è½è©ä¾¡ãã­ã°ã©ã ã§å®è¡æéåå¸ãè¡¨ç¤ºããéã«ï¼ã·ã¹ãã ã­ã°æ©è½
 	  ã®ãã©ãã·ã¥ãå¼ã¶ã®ããããï¼ä½ã¬ãã«åºåãä½¿ãã®ã§ä¸è¦ï¼ï¼
 	- ãã¹ããã­ã°ã©ã ç¨ãµã¼ãã¹ã®é¢æ°å®ç¾©æ¹æ³ãå¤æ´ï¼
+	- ãªã¼ãã©ã³ãã³ãã©æ¡å¼µããã±ã¼ã¸ã®ãã¹ããã­ã°ã©ã ã®ä¿®æ­£ï¼
 	- ãã¬ã¼ã¹ã­ã°æ©è½ã®ã­ã°æå»ãåãåºããã¯ã­åãå¤æ´ï¼
 	- ãã¬ã¼ã¹ã­ã°æ©è½ã®ã¢ã¼ãã®æ±ãã®è¦ç´ãï¼
+	- TOPPERS_LABEL_ASMã®å»æ­¢ï¼
 
 ã»ãã­ã¥ã¡ã³ãã®å
 
 å®ï¼ã³ã¡ã³ãã®ä¿®æ­£
+	- ãã¤ã°ã¬ã¼ã·ã§ã³ã¬ã¤ãï¼migration.txtï¼ãè¿½å ï¼
 
 ã»ãã¼ã¸ã§ã³çªå·ã®æ´æ°
@@ -132,31 +331,65 @@
 âã¿ã¼ã²ããä¾å­é¨ã®è¦ä¿®æ­£ç®æï¼3.B.0 â 3.0.0ï¼
 
-(1) lock_cpu_dspï¼unlock_cpu_dspã®å®ç¾©ãè¿½å 
+(1) TECSã®å°å
+¥ã¸ã®å¯¾å¿
+	- ãã¼ãã£ã³ã°ã¬ã¤ãã®ï¼ç« ãåç
+§ãï¼ã·ã¹ãã ãµã¼ãã¹ã®ã¿ã¼ã²ããä¾
+	  å­é¨ã®å®è£
+ãå
+¨é¢çã«è¦ç´ãï¼ã·ã¹ãã ã­ã°ã®ä½ã¬ãã«åºåã®ããã®æ
+	  å­åºåé¢æ°ãã«ã¼ãã«å®è£
+ã®ã¿ã¼ã²ããä¾å­ã¢ã¸ã¥ã¼ã«ã«è¨è¿°ããã¦ã
+	  ãå ´åï¼åé¤ããã®ãå¿ããªãããã«ãããã¨ï¼ï¼
+	- ãã¼ãã£ã³ã°ã¬ã¤ãã®6.11ç¯ãåç
+§ãï¼ãã¬ã¼ã¹ã­ã°è¨é²ã®ãµã³ãã«ã³ã¼
+	  ãã«é¢ããè¨­å®ãè¦ç´ãï¼
+
+(2) Rubyçã³ã³ãã£ã®ã¥ã¬ã¼ã¿ã®å°å
+¥ã¸ã®å¯¾å¿
+	- ã¿ã¼ã²ããä¾å­é¨ã®ãã³ãã¬ã¼ããã¡ã¤ã«ï¼tfãã¡ã¤ã«ï¼ãï¼Rubyã§è¨
+	  è¿°ãããçæã¹ã¯ãªããã«ç½®ãæããï¼trbãã¡ã¤ã«ï¼ï¼ãã®éã«ï¼
+	  target.tfã«å¯¾å¿ãããã¡ã¤ã«ã®ååã¯ï¼target_kernel.trbã¨ããï¼
+	- target_def.csvãtarget_sym.defã«ãªãã¼ã ãï¼ãã©ã¼ããããå¤æ´ã
+	  ãï¼
+	- target_kernel.cfgãä½æããï¼ASP3ã«ã¼ãã«ã§ã¯ï¼target_timer.cfgã
+	  ã¤ã³ã¯ã«ã¼ãããã ãã®å
+å®¹ã«ãªãï¼ï¼
+	- Makefileã®ã¿ã¼ã²ããä¾å­é¨ã®--cfg1-def-tableãªãã·ã§ã³ãï¼
+	  --symval-tableãªãã·ã§ã³ã«å¤æ´ããï¼æå®ãããã¡ã¤ã«ãå¤æ´ï¼ï¼
+	- Makefileã®ã¿ã¼ã²ããä¾å­é¨ã§ï¼OFFSET_TFï¼TARGET_TFï¼
+	  TERGET_CHECK_TFãè¨­å®ãã¦ããè¨è¿°ãããã°ï¼ããããï¼OFFSET_TRBï¼
+	  TARGET_KERNEL_TRBï¼TARGET_CHECK_TRBã«å¤æ´ããï¼æå®ãããã¡ã¤ã«ã
+	  å¤æ´ï¼ï¼ã¾ãï¼å¿
+è¦ã«å¿ãã¦ï¼TARGET_KERNEL_CFGã®è¨­å®ãè¿½å ããï¼
+
+(3) lock_cpu_dspï¼unlock_cpu_dspã®å®ç¾©ãè¿½å 
 	- lock_cpu_dspï¼unlock_cpu_dspã®å®ç¾©ãè¿½å ããï¼æé©åãããªãã®ã§
 	  ããã°ï¼lock_cpuï¼unlock_cpuã«å®ç¾©ããã°ããï¼
 
-(2) request_dispatchã®å®ç¾©ãè¿½å 
+(4) request_dispatchã®å®ç¾©ãè¿½å 
 	- request_dispatchã®å®ç¾©ãè¿½å ããï¼æ¨æºéãã®å®è£
 ã®å ´åã¯ï¼ç©ºã«å®
 	  ç¾©ããã°ããï¼
 
-(3) OVRTIMåãPRCTIMåã«ãªãã¼ã 
+(5) OVRTIMåãPRCTIMåã«ãªãã¼ã 
 	- ã¿ã¼ã²ããä¾å­é¨ã§OVRTIMåãä½¿ã£ã¦ããç®æãããã°ï¼PRCTIMåã«ä¿®
 	  æ­£ããï¼
 
-(4) kernel_cfg.hã¨offset.hã®ãã¡ã¤ã«å
-	- ã¿ã¼ã²ããä¾å­é¨ã®ãã³ãã¬ã¼ããã¡ã¤ã«ã§ï¼åºåå
-ãkernel_cfg.hã
-	  offset.hã«ããFILEè¨è¿°ãããã°ï¼ããããï¼kernel_cfg.h.newã¨
-	  offset.h.newã«ãã¡ã¤ã«åãå¤æ´ããï¼
-
-(5) ãã£ã¬ã¯ããªãæå®ããå¤æ°åã®ãªãã¼ã 
-	- Makefileã®ã¿ã¼ã²ããä¾å­é¨ã§ï¼APPL_DIRï¼SYSSVC_DIRï¼KERNEL_DIRã
-	  è¨­å®ãã¦ããè¨è¿°ãããã°ï¼ããããï¼APPL_DIRSï¼SYSSVC_DIRSï¼
-	  KERNEL_DIRSã«ãªãã¼ã ããï¼
-
-(6) éçºç°å¢ä¾å­ã®ã³ã³ãã¤ã«ãªãã·ã§ã³
+(6) Makefileã®ã¿ã¼ã²ããä¾å­é¨ã®ä¿®æ­£
+	- APPL_DIRï¼SYSSVC_DIRï¼KERNEL_DIRãè¨­å®ãã¦ããè¨è¿°ãããã°ï¼ãã
+	  ããï¼APPL_DIRSï¼SYSSVC_DIRSï¼KERNEL_DIRSã«ãªãã¼ã ããï¼
+	- SYSSVC_LIBSãä½¿ç¨ãã¦ããã°ï¼LIBSãä½¿ç¨ããããã«ä¿®æ­£ããï¼
+	- ä¾å­é¢ä¿ãä½æããã«ã¼ã«ãåé¤ããï¼
+
+(7) éçºç°å¢ä¾å­ã®ã³ã³ãã¤ã«ãªãã·ã§ã³
 	- Makefileã®ã¿ã¼ã²ããä¾å­é¨ã§ï¼DBGENVãè¨­å®ãã¦ããè¨è¿°ãããã°ï¼
 	  COPTSãç¨ããè¨­å®ã«å¤æ´ããï¼
+
+(8) TOPPERS_LABEL_ASMã®å»æ­¢ã¸ã®å¯¾å¿
+	- ã¢ã»ã³ããªè¨èªã¬ãã«ã®è­å¥åãï¼Cè¨èªã¬ãã«ã®è­å¥åã®å
+é ­ã«"_"ã
+	  ä»ãããã®ã«ãªãå ´åï¼ã¢ã»ã³ããªè¨èªã§å®ç¾©ï¼åç
+§ããé¢æ°ãå¤æ°ãª
+	  ã©ã«ã¤ãã¦ï¼ã¿ã¼ã²ããä¾å­é¨ã®ãªãã¼ã è¨è¿°ã«ãªã¹ãã¢ããããï¼
 
 ----------------------------------------------------------------------
@@ -356,5 +589,5 @@
 	- WINFO_FLGä¸­ã®waiptnã¨flgptnãå
 ±ç¨ï¼flgptnãå»æ­¢ï¼ï¼
-	- WINFO_SDTQã¨WINFO_RDTQãåºå¥ãã¦æ±ãããã«ä¿®æ­£ï¼
+	- WINFO_SDTQï¼SPDQã¨WINFO_RDTQï¼RPDQãåºå¥ãã¦æ±ãããã«ä¿®æ­£ï¼
 
 ã»ãã¼ã¸ã§ã³çªå·ã®æ´æ°
