Index: /ssp_qb_r5f100le_cs/trunk/MANIFEST
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/MANIFEST	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/MANIFEST	(revision 93)
@@ -0,0 +1,77 @@
+PACKAGE ssp
+VERSION 1.3.0
+
+configure
+MANIFEST
+
+doc/ssp_spec.txt
+doc/extension.txt
+doc/porting.txt
+doc/user.txt
+doc/version.txt
+doc/configurator.txt
+
+include/itron.h
+include/log_output.h
+include/kernel.h
+include/sil.h
+include/t_stddef.h
+include/t_syslog.h
+
+kernel/Makefile.kernel
+kernel/allfunc.h
+kernel/check.h
+kernel/exception.c
+kernel/exception.h
+kernel/interrupt.c
+kernel/interrupt.h
+kernel/kernel.tf
+kernel/kernel_impl.h
+kernel/kernel_int.h
+kernel/kernel_rename.def
+kernel/kernel_rename.h
+kernel/kernel_unrename.h
+kernel/queue.h
+kernel/ssp_kernel_api.csv
+kernel/ssp_kernel_check.tf
+kernel/ssp_kernel_def.csv
+kernel/startup.c
+kernel/sys_manage.c
+kernel/task.c
+kernel/task.h
+kernel/task_manage.c
+
+sample/Makefile
+sample/hello_world.c
+sample/hello_world.cfg
+sample/hello_world.h
+sample/sample1.c
+sample/sample1.cfg
+sample/sample1.h
+
+syssvc/banner.c
+syssvc/banner.cfg
+syssvc/banner.h
+syssvc/banner.tf
+syssvc/log_output.c
+syssvc/logtask.c
+syssvc/logtask.cfg
+syssvc/logtask.h
+syssvc/serial.c
+syssvc/serial.cfg
+syssvc/serial.h
+syssvc/syslog.c
+syssvc/syslog.cfg
+syssvc/syslog.h
+syssvc/vasyslog.c
+syssvc/syssvc_def.csv
+
+utils/applyrename
+utils/genrename
+utils/makedep
+utils/makerelease
+
+INCLUDE arch/arm_m_gcc/MANIFEST
+INCLUDE target/cq_frk_fm3_gcc/MANIFEST
+INCLUDE arch/gcc/MANIFEST
+INCLUDE extension/MANIFEST
Index: /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/MANIFEST
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/MANIFEST	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/MANIFEST	(revision 93)
@@ -0,0 +1,27 @@
+PACKAGE ssp
+
+MANIFEST
+Makefile.prc
+arm_m.h
+prc.tf
+prc_cfg1_out.h
+prc_check.tf
+prc_config.c
+prc_config.h
+prc_def.csv
+prc_design.txt
+prc_insn.h
+prc_kernel.h
+prc_rename.def
+prc_rename.h
+prc_sil.h
+prc_stddef.h
+prc_support.S
+prc_test.h
+prc_timer.cfg
+prc_timer.c
+prc_timer.h
+prc_unrename.h
+prc_user.txt
+start.S
+
Index: /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/Makefile.prc
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/Makefile.prc	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/Makefile.prc	(revision 93)
@@ -0,0 +1,35 @@
+#
+#  @(#) $Id: Makefile.prc 1304 2008-08-27 07:28:36Z ertl-honda $
+# 
+
+#
+#		Makefile ÌvZbTË¶iARM-Mpj
+#
+
+#
+#  RpCIvV
+#
+COPTS := $(COPTS) -mthumb 
+INCLUDES := $(INCLUDES) -I$(SRCDIR)/arch/$(PRC)_$(TOOL)/
+LDFLAGS := -nostdlib $(LDFLAGS) 
+CDEFS := $(CDEFS) -DTOPPERS_LABEL_ASM
+LIBS := $(LIBS)  -lgcc
+
+#
+#  J[lÉÖ·éè`
+#
+KERNEL_DIR := $(KERNEL_DIR) $(SRCDIR)/arch/$(PRC)_$(TOOL)
+KERNEL_ASMOBJS := $(KERNEL_ASMOBJS) prc_support.o
+KERNEL_COBJS := $(KERNEL_COBJS) prc_config.o prc_timer.o
+
+#
+#  RtBM
+[^ÖWÌÏÌè`
+#
+CFG_TABS := $(CFG_TABS) --cfg1-def-table $(SRCDIR)/arch/$(PRC)_$(TOOL)/prc_def.csv
+
+#
+#  Ë¶ÖWÌè`
+#
+cfg1_out.c: $(SRCDIR)/arch/$(PRC)_$(TOOL)/prc_def.csv
+kernel_cfg.timestamp: $(SRCDIR)/arch/$(PRC)_$(TOOL)/prc.tf
Index: /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/arm_m.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/arm_m.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/arm_m.h	(revision 93)
@@ -0,0 +1,182 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: arm_m.h 1304 2008-08-27 07:28:36Z ertl-honda $
+ */
+
+/*
+ *  ARMVx-MÌn[hEFA¹Ìè`
+ */
+
+#ifndef ARM_M_H
+#define ARM_M_H
+
+
+/*
+ *  EPSRÌTrbg
+ */
+#define EPSR_T   0x01000000
+
+/*
+ * IPSRÌ ISR NUMBER
+ */
+#define IPSR_ISR_NUMBER 0x1ff
+
+/*
+ *  áOEÝ­¶ÉX^bNãÉÏÜêéÛ¶ÌæÌTCY
+ *  {J[lÅÍáOt[ÆÄÔ
+ */
+#define EXC_FRAME_SIZE         (8*4)
+
+/*
+ *  áOEÝ­¶ÉLRÉÝè³êéEXC_RETURNÌl
+ */
+#define EXC_RETURN_HANDLER      0x0
+#define EXC_RETURN_THREAD       0x8
+#define EXC_RETURN_MSP          0x0
+#define EXC_RETURN_PSP          0x4
+
+/*
+ *  CONTROLWX^
+ */
+#define CONTROL_PSP            0x02
+#define CONTROL_MSP            0x00
+
+/*
+ *  áOÔ
+ */
+#define EXCNO_NMI         2
+#define EXCNO_HARD        3
+#define EXCNO_MPU         4
+#define EXCNO_BUS         5
+#define EXCNO_USAGE       6
+#define EXCNO_SVCALL     11          
+#define EXCNO_DEBUG      12
+#define EXCNO_PENDSV     14
+
+/*
+ *  áOÔÌÅ¬lÆÅål
+ */
+#define TMIN_EXCNO   2
+#define TMAX_EXCNO  14
+
+/*
+ *  ÝÔ
+ */
+#define IRQNO_SYSTICK    15
+
+/*
+ *  ÝÔÌÅ¬l
+ */
+#define TMIN_INTNO       15
+
+/*
+ *  áOt[ÌItZbg
+ */
+#define P_EXCINF_OFFSET_EXC_RETURN  0x00
+#define P_EXCINF_OFFSET_BASEPRI     0x01
+#define P_EXCINF_OFFSET_XPSR        0x09
+#define P_EXCINF_OFFSET_PC          0x08
+
+/*
+ *  NVICÖA
+ */
+
+/*
+ *  Rg[WX^
+ */
+#define NVIC_INT_CTRL       0xe000ed04
+
+#define NVIC_PENDSVSET      0x10000000
+
+/*
+ *  VXenh[Rg[WX^
+ */
+#define NVIC_SYS_HND_CTRL   0xE000ED24
+
+/*
+ *  eáOÌÂrbg
+ */
+#define NVIC_SYS_HND_CTRL_USAGE 0x00040000
+#define NVIC_SYS_HND_CTRL_BUS   0x00020000
+#define NVIC_SYS_HND_CTRL_MEM   0x00010000
+
+/*
+ *  DæxÝèWX^
+ */
+#define NVIC_SYS_PRI1       0xE000ED18  // Sys. Handlers 4 to 7 Priority
+#define NVIC_SYS_PRI2       0xE000ED1C  // Sys. Handlers 8 to 11 Priority
+#define NVIC_SYS_PRI3       0xE000ED20  // Sys. Handlers 12 to 15 Priority
+#define NVIC_PRI0           0xE000E400  // IRQ 0 to 3 Priority Register
+
+/*
+ *  ÝÂWX^
+ */
+#define NVIC_SETENA0        0xE000E100  // IRQ 0 to 31 Set Enable Register
+
+/*
+ *  ÝÖ~WX^
+ */
+#define NVIC_CLRENA0        0xE000E180  // IRQ 0 to 31 Set Disable Register
+
+/*
+ *  xN^e[uItZbgWX^
+ */
+#define NVIC_VECTTBL        0xE000ED08
+
+
+/*
+ *  SYSTICÖAWX^
+ */
+#define SYSTIC_CONTROL_STATUS 0xE000E010
+#define SYSTIC_RELOAD_VALUE   0xE000E014
+#define SYSTIC_CURRENT_VALUE  0xE000E018
+#define SYSTIC_CALIBRATION    0xE000E01C
+
+#define SYSTIC_ENABLE    0x01
+#define SYSTIC_TICINT    0x02
+#define SYSTIC_CLKSOURCE 0x04
+#define SYSTIC_COUNTFLAG 0x10000
+
+#define SYSTIC_SKEW      0x40000000
+#define SYSTIC_NOREF     0x80000000
+#define SYSTIC_TENMS     0x00ffffff
+
+#endif  /* ARM_M_H */
Index: /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc.tf
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc.tf	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc.tf	(revision 93)
@@ -0,0 +1,146 @@
+$ 
+$     pX2ÌA[LeN`Ë¶ev[giARM-Mpj
+$ 
+
+$ 
+$  LøÈÝÔCÝnhÔ
+$ 
+$INTNO_VALID = RANGE(15, TMAX_INTNO)$
+$INHNO_VALID = INTNO_VALID$
+
+$ 
+$  LøÈCPUáOÔ
+$ 
+$EXCNO_VALID = { 2,3,4,5,6,11,12,14 }$
+
+$ 
+$  ATT_ISRÅgpÅ«éÝÔÆ»êÉÎ·éÝnhÔ
+$ 
+$INTNO_ATTISR_VALID = INTNO_VALID$
+$INHNO_ATTISR_VALID = INHNO_VALID$
+
+$ 
+$  DEF_INT^DEF_EXCÅgpÅ«éÝnhÔ^CPUáOnhÔ
+$ 
+$INHNO_DEFINH_VALID = INHNO_VALID$
+$EXCNO_DEFEXC_VALID = EXCNO_VALID$
+
+$ 
+$  `FbNû@Ìwè
+$ 
+$CHECK_STKSZ_ALIGN = 8$
+
+$ 
+$  CFG_INTÅgpÅ«éÝÔÆÝDæx
+$ 
+$INTNO_CFGINT_VALID = INTNO_VALID$
+$INTPRI_CFGINT_VALID = RANGE(-(1 << TBITW_IPRI),-1)$
+
+$ 
+$  Ý®«Ì^[QbgË¶Ép¢érbg
+$ 
+$ TARGET_INTATR = $
+           
+$ 
+$  Wev[gt@CÌCN[h
+$ 
+$INCLUDE "kernel/kernel.tf"$
+
+/*$NL$
+$SPC$*  Target-dependent Definitions (ARM-M)$NL$
+$SPC$*/$NL$
+$NL$
+
+$ 
+$  xN^[e[u
+$ 
+
+$FILE "kernel_cfg.c"$
+$NL$
+
+extern void kernel_svc_handler(void);$NL$
+$NL$
+
+__attribute__ ((section(".vector"))) $NL$
+const FP _kernel_vector_table[] =      $NL$ 
+{                                    $NL$
+$ 	$TAB$(FP)(TOPPERS_ISTKPT(TOPPERS_ISTK, TOPPERS_ISTKSZ)),   // 0 The initial stack pointer $NL$
+	$TAB$(FP)(TOPPERS_ISTKPT(TOPPERS_STK, TOPPERS_STKSZ)),   // 0 The initial stack pointer $NL$
+	$TAB$(FP)_start,                 // 1 The reset handler         $NL$
+
+$FOREACH excno {2,3,...,14}$ 
+	$IF excno == 11$
+		$TAB$(FP)(kernel_svc_handler),      // 11 SVCall handler
+	$ELSE$
+		$TAB$(FP)(_kernel_exc_entry),
+	$END$
+	$SPC$$FORMAT("/* %d */", +excno)$$NL$
+$END$
+
+$FOREACH inhno INTNO_VALID$ 
+	$IF LENGTH(INH.INHNO[inhno]) && (INT.INTPRI[inhno] < TIPM_LOCK)$
+		$TAB$(FP)($INH.INTHDR[inhno]$),
+	$ELSE$
+		$TAB$(FP)(_kernel_int_entry),
+	$END$
+	$SPC$$FORMAT("/* %d */", +inhno)$$NL$
+$END$
+
+
+$NL$};$NL$
+$NL$
+
+$NL$
+const FP _kernel_exc_tbl[] = $NL$
+{$NL$
+$FOREACH excno {0,1,...,14}$
+	$IF LENGTH(EXC.EXCNO[excno])$
+		$TAB$(FP)($EXC.EXCHDR[excno]$),
+	$ELSE$
+		$TAB$(FP)(_kernel_default_exc_handler),
+	$END$
+	$SPC$$FORMAT("/* %d */", +excno)$$NL$
+$END$
+
+
+$FOREACH inhno INTNO_VALID$
+	$IF LENGTH(INH.INHNO[inhno])$
+		$TAB$(FP)($INH.INTHDR[inhno]$),
+	$ELSE$
+		$TAB$(FP)(_kernel_default_int_handler),
+	$END$
+	$SPC$$FORMAT("/* %d */", +inhno)$$NL$
+$END$
+
+
+$NL$};$NL$
+$NL$
+
+$ 
+$  _kernel_bitpat_cfgintÌ¶¬
+$ 
+
+$bitpat_cfgint_num = 0$
+$bitpat_cfgint = 0$
+
+
+const uint32_t _kernel_bitpat_cfgint[
+$IF (TMAX_INTNO & 0x0f) == 0x00 $
+	$bitpat_cfgint_num = (TMAX_INTNO >> 4)$
+$ELSE$
+	$bitpat_cfgint_num = (TMAX_INTNO >> 4) + 1$
+$END$
+	$bitpat_cfgint_num$
+] = {$NL$
+$FOREACH num RANGE(0,(bitpat_cfgint_num-1))$
+	$bitpat_cfgint = 0$
+	$FOREACH inhno RANGE(num*32, (num*32)+31)$
+		$IF LENGTH(INH.INHNO[inhno])$
+			$bitpat_cfgint = bitpat_cfgint | (1 << (inhno & 0x01f))$
+		$END$
+	$END$
+	$TAB$UINT32_C($FORMAT("0x%08x", bitpat_cfgint)$), $NL$
+$END$
+
+$NL$};$NL$
+$NL$
Index: /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_cfg1_out.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_cfg1_out.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_cfg1_out.h	(revision 93)
@@ -0,0 +1,10 @@
+/*
+ *  @(#) $Id: prc_cfg1_out.h 1304 2008-08-27 07:28:36Z ertl-honda $
+ */
+
+/*
+ *		cfg1_out.cðN·é½ßÉKvÈX^uÌè`
+ */
+
+void sta_ker(void){}
+STK_T *const	_kernel_istkpt = 0x00;
Index: /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_check.tf
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_check.tf	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_check.tf	(revision 93)
@@ -0,0 +1,18 @@
+$ 
+$ 		pX3ÌvZbTË¶ev[giARM-Mpj
+$ 
+
+$ 
+$  `FbNû@Ìwè
+$ 
+$CHECK_FUNC_ALIGN = 1$
+$CHECK_FUNC_NONNULL = 1$
+$CHECK_STACK_ALIGN = 8$
+$CHECK_STACK_NONNULL = 1$
+$CHECK_MPF_ALIGN = 4$
+$CHECK_MPF_NONNULL = 1$
+
+$ 
+$  Wev[gt@CÌCN[h
+$ 
+$ $INCLUDE "kernel/kernel_check.tf"$
Index: /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_config.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_config.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_config.c	(revision 93)
@@ -0,0 +1,283 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2010 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: prc_config.c 1304 2008-08-27 07:28:36Z ertl-honda $
+ */
+
+/*
+ *		vZbTË¶W
+[iARM-Mpj
+ */
+
+#include "kernel_impl.h"
+#include "check.h"
+#include "task.h"
+
+#include <t_syslog.h>
+
+/*
+ *  CPUbNtOÀ»Ì½ßÌÏ
+ */
+volatile bool_t		lock_flag;		/* CPUbNtOÌlðÛ·éÏ */
+volatile uint32_t	saved_iipm;		/* ÝDæx}XNðÛ¶·éÏ */
+
+/* ÝlXgÌÇ */
+uint8_t intnest;
+
+/*
+ *  xN^e[u(kernel_cfg.c)
+ */
+extern const FP vector_table[];
+
+/*
+ *  VXeáOEÝÌiáOÔ 4`15j
+ *  ÝDæxÝèWX^ÖÌANZXÌ½ßÌzñ
+ */
+static const unsigned int nvic_sys_pri_reg[] = {
+	0,
+	NVIC_SYS_PRI1,
+	NVIC_SYS_PRI2,
+	NVIC_SYS_PRI3
+};
+
+/*
+ *  áOÆÝÌÝDæxðZbg
+ *
+ *  excnoÍARM-MÅèßçêÄ¢é Exception Number ðwèD
+ */
+void
+set_exc_int_priority(uint32_t excno, uint8_t pri){
+	uint32_t tmp, reg;
+
+	/*
+	 *  ÝDæxÝèWX^Ìè
+	 */
+	if ((EXCNO_MPU <= excno) && (excno <= IRQNO_SYSTICK)) {
+		/*
+		 * Exception Number 4(Memory Management)©ç
+		 * Exception Number 15(SysTick)ÜÅÌÝDæxÍVXeDæx
+		 * WX^ÉæèÝèD
+		 */
+		reg = nvic_sys_pri_reg[excno >> 2];
+	}
+	else if ((TMIN_INTNO < excno) && (excno <= TMAX_INTNO)){
+		/*
+		 * IRQÝÈç
+		 */
+		reg = NVIC_PRI0 + (((excno - (TMIN_INTNO + 1)) >> 2) * 4);
+	}
+	else {
+		return ;
+	}
+	
+	tmp = sil_rew_mem((void *)reg);
+	tmp &= ~(0xFF << (8 * (excno & 0x03)));
+	tmp |= (pri << (8 - TBITW_IPRI)) << (8 * (excno & 0x03));
+	sil_wrw_mem((void *)reg, tmp);
+}
+
+/*
+ *  áOÌÂ
+ *
+ *  Memory Management, Bus Fault, Usage Fault ÍÖ~EÂª¨¤
+ */
+void
+enable_exc(EXCNO excno)
+{
+	uint32_t tmp;
+
+	switch (excno) {
+	  case EXCNO_MPU:
+		tmp = sil_rew_mem((void *)NVIC_SYS_HND_CTRL);
+		tmp |= NVIC_SYS_HND_CTRL_MEM;
+		sil_wrw_mem((void *)NVIC_SYS_HND_CTRL, tmp);
+		break;
+	  case EXCNO_BUS:
+		tmp = sil_rew_mem((void *)NVIC_SYS_HND_CTRL);
+		tmp |= NVIC_SYS_HND_CTRL_BUS;
+		sil_wrw_mem((void *)NVIC_SYS_HND_CTRL, tmp);
+		break;
+	  case EXCNO_USAGE:
+		tmp = sil_rew_mem((void *)NVIC_SYS_HND_CTRL);
+		tmp |= NVIC_SYS_HND_CTRL_USAGE;
+		sil_wrw_mem((void *)NVIC_SYS_HND_CTRL, tmp);
+		break;
+	}
+}
+
+/*
+ *  áOÌÖ~
+ */
+void
+disable_exc(EXCNO excno)
+{
+	uint32_t tmp;
+
+	switch (excno) {
+	  case EXCNO_MPU:
+		tmp = sil_rew_mem((void *)NVIC_SYS_HND_CTRL);
+		tmp &= ~NVIC_SYS_HND_CTRL_MEM;
+		sil_wrw_mem((void *)NVIC_SYS_HND_CTRL, tmp);
+		break;
+	  case EXCNO_BUS:
+		tmp = sil_rew_mem((void *)NVIC_SYS_HND_CTRL);
+		tmp &= ~NVIC_SYS_HND_CTRL_BUS;
+		sil_wrw_mem((void *)NVIC_SYS_HND_CTRL, tmp);
+		break;
+	  case EXCNO_USAGE:
+		tmp = sil_rew_mem((void *)NVIC_SYS_HND_CTRL);
+		tmp &= ~NVIC_SYS_HND_CTRL_USAGE;
+		sil_wrw_mem((void *)NVIC_SYS_HND_CTRL, tmp);
+		break;
+	}
+}
+
+
+/*
+ *  vZbTË¶Ìú»
+ */
+void
+prc_initialize(void)
+{
+	/*
+	 *  CPUbNtOÀ»Ì½ßÌÏÌú»
+	 */
+	lock_flag = true;
+	saved_iipm = IIPM_ENAALL;
+	
+	/* ÝlXgÌú» */
+	intnest = 0u;
+
+	/*
+	 *  xN^e[uðÝè
+	 */
+	sil_wrw_mem((void*)NVIC_VECTTBL, (uint32_t)vector_table);
+
+	/*
+	 *  SVCnhÌDæxðÝè
+	 */
+	set_exc_int_priority(EXCNO_SVCALL, 0);
+
+	/*
+	 *  SVCnhðLøÉ
+	 */
+	x_enable_int(EXCNO_SVCALL);	
+}
+
+/*
+ *  vZbTË¶ÌI¹
+ */
+void
+prc_terminate(void)
+{
+	while(1)
+		;
+}
+
+/*
+ *  ÝvC®«ÌÝè
+ */
+void
+x_config_int(INTNO intno, ATR intatr, PRI intpri)
+{
+	//assert(VALID_INTNO_CFGINT(intno));
+	//assert(TMIN_INTPRI <= intpri && intpri <= TMAX_INTPRI);
+
+	/* 
+	 *  êUÝðÖ~·é
+	 */    
+	(void)x_disable_int(intno);
+	x_clear_int(intno);
+
+	/*
+	 *  ÝDæxðZbg
+	 */
+	set_exc_int_priority(intno, intpri);
+
+	/*
+	 *  Ýv}XNð(KvÈê)
+	 *  ¯ÉÝDæxàZbg³êé
+	 */
+	if ((intatr & TA_ENAINT) != 0U) {
+		(void) x_enable_int(intno);
+	}    
+}
+
+
+#ifndef OMIT_DEFAULT_EXC_HANDLER
+/*
+ *  TrapaÈOÌáOÅo^³êÄ¢È¢áOª­¶·éÆÄÑo³êé
+ */
+void
+default_exc_handler(void *p_excinf)
+{
+	uint32_t basepri = *(((uint32_t*)p_excinf) + P_EXCINF_OFFSET_BASEPRI);
+	uint32_t pc      = *(((uint32_t*)p_excinf) + P_EXCINF_OFFSET_PC);
+	uint32_t xpsr    = *(((uint32_t*)p_excinf) + P_EXCINF_OFFSET_XPSR);
+	uint32_t excno   = get_ipsr() & IPSR_ISR_NUMBER;
+
+	syslog(LOG_EMERG, "\nUnregistered Exception occurs.");
+	syslog(LOG_EMERG, "Excno = %08x PC = %08x XPSR = %08x basepri = %08X, p_excinf = %08X",
+		   excno, pc, xpsr, basepri, p_excinf);
+
+	target_exit();
+}
+#endif /* OMIT_DEFAULT_EXC_HANDLER */
+
+#ifndef OMIT_DEFAULT_INT_HANDLER
+/*
+ *  ¢o^ÌÝª­¶µ½êÉÄÑo³êé
+ */
+void
+default_int_handler(void *p_excinf)
+{
+	uint32_t basepri = *(((uint32_t*)p_excinf) + P_EXCINF_OFFSET_BASEPRI);
+	uint32_t pc      = *(((uint32_t*)p_excinf) + P_EXCINF_OFFSET_PC);
+	uint32_t xpsr    = *(((uint32_t*)p_excinf) + P_EXCINF_OFFSET_XPSR);
+	uint32_t excno   = get_ipsr() & IPSR_ISR_NUMBER;
+
+	syslog(LOG_EMERG, "\nUnregistered Interrupt occurs.");
+	syslog(LOG_EMERG, "Excno = %08x PC = %08x XPSR = %08x basepri = %08X, p_excinf = %08X",
+		   excno, pc, xpsr, basepri, p_excinf);
+
+	target_exit();
+}
+#endif /* OMIT_DEFAULT_INT_HANDLER */
Index: /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_config.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_config.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_config.h	(revision 93)
@@ -0,0 +1,570 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2015 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: prc_config.h 1304 2008-08-27 07:28:36Z ertl-honda $
+ */
+
+/*
+ *		vZbTË¶W
+[iARM-Mpj
+ *
+ *  ±ÌCN[ht@CÍCtarget_config.hiÜ½ÍC»±©çCN
+ *  [h³êét@CjÌÝ©çCN[h³êéD¼Ìt@C©ç
+ *  ¼ÚCN[hµÄÍÈçÈ¢D
+ */
+
+#ifndef TOPPERS_PRC_CONFIG_H
+#define TOPPERS_PRC_CONFIG_H
+
+#ifndef TOPPERS_MACRO_ONLY
+
+/*
+ *  vZbTÌÁê½ßÌCCÖè`
+ */
+#include "prc_insn.h"
+
+/*
+ *  ñ^XNReLXgpÌX^bNúl
+ */
+#define TOPPERS_ISTKPT(istk, istksz) ((STK_T *)((char *)(istk) + (istksz)))
+
+#endif /* TOPPERS_MACRO_ONLY */
+
+#ifndef TOPPERS_MACRO_ONLY
+
+/*
+ *  ÝlXg
+ */
+extern uint8_t intnest;
+
+/*
+ *  ReLXgÌQÆ
+ *
+ */
+Inline bool_t
+sense_context(void)
+{
+	bool_t tskctx;
+	
+	if (intnest == 0u){
+		tskctx = false;
+	}
+	else {
+		tskctx = true;
+	}
+	
+	return tskctx;
+}
+
+#endif /* TOPPERS_MACRO_ONLY */
+
+/*
+ *  TOPPERSWÝfÌÀ»
+ *
+ *  ÝDæx}XNÆµÄÍCBASEPRIðp¢éDSÝðÖ~·é
+ *  @\ÆµÄCFAULTMASKâPRIMASKª éªCJ[lÇOÌÝð
+ *  T|[g·é½ßC±êçÍCPUbNÌ½ßÉp¢È¢D
+ *  »Ì½ßCBASEPRIðp¢Ä[IÉCPUbNtOðÀ»·éD
+ *
+ *  Ü¸CCPUbNóÔðÇ·½ßÌÏ(lock_flag)ðpÓ·éD
+ *
+ *  CPUbNtOªNA³êÄ¢éÔÍCBASEPRIðfãÌÝ
+ *  Dæx}XNÌlÉÝè·éD±ÌÔÍCfãÌÝDæx}X
+ *  NÍCBASEPRIðp¢éD
+ * 
+ *  »êÉÎµÄCPUbNtOªZbg³ê¢éÔÍCBASEPRIðCJ[l
+ *  ÇOÌàÌð­·×ÄÌÝvð}XN·él(TIPM_LOCK)ÆC
+ *  fãÌÝDæx}XNÆÌ¢ûÉÝè·éD±ÌÔÌfã
+ *  ÌÝDæx}XNÍC»Ì½ßÌÏ(saved_iipm, à\»ÅÛ)
+ *  ðpÓµÄÛ·éD
+ */
+
+/*
+ *  ÝDæx}XNÌO\»Æà\»ÌÏ·
+ *
+ *  AZu¾êÌ\[Xt@C©çCN[h·éêÌ½ßÉC
+ *  CASTðgp
+ *  ÝDæxÌrbg(TBITW_IPRI)ª 8 ÌêÍCàDæx 255
+ *  ÍCODæx -1 ÉÎ·éD
+ */
+#define EXT_IPM(iipm)   (CAST(PRI,((iipm >> (8 - TBITW_IPRI)) - (1 << TBITW_IPRI))))       /* à\»ðO\»É */
+#define INT_IPM(ipm)    (((1 << TBITW_IPRI) - CAST(uint8_t, -(ipm)))  << (8 - TBITW_IPRI)) /* O\»ðà\»É */
+
+/*
+ *  CPUbNóÔÅÌÝDæx}XN
+ */
+#define TIPM_LOCK    TMIN_INTPRI
+
+/*
+ *  CPUbNóÔÅÌÝDæx}XNÌà\»
+ *
+ *  TIPM_LOCKÍCCPUbNóÔÅÌBASEPRIÌlDJ[lÇOÌàÌð
+ *  ­·×ÄÌÝð}XN·élÉè`·éD  
+ */
+#define IIPM_LOCK    INT_IPM(TIPM_LOCK)
+
+/*
+ *  TIPM_ENAALLiÝDæx}XNSðjÌà\»
+ *
+ *  BASEPRIÉ '0' ðÝè·é±ÆÅCSÝðÂ·éD
+ */
+#define IIPM_ENAALL  (0)
+
+
+#ifndef TOPPERS_MACRO_ONLY
+
+/*
+ *  CPUbNtOÀ»Ì½ßÌÏ
+ * 
+ *  ±êçÌÏÍCCPUbNóÔÌÌÝ«·¦Äàæ¢Æ·éD
+ *  CCÖÅCANZXÌªÏ»µÈ¢æ¤Cvolatile ðwèD 
+ */
+extern volatile bool_t  lock_flag;    /* CPUbNtOÌlðÛ·éÏ */
+extern volatile uint32_t saved_iipm;  /* ÝDæxð}XN·éÏ */
+
+/*
+ *  CPUbNóÔÖÌÚs
+ *
+ *  BASEPRIin[hEFAÌÝDæx}XNjðCsaved_iipmÉÛ¶µC
+ *  J[lÇOÌàÌð­·×ÄÌÝð}XN·éliTIPM_LOCKj
+ *  ÉÝè·éDÜ½Clock_flagðtrueÉ·éD
+ *
+ *  BASEPRIªCÅ©çTIPM_LOCKÆ¯¶©»êæè¢êÉÍC»êð
+ *  saved_iipmÉÛ¶·éÌÝÅCTIPM_LOCKÉÍÝèµÈ¢D±êÍCf
+ *  ãÌÝDæx}XNªCTIPM_LOCKÆ¯¶©»êæè¢xÉÝè
+ *  ³êÄ¢éóÔÉ ½éD
+ *
+ *  ±ÌÖÍCCPUbNóÔilock_flagªtrueÌóÔjÅÄÎêé±ÆÍ
+ *  È¢àÌÆzèµÄ¢éD
+ */
+Inline void
+x_lock_cpu(void)
+{
+	uint32_t iipm;
+
+	/*
+	 *  current_iipm()ÌÔèlð¼Úsaved_iipmÉÛ¶¹¸CêÏiipm
+	 *  ðp¢Ä¢éÌÍCcurrent_iipm()ðÄñ¾¼ãÉÝª­¶µC
+	 *  N®³ê½ÝÅsaved_iipmªÏX³êéÂ\«ª é½ßÅ
+	 *   éD
+	 */
+	iipm = get_basepri();
+	set_basepri(IIPM_LOCK);
+	saved_iipm = iipm;
+	lock_flag = true;
+	/* NeBJZNVÌOãÅª«·íéÂ\«ª é */
+	Asm("":::"memory");
+}
+
+#define t_lock_cpu()    x_lock_cpu()
+#define i_lock_cpu()    x_lock_cpu()
+
+/*
+ *  CPUbNóÔÌð
+ *
+ *  lock_flagðfalseÉµCIPMin[hEFAÌÝDæx}XNjðC
+ *  saved_iipmÉÛ¶µ½lÉß·D
+ *
+ *  ±ÌÖÍCCPUbNóÔilock_flagªtrueÌóÔjÅÌÝÄÎêéà
+ *  ÌÆzèµÄ¢éD
+ */
+Inline void
+x_unlock_cpu(void)
+{
+	/* NeBJZNVÌOãÅª«·íéÂ\«ª é */
+	Asm("":::"memory");
+	lock_flag = false;
+	set_basepri(saved_iipm);
+}
+
+#define t_unlock_cpu()    x_unlock_cpu()
+#define i_unlock_cpu()    x_unlock_cpu()
+
+/*
+ *  CPUbNóÔÌQÆ
+ */
+Inline bool_t
+x_sense_lock(void)
+{
+	return(lock_flag);
+}
+
+#define t_sense_lock()    x_sense_lock()
+#define i_sense_lock()    x_sense_lock()
+
+
+/*
+ * ifãÌjÝDæx}XNÌÝè
+ *
+ *  CPUbNtOªNA³êÄ¢éÍCn[hEFAÌÝDæx}
+ *  XNðÝè·éDCPUbNtOªZbg³êÄ¢éÍCsaved_iipm
+ *  ðÝèµC³çÉCn[hEFAÌÝDæx}XNðCÝèµæ¤Æ
+ *  µ½ifãÌjÝDæx}XNÆTIPM_LOCKÌ¢ûÉÝè·éD
+ */
+Inline void
+x_set_ipm(PRI intpri)
+{
+	uint8_t   iipm = INT_IPM(intpri);
+
+	if (intpri == TIPM_ENAALL){
+		iipm = IIPM_ENAALL;
+	}
+
+	if (!lock_flag) {
+		set_basepri(iipm);
+	}
+	else {
+		saved_iipm = iipm;
+		set_basepri(iipm < IIPM_LOCK ? iipm : IIPM_LOCK);
+	}
+}
+
+#define t_set_ipm(intpri)    x_set_ipm(intpri)
+#define i_set_ipm(intpri)    x_set_ipm(intpri)
+
+/*
+ * ifãÌjÝDæx}XNÌQÆ
+ *
+ *  CPUbNtOªNA³êÄ¢éÍn[hEFAÌÝDæx}
+ *  XNðCZbg³êÄ¢éÍsaved_iipmðQÆ·éD
+ */
+Inline PRI
+x_get_ipm(void)
+{
+	uint8_t iipm;
+
+	if (!lock_flag) {
+		iipm = get_basepri();
+	}
+	else {
+		iipm = saved_iipm;
+	}
+
+	if (iipm == IIPM_ENAALL) {
+		return(TIPM_ENAALL);
+	}
+	else {
+		return(EXT_IPM(iipm));
+	}
+}
+
+#define t_get_ipm()    x_get_ipm()
+#define i_get_ipm()    x_get_ipm()
+
+/*
+ *  SVCnhiprc_support.Sj
+ */
+extern void svc_handler(void);
+
+/*
+ *  X^[gAbv[`istart.Sj
+ */
+extern void _start(void);
+
+/*
+ *  fBXpb`Ì®ìJniprc_support.Sj
+ *
+ *  start_dispatchÍCJ[lN®ÉÄÑo·×«àÌÅC·×ÄÌ
+ *  ÝðÖ~µ½óÔiÝbNóÔÆ¯ÌóÔjÅÄÑo³È¯êÎ
+ *  ÈçÈ¢D
+ */
+extern void start_dispatch(void) NoReturn;
+
+
+/*
+ *  J[lÌI¹ÌÄoµiprc_support.Sj
+ *
+ *  call_exit_kernelÍCJ[lÌI¹ÉÄÑo·×«àÌÅCñ^XN
+ *  ReLXgÉØè·¦ÄCJ[lÌI¹iexit_kerneljðÄÑo
+ *  ·D
+ */
+extern void call_exit_kernel(void) NoReturn;
+
+/*
+ *  ACh[vÌÀ
+ *
+ *  PÉCPUbNóÔÆCPUbNðóÔðÄÑo·ÀÆ·éD
+ *  X[v[hÉüêéêÍ{ðwfi½ßðp¢Ä«·¦êÎÇ¢D
+ */
+Inline void
+idle_loop(void)
+{
+	lock_flag = false;
+	/* CPUAbN => CPUbN  */
+	Asm("\tmsr BASEPRI , %0" : : "r"(0) : "memory");
+	Asm("\tmsr BASEPRI , %0" : : "r"(IIPM_LOCK) : "memory");
+	lock_flag = true;
+}
+
+/*
+ *  ÝÔEÝnhÔ
+ *
+ *  ÝnhÔ(inhno)ÆÝÔ(intno)ÍCèÝ­¶É
+ *  EPSRÉÝè³êéáOÔÆ·éD 
+ */
+
+/*
+ *  ÝÔÌÍÍÌ»è
+ */
+#define VALID_INTNO(intno)           ((TMIN_INTNO <= (intno)) && ((intno) <= TMAX_INTNO))
+#define VALID_INTNO_DISINT(intno)    VALID_INTNO(intno)
+#define VALID_INTNO_CFGINT(intno)    VALID_INTNO(intno)
+
+/*
+ *  ÝnhÌÝè
+ *
+ *  xNgÔinhnoÌÝnhÌN®Ônint_entryÉÝè·éDÝ
+ *  nhe[u
+ */
+Inline void
+x_define_inh(INHNO inhno, FP int_entry)
+{
+	/* ÁÉs¤ÍÈ¢ */
+}
+
+/*
+ *  ÝnhÌoüûÌ¶¬}N
+ *
+ */
+#define INT_ENTRY(inhno, inthdr)    inthdr
+#define INTHDR_ENTRY(inhno, inhno_num, inthdr) extern void inthdr(void);
+
+/*
+ *  ÝvÖ~tO
+ */
+
+/*
+ *  Ý®«ªÝè³êÄ¢é©ð»Ê·é½ßÌÏikernel_cfg.cj
+ */
+extern const uint32_t	bitpat_cfgint[];
+
+/*
+ *  ÝvÖ~tOÌZbg
+ *
+ *  Ý®«ªÝè³êÄ¢È¢ÝvCÉÎµÄÝvÖ~
+ *  tOðNAµæ¤Æµ½êÉÍCfalseðÔ·D  
+ */
+Inline bool_t
+x_disable_int(INTNO intno)
+{
+	uint32_t tmp;
+
+	/*
+	 *  Ý®«ªÝè³êÄ¢È¢ê
+	 */
+	if ((bitpat_cfgint[intno >> 5] & (1 << (intno & 0x1f))) == 0x00) {
+		return(false);
+	}
+
+	if (intno == IRQNO_SYSTICK) {
+		tmp = sil_rew_mem((void *)SYSTIC_CONTROL_STATUS);
+		tmp &= ~SYSTIC_TICINT;
+		sil_wrw_mem((void *)SYSTIC_CONTROL_STATUS, tmp);
+	}else {
+		tmp = intno - 16;
+		sil_wrw_mem((void *)NVIC_CLRENA0 + (tmp >> 5), (1 << (tmp & 0x1f)));
+	}
+
+	return(true);
+}
+
+#define t_disable_int(intno) x_disable_int(intno)
+#define i_disable_int(intno) x_disable_int(intno)
+
+/*
+ *  ÝvÖ~tOÌð
+ *
+ *  Ý®«ªÝè³êÄ¢È¢ÝvCÉÎµÄÝvÖ~
+ *  tOðNAµæ¤Æµ½êÉÍCfalseðÔ·D
+ */
+Inline bool_t
+x_enable_int(INTNO intno)
+{
+	uint32_t tmp;
+
+	/*
+	 *  Ý®«ªÝè³êÄ¢È¢ê
+	 */
+	if ((bitpat_cfgint[intno >> 5] & (1 << (intno & 0x1f))) == 0x00) {
+		return(false);
+	}
+
+	if (intno == IRQNO_SYSTICK) {
+		tmp = sil_rew_mem((void *)SYSTIC_CONTROL_STATUS);
+		tmp |= SYSTIC_TICINT;
+		sil_wrw_mem((void *)SYSTIC_CONTROL_STATUS, tmp);
+	}else {
+		tmp = intno - 16;
+		sil_wrw_mem((void *)((uint32_t *)NVIC_SETENA0 + (tmp >> 5)),
+					(1 << (tmp & 0x1f)));
+	}
+    
+	return(true);
+}
+
+#define t_enable_int(intno) x_enable_int(intno)
+#define i_enable_int(intno) x_enable_int(intno)
+
+Inline void
+x_clear_int(INTNO intno)
+{
+	uint32_t tmp;
+	
+	if (intno != IRQNO_SYSTICK) {
+		tmp = intno - 16;
+		sil_wrw_mem((void *)((uint32_t *)NVIC_CLRENA0 + (tmp >> 5)),
+					(1 << (tmp & 0x1f)));
+	}
+}
+
+/*
+ *  ÝvCÌ®«ÌÝè
+ */
+extern void x_config_int(INTNO intno, ATR intatr, PRI intpri);
+
+/*
+ *  ÝnhüûÅKvÈIRCì
+ */
+Inline void
+i_begin_int(INTNO intno)
+{
+	/* ÁÉs¤ÍÈ¢ */
+}
+
+/*
+ *  ÝnhÌoûÅKvÈIRCì
+ */
+Inline void
+i_end_int(INTNO intno)
+{
+	/* ÁÉs¤ÍÈ¢ */
+}
+
+/*
+ *  CPUáOnhÖW
+ */ 
+
+/*
+ *  CPUáOnhÔ
+ */
+#define VALID_EXCNO_DEFEXC(excno)    (TMIN_EXCNO <= (excno) && (excno) <= TMAX_EXCNO)
+
+/*
+ *  CPUáOnhÌÂ
+ */
+extern void enable_exc(EXCNO excno);
+
+/*
+ *  CPUáOnhÌÖ~
+ */
+extern void disable_exc(EXCNO excno);
+
+/*
+ *  CPUáOnhÌÝè
+ */
+Inline void
+x_define_exc(EXCNO excno, FP exc_entry)
+{
+	/*
+	 *  êÌáOÍÂðs¤Kvª é
+	 */
+	enable_exc(excno);
+}
+
+/*
+ *  CPUáOnhÌüûÌ¶¬}N
+ */
+#define EXC_ENTRY(excno, exchdr)    exchdr
+#define EXCHDR_ENTRY(excno, excno_num, exchdr) extern void exchdr(void *p_excinf);
+
+
+/*
+ *  CPUáOGgiprc_support.Sj
+ */
+extern void exc_entry(void);
+
+/*
+ *  ÝGgiprc_support.Sj
+ */
+extern void int_entry(void);
+
+/*
+ *  vZbTË¶Ìú»
+ */
+extern void prc_initialize(void);
+
+/*
+ *  vZbTË¶ÌI¹
+ */
+extern void prc_terminate(void) NoReturn;
+
+/*
+ *  atexitÌÆfXgN^ÌÀs
+ */
+Inline void
+call_atexit(void)
+{
+	extern void    software_term_hook(void);
+	void (*volatile fp)(void) = software_term_hook;
+
+	/*
+	 *  software_term_hookÖÌ|C^ðCêUvolatilewèÌ éfpÉã
+	 *  üµÄ©çg¤ÌÍC0ÆÌärªÅK»Åí³êÈ¢æ¤É·é½
+	 *  ßÅ éD
+	 */
+	if (fp != 0) {
+		(*fp)();
+	}
+}
+
+/*
+ * o^³êÄ¢È¢áOª­¶·éÆÄÑo³êé
+ */
+extern void default_exc_handler(void *p_excinf);
+
+/*
+ * ¢o^ÌÝª­¶µ½êÉÄÑo³êé
+ */
+extern void default_int_handler(void *p_excinf);
+
+#endif /* TOPPERS_MACRO_ONLY */
+#endif /* TOPPERS_PRC_CONFIG_H */
Index: /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_def.csv
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_def.csv	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_def.csv	(revision 93)
@@ -0,0 +1,3 @@
+TMAX_INTNO,TMAX_INTNO
+TIPM_LOCK,TIPM_LOCK 
+TBITW_IPRI,TBITW_IPRI
Index: /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_design.txt
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_design.txt	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_design.txt	(revision 93)
@@ -0,0 +1,529 @@
+=====================================================================
+                         ARM-MvZbTË¶Ýv
+                                  Last Modified: 23 Aug 2008 21:54:54
+=====================================================================
+
+±ÌhL
+gÌÊuÃ¯
+
+±ÌhL
+gÍCTOPPERS/ASPJ[lðARMvX-MvZbTÉÚA·é½ß
+ÌÝvÅ éD
+
+
+ARMVx-MÌdlÜÆß
+
+ARMvX-MÌdlÌ¤¿CJ[lÌÝvÉÖW·éÉÂ¢ÄÜÆßéD
+
+WX^
+
+ÄpWX^ÍR0`R15Ì16íÞ èCR13ÌÝª2oN\¬iPSP,MSPjÆÈ
+ÁÄ¢éDR15ÍPC, R14ÍNWX^iLRjÆÈÁÄ¢éDR0`R3,R12Í
+XNb`WX^Å éD
+
+R[ORxV
+
+R0`R4ªøC»êÈãÍX^bNDßèlÍCR0`R1Éi[³êéD(ARMÉ
+æèKè³êÄ¢é½ßCRpCÉË¶¹¸±Ì[ÆÈéD)
+
+CONTROLWX^
+
+PSP,MSPÌØèÖ¦CPrivilageÆUser[hÌWX^DÏXãÍCCXg
+NVobt@tbV
+½ßðÀs·éKvª éiisbjDCONTROL
+WX^ÌÚ×ÍCARMv7-M Architecture Application Level Reference 
+Manual Ì B1-9 ðQÆÌ±ÆD
+
+ÝxN^
+
+xN^e[u^ÅCxN^e[uÌAhXÍCZbgÍ0x00ÅC
+Vector Table Offset Registeri}bvhWX^j ðì·é±Æ
+ÅCCÓÌAhXÉzuÂ\Å éD
+
+Dæx
+
+lª¬³¢ûªDæxÆÈéD
+
+DæxÍÅå8bitÅ èCSoCÉÀ³êÄ¢érbgªÙÈéDÀ³
+êérbgª8bitÈºÌêÍCLSB©ç³øÉÈéDá¦ÎCÀ³êÄ¢
+érbgª7bitÌêÍCrbg0ª³øÆÈéD
+
+DæxÌrbgtB[hÌLSB©çrbgðTuDæxÆÄÔtB[h
+ÉÝè·é±ÆªÂ\Å éDcèÌãÊrbgðvGvVDæxÆ
+ÄÔDvGvVDæxª¯¶ÅCTuDæxªÙÈéDæxÌO[
+vÍC¨Ý¢ðvGvg·é±ÆªÅ«È¢D
+
+Reset,NMI,Hard Fault ÈOÌáOÍÝÆ¯lÉDæxªÝèÂ\Å èC
+Ý}XN@\ÉæèC­¶ðÖ~·é±ÆªÂ\Å éD
+
+CPU[h
+
+vZbTÍCThread[hàµ­ÍHandler[hÌ¢¸ê©Ì[hÆÈ
+éD
+
+ZbgÌóÔ
+
+ZbgÍThread[hCMSPªLøÆÈÁÄ¢éD
+
+Handler[h
+
+áO/Ýðó¯t¯éÆJÚ·é[hDó¯t¯½áO/ÝÌáOÔ
+ªCIPSRÉZbg³êéDáOÔÍCTRMÅèßçêÄ¢éÔÅ éD
+
+        áO              áOÔ
+  Reset                      1
+  Non-makable Interrupt      2
+  Hard Fault                 3
+  Memory Management          4
+  Bus Fault                  5
+  Usage Fault                6
+  SVCall                    11
+  Debug Monitor             12
+  PendSV                    14
+  SysTick                   15
+  IRQ0                      16
+  IRQ1                      17
+  ..
+
+áO/Ýðó¯t¯éÆCó¯t¯½áO/ÝÌDæxÈºÌáO/
+ÝðÖ~·éD±ÌDæx}XNð"NVICDæx}XN"ÆÄÔD±ÌDæx
+ÍC\tgEFA©çÏX·é±ÆªÅ«¸CáO/ÝÌ^[Éæè
+ÝOÌlÉ©®IÉßéD
+
+X^bN|C^iPSPÆMSPj
+
+X^bN|C^ÍCPSPÆMSPª èCr¼IÉgpÂ\Å éDHandler
+[hÅÍMSPÌÝgpÂ\Å èCThread[hÅÍCONTROLWX^ÅIðÂ
+\Å éDCONTROLWX^Ì1rbgÚðZbg·éÆPSPªLøÉCNA
+·éÆCMSPªLøÉÈéD
+
+Thread[hÆHandler[hÌJÚ
+
+Thread[h©çHandler[hÖÌJÚÍCáO/Ýðó¯t¯é±ÆÅ
+­¶·éDêûCHandler[h©çThread[hÖÌJÚÍCPCÉ
+EXC_RETURN(0xfffffffx)ÌlðÝè·é±ÆÉæès¤iáO^[Æ
+ÄÔjDEXC_RETURNÌºÊ4bitÉæèCJÚæÌ[hâgp·éX^bN|
+C^ðÏXÂ\Å éDáO^[ÉæèCPRIMASKâBASEPRIÌlÍÏ»
+µÈ¢DêûCFAULTMASKÌlÍ'0'ÉNA³¹éD
+
+EXC_RETURN
+
+áO/Ýót¯ÉlrÉÝè³êélDrbg31`4rbgÍSÄ'1'ÅC
+ºÊ4bitÍCót¯ÌCPU[hâX^bNð½fµ½lÆÈÁÄ¢éD
+
+ 0b0001 : Handler[h
+ 0b1001 : Thread[h with MSP
+ 0b1101 : Thread[h with PSP
+
+Thread[hÆHandler[hÌ»è
+
+»óÌ[hð»è·éÉÍCIPSRð©ÄC'0'ÈçThread[hC»êÈO
+ÈçCHandler[hÆÈéD
+
+BASEPRIWX^
+
+Ýèµ½DæxÈºÌDæxÌÝÌótðÖ~·éD±ÌDæx}XNð
+"BASEPRIDæx}XN"ÆÄÔD'0'ðÝè·éÆCSÄÌÝðÂ·éD
+áO/ÝÌótÆ^[ÉæèÏ»µÈ¢DáO/ÝÉÎ·éÝ
+Dæx}XNÍCNVICDæx}XNÆBASEPRIÌÝèlÌ¢ûilª¬³¢
+ûjÆÈéD
+
+FAULTMASK
+
+FAULTMASKÍ'1'ðZbg·é±ÆÉæèCNMIÈOÌSÄÌÝðÖ~·éD
+FAULTMASKÍCáOÌ^[Éæè'0'ÉNA³¹éD
+
+PRIMASKÆWFI
+
+PRIMASKð'1'ÉÝè·éÆCNMI Æ Hardware Fault ÈOÌáO/ÝðÖ
+~·éDPRIMASKÍÝÌÂÆÝÒ¿ðAg~bNÉs¤½ßÉp¢
+éDïÌIÉÍCPRIMASKªZbg³êÄ¢éóÔÅwfiðÀs·éÆCè
+ÝÒ¿ÆÈèCÝót¯éÆnhðÀs¹¸ÉCwfi©ç^[µ
+Ä­éD
+
+áO/ÝÌót
+
+EáO/Ýðót¯éÆCót¯ÉANeBuÈX^bNãÉÈºÌR
+  eLXgðÛ¶·é(áOt[ÆÄÔ)D
+
+   -----------
+  |    R0     |  <- new SP
+   -----------
+  |    R1     |
+   -----------
+  |    R2     |
+   -----------
+  |    R3     |
+   -----------
+  |    R12    |
+   -----------
+  |    LR     |
+   -----------
+  |    PC     |
+   -----------
+  |   xPSR    |
+   -----------
+  |           | <- old SP
+
+EvZbTðHandler[hÆ·éDMSPªLøÆÈéD
+Eót¯½áO/ÝÌáOÔðIPSRÉÝè·éD
+ENVICÝDæx}XNðót¯½áO/ÝÌDæxÉÝè·éD
+ElrÉEXC_RETURNÌlªÝè³êéD
+ExN^e[uðÇÝÝnhðÀs·éD
+
+áO/Ý©çÌ^[
+
+pcÉEXC_RETURNÌlðÝè·é±ÆÉæèCáO/Ý©ç^[·éD
+pcÖÌÝèÉgpÂ\È½ßÉÍ§Àª èCÈº½ßªgpÂ\Å éD
+
+  EPOP/LDM, LDR, BX
+
+¢ðÛè
+
+ExN^[e[uÉo^·éÖÌAhXÌLSBÍ'1'É·é×«©?
+ENVICÍáOEÝÌlXgñðàIÉÇµÄ¢éçµ¢D
+  (!t@Xð¾ç©É)D
+    \tgEFAÅÍClXgÌ Kðí¹êÎC^[X^bNðU¢µ
+    ÄàâèÈ¢©D
+
+
+OSÌÀ
+
+1.^[Qbg¼
+
+ 1-1 cm3(Cortex-M3)
+ 1-2 armv7m(ARMV7M)
+ 1-3 arm_m
+
+cm3ÅÍCCoretex-M1(armv6-m)ðT|[g·éêÉâèÆÈéDarmv7mÅÍC
+armv8mª[X³ê½êÉâèÆÈéDARMË¶ÍJSPÅÍCarmv4ÆÈ
+ÁÄ¢½ªCarmv5âarmv7à®ì·é½ßASPÅÍPÉarmÆµ½D»Ì½ßC
+arm_mª³ïÆl¦çêéD
+
+
+2.Thread[hÆHandler[hÌg¢ª¯
+
+ 2-1
+  ^XNReLXgÍThread[hCñ^XNReLXgÍHandler[
+  hÅ®ì³¹éD
+
+ 2-2
+  ^XNReLXgÆñ^XNReLXg¤ÉHandler[hÅ®ì³¹
+  éD
+
+vZbTÌÝvûjðl¶·éÆ2-1ªLÍD2-1ÅÌâè_ÆµÄÍC
+Ýnh©ç^XNÖÌ^[É[hÌÏXªÈºÌlÉ½­·é±
+Æª°çêéD
+
+1.Ýnh               : Handler[h
+2.^XNáOnhÌÄÑoµ : Thread[h
+3.^XNÖÌ^[       : Handler[h
+4.^XNÌÄJ                 : Thread[h
+
+3ÅHandler[hÉÚs·éKvª éÌÍCáOt[ðp¢ÄA·é
+ÉÍCHandler[hÅáO^[ðs¤Kvª é½ßÅ éDARMÅ
+ÍC¡WX^Ì[hÆCPSRÌAð¯És¦éªCM3Ís¦È¢½ßC
+±Ìû@ÅÝæÌ^XNÉ^[·éKvª éD
+
+2-2ÌêÌÝnh©ç^XNÖÌ^[É[hÌÏXðÈº
+É¦·DÜ½C2-2ÅÍÝDæxÌÅálð^XNÌÀsÌDæxÆµ
+ÄU[u·éKvª éD
+
+1.Ýnh               : Handler[h
+2.NVICDæx}XN'0'ð0Ö     : Thread[h
+3.ÅáDæxÌHandler[hÖ  : Handler[h
+4.^XNáOnhÌÄÑoµ : Handler[h
+5.^XNÖÌ^[ÌO   : Thread[h
+3.^XNÖÌ^[           : Handler[h
+4.^XNÌÄJ                 : Handler[h
+
+Ýnh©ç^XNÌ^[ÉÖµÄÍC2-2Å ÁÄàC2ðÀs·
+éêÉCNVICDæx}XNð'0'É·é½ßCáO^[ðs¤Kv
+ª éDÜ½CNVIC©ÌªCÝÌlXgñðÇµÄ¢é½ßC3©ç4
+ÖÌJÚÌ½ßÉC¢Á½ñáO/Ýðót¯½óÔÉ·éKvª é½
+ßCÊIÉ2-1ÈãÌJÚªKvÆÈéD
+
+2-2ÌêÍCMSPµ©g¦È¢½ßCÝÌüèûÅlXgñð»fµÄC
+X^bNðüêÖ¦éKvª éD
+
+HRPÅÛìðp¢éêÍ2-1ÆÈéD
+
+ÈãÌRÉæèC2-1ðÌp·éD½¾µ2-1ÍCJ[lN®ÆIDLE[
+vÌµ¢ð¢·éKvª éD±êçÉÂ¢ÄÍÊrc_·éD
+
+
+3.fBXpb`ÌÀs[h
+
+ 3-1
+  Thread[hÅÀs·é
+
+ 3-2
+  Handler[hÅÀs·é
+
+fBXpb`ðThread[hÅÀs·éÆCÝÉæèvGvg³ê
+½^XNÉßéêÍÌæ¤ÈpXÉÈéD
+
+ 1. fBXpb`ÄÑoµ : Thread[h 
+ 2. fBXpb`Às     : Thread[h
+ 3. ^XNáOÀs         : Thread[h
+ 4D^XNÖÌ^[ : Handler[h
+ 5. ^XNÌÄJ           : Thread[h
+
+Ýnh©ç©çfBXpb`µ½^XNÖ^[·éêÍÌp
+XÉÈéD
+
+ 1.Ýnh               : Handler[h
+ 2.fBXpb`Às           : Thread[h
+ 3.^XNáOnhÌÄÑoµ : Thread[h
+ 4.^XNÖÌ^[           : Handler[h
+ 5.^XNÌÄJ                 : Thread[h
+
+êûCfBXpb`ðHandler[hÅÀs·éÆCÝÉæèvG
+vg³ê½^XNÉßéêÍÌæ¤ÈpXÉÈéD
+
+ 1. fBXpb`ÄÑoµ : Thread[h 
+ 2. fBXpb`Às     : Handler[h
+ 3. ^XNáOÀs         : Thread[h
+ 4D^XNÖÌ^[     : Handler[h
+ 5. ^XNÌÄJ           : Thread[h
+
+ÝnhÌoû©ç©çfBXpb`µ½^XNÖ^[·éêÍ
+ÌpXÉÈéD
+
+ 1.Ýnh               : Handler[h
+ 2.fBXpb`Às           : Handler[h
+ 3.^XNáOnhÌÄÑoµ : Thread[h
+ 4.^XNÖÌ^[           : Handler[h
+ 5.^XNÌÄJ                 : Thread[h
+
+^XNáOnhªÈ¢OSÌêÍCHandler[hÅÀsµ½ûª[h
+ÌJÚÌñª¸éªC^XNáOnhª éÆCThread[hÌûªJ
+Úñª¸é½ßCThread[hÆ·éD
+
+Ûìðl¶·éÆCfBXpb`ÍHandler[hÅ®ì³¹½ûª
+ø¦ªæ¢Æl¦çêéiSVCÅnhðÄÑo·ÆHandler[hÆÈé½
+ßjD
+
+
+4.X^bNÌg¢ª¯
+
+ 4-1
+  ^XNReLXgðPSP, ñ^XNReLXgðMSP
+ 4-2
+  ^XNReLXgCñ^XNReLXg¤ÉMSP
+
+4-2ÌêCÝÌüèûÅlXgñð»fµÄCX^bNðüêÖ¦é
+Kvª éD2Å^XNReLXgÍThread[hCñ^XNReLXg
+ÍHandler[hÅ®ì³¹éÆµ½½ßC4-1ðÌp·éÆCÝÌüèû
+Å©®IÉX^bNªØèÖíéDThread[hÅÌPSPÌANZXàC
+mrs/msr½ßÅs¦é½ßC4-1ðÌp·éD
+
+
+5.ReLXgÌ»è
+
+ 5-1
+  IPSRª'0'(Thread[h)Èç^XN^XNReLXgC'1'(Handler[
+  h)Èçñ^XNReLXgÆ·éD
+
+ 5-2
+  ÝÌlXgñðÛ·éÏðpÓD1ÈãÅñ^XNReLXgD
+
+ 5-3
+  ANeBuÈX^bNÉæè»fiMSPÈçñ^XNReLXgCPSPÈç
+  ^XNReLXgÆ·éj
+
+5-1ÍC\tgEFA¤ÅReLXgÇÌ½ßÌðs¤KvªÈ¢Æ
+¢¤bgª éDµ©µÈªçCJ[lÌN®Thread[hÅ é½
+ßCHandler[hÖÚs·éKvª éDASPJ[lÅÍCIDLE[vÀs
+Íñ^XNReLXgÆµÄ®ì³¹éKvª é½ßCIDLE[vÍ
+Handler[hÅ®ì³¹éKvª éDIDLE[vÍfBXpb`©çÄ
+Ño³êéD3Åèß½æ¤ÉCfBXpb`ðThread[hÅ®ì³¹é
+½ßCIDLE[vðÄÑo·ÛÉÍCHandler[hÖJÚ·éKvª éD
+Handler[hÖÌJÚÍCSVC/PendSVCðp¢éÆÀ»Â\Å éªC6Ì
+ÝÉvGvg³ê½^XNÖÌ^[ÌHandler[hÖÌÚsÅ
+àSVC/PendSVCÌgpªKvÆÈé½ßCSVCnhÅÍCÇÌÚIÅÄÑo
+³ê½©»è·éKvªoÄ­é½ßCI[owbhªå·éD
+
+5-2ÅÍCJ[lN®âIDLE[vÉÏð'1'ÉÝè·êÎæ¢±ÆÉ
+ÈéD±ÌêCJ[lN®âIDLE[vÉThread[hÅÀsµÄà
+®ìÉâèªÈ¢æ¤CÁÉÝÌoüèûÌÝvðÓ·éKvª éD
+
+J[lN®ÉÖµÄÍCSÝðÖ~µÄ¨èCÝªüçÈ¢ÌÅ
+ÁÉâèÍÈ¢DIDLE[vÍCThread[hÅMSPÆPSPÌIðªÂ\Å 
+é±ÆðpµÄCñ^XNReLXgÌX^bNÅ éMSPÉÏX·éD
+áO/ÝÌüèûÅÍC½dÝÅ é©ðEXC_RETURNÌ[h»èÌ
+rbgÅÍÈ­CX^bNÌ»èrbgÅs¦ÎâèÈ¢DáO/Ý©ç
+Ì^[ÉÖµÄÍC½dÝÌ»èÍCüèûÆ¯lÉEXC_RETURNÌX
+^bN»èrbgÅs¦Îæ¢DáO^[ÉpcÉãü·é
+EXC_RETURNÌlðê¥0xfffffffd (Thread[h with MSP)Æ·éÌÅÍÈ­C
+áO/Ýót¯ÉLRÉÝè³êéEXC_RETURNðp¢é±ÆÉæèCIDLE
+[vÉèñ¾êÅàâèÈ­^[·éD
+
+J[lN®ÍCMSPªANeBuÅ èCÝnhÀsÍHandler
+[hÅ é±Æ©çMSPªANeBuÅèCIDLE[vÉMSPðANeBu
+ÉÝè·éÆCñ^XNReLXgÍSÄCMSPðANeBuÉµÄ®ì·
+é±ÆÉÈéDÜ½CÝÍÝOÉANeBuÈX^bNÌîñªC
+EXC_RETURNÉÝè³êéD»Ì½ßCReLXgÌ»èÍCÝlXgñ
+ðÛ·éÏªÈ­ÆàCANeBuÈX^bNð©êÎæ¢±ÆÉÈéD
+Ü½Cexc_sense_context()ÉÖµÄÍCáOt[ÉEXC_RETURNðÇÁ
+µC»ÌàeÉæè»f·êÎæ¢DÈãÌRÉæèC5-3ðÌp·éD
+
+
+6.ÝÉvGvg³ê½^XNÖÌ^[ÌHandler[hÖÌÚ
+  sû@
+
+ 6-1
+  SVCðp¢é
+ 6-2
+  PendSVCðp¢é
+
+PendSVCÆSVCÌá¢ÍCPendSVCªvªL
+[CO³êCSVCÍvªL
+
+[CO³êÈ¢±ÆÅ éDÝÉvGvg³ê½^XNÖÌ^[
+ÌHandler[hÖÌÚsÍCL
+[CO³ê¸É¦ÀÉ³êéK
+vª é½ßCÇ¿çÅÀ»µÄàâèÈ¢DÇ¿çðJ[lÌ\[Xµ
+Ägp·é©ÌIð¾¯Å éD
+
+Ç¿çðg¤ÆµÄàCDæxÌÝèªâèÆÈéDfBXpb`©ç
+ÝÉvGvg³ê½^XNÖÌ^[ÜÅÌÍC­È­ÆàCPU
+bNóÔÅÀs³êÈ¯êÎÈçÈ¢DSVCâPendSVCÍÇ¿çàÝDæx
+ðÂ½ßCNVICDæx}XNæèBASEPRIDæx}XNÌûª¢êC
+³êÈ¢D
+
+CPUbNóÔðBASEPRIÌÝèÅÀ»µ½êC»ÌÝèlðSVCâPendSVCÉ
+Ýèµ½læèá­·éKvª éD¾¢·¦éÆCSVCâPendSVCÌDæxð
+CPUbNÌDæx}XNÌlæè¢li¼ÌÝæè¢DæxjÆ
+·éKvª éD
+
+CPUbNóÔðFAULTMASKâPRIMASKÅÀ»µ½êÍC±êçªÝè³êé
+ÆCSVCâPendSVCªót¯çêÈ¢½ßC¢Á½ñBASEPRIÉæèÝð}
+XN·éæ¤ÉÝè·éKvª éD±ÌêàCSVCâPendSVCÍ¼ÌÝ
+æè¢DæxðÝè·éKvª éD
+
+ÈãÉæèCHandler[hÖÌÚsÌ½ßÉÍCCPUbNóÔðBASEPRIÅ
+À»µCSVCâPendSVCÉÝè·éDæxðJ[lÇàÌÅDæxæèê
+Â¢DæxÉÝè·éKvª éD
+
+
+7. áO/ÝoüèûÅÌ½dÝÌ»f
+
+7-1
+ EXC_RETURNÌ[h»èrbg
+7-2
+ EXC_RETURNÌX^bN»èrbg
+7-3
+ ÝlXgñÌÇÏ
+
+áO/Ýót¯ÍCót¯½áO/ÝÈºÌÝÍÖ~·éªCS
+ÝÖ~óÔÉÍÈçÈ¢D»Ì½ßCÝlXgñÌÇÏðC
+Ng·éOÉÝªüéÂ\«ª é½ßC7-3Ígp·é±ÆªÅ
+«È¢D
+
+5Åc_µ½ÊèCIDLE[vðThread[hÅÀs·é½ßC7-1ÅÍÈ­C
+7-2Å»f·éKvª éD
+
+
+8. IDLE[v
+
+8-1
+ Thread[hÅÀs
+8-2
+ Handler[hÅÀs
+
+5Åc_µ½ÊèCThread[hÅÀsÅ«½ûªI[owbhª¬³¢DÜ
+½CThread[hÅÀsµÄàCèÝÌoüèûÅ³µ­ñ^XNRe
+LXgÆ»èÅ«êÎCThread[hÅâèÈ¢D
+
+
+9DJ[lÇOÌÝÌT|[g
+
+9-1
+ J[lÇOÌÝðT|[gµÈ¢
+9-2
+ J[lÇOÌÝðT|[g·é
+
+xN^e[uðT|[gµÄ¨èCÝnhàC¾êÅLqÂ\Å 
+é½ßCT|[gªeÕÅ é½ßCT|[g·éD
+
+
+10. CPUbN
+
+10-1
+ BASEPRIðgp 
+10-2 
+ FAULTMASK/PRIMASKðgp
+
+J[lÌÇOÌÝðT|[g·éÈçCBASEPRIðgp·éKvª 
+éD
+
+
+11. ÝbNÆCPUáOÌÖW
+
+11-1
+ BASEPRIðgp 
+11-2 
+ FAULTMASK/PRIMASKðgp 
+
+FAULTMASK/PRIMASKðgp·éÆCNMI Æ Hardware Fault ÈOÌCPUáOàÖ
+~³êÄµÜ¤D
+
+BASEPRIðp¢éÆCÝbNÉàCPUáOðót¯½¢êÍC
+BASEPRIðp¢ÄCÅDæxðCPUáOÌ½ßÉU[u·éKvª éD
+
+ÝbNàCCPUáOðót¯éæ¤Éµ½¯êÎBASEPRIðgp·éK
+vª éD
+
+ÊIRON4.0dlÌ3.5.3ÅÍCCPUáOÌDæxÍÌæ¤ÉèßçêÄ¢éD
+
+"CPUáOnhÌDæÊÍCCPUáOª­¶µ½ÌDæxÆCfBX
+pb`ÌDæÊÌ¢¸ê©æèà¢D"
+
+CPUáOª­¶µ½ÌDæxæèà¢Æ éÌÅCCPUbNâÝ
+bNóÔÌ^XNÅ­¶µ½êÅàCDæµÄÀs³êé×«¾Æàl¦ç
+êéD
+
+êûCTOPPERSWÝfÌdlÅÍCCPUáOÍCvZbT
+ÉÙÈé½ßCCPUáOÌfÌW»¢ÌÎÛOÆµÄ¢éD»Ì
+½ßCARM-MÅÌµ¢ðßÄC}j
+AÉ¾L·êÎæ¢Æl¦çêéD
+
+
+12. ODæxÆàDæxÌÏ·
+
+ODæxÆÍAPIÅwè·éÝDæx(PRI^)Ì±ÆÅ èClª¬³¢
+ÙÇDæxª¢DÝnhÉÍC-1©çA±µ½ÌlðÝèÂ\Å
+ éDàDæxÍCBASEPRIâNVICÌDæxWX^ÉÝè·élÅ éD
+
+À³êéÝDæxÌrbgð TBITW_IPRI Æ·éÆCÝèÂ\ÈO
+DæxÍÌæ¤ÉÈéD
+
+  TIPM_ENAALLi0j` -(1 << TBITW_IPRI)
+
+
+13. J[lÇàÌÅDæx(CPUbNóÔÅÌDæx}XN)
+
+6.Åq×½æ¤ÉCÝÌoûÅSVCnhðÄÑo·Kvª é½ßC
+SVCnhÍCPUbNóÔÌBASEPRIÉÝè·éDæx}XNæè¢Dæx
+ðÝè·éKvª éD
+
+À³êéÝDæxÌrbgð TBITW_IPRICDæxÌTuDæxÌ
+rbgðTBIT_IPRIÆ·éÆCCPUbNóÔiJ[lÇàÝÉÝè
+Â\ÈÅDæxjÆµÄwèÂ\ÈDæx}XNÌÝèÍÍÍÈºÌlÌÍ
+ÍÆÈéD
+
+    -(2^(TBIW_IPRI)) + (2^TBITW_SUBIPRI)) ` -1
+
+
+14. ¢ðÛè
+
+EÝbNÆCPUáOÌÖW
+  BASEPRIðgÁ½ÆµÄàC éCPUáOÉ¼ÌáOª­¶·éÆC»
+  ÌáOÍó¯t¯çêÈ¢½ßCITRONdlÍ½¹È¢D
+  -> «çßÄ}j
+ALÚÉ¦°é©.
+  veNVÌáOà}XNÂ\Å é½ßvD
+
+
+ÈãD
Index: /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_insn.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_insn.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_insn.h	(revision 93)
@@ -0,0 +1,135 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: prc_insn.h 1304 2008-08-27 07:28:36Z ertl-honda $
+ */
+
+
+/*
+ *  RAË¶ÌÁê½ßÌCCÖè`iARM-Mpj
+ */
+
+#ifndef CORE_INSN_H
+#define CORE_INSN_H
+
+#include <arm_m.h>
+
+/*
+ *  FAULTMASKÌZbg
+ */
+Inline void
+set_faultmask(void){
+	Asm("cpsid f":::"memory");
+}
+
+/*
+ *  FAULTMASKÌNA
+ */
+Inline void
+clear_faultmask(void){
+	Asm("cpsie f":::"memory");
+}
+
+/*
+ *  PRIMASKÌZbg
+ */
+Inline void
+set_primask(void){
+	Asm("cpsid i":::"memory");
+}
+
+/*
+ *  PRIMASKÌNA
+ */
+Inline void
+clear_primask(void){
+	Asm("cpsie i":::"memory");
+}
+
+/*
+ *  BASEPRIÌZbg
+ */
+Inline void
+set_basepri(uint32_t val){
+	Asm("msr BASEPRI, %0" : : "r"(val) : "memory");
+}
+
+/*
+ *  BASEPRIÌæ¾
+ */
+Inline uint32_t
+get_basepri(void){
+	uint32_t val;
+	Asm("mrs  %0, BASEPRI" : "=r"(val));
+	return(val);
+}
+
+/*
+ *  CONTROLÌZbg
+ */
+Inline void
+set_control(uint32_t val){
+	Asm("msr control, %0 \n"
+		" isb"
+		: : "r"(val) : "memory");
+}
+
+/*
+ *  CONTROLÌæ¾
+ */
+Inline uint32_t
+get_control(void){
+	uint32_t val;
+	Asm("mrs  %0, CONTROL" : "=r"(val));
+	return(val);
+}
+
+/*
+ *  Xe[^XWX^iCPSRjÌ»ÝlÌÇoµ
+ */
+Inline uint32_t
+get_ipsr(void)
+{
+    uint32_t sr;
+    Asm("mrs  %0, ipsr" : "=r"(sr));
+    return(sr);
+}
+
+#endif /* CORE_INSN_H */
Index: /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_kernel.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_kernel.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_kernel.h	(revision 93)
@@ -0,0 +1,67 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: prc_kernel.h 1304 2008-08-27 07:28:36Z ertl-honda $
+ */
+
+/*
+ *		kernel.hÌvZbTË¶iARM-Mpj
+ *
+ *  ±ÌCN[ht@CÍCtarget_kernel.hiÜ½ÍC»±©çCN
+ *  [h³êét@CjÌÝ©çCN[h³êéD¼Ìt@C©ç
+ *  ¼ÚCN[hµÄÍÈçÈ¢D
+ */
+
+#ifndef TOPPERS_PRC_KERNEL_H
+#define TOPPERS_PRC_KERNEL_H
+
+/*
+ *  T|[g·é@\Ìè`
+ */
+#define TOPPERS_TARGET_SUPPORT_DIS_INT            /* dis_intðT|[g·é */
+#define TOPPERS_TARGET_SUPPORT_ENA_INT            /* ena_intðT|[g·é */
+
+#define TMAX_INTPRI		(-1)		/* ÝDæxÌÅåliÅálj*/
+
+#ifndef TOPPERS_MACRO_ONLY
+
+#endif /* TOPPERS_MACRO_ONLY */
+
+#endif /* TOPPERS_PRC_KERNEL_H */
Index: /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_rename.def
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_rename.def	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_rename.def	(revision 93)
@@ -0,0 +1,27 @@
+# prc_config.c
+lock_flag
+saved_iipm
+intnest
+
+set_exc_int_priority
+enable_exc
+disable_exc
+prc_initialize
+prc_terminate
+x_config_int
+default_exc_handler
+default_int_handler
+
+# prc_support.S
+exc_entry
+int_entry
+ret_exc
+ret_int
+svc_handler
+start_dispatch
+call_exit_kernel
+
+# kernel_cfg.c
+exc_tbl
+bitpat_cfgint
+vector_table
Index: /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_rename.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_rename.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_rename.h	(revision 93)
@@ -0,0 +1,79 @@
+/* This file is generated from prc_rename.def by genrename. */
+
+#ifndef TOPPERS_PRC_RENAME_H
+#define TOPPERS_PRC_RENAME_H
+
+/*
+ *  prc_config.c
+ */
+#define lock_flag					_kernel_lock_flag
+#define saved_iipm					_kernel_saved_iipm
+#define intnest						_kernel_intnest
+
+#define set_exc_int_priority		_kernel_set_exc_int_priority
+#define enable_exc					_kernel_enable_exc
+#define disable_exc					_kernel_disable_exc
+#define prc_initialize				_kernel_prc_initialize
+#define prc_terminate				_kernel_prc_terminate
+#define x_config_int				_kernel_x_config_int
+#define default_exc_handler			_kernel_default_exc_handler
+#define default_int_handler			_kernel_default_int_handler
+
+/*
+ *  prc_support.S
+ */
+#define exc_entry					_kernel_exc_entry
+#define int_entry					_kernel_int_entry
+#define ret_exc						_kernel_ret_exc
+#define ret_int						_kernel_ret_int
+#define svc_handler					_kernel_svc_handler
+#define start_dispatch				_kernel_start_dispatch
+#define call_exit_kernel			_kernel_call_exit_kernel
+
+/*
+ *  kernel_cfg.c
+ */
+#define exc_tbl						_kernel_exc_tbl
+#define bitpat_cfgint				_kernel_bitpat_cfgint
+#define vector_table				_kernel_vector_table
+
+#ifdef TOPPERS_LABEL_ASM
+
+/*
+ *  prc_config.c
+ */
+#define _lock_flag					__kernel_lock_flag
+#define _saved_iipm					__kernel_saved_iipm
+#define _intnest					__kernel_intnest
+
+#define _set_exc_int_priority		__kernel_set_exc_int_priority
+#define _enable_exc					__kernel_enable_exc
+#define _disable_exc				__kernel_disable_exc
+#define _prc_initialize				__kernel_prc_initialize
+#define _prc_terminate				__kernel_prc_terminate
+#define _x_config_int				__kernel_x_config_int
+#define _default_exc_handler		__kernel_default_exc_handler
+#define _default_int_handler		__kernel_default_int_handler
+
+/*
+ *  prc_support.S
+ */
+#define _exc_entry					__kernel_exc_entry
+#define _int_entry					__kernel_int_entry
+#define _ret_exc					__kernel_ret_exc
+#define _ret_int					__kernel_ret_int
+#define _svc_handler				__kernel_svc_handler
+#define _start_dispatch				__kernel_start_dispatch
+#define _call_exit_kernel			__kernel_call_exit_kernel
+
+/*
+ *  kernel_cfg.c
+ */
+#define _exc_tbl					__kernel_exc_tbl
+#define _bitpat_cfgint				__kernel_bitpat_cfgint
+#define _vector_table				__kernel_vector_table
+
+#endif /* TOPPERS_LABEL_ASM */
+
+
+#endif /* TOPPERS_PRC_RENAME_H */
Index: /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_sil.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_sil.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_sil.h	(revision 93)
@@ -0,0 +1,96 @@
+/*
+ *  TOPPERS Software
+ *      Toyohashi Open Platform for Embedded Real-Time Systems
+ * 
+ *  Copyright (C) 2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: prc_sil.h 1304 2008-08-27 07:28:36Z ertl-honda $
+ */
+
+/*
+ *   sil.hÌvZbTË¶iARM-Mpj
+ */
+
+#ifndef TOPPERS_PRC_SIL_H
+#define TOPPERS_PRC_SIL_H
+
+#ifndef TOPPERS_MACRO_ONLY
+
+/*
+ *  NMIð­·×ÄÌÝÌÖ~
+ */
+Inline bool_t
+TOPPERS_disint(void)
+{
+	uint32_t val;
+
+	Asm("mrs  %0, FAULTMASK" : "=r"(val));
+	Asm("cpsid f":::"memory");
+
+	if (val == 1) {
+		return (true);
+	}
+	else {
+		return (false);
+	}
+}
+
+Inline void
+TOPPERS_enaint(bool_t locked)
+{
+	if (!locked) {
+	  Asm("cpsie f":::"memory");
+	}
+}
+
+/*
+ *  SÝbNóÔÌ§ä
+ */
+#define SIL_PRE_LOC      bool_t  TOPPERS_locked
+#define SIL_LOC_INT()    ((TOPPERS_locked = TOPPERS_disint()))
+#define SIL_UNL_INT()    (TOPPERS_enaint(TOPPERS_locked))
+
+/*
+ *  GfBAÌè`
+ */
+
+#define SIL_ENDIAN_LITTLE
+
+
+#endif /* TOPPERS_MACRO_ONLY */
+
+#endif /* TOPPERS_PRC_SIL_H */
Index: /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_stddef.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_stddef.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_stddef.h	(revision 93)
@@ -0,0 +1,66 @@
+/*
+ *  TOPPERS Software
+ *      Toyohashi Open Platform for Embedded Real-Time Systems
+ * 
+ *  Copyright (C) 2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: prc_stddef.h 1304 2008-08-27 07:28:36Z ertl-honda $
+ */
+
+/*
+ *  t_stddef.hÌvZbTË¶iARM-Mpj
+ *
+ *  ±ÌCN[ht@CÍCtarget_stddef.hiÜ½ÍC»±©çCN
+ *  [h³êét@CjÌÝ©çCN[h³êéD¼Ìt@C©ç
+ *  ¼ÚCN[hµÄÍÈçÈ¢D
+ */
+
+#ifndef TOPPERS_PRC_STDDEF_H
+#define TOPPERS_PRC_STDDEF_H
+
+/*
+ *  ^[Qbgð¯Ê·é½ßÌ}NÌè`
+ */
+#define TOPPERS_ARM_M           /* vZbTªÌ */
+
+/*
+ *  X^bNÌ^
+ *  ARMÅÍCX^bNð8byte«EÉzu·éKvª é
+ */
+#define TOPPERS_STK_T  long long
+
+#endif /* TOPPERS_PRC_STDDEF_H */
Index: /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_support.S
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_support.S	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_support.S	(revision 93)
@@ -0,0 +1,401 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2010 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ *  vZbTË¶W
+[ AZu¾êiARM-Mpj
+ */
+
+#define TOPPERS_MACRO_ONLY
+#define UINT_C(val)		(val)		/* uint_t^Ìèðìé}N */
+#define ULONG_C(val)	(val)		/* ulong_t^Ìèðìé}N */
+#define CAST(type, val)	(val)		/* ^LXgðs¤}N */
+
+#include "kernel_impl.h"
+#include "arm_m.h"
+
+
+	.text
+
+/*
+ *  OQÆ
+ */
+	.global		intnest
+
+/*
+ *  CPUáOGg
+ *
+ *  ÝGgÆÌàeÍ¯¾ªCOÌíÞªÙÈé½ßC
+ *  ª¯Ä¢éD
+ */
+	.align 2
+	.syntax unified
+	.code 16
+	.global exc_entry
+	.type exc_entry, function
+exc_entry:
+	/*
+	 *  áO/Ýª­¶·éÆC­¶ÉANeBuÈX^bNÉXN
+	 *  b`WX^ªÛ¶³êéD
+	 *  ±ÌàeÉÁ¦ÄCCPUáOnhÖÌîñÆµÄCbasepri ÌlÆC
+	 *  EXC_RETURNÌîñðÁ¦ÄÛ¶·éDbasepriÌlÍCCPUáO©çÌ
+	 *  ^[ÉÝDæx}XNÌlð³Éß·½ßÉàp¢çêéD
+	 *
+	 *   -----------
+	 *  | EXC_RETURN|  
+	 *   -----------
+	 *  |  basepri  |  
+	 *   -----------
+	 *  |    R0     |  
+	 *   -----------
+	 *  |    R1     |
+	 *   -----------
+	 *  |    R2     |
+	 *   -----------
+	 *  |    R3     |
+	 *   -----------
+	 *  |    R12    |
+	 *   -----------
+	 *  |    LR     |
+	 *   -----------
+	 *  |    PC     |
+	 *   -----------
+	 *  |   xPSR    |
+	 *   -----------
+	 *
+	 */
+
+	/*
+	 *  Ý­¶ÌÝDæx}XNðX^bNÉÛ¶·é½ßæ¾
+	 */
+	mrs   r2, basepri			/* baepriÌlðæ¾ */
+	push  {r2}					/* Ý­¶ÌÝDæx}XNðÏÞ */
+	push  {lr}					/* EXC_RETURN ðÏÞ			  */ 
+	mov   r0, sp				/* CPUáOnhÖÌøÆÈé */
+	
+	ldr   r1 , =lock_flag		/* CPUbNtOðÛ¶ */
+	ldr   r1 , [r1]
+	push  {r1}
+	
+	/* ÝlXgÌÁZ */
+	ldr r1 , =intnest
+	ldr r3 , [r1]
+	add r3 , #1
+	str r3 , [r1]
+
+	/*
+	 *  ¤Ê
+	 */
+exc_entry_2:
+	mrs   r3, ipsr               /* nhAhXðæ¾ */
+	ldr   r1, =_kernel_exc_tbl
+	ldr   r2, [r1, r3, lsl #2]
+	
+#ifdef LOG_EXC_ENTER
+	push  {r0, r2, r3}
+	mov   r0, r3                 /* áOÔðp[^É  */
+	bl    log_exc_enter          /* log_exc_enterðÄÑo· */
+	pop   {r0, r2, r3}
+#endif /* LOG_EXC_ENTER */
+
+#ifdef LOG_EXC_LEAVE
+	push  { r3 }                   /* áOÔðX^bNÖ    */
+#endif /* LOG_EXC_LEAVE */
+
+	/*
+	 *  CPUáOnhÌÄÑoµ
+	 */
+	blx   r2
+
+	/* CPUbNtOð³Éß· */
+	pop   {r0}
+	ldr   r1 , =lock_flag
+	str   r0 , [r1]
+	
+#ifdef LOG_EXC_LEAVE
+	pop   { r0 }                   /* áOÔðøÉ        */
+	bl    log_exc_leave          /* log_exc_leaveðÄÑo· */
+#endif /* LOG_EXC_LEAVE */
+	
+	b     ret_exc
+
+
+/*
+ *  ÝGg
+ */
+	.align 2
+	.syntax unified
+	.code 16
+	.global int_entry
+	.type int_entry, function
+int_entry:
+	/*
+	 *	Ý­¶ÌÝDæx}XNðX^bNÉÛ¶·é½ßæ¾
+	 */
+	mrs   r2, basepri			  /* baepriÌlðæ¾ */
+	push  {r2}					 /* Ý­¶ÌÝDæx}XNðÏÞ */
+	push  {lr}					 /* EXC_RETURN ðÏÞ			  */ 
+	mov   r0, sp				 /* ¢è`ÌÝª­¶µ½êÌîñÆ·é */
+	
+	/*
+	 *	¤Ê
+	 */
+int_entry_2:
+	/* ÝlXgÌÁZ */
+	ldr r1 , =intnest
+	ldr r3 , [r1]
+	add r3 , #1
+	str r3 , [r1]
+	
+	mrs   r3, ipsr				 /* nhAhXðæ¾ */
+	ldr   r1, =_kernel_exc_tbl
+	ldr   r2, [r1, r3, lsl #2]
+
+#ifdef LOG_INH_ENTER
+	push  {r0,r2,r3}
+	mov   r0, r3                 /* ÝÔðp[^É  */
+	bl    log_inh_enter          /* log_inh_enterðÄÑo· */
+	pop   { r0,r2,r3 }
+#endif /* LOG_INH_ENTER */
+
+#ifdef LOG_INH_LEAVE
+	push  { r3 }                   /* ÝÔðX^bNÖ    */
+#endif /* LOG_INH_LEAVE */
+
+	/*
+	 *  CPUáOnhÌÄÑoµ
+	 */
+	blx   r2
+	
+#ifdef LOG_INH_LEAVE
+	pop   { r0 }                   /* ÝÔðøÉ        */
+	bl    log_inh_leave          /* log_inh_leaveðÄÑo· */
+#endif /* LOG_INH_LEAVE */
+
+/*
+ *  Ý/áOoû
+ *
+ *  ret_exc/ret_intÍCCPUáO/Ýnh©çßÁ½¼ãÉÀs·é
+ *  [`Å éD
+ */
+ret_exc:
+ret_int:
+	/*
+	 *  ÝbNóÔÆ·éD±Ì_ÅÍCCPUbNóÔÉÍÈçÈ¢
+	 * ibasepriÆlock_flagÆsaved_iipmÍXVµÈ¢jD
+	 *
+	 *  ÝbNóÔÆ·éÌÍCßèæÌReLXgÌ`FbNÆC
+	 *  ßèæªñ^XNReLXgÅ Á½êÌ^[ðAg~bN
+	 *  És¤½ßÅ éDbsepriðCPUbNÌlÉ·é±ÆÅàAg~b
+	 *  NÈ`FbNÆAÍÂ\Å éªCÝ©ç^[µÄàC
+	 *  basepri ÌÝèàeÍ³ÉßçÈ¢½ßCgp·é±ÆªÅ«È¢D 
+	 *  êûCFAULTMASKÍCÝ©çÌ^[ÉæÁÄC'0'ÉN
+	 *  A³êéD
+	 */
+	cpsid f
+	
+	/*
+	 *  ßèæÌReLXgÌ»è
+	 * 
+	 *  intnestª0©Ç¤©Å»f·é
+	 *  
+	 */
+	/* ÝlXgÌ¸Z */
+	ldr r1 , =intnest
+	ldr r3 , [r1]
+	add r3 , #-1
+	str r3 , [r1]
+	
+	cmp   r3 , #0
+	beq   ret_int_2
+	
+	/*
+	 *  êiÚÌÝÌoû
+	 */
+ret_int_1:
+	/*
+	 *  ±±ÉÍÝbNóÔiFAULTMASKªZbgj³ê½óÔÅéD
+	 *  Thread[h©çÌ^[Éæè©®IÉÝbNðóÔÉÈéD
+	 *  ÝDæx}XNÍÝOÉóÔÉß·D
+	 */ 
+	pop		{ r2 }
+	pop		{ r1 }
+	msr   basepri, r1			  /* ÝDæx}XNðÝOÉóÔÖ */
+	bx	  r2					  /* ^[ */
+	
+ret_int_2:
+	ldr   r0, =reqflg             /* reqflgªfalseÈç»ÌÜÜßé */
+	ldr   r1, [r0]
+	cmp   r1 , #0
+	beq    ret_int_1           /* falseÈçret_int_1Ö           */
+ret_int_3:
+	mov   r1, #0                   /* reqflgðfalseÉ */
+	str   r1, [r0]
+	
+	/*
+	 *  CPUbNóÔÉÚs·éD
+	 *
+	 *  J[lÌÇàÌÝðÖ~·éæ¤ÉbasepriðÝèµC
+	 *  lock_flagðXV·éD
+	 *  ±Ì_ÅCPUbNóÔÆ·éÌÍCdispatcherÖªò·éÉ
+	 *  CPUbNóÔÉÈÁÄ¢éKvª é½ßÅ éD
+     *  È¨C±ÌÌãCThread[hÖÌÚsðsÈ¤½ßCÝ
+     *  bNóÔ(FAULTMASKð"1")ÍÛ·éD
+	 */
+	ldr   r1, =IIPM_LOCK		  /* CPUbNóÔ */ 
+	msr   basepri, r1
+	mov   r1, #0x01 			  /* lock_flag ð trueÉ */
+	ldr   r0, =lock_flag 
+	str   r1, [r0]
+	
+	/*
+	 *  lrðæèo·D½¾µxfBXpb`ÌÛÉàg¤½ßC
+	 *  X^bN|C^ÍìµÈ¢D
+	 */
+	
+	ldr   r2 , [sp]
+	
+	/*
+	 *  Thread[hÖÚs·éD
+	 *
+	 *  dispatcherâcall_texrnðÄÑo·êÍCThread[hÅ éK
+	 *  vª é½ßCPSPX^bNãÉ_~[ÌáOt[ðu¢ÄC
+	 *  [IÉÝnh©ç^[·éD
+	 *  ^[Æ¯ÉFAULTMASKª©®IÉNA³êCJ[lÇOÌ
+	 *  ÝªÂ³êéD
+	 */
+	ldr   r0, =ret_int_4		  /* PC   */
+	ldr   r1, =EPSR_T			  /* xPSR(Trbgª'1'Å éKvª é) */
+	stmfd sp!, {r0-r1}			  /* _~[t[ðX^bNãÉÏÞ	*/
+	sub   sp, #(EXC_FRAME_SIZE - (4*2)) /* r0-r3,r12,lrÌàeÍÝè·éKvªÈ¢ */
+	bx	  r2					  /* Thread[hÖÚs */
+    
+ret_int_4:
+	bl    search_schedtsk		/* ÝÅN®³ê½^XNðÀs */
+	bl    run_task
+ret_int_r:
+	svc   0 				   /* SVCÌÄÑoµ */
+	
+/*
+ *  xfBXpb`©çÌAÉêIÉÝ
+ *  ReLXgÉÚs·é½ßÌSVCR[nh
+ */
+
+	.align	2
+	.thumb
+	.thumb_func
+	.globl kernel_svc_handler
+kernel_svc_handler:
+	/*
+	 *  Ý©çÌ^[ÉæèCCPUbNðóÔÉÚs·éæ
+	 *  ¤õ·éD
+	 */
+	cpsid f 								/* ÝbNóÔÖ */
+	ldr		r2 , [ sp , #(EXC_FRAME_SIZE) ]	/* lrðX^bN©çæ¾	*/
+	add		sp, #EXC_FRAME_SIZE + 8			/* X^bNðÌÄé	*/
+	mov		r0, #0
+	ldr		r1, =lock_flag					/* CPUbNðóÔÖ */
+	str		r0, [r1]
+	msr		basepri , r0 
+	bx		r2								/* ^[	  */
+
+/*
+ *  fBXpb`Ì®ìJn
+ */
+	.align	2
+	.thumb
+	.thumb_func
+	.globl start_dispatch
+start_dispatch:
+	/*
+	 *  ±Ì[`ÍCJ[lN®ÉC·×ÄÌÝðÖ~µ½óÔ
+	 * iÝbNóÔÆ¯jÅÄÑo³êéDÜ½CÝ[hiñ
+	 *  ^XNReLXgÆ¯jÅÄÑo³êé±ÆðzèµÄ¢éD
+	 *
+	 *  prc_initializeÅClock_flagðtrueÉCsaved_iipmðIIPM_ENAALLÉ
+	 *  ú»µÄ¢é½ßCJ[lÇOÌÝðÂ·é±ÆÅC
+	 *  CPUbNóÔEifãÌjÝDæx}XNSðóÔÉÈéD
+	 *  Ü½Ctask_initializeÅdisdspðfalseÉú»µÄ¢é½ßCfB
+	 *  Xpb`ÂóÔÉÈÁÄ¢éD
+	 */
+	ldr   r0,=istkpt              /* MSPðú»   */
+	ldr   r1,[r0]                 /* start_dispatchÄÑoµÉÄÑoµpÉ */
+	msr   msp, r1                 /* gpµÄ¢é½ßú»·é             */
+	ldr   r1, =IIPM_LOCK          /* J[lÇàÌÝðÖ~ */
+	msr   basepri, r1 
+	cpsie f                       /* J[lÇOÌÝðÂ */
+	b	  dispatcher
+
+/*
+ *  J[lÌI¹ÌÄoµ
+ *
+ *  X^bNðñ^XNReLXgpÉØèÖ¦D
+ *  
+ */
+	.text
+	.syntax unified
+	.code 16
+	.globl call_exit_kernel
+	.type call_exit_kernel, function
+call_exit_kernel:
+	b     exit_kernel       /* J[lÌI¹ðÄÔ */
+
+
+/*
+ *  ÷­ÔÒ¿
+ */
+	.text
+	.syntax unified
+	.code 16
+	.globl sil_dly_nse
+	.type sil_dly_nse, function
+sil_dly_nse:
+	sub   r0, r0, #SIL_DLY_TIM1
+	cmp   r0, #0
+	bgt   sil_dly_nse1
+	mov   pc, lr
+sil_dly_nse1:
+	sub   r0, r0, #SIL_DLY_TIM2
+	cmp   r0, #0
+	bgt   sil_dly_nse1
+	mov   pc, lr
Index: /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_test.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_test.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_test.h	(revision 93)
@@ -0,0 +1,59 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: prc_test.h 1304 2008-08-27 07:28:36Z ertl-honda $
+ */
+
+/*
+ *		eXgvOÌ`bvË¶è`iARM-Mpj
+ */
+
+#ifndef TOPPERS_CHIP_TEST_H
+#define TOPPERS_CHIP_TEST_H
+
+/*
+ *  `bvÅ¤ÊÈè`
+ */
+
+#define CPUEXC1				6		/* Usage Fault */
+#define RAISE_CPU_EXCEPTION Asm("mcr p15, 0, r1, c2, c0, 0");
+#define CANNOT_RETURN_CPUEXC
+
+#endif /* TOPPERS_CHIP_TEST_H */
Index: /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_timer.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_timer.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_timer.c	(revision 93)
@@ -0,0 +1,112 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2007 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2010 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: prc_timer.c 1304 2008-08-27 07:28:36Z ertl-honda $
+ */
+
+/*
+ *  ^C}hCoiSYSTICpj
+ */
+#include <sil.h>
+#include "kernel_impl.h"
+#include "target_timer.h"
+#include "time_event.h"
+
+/*
+ *  ^C}ÌN®
+ */
+void
+target_timer_initialize(intptr_t exinf)
+{
+	CLOCK    cyc;
+	uint32_t tmp;
+
+#ifdef SYSTIC_USE_CALIBRATION
+	/* CALIBRATIONWX^Ìlðgp */
+	cyc = (sil_rew_mem((void *)SYSTIC_CALIBRATION) & SYSTIC_TENMS) / 10;
+#else 
+	cyc = TO_CLOCK(TIC_NUME, TIC_DENO) - 1;
+#endif /* SYSTIC_USE_CALIBRATION */
+
+	/* â~ */
+	tmp = sil_rew_mem((void *)SYSTIC_CONTROL_STATUS);
+	tmp &= ~SYSTIC_ENABLE;
+	sil_wrw_mem((void *)SYSTIC_CONTROL_STATUS, tmp);
+
+	sil_wrw_mem((void *)SYSTIC_RELOAD_VALUE, cyc);
+	sil_wrw_mem((void *)SYSTIC_CURRENT_VALUE, cyc);
+
+	tmp = sil_rew_mem((void *)SYSTIC_CONTROL_STATUS);
+
+#ifdef SYSTIC_USE_STCLK
+	/* ONbNÌgp */
+	tmp |= SYSTIC_ENABLE;
+#else
+	/* vZbTNbNÌgp */
+	tmp |= SYSTIC_ENABLE|SYSTIC_CLKSOURCE;
+#endif /* SYSTIC_USE_STCLK */
+
+	sil_wrw_mem((void *)SYSTIC_CONTROL_STATUS, tmp);
+}
+
+/*
+ *  ^C}Ìâ~
+ */
+void
+target_timer_terminate(intptr_t exinf)
+{
+	/* ^C}ðâ~ */
+	sil_wrw_mem((void*)SYSTIC_CONTROL_STATUS, 0x00);
+}
+
+/*
+ *  ^C}Ýnh
+ */
+void
+target_timer_handler(void)
+{
+	/* probe_int Ì½ßCCOUNTFLAGðNA */
+	(void)sil_rew_mem((void *)SYSTIC_CONTROL_STATUS);
+	
+	i_begin_int(INTNO_TIMER);
+	signal_time();                    /* ^CeBbNÌ */
+	i_end_int(INTNO_TIMER);
+}
Index: /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_timer.cfg
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_timer.cfg	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_timer.cfg	(revision 93)
@@ -0,0 +1,12 @@
+/*
+ *  @(#) $Id: prc_timer.cfg 1304 2008-08-27 07:28:36Z ertl-honda $
+ */
+
+/*
+ *		^C}hCoÌRtBM
+[Vt@C
+ */
+ATT_INI({ TA_NULL, 0, target_timer_initialize });
+ATT_TER({ TA_NULL, 0, target_timer_terminate });
+DEF_INH(INHNO_TIMER, { TA_NULL, target_timer_handler });
+CFG_INT(INTNO_TIMER, { TA_ENAINT|INTATR_TIMER, INTPRI_TIMER });
Index: /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_timer.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_timer.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_timer.h	(revision 93)
@@ -0,0 +1,116 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: prc_timer.h 1304 2008-08-27 07:28:36Z ertl-honda $
+ */
+
+/*
+ *  ^C}hCoiSYSTICpj
+ */
+
+#ifndef TOPPERS_PRC_TIMER_H
+#define TOPPERS_PRC_TIMER_H
+
+#include <sil.h>
+
+/*
+ *  ^C}Ýnho^Ì½ßÌè
+ */
+#define INHNO_TIMER     IRQNO_SYSTICK /* ÝnhÔ */
+#define INTNO_TIMER     IRQNO_SYSTICK /* ÝÔ */
+
+#ifndef TOPPERS_MACRO_ONLY
+
+/*
+ *  ^C}lÌà\»Ì^
+ */
+typedef uint32_t    CLOCK;
+
+/*
+ *  ^C}lÌà\»Æ~bEÊbPÊÆÌÏ·
+ *
+ */
+#define TO_CLOCK(nume, deno)    ((CLOCK)(TIMER_CLOCK * (nume) / (deno)))
+#define TO_USEC(clock)          (((SYSUTM) clock) * 1000U / TIMER_CLOCK)
+
+/*
+ *  ÝèÅ«éÅåÌ^C}üúiPÊÍà\»j
+ */
+#define MAX_CLOCK    ((CLOCK) 0x00ffffffU)
+
+/*
+ *  ^C}ÌN®
+ *
+ *  ^C}ðú»µCüúIÈ^C}Ývð­¶³¹éD
+ */
+extern void target_timer_initialize(intptr_t exinf);
+
+/*
+ *  ^C}Ìâ~
+ *
+ *  ^C}Ì®ìðâ~³¹éD
+ */
+extern void target_timer_terminate(intptr_t exinf);
+
+/*
+ *  ^C}Ì»ÝlÌÇoµ
+ */
+Inline CLOCK
+target_timer_get_current(void)
+{
+	return(TO_CLOCK(TIC_NUME, TIC_DENO) - sil_rew_mem((void*)SYSTIC_CURRENT_VALUE));
+}
+
+/*
+ *  ^C}ÝvÌ`FbN
+ */
+Inline bool_t
+target_timer_probe_int(void)
+{
+	return((sil_rew_mem((void*)SYSTIC_CONTROL_STATUS) & SYSTIC_COUNTFLAG) == SYSTIC_COUNTFLAG);
+}
+
+/*
+ *  ^C}Ýnh
+ */
+extern void target_timer_handler(void);
+
+#endif /* TOPPERS_MACRO_ONLY */
+#endif /* TOPPERS_PRC_TIMER_H */
Index: /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_unrename.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_unrename.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_unrename.h	(revision 93)
@@ -0,0 +1,80 @@
+/* This file is generated from prc_rename.def by genrename. */
+
+/* This file is included only when prc_rename.h has been included. */
+#ifdef TOPPERS_PRC_RENAME_H
+#undef TOPPERS_PRC_RENAME_H
+
+/*
+ *  prc_config.c
+ */
+#undef lock_flag
+#undef saved_iipm
+#undef intnest
+
+#undef set_exc_int_priority
+#undef enable_exc
+#undef disable_exc
+#undef prc_initialize
+#undef prc_terminate
+#undef x_config_int
+#undef default_exc_handler
+#undef default_int_handler
+
+/*
+ *  prc_support.S
+ */
+#undef exc_entry
+#undef int_entry
+#undef ret_exc
+#undef ret_int
+#undef svc_handler
+#undef start_dispatch
+#undef call_exit_kernel
+
+/*
+ *  kernel_cfg.c
+ */
+#undef exc_tbl
+#undef bitpat_cfgint
+#undef vector_table
+
+#ifdef TOPPERS_LABEL_ASM
+
+/*
+ *  prc_config.c
+ */
+#undef _lock_flag
+#undef _saved_iipm
+#undef _intnest
+
+#undef _set_exc_int_priority
+#undef _enable_exc
+#undef _disable_exc
+#undef _prc_initialize
+#undef _prc_terminate
+#undef _x_config_int
+#undef _default_exc_handler
+#undef _default_int_handler
+
+/*
+ *  prc_support.S
+ */
+#undef _exc_entry
+#undef _int_entry
+#undef _ret_exc
+#undef _ret_int
+#undef _svc_handler
+#undef _start_dispatch
+#undef _call_exit_kernel
+
+/*
+ *  kernel_cfg.c
+ */
+#undef _exc_tbl
+#undef _bitpat_cfgint
+#undef _vector_table
+
+#endif /* TOPPERS_LABEL_ASM */
+
+
+#endif /* TOPPERS_PRC_RENAME_H */
Index: /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_user.txt
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_user.txt	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/prc_user.txt	(revision 93)
@@ -0,0 +1,201 @@
+=====================================================================
+                         ARM-MvZbTË¶
+                                  Last Modified: '13/04/07
+=====================================================================
+
+
+(1) ÎµÄ¢é^[QbgVXeÌíÞE\¬
+
+ARM-MË¶ÍCARMVx-MA[LeN`ð^[QbgÆµÄ¢éDARMVx-MÍC
+ARMÆÍÙÈèCARM½ßðÀsÅ«È¢½ßCARMË¶Æª¯Ä¢éD
+
+
+(2) gp·éJ­Â«Æ®ìØµ½ðio[WCIvVj
+
+J[lÍGCCðp¢ÄRpC·éD®ìmFµ½o[WÍe^[Q
+bgË¶ÌhL
+gÉLÚ·éD
+
+
+(3) ^[Qbgè`ÌKè
+
+(3-1) f[^^ÉÖ·éKè
+
+f[^^Í arch/gcc/tool_stddef.h Åè`³êÄ¢éàeÅCfloat^Æ
+double^ÍC»ê¼êIEEE754ÌP¸x®¬_Æ{¸x®¬_
+Å éD
+
+(3-2) ÝÉÖ·éKè
+
+ÝnhÔÆÝÔÌÄC¼ÒÌÎ
+
+ÝnhÔÆÝÔÍCáO­¶ÉIPSRÉZbg³êéáOÔ
+ðp¢éDSYSTICKÍ15ÔÅCOÝÍ16Ô©çÌÔªèt¯çê
+Ä¢éD
+
+ÝDæxÌiKiTMIN_INTPRIÌljC»ÌÝèû@
+
+ÝDæxÌiKÍCSoCÉn[hEFAIÉT|[g·éÝDæ
+xrbgªÙÈéÌÅC^[QbgË¶ÉÙÈéD^[QbgË¶Å
+ÍCÝDæxÌrbgiTBITW_IPRIjÆ»ÌÝDæxÌTuDæ
+xÌrbgiTBITW_SUBPRIjðè`·éDerbgÌlÆÝèÂ\ÈDæ
+xÌÍÍÍÌÊèÅ éD
+
+   -(2^(TBIW_IPRI)) + (2^TBITW_SUBIPRI)) ` -1
+
+á¦ÎDæxÌrbg(TBITW_IPRI)ª8bitCTuDæxÌrbg
+(TBITW_SUBIPRI) ª1bitÌêÍC-254 ` -1 ÌÍÍÅ éD
+
+±ÌÍÍÅCJ[lÇàÌÝÌÅDæxiTMIN_INTPRIjð^[Q
+bgË¶ÅÝè·éD
+
+eÝÌÝDæxÍCCFG_INTÅTMIN_INTPRIÈãÌlðwè·éD
+
+dis_intÆena_intÌT|[gÌL³C»Ì§À
+
+dis_intÆena_intðT|[g·éD§ÀÍÁÉÈ¢D
+
+CFG_INTÌ§ÀÆg£i^[Qbgè`ÅgpÅ«éÝ®«j
+
+CFG_INTÌ§ÀÍÈ­C^[Qbgè`ÅgpÂ\ÈÝ®«ÍÁÉÈ
+¢D
+
+J[lÇOÌÝ
+
+J[lÇOÌÝðT|[g·éDwèû@ÍCÝDæxÌiK
+Åwèµ½CT|[g·éÝDæxÌÅliÅ¬ljæèC
+TMIN_INTPRIðå«­Ýè·éÆCTMIN_INTPRIæèlª¬¢iDæxjÈ
+ÝDæxðÝèµ½ÝðÝDæxÆµÄµ¤D
+
+J[lÇOÌÝÍOSÀsàÖ~ÉÈé±ÆÍÈ­iµ§ÉÍÝ
+ÌoûÅ²­Z¢æÔÖ~³êéjCÝ­¶ÍCJ[lÌR[hðo
+R¹¸ÉÄÑo³êéD
+
+J[lÇOÌÝÉÎ·éCDEF_INH,CFG_INTÍT|[g·éD
+
+(3-3) CPUáOÉÖ·éKè
+
+CPUáOnhÔ
+
+CPUáOnhÔÆµÄÍCáO­¶ÉIPSRÉZbg³êéCáOÔ
+ðp¢éDeáOÌáOÔÍÈºÌÊèÅ éD
+
+        áO              áOÔ
+  Reset                      1
+  Non-makable Interrupt      2
+  Hard Fault                 3
+  Memory Management          4
+  Bus Fault                  5
+  Usage Fault                6
+  SVCall                    11
+  Debug Monitor             12
+  PendSV                    14
+
+È¨CResetÆCSVCallÉÂ¢ÄÍCJ[lªgp·é½ßC[U[Íg
+p·é±ÆªÅ«È¢D
+
+(3-4) CPUbNEÝbN
+
+CPUbNÍCbasepriðTMIN_INTPRIÌDæxÌÝðÖ~·élÉÝè·
+éDÝbNÍCFAULTMASKð'1'ÉÝè·é±ÆÅÀ»µÄ¢éD
+
+(3-5) «\]¿pVXeÌQÆÉÖ·éKè
+
+get_utmðT|[g·éD¸xÉÖµÄÍC^[QbgÉÙÈéD
+
+(3-6) X^[gAbv[`ÅÌú»àe
+
+X^[gAbv[`ÍCThread[hÅÄÑo³êé±ÆðOñÆµÄ¢
+éDÀsãCÝbNóÔiFAULTMASKðZbgjÆ·éDÝbN
+óÔÍCJ[lÌú»I¹ÉÂ·éDX^[gAbv[`ÅC
+MSPðANeBuÈX^bNÆµCMSPÌàeðú»·é½ßÉÍCINIT_MSP
+ð^[QbgË¶Åè`·éD
+
+(3-7) xN^e[uItZbgÌú»
+
+vZbTË¶Ìú»ÅCVector Table Offset Register ð^[Qb
+gË¶Ìú»[`ÅÝè·éDÈ¨CxN^[e[uÍC.vector
+ÌZNV®«ªtÁ³êÄ¢é½ßCJXNvgÅ±ÌZNV
+ðwèµÄzu·éD
+
+
+(4) ^C}hCoÖAÌîñ
+
+J[lÌ^CeBbNÆµÄCSYSTICðgp·éêÍCprc_config.c 
+ðRpCÎÛÆµCRtBM
+[Vt@CÉ prc_config.cfg 
+ðwè·é±ÆD
+
+üúÌî{Í1msecÆ·éDüúðCALIBRATIONWX^ÌÝèàeð³ÉvZ
+·éêÍCSYSTIC_USE_CALIBRATION ðè`·éDCALIBRATIONWX^ðp
+¢È¢êÍC1msecüúªÌJEglð TIMER_CLOCK ÉÝè·éDNb
+N\[XÆµÄCONbNðp¢éêÍCSYSTIC_USE_STCLK ðp¢éD
+
+
+(5) ^[QbgË¶ÅÌÝèÚ
+
+^[QbgË¶ÅÍÈºÌ}Nðè`·éKvª éD
+
+   ¥TMAX_INTNO     : ÝÔÌÅål(ÊíÌÝÔ + 15)
+   ¥TBITW_IPRI     : ÝDæxÌrbg
+   ¥TBITW_SUBIPRI  : ÝDæxÌrbgÌTuDæxÌrbg
+   ¥TMIN_INTPRI    : ÝDæxÌÅ¬liÅlj
+   ¥TIC_NUME       : ^CeBbNÌüúÌªq
+   ¥TIC_DENO       : ^CeBbNÌüúÌªê
+   ¥TIMER_CLOCK    : ^C}lÌà\»Æ~bPÊÆÌÏ·
+   ¥INTPRI_TIMER   : ^C}ÝÝDæx
+   ¥INTATR_TIMER   : ^C}ÝÌÝ®«
+   ¥INIT_MSP       : X^[gAbv[`ÅMSPðú»·éêÍè`
+   ¥DEFAULT_ISTKSZ : X^bNTCYi8bytePÊÅwèj
+   ¥SIL_DLY_TIM1   : ÷­ÔÒ¿Ì½ßÌè`
+   ¥SIL_DLY_TIM2   : ÷­ÔÒ¿Ì½ßÌè`
+
+
+(6) fBNg\¬Et@C\¬
+  ./arch/arm_m_gcc/
+    ./Makefile.prc
+    ./arm_m.h
+    ./prc.tf
+    ./prc_cfg1_out.h
+    ./prc_check.tf
+    ./prc_config.c
+    ./prc_config.h
+    ./prc_def.csv
+    ./prc_insn.h
+    ./prc_kernel.h
+    ./prc_rename.def
+    ./prc_rename.h
+    ./prc_sil.h
+    ./prc_stddef.h
+    ./prc_support.S
+    ./prc_test.h
+    ./prc_timer.c
+    ./prc_timer.cfg
+    ./prc_timer.h
+    ./prc_unrename.h
+    ./prc_user.txt
+    ./start.S
+
+(12) o[Wð
+
+2008/08/22
+ Eprc_user.txt/prc_design.txt
+   E2008/8/21ÌZp¢ïÅÌc_Êð½fD
+ Eprc_support.S/prc_config.c/prc_config.h/arm_m.h
+   EReLXg»èðexc_ncnt©çANeBuÈX^bNÉÏX
+ Eprc_config.c
+   Eset_exc_int_priority() ÅT|[gÂ\ÈIRQÌãÀð239Ég£D
+ Estart.S 
+   EN®ÍThread[hðOñÆµÄ¢é±Æð¾LD
+   Eu[g[_[©çN®³êéêðzèµCMSPðLøÉ·éæ¤É
+     ÏXD
+ Eprc_timer.c
+   ERgðC³
+   EfobOpR[hðí
+
+2008/07/11
+ EÅÌ[X
+
+2013/04/07
+ EáO­¶ÉÝ/CPUáO­¶ñÌCNgªsíêÄ¢È©Á½
+   âèÌC³
Index: /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/start.S
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/start.S	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/arm_m_gcc/start.S	(revision 93)
@@ -0,0 +1,150 @@
+/*
+ *  TOPPERS Software
+ *      Toyohashi Open Platform for Embedded Real-Time Systems
+ * 
+ *  Copyright (C) 2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2015 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: start.S 1304 2008-08-27 07:28:36Z ertl-honda $
+ */
+                
+/*
+ *   J[lpÌX^[gAbvW
+[(ARM-Mp)
+ */
+#define TOPPERS_MACRO_ONLY
+#define UINT_C(val)		(val)		/* uint_t^Ìèðìé}N */
+#define ULONG_C(val)	(val)		/* ulong_t^Ìèðìé}N */
+#define CAST(type, val)	(val)		/* ^LXgðs¤}N */
+
+#include "kernel_impl.h"
+#include "arm_m.h"
+
+/*
+ *  X^[gAbv[`
+ *
+ *  Thread[hÅÄÑo³êé±ÆðOñÆµÄéD
+ */
+	.text
+	.align 2
+	.code 16
+	.syntax unified
+	.globl _start
+	.type _start, function
+_start:
+	cpsid f                 /* ÝbNóÔÖ */
+
+#ifdef INIT_MSP
+	/*
+	 * MSPÌÝè
+	 */
+	mov   r0, #CONTROL_MSP  /* MSPðLøÉ  */
+	msr   control, r0
+	isb                     /* control ÌìãÉKv */
+	ldr  r0,=_kernel_istkpt
+	ldr  r1,[r0]
+	msr  msp, r1
+#endif /* INIT_MSP */
+
+	/*
+	 * hardware_init_hookÌÄÑoµ i0ÅÈ¢êj
+	 *
+	 * ^[Qbgn[hEFAÉË¶µÄKvÈú»ª éê
+	 * ÍChardware_init_hook Æ¢¤ÖðpÓ·é
+	 */
+	ldr  r0, =hardware_init_hook
+	cbz  r0, start_1
+	blx  r0
+
+start_1:
+#ifndef OMIT_BSS_INIT
+	/*
+	 *  BSSZNVú»
+	 */
+	mov  r0, #0
+	ldr  r1, =__bss_start
+	ldr  r2, =__bss_end
+	cmp  r1, r2
+	bhs  start_3
+start_2:
+	str  r0, [r1]
+	add  r1,r1, #4    
+	cmp  r1, r2
+	blo  start_2
+#endif /* OMIT_BSS_INIT */
+
+
+start_3:
+
+#ifndef OMIT_DATA_INIT
+	/*
+	 *  DATAZNVú»
+	 *  __idata_start ©ç __idata_end ÜÅðC__data_start È~É
+	 *  Rs[·é
+	 */
+	ldr  r1, =__idata_start
+	ldr  r2, =__idata_end
+	cmp  r1, r2
+	bhs  start_5
+	ldr  r3, =__data_start
+start_4:
+	ldr  r0, [r1]
+	str  r0, [r3]
+	add  r1, #4
+	add  r3, #4
+	cmp  r1, r2
+	blo  start_4
+#endif /* OMIT_DATA_INIT */
+
+	/*
+	 *  software_init_hook ðÄoµi0 ÅÈ¢êj
+	 *
+	 *  \tgEFAÂ«iÁÉCujÉË¶µÄKvÈú»
+	 *  ª éêÍCsoftware_init_hook Æ¢¤ÖðpÓ·êÎ
+	 *  æ¢D
+	 */
+start_5:
+	ldr  r0, =software_init_hook
+	cbz  r0, start_6
+	blx  r0
+
+start_6:
+	bl   sta_ker
+
+l_end:
+	b   l_end
Index: /ssp_qb_r5f100le_cs/trunk/arch/ca78k0r/MANIFEST
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/ca78k0r/MANIFEST	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/ca78k0r/MANIFEST	(revision 93)
@@ -0,0 +1,6 @@
+PACKAGE ssp_arch_ca78k0r
+
+MANIFEST
+tool_stddef.h
+gensyms-rl78.exe
+gensyms-rl78
Index: /ssp_qb_r5f100le_cs/trunk/arch/ca78k0r/gensyms-rl78/gensyms-rl78.sln
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/ca78k0r/gensyms-rl78/gensyms-rl78.sln	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/ca78k0r/gensyms-rl78/gensyms-rl78.sln	(revision 93)
@@ -0,0 +1,22 @@
+﻿
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Express 2013 for Windows Desktop
+VisualStudioVersion = 12.0.21005.1
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "gensyms-rl78", "gensyms-rl78\gensyms-rl78.csproj", "{6C23E832-A508-44B7-B1E5-DB1B1A5BC343}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{6C23E832-A508-44B7-B1E5-DB1B1A5BC343}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{6C23E832-A508-44B7-B1E5-DB1B1A5BC343}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{6C23E832-A508-44B7-B1E5-DB1B1A5BC343}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{6C23E832-A508-44B7-B1E5-DB1B1A5BC343}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+EndGlobal
Index: /ssp_qb_r5f100le_cs/trunk/arch/ca78k0r/gensyms-rl78/gensyms-rl78/App.config
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/ca78k0r/gensyms-rl78/gensyms-rl78/App.config	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/ca78k0r/gensyms-rl78/gensyms-rl78/App.config	(revision 93)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+    <startup> 
+        
+    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0,Profile=Client"/></startup>
+</configuration>
Index: /ssp_qb_r5f100le_cs/trunk/arch/ca78k0r/gensyms-rl78/gensyms-rl78/Program.cs
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/ca78k0r/gensyms-rl78/gensyms-rl78/Program.cs	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/ca78k0r/gensyms-rl78/gensyms-rl78/Program.cs	(revision 93)
@@ -0,0 +1,58 @@
+﻿using System;
+using System.IO;
+using System.Text.RegularExpressions;
+
+namespace gensyms_rl78
+{
+    class Program
+    {
+        static void Main(string[] args)
+        {
+            // 引数チェック
+            if (args.Length != 1)
+            {
+                Console.Error.WriteLine("usage: gensyms-rl78 <symbol-table-filename>");
+                Environment.Exit(1);
+            }
+
+            /*
+             * ファイル中でチェックするパターン
+             */
+            // (パブリック・ローカル)シンボル定義開始
+            var regDelim = new Regex(@";FF     (?<name>.+)");
+            // シンボル定義
+            var regEntry = new Regex(@"^(?<attr>\d\d)(?<addr>[0-9a-fA-F]{5})(?<name>.+)");
+
+            try
+            {
+                var sr = new StreamReader(args[0]);
+                string line;
+
+                // シンボルテーブルファイルの先頭をチェック
+                if (!new Regex(@"#05").IsMatch(sr.ReadLine()))
+                {
+                    throw new Exception("This file is not a symbol table file. abort.");
+                }
+
+                while ((line = sr.ReadLine()) != null)
+                {
+                    // パブリックシンボルの開始を探す
+                    if (regDelim.Match(line).Groups["name"].Value == "PUBLIC")
+                    {
+                        // パブリックシンボル定義の終わりまで，シンボル定義を出力
+                        while (!regDelim.IsMatch(line = sr.ReadLine()))
+                        {
+                            var m = regEntry.Match(line);
+                            Console.WriteLine("000" + m.Groups["addr"] + " T " + m.Groups["name"]);
+                        }
+                    }
+                }
+            }
+            catch (Exception e)
+            {
+                Console.Error.WriteLine("処理に失敗しました:" + e.ToString());
+                Environment.Exit(1);
+            }
+        }
+    }
+}
Index: /ssp_qb_r5f100le_cs/trunk/arch/ca78k0r/gensyms-rl78/gensyms-rl78/Properties/AssemblyInfo.cs
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/ca78k0r/gensyms-rl78/gensyms-rl78/Properties/AssemblyInfo.cs	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/ca78k0r/gensyms-rl78/gensyms-rl78/Properties/AssemblyInfo.cs	(revision 93)
@@ -0,0 +1,36 @@
+﻿using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
+// アセンブリに関連付けられている情報を変更するには、
+// これらの属性値を変更してください。
+[assembly: AssemblyTitle("gensyms-rl78")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("gensyms-rl78")]
+[assembly: AssemblyCopyright("Copyright ©  2014")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// ComVisible を false に設定すると、その型はこのアセンブリ内で COM コンポーネントから 
+// 参照不可能になります。COM からこのアセンブリ内の型にアクセスする場合は、
+// その型の ComVisible 属性を true に設定してください。
+[assembly: ComVisible(false)]
+
+// 次の GUID は、このプロジェクトが COM に公開される場合の、typelib の ID です
+[assembly: Guid("eef098d7-5a63-44f0-b5bb-915e580e6a16")]
+
+// アセンブリのバージョン情報は、以下の 4 つの値で構成されています:
+//
+//      Major Version
+//      Minor Version 
+//      Build Number
+//      Revision
+//
+// すべての値を指定するか、下のように '*' を使ってビルドおよびリビジョン番号を 
+// 既定値にすることができます:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
Index: /ssp_qb_r5f100le_cs/trunk/arch/ca78k0r/gensyms-rl78/gensyms-rl78/gensyms-rl78.csproj
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/ca78k0r/gensyms-rl78/gensyms-rl78/gensyms-rl78.csproj	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/ca78k0r/gensyms-rl78/gensyms-rl78/gensyms-rl78.csproj	(revision 93)
@@ -0,0 +1,91 @@
+﻿<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{6C23E832-A508-44B7-B1E5-DB1B1A5BC343}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>gensyms_rl78</RootNamespace>
+    <AssemblyName>gensyms-rl78</AssemblyName>
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <TargetFrameworkProfile>Client</TargetFrameworkProfile>
+    <PublishUrl>publish\</PublishUrl>
+    <Install>true</Install>
+    <InstallFrom>Disk</InstallFrom>
+    <UpdateEnabled>false</UpdateEnabled>
+    <UpdateMode>Foreground</UpdateMode>
+    <UpdateInterval>7</UpdateInterval>
+    <UpdateIntervalUnits>Days</UpdateIntervalUnits>
+    <UpdatePeriodically>false</UpdatePeriodically>
+    <UpdateRequired>false</UpdateRequired>
+    <MapFileExtensions>true</MapFileExtensions>
+    <ApplicationRevision>0</ApplicationRevision>
+    <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
+    <IsWebBootstrapper>false</IsWebBootstrapper>
+    <UseApplicationTrust>false</UseApplicationTrust>
+    <BootstrapperEnabled>true</BootstrapperEnabled>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Program.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="App.config" />
+  </ItemGroup>
+  <ItemGroup>
+    <BootstrapperPackage Include=".NETFramework,Version=v4.5">
+      <Visible>False</Visible>
+      <ProductName>Microsoft .NET Framework 4.5 %28x86 および x64%29</ProductName>
+      <Install>true</Install>
+    </BootstrapperPackage>
+    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
+      <Visible>False</Visible>
+      <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
+      <Install>false</Install>
+    </BootstrapperPackage>
+    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
+      <Visible>False</Visible>
+      <ProductName>.NET Framework 3.5 SP1</ProductName>
+      <Install>false</Install>
+    </BootstrapperPackage>
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>
Index: /ssp_qb_r5f100le_cs/trunk/arch/ca78k0r/tool_stddef.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/ca78k0r/tool_stddef.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/ca78k0r/tool_stddef.h	(revision 93)
@@ -0,0 +1,187 @@
+/*
+ *  TOPPERS Software
+ *      Toyohashi Open Platform for Embedded Real-Time Systems
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2004-2006 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2007 by Witz Corporation, JAPAN
+ *  Copyright (C) 2011,2014 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ *  t_stddef.hÌJ­Â«Ë¶ilTXGNgjNX CA78K0Rpj
+ *
+ *  ±ÌCN[ht@CÍCtarget_stddef.h ÌæªÅCN[h³êéD
+ */
+
+#if !defined( TOPPERS_TOOL_STDDEF_H )
+#define TOPPERS_TOOL_STDDEF_H
+
+/*
+ *  RpCÌg£@\Ì½ßÌ}Nè`
+ */
+/*
+ *  inline ¯ÊqÍRpCªT|[gµÈ¢D
+ */
+#define	inline
+#define	Inline	static
+
+/*
+ *  RpCÅÍ __asm ¯ÊqªT|[g³êÄ¢éªgpµÈ¢½ß¢è`Æ·éD
+ */
+
+/*
+ *  ^[µÈ¢ÖÅ é±Æð¦·½ßÌL[[h
+ *      ÀÛÉÍ½àµÈ¢
+ */
+#define NoReturn
+
+
+/*
+ *  J­Â«ÌWCN[ht@CÌp
+ *
+ *  NULLÌè`ðstddef.h©çCINT_MAXCINT_MINCUINT_MAXCLONG_MAXC
+ *  LONG_MINCULONG_MAXCCHAR_BITÌè`ðlimits.h©çæèÞD
+ */
+#ifndef TOPPERS_MACRO_ONLY
+#include <stddef.h>
+#include <limits.h>
+#endif /* TOPPERS_MACRO_ONLY */
+
+/*
+ *  stdint.hÌãpÆÈéè`
+ *
+ *  C99 Ì stdint.h ªpÓ³êÄ¢È¢½ßC»ÌãpÆÈéè`ð^¦éD
+ */
+
+/*
+ *  RpCË¶Ìf[^^Ìè`
+ */
+#ifndef TOPPERS_MACRO_ONLY
+
+typedef signed char			int8_t;		/* t«8rbg® */
+typedef unsigned char		uint8_t;	/* ³µ8rbg® */
+
+typedef signed short		int16_t;	/* t«16rbg® */
+typedef unsigned short		uint16_t;	/* ³µ16rbg® */
+
+typedef signed long			int32_t;	/* t«32rbg® */
+typedef unsigned long		uint32_t;	/* ³µ32rbg® */
+
+/* 64rbg®^Í¢T|[g */
+
+typedef int8_t          	int_least8_t;	/* 8rbgÈãÌt«® */
+typedef uint8_t         	uint_least8_t;	/* 8rbgÈãÌ³µ® */
+
+typedef long				intptr_t;	/* |C^ði[Å«ét«® */
+typedef unsigned long		uintptr_t;	/* |C^ði[Å«é³µ® */
+
+#endif /* TOPPERS_MACRO_ONLY */
+
+/*
+ *  RpCË¶Ìf[^^Ì®èðìé}N(C99)
+ *  pÓ³êÄ¢È¢½ßC±±Åè`·éD
+ */
+#ifndef INT8_C
+#define INT8_C(val)			((int8_t)(val))
+#endif /* INT8_C */
+
+#ifndef UINT8_C
+#define UINT8_C(val)		((uint8_t)(val ## U))
+#endif /* UINT8_C */
+
+#ifndef INT16_C
+#define INT16_C(val)		((int16_t)(val))
+#endif /* INT16_C */
+
+#ifndef UINT16_C
+#define UINT16_C(val)		((uint16_t)(val ## U))
+#endif /* UINT16_C */
+
+#ifndef INT32_C
+#define INT32_C(val)		((int32_t)(val))
+#endif /* INT32_C */
+
+#ifndef UINT32_C
+#define UINT32_C(val)		((uint32_t)(val ## U))
+#endif /* UINT32_C */
+
+/*
+ *  RpCË¶Ìf[^^Éi[Å«éÅålÆÅ¬lÌè`(C99)
+ *  pÓ³êÄ¢È¢½ßC±±Åè`·éD
+ */
+#define INT8_MAX			SCHAR_MAX
+#define INT8_MIN			SCHAR_MIN
+#define UINT8_MAX			UCHAR_MAX
+
+#define INT16_MAX			SHRT_MAX
+#define INT16_MIN			SHRT_MIN
+#define UINT16_MAX			USHRT_MAX
+
+#define INT32_MAX			LONG_MAX
+#define INT32_MIN			LONG_MIN
+#define UINT32_MAX			ULONG_MAX
+
+#define INT_LEAST8_MAX		INT8_MAX
+#define INT_LEAST8_MIN		INT8_MIN
+#define UINT_LEAST8_MAX		INT8_MAX
+
+/*
+ *  ®¬_^ÉÖ·éè`
+ */
+#ifndef TOPPERS_MACRO_ONLY
+
+typedef float		float32_t;			/* IEEE754ÌP¸x®¬_ */
+/* {¸x®¬_Í¢T|[gÅ èCdoubleàfloatÆ¯¶32rbg */
+
+#endif /* TOPPERS_MACRO_ONLY */
+
+#define FLOAT32_MIN		1.17549435e-38F
+#define FLOAT32_MAX		3.40282347e+38F
+
+/*
+ *  óxÌè`
+ *    å«³[ÌzñÍxÉÈé½ßA
+ *    ±±ÅÊrè`·éB
+ */
+#define TOPPERS_EMPTY_LABEL(x,y) x y[1]
+
+#endif /* TOPPERS_TOOL_STDDEF_H */
+
Index: /ssp_qb_r5f100le_cs/trunk/arch/gcc/MANIFEST
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/gcc/MANIFEST	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/gcc/MANIFEST	(revision 93)
@@ -0,0 +1,4 @@
+PACKAGE ssp
+
+MANIFEST
+tool_stddef.h
Index: /ssp_qb_r5f100le_cs/trunk/arch/gcc/tool_stddef.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/gcc/tool_stddef.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/gcc/tool_stddef.h	(revision 93)
@@ -0,0 +1,205 @@
+/*
+ *  TOPPERS Software
+ *      Toyohashi Open Platform for Embedded Real-Time Systems
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2004-2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: tool_stddef.h 819 2008-03-18 12:58:50Z hiro $
+ */
+
+/*
+ *		t_stddef.hÌJ­Â«Ë¶iGCCpj
+ */
+
+#ifndef TOPPERS_TOOL_STDDEF_H
+#define TOPPERS_TOOL_STDDEF_H
+
+/*
+ *  RpCÌg£@\Ì½ßÌ}Nè`
+ */
+#ifndef __cplusplus					/* C++ÉÍinline ª é */
+#if __STDC_VERSION__ < 199901L		/* C99ÉÍinline ª é */
+#define inline	__inline__			/* CCÖ */
+#endif /* __STDC_VERSION__ < 199901L */
+#endif /* __cplusplus */
+
+#define Inline	static __inline__	/* CCÖ */
+
+#ifndef __cplusplus					/* C++ÉÍasmª é */
+#define asm		__asm__				/* CCAZu */
+#endif /* __cplusplus */
+
+#define Asm		__asm__ volatile	/* CCAZuiÅK»}~j*/
+
+#define NoReturn	__attribute__((__noreturn__))
+									/* ^[µÈ¢Ö */
+
+/*
+ *  J­Â«ÌWCN[ht@CÌp
+ *
+ *  NULLÌè`ðstddef.h©çCINT_MAXCINT_MINCUINT_MAXCLONG_MAXC
+ *  LONG_MINCULONG_MAXCCHAR_BITÌè`ðlimits.h©çæèÞD
+ *
+ *  C++/EC++ÅÍCWdlãÍ±êçÌCN[ht@CªpÓ³êÄ
+ *  ¢éÆÍÀçÈ¢ÌÅÓªKvÅ éiÙÆñÇÌJ­Â«ÅpÓ³ê
+ *  Ä¢éjD
+ */
+#ifndef TOPPERS_MACRO_ONLY
+#include <stdint.h>
+#include <limits.h>
+#endif /* TOPPERS_MACRO_ONLY */
+
+/*
+ *  stdint.hÌãpÆÈéè`
+ *
+ *  J­Â«Éstdint.hªpÓ³êÄ¨ç¸Ce®^ÌTCYª ép^[
+ *  ÉÄÍÜéêÉCstdint.hÌãpÆÈéè`ð^¦éD
+ *
+ *  TOPPERS_STDINT_TYPE1: char/short/int/long longÌrbg·ª»ê¼ê
+ *                        8/16/32/64rbgÅC|C^Ìrbg·ªlong
+ *                        Ìrbg·Æêv·éê
+ */
+#ifdef TOPPERS_STDINT_TYPE1
+
+/*
+ *  RpCË¶Ìf[^^Ìè`
+ */
+#ifndef TOPPERS_MACRO_ONLY
+
+typedef signed char			int8_t;		/* t«8rbg® */
+typedef unsigned char		uint8_t;	/* ³µ8rbg® */
+
+typedef signed short		int16_t;	/* t«16rbg® */
+typedef unsigned short		uint16_t;	/* ³µ16rbg® */
+
+typedef signed int			int32_t;	/* t«32rbg® */
+typedef unsigned int		uint32_t;	/* ³µ32rbg® */
+
+typedef signed long long	int64_t;	/* t«64rbg® */
+typedef unsigned long long	uint64_t;	/* ³µ64rbg® */
+
+typedef int8_t				int_least8_t;	/* 8rbgÈãÌt«® */
+typedef uint8_t				uint_least8_t;	/* 8rbgÈãÌ³µ® */
+
+typedef long				intptr_t;	/* |C^ði[Å«ét«® */
+typedef unsigned long		uintptr_t;	/* |C^ði[Å«é³µ® */
+
+#endif /* TOPPERS_MACRO_ONLY */
+
+/*
+ *  RpCË¶Ìf[^^Ì®èðìé}N
+ */
+#ifndef INT8_C
+#define INT8_C(val)			(val)
+#endif /* INT8_C */
+
+#ifndef UINT8_C
+#define UINT8_C(val)		(val ## U)
+#endif /* UINT8_C */
+
+#ifndef INT16_C
+#define INT16_C(val)		(val)
+#endif /* INT16_C */
+
+#ifndef UINT16_C
+#define UINT16_C(val)		(val ## U)
+#endif /* UINT16_C */
+
+#ifndef INT32_C
+#define INT32_C(val)		(val)
+#endif /* INT32_C */
+
+#ifndef UINT32_C
+#define UINT32_C(val)		(val ## U)
+#endif /* UINT32_C */
+
+#ifndef INT64_C
+#define INT64_C(val)		(val ## LL)
+#endif /* INT64_C */
+
+#ifndef UINT64_C
+#define UINT64_C(val)		(val ## ULL)
+#endif /* UINT64_C */
+
+/*
+ *  RpCË¶Ìf[^^Éi[Å«éÅålÆÅ¬lÌè`
+ */
+#define INT8_MAX			SCHAR_MAX
+#define INT8_MIN			SCHAR_MIN
+#define UINT8_MAX			UCHAR_MAX
+
+#define INT16_MAX			SHRT_MAX
+#define INT16_MIN			SHRT_MIN
+#define UINT16_MAX			USHRT_MAX
+
+#define INT32_MAX			INT_MAX
+#define INT32_MIN			INT_MIN
+#define UINT32_MAX			UINT_MAX
+
+#define INT64_MAX			LLONG_MAX
+#define INT64_MIN			LLONG_MIN
+#define UINT64_MAX			ULLONG_MAX
+
+#define INT_LEAST8_MAX		INT8_MAX
+#define INT_LEAST8_MIN		INT8_MIN
+#define UINT_LEAST8_MAX		INT8_MAX
+
+#endif /* TOPPERS_STDINT_TYPE1 */
+
+/*
+ *  ®¬_^ÉÖ·éè`
+ *
+ *  TOPPERS_STDFLOAT_TYPE1: floatªIEEE754ÌP¸x®¬_C
+ *							doubleª{¸x®¬_Ìê
+ */
+#ifdef TOPPERS_STDFLOAT_TYPE1
+#ifndef TOPPERS_MACRO_ONLY
+
+typedef float		float32_t;			/* IEEE754ÌP¸x®¬_ */
+typedef double		double64_t;			/* IEEE754Ì{¸x®¬_ */
+
+#endif /* TOPPERS_MACRO_ONLY */
+
+#define FLOAT32_MIN		1.17549435e-38F
+#define FLOAT32_MAX		3.40282347e+38F
+#define DOUBLE64_MIN	2.2250738585072014e-308
+#define DOUBLE64_MAX	1.7976931348623157e+308
+
+#endif /* TOPPERS_STDFLOAT_TYPE1 */
+#endif /* TOPPERS_TOOL_STDDEF_H */
Index: /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/MANIFEST
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/MANIFEST	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/MANIFEST	(revision 93)
@@ -0,0 +1,27 @@
+PACKAGE ssp_arch_rl78_ca78k0r
+VERSION 1.3.0
+
+MANIFEST
+prc.tf
+prc_cfg1_out.h
+prc_config.c
+prc_config.h
+prc_def.csv
+prc_kernel.h
+prc_rename.def
+prc_rename.h
+prc_sil.asm
+prc_sil.h
+prc_stddef.h
+prc_support.asm
+prc_unrename.h
+rl78g13.h
+rl78g13.tf
+rl78g13_config.h
+segment_e.asm
+segment_s.asm
+start.asm
+prc_user.txt
+
+INCLUDE ../../target/qb_r5f100le_cs/MANIFEST
+INCLUDE ../ca78k0r/MANIFEST
Index: /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc.tf
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc.tf	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc.tf	(revision 93)
@@ -0,0 +1,319 @@
+$ 
+$  TOPPERS/SSP Kernel
+$      Smallest Set Profile Kernel
+$ 
+$  Copyright (C) 2008 by Witz Corporation, JAPAN
+$  Copyright (C) 2010-2014 by Naoki Saito
+$             Nagoya Municipal Industrial Research Institute, JAPAN
+$ 
+$  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+$  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+$  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+$  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+$      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+$      R[hÉÜÜêÄ¢é±ÆD
+$  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+$      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+$      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+$      ØKèðfÚ·é±ÆD
+$  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+$      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+$    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+$         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+$    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+$        ·é±ÆD
+$  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+$      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+$      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+$      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+$ 
+$  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+$  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+$  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+$  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+$  íÈ¢D
+$ 
+
+$ 
+$  vZbTË¶ev[g
+$ 
+
+$ 
+$  ATT_ISRÅgpÅ«éÝÔÆ»êÉÎ·éÝnhÔ
+$ 
+
+$INTNO_ATTISR_VALID = INTNO_VALID$
+$INHNO_ATTISR_VALID = INHNO_VALID$
+
+$ 
+$  DEF_INH^DEF_EXCÅgpÅ«éÝnhÔ^CPUáOnhÔ
+$ 
+
+$INHNO_DEFINH_VALID = INHNO_VALID$
+$EXCNO_DEFEXC_VALID = EXCNO_VALID$
+
+$ 
+$  CFG_INTÅgpÅ«éÝÔÆÝDæx
+$ 
+
+$INTNO_CFGINT_VALID = INTNO_VALID$
+
+$ // INTPRI_CFGINT_VALID ÍvZbTÉZbgÂ\ÈDæxÌÍÍð¦µC
+$ // J[lÇ(O)©Ç¤©ÌæÊðµÄ¢È¢D
+$ // J[lÇÆÈéÝDæxÌÍÍðÏX·éêC
+$ // TMIN_INTPRI (prc_kernel.h) ÌlðKvÉ¶ÄÏX·éD
+$INTPRI_CFGINT_VALID = { -4,-3,-2,-1 }$
+
+$ 
+$  X^bNTCYÌ`FbNû@wè
+$ 
+$  ACgÉÖWÈ­¯¶¬xÅANZXÅ«é
+$ 
+
+$CHECK_STKSZ_ALIGN = 1$
+
+
+$ 
+$  èè`
+$ 
+$TA_POSEDGE = TA_EDGE$
+
+$ 
+$ ^[QbgË¶ÌÝ®«Ìè`
+$ 
+
+$TARGET_INTATR = TA_POSEDGE | TA_NEGEDGE | TA_BOTHEDGE$
+
+$ 
+$  Wev[gt@CÌCN[h
+$ 
+$INCLUDE "kernel.tf"$
+
+
+$ 
+$   CFG_INTÌ^[QbgË¶ÌG[`FbN
+$ 
+$ 
+$ 
+
+$FOREACH intno INT.ORDER_LIST$
+$	// INTÝÉÎ·éÝÔ©Ç¤©
+	$IF (LENGTH(FIND(INTNO_INT , INT.INTNO[intno])) != 0)$
+$		// TA_POSEDGE Ü½Í TA_NEGEDGE Ü½Í TA_BOTHEDGE ª¯ÉÝè³êÄÈ¢©Ç¤©
+		$IF 
+		(   ((INT.INTATR[intno] & (TA_POSEDGE|TA_NEGEDGE|TA_BOTHEDGE)) != (TA_POSEDGE))
+		  & ((INT.INTATR[intno] & (TA_POSEDGE|TA_NEGEDGE|TA_BOTHEDGE)) != (TA_NEGEDGE))
+		  & ((INT.INTATR[intno] & (TA_POSEDGE|TA_NEGEDGE|TA_BOTHEDGE)) != (TA_BOTHEDGE))
+		)$
+			$ERROR$ INT.TEXT_LINE[intno]:$FORMAT(_("illegal %1% `%2%\' of `%3%\' in %4%"), "intatr", INT.INTATR[intno], INT.INTNO[intno], "CFG_INT")$$END$
+		$END$
+	$ELSE$
+$		// INTÝÈOÌÝÉÎµÄ TA_ENAINT yÑ TA_EDGE ÈOÌÝ®«ªwè³êÄ¢È¢©Ç¤©
+		$IF (INT.INTATR[intno] & ~(TA_ENAINT|TA_EDGE)) != 0$
+			$ERROR$ INT.TEXT_LINE[intno]: $FORMAT(_("illegal %1% `%2%\' of `%3%\' in %4%"), "intatr", INT.INTATR[intno], INT.INTNO[intno], "CFG_INT")$$END$
+		$END$
+	$END$
+$END$
+
+
+$ 
+$ ÝÔ©çÝDæxðæèo·e[u
+$ 
+
+$FILE "kernel_cfg.c"$
+
+const PRI _kernel_intpri_table[$LENGTH(INTNO_RANGE)$] = $NL$
+{
+$FOREACH intno INTNO_RANGE$
+	$IF LENGTH(INT.INTNO[intno])$
+		$intpri = INT.INTPRI[intno]$
+	$ELSE$
+		$intpri = "0"$
+	$END$
+	$TAB$$FORMAT("INT8_C(%2d), /* %02u */", intpri	, +intno)$$NL$
+$END$
+};$NL$$NL$
+
+
+$ 
+$  A[LeN`Ë¶ev[giAZuÅLªj
+$ 
+
+$ 
+$  AZuoÍt@C (¤Êª)
+$ 
+
+$FILE "kernel_cfg_asm.asm"$
+
+;$NL$
+;  RL78A[LeN`Ë¶oÍt@C$NL$
+;$NL$
+;  ÝnhüûÌè`$NL$
+;$NL$
+$NL$$NL$
+
+
+$ 
+$  Ýüû
+$ 
+
+$ 
+$  O[oV{
+$ 
+
+$TAB$extrn __kernel_interrupt_entry	$NL$
+$TAB$extrn __kernel_int_return$NL$$NL$
+
+$TAB$; RpCªgp·é saddrÌæÌWX^$NL$
+$TAB$extrn	_@RTARG0,_@RTARG2,_@RTARG4,_@RTARG6,_@SEGAX,_@SEGDE$NL$
+$TAB$extrn	_@NRARG0,_@NRARG1,_@NRARG2,_@NRARG3$NL$
+$TAB$extrn	_@NRAT00,_@NRAT02,_@NRAT04,_@NRAT06$NL$
+$NL$
+
+; $NL$
+; RpCªgp·ésaddrÌæÌÞð $NL$
+; $NL$
+save_saddr_regs 	macro$NL$
+	$TAB$movw	ax, _@RTARG0 $NL$
+	$TAB$push	ax           $NL$
+	$TAB$movw	ax, _@RTARG2 $NL$
+	$TAB$push	ax           $NL$
+	$TAB$movw	ax, _@RTARG4 $NL$
+	$TAB$push	ax           $NL$
+	$TAB$movw	ax, _@RTARG6 $NL$
+	$TAB$push	ax           $NL$
+	$TAB$movw	ax, _@SEGAX  $NL$
+	$TAB$push	ax           $NL$
+	$TAB$movw	ax, _@SEGDE  $NL$
+	$TAB$push	ax           $NL$
+	$TAB$$$if (ALLOC_REGVAR_TO_SADDR) ; -qr IvVðgp·éê $NL$
+	$TAB$movw	ax, _@NRARG0 $NL$
+	$TAB$push	ax           $NL$
+	$TAB$movw	ax, _@NRARG1 $NL$
+	$TAB$push	ax           $NL$
+	$TAB$movw	ax, _@NRARG2 $NL$
+	$TAB$push	ax           $NL$
+	$TAB$movw	ax, _@NRARG3 $NL$
+	$TAB$push	ax           $NL$
+	$TAB$movw	ax, _@NRAT00 $NL$
+	$TAB$push	ax           $NL$
+	$TAB$movw	ax, _@NRAT02 $NL$
+	$TAB$push	ax           $NL$
+	$TAB$movw	ax, _@NRAT04 $NL$
+	$TAB$push	ax           $NL$
+	$TAB$movw	ax, _@NRAT06 $NL$
+	$TAB$push	ax           $NL$
+	$TAB$$$endif$NL$
+	$TAB$endm$NL$
+	$NL$
+
+@@BASE$TAB$CSEG BASE$NL$
+
+$ 
+$  Ýnhüû
+$ 
+
+$FOREACH inhno INHNO_RANGE$
+	$IF LENGTH(INH.INHNO[inhno])$
+		$TAB$extrn	_$INH.INTHDR[inhno]$	$NL$
+		$TAB$public	__kernel_$INH.INTHDR[inhno]$_$+INH.INHNO[inhno]$_entry	$NL$
+		__kernel_$INH.INTHDR[inhno]$_$+INH.INHNO[inhno]$_entry:				$NL$
+		$TAB$push	ax       ; WX^ð^XNX^bNÖÞð $NL$
+		$TAB$push	bc $NL$
+		$TAB$push	de $NL$
+		$TAB$push	hl $NL$
+		$TAB$mov 	a,es        	; ES, CS ÌÞð $NL$
+		$TAB$mov 	x,a  $NL$
+		$TAB$mov 	a,cs $NL$
+		$TAB$push	ax   $NL$
+		$TAB$save_saddr_regs$NL$
+		$TAB$movw	bc, #_$INH.INTHDR[inhno]$ ; nhÌAhXð bc Ö $NL$
+
+ 		$IF (INH.INHATR[inhno] & TA_NONKERNEL) == 0$
+			$TAB$br   	__kernel_interrupt_entry	; ¤ÊÌüûÖ $NL$
+			$NL$$NL$
+ 		$ELSE$
+			$TAB$;J[lÇOÌÝÌêCnhÀsµÄ»ÌÜÜ^[ $NL$
+			$TAB$call 	bc                      	; ÝnhÄÑoµ$NL$
+			$TAB$br   	__kernel_int_return      	; WX^A & Ý©ç^[(prc_support.asm) $NL$
+ 		$END$
+	$END$
+$END$
+
+
+$ 
+$  CPUáOnhüû
+$ 
+
+$FOREACH excno EXCNO_RANGE$
+	$IF LENGTH(EXC.EXCNO[excno])$
+		$TAB$extrn	_$EXC.EXCHDR[excno]$	$NL$
+		$TAB$public	__kernel_$EXC.EXCHDR[excno]$_$+EXC.EXCNO[excno]$_entry	$NL$
+		__kernel_$EXC.EXCHDR[excno]$_$+EXC.EXCNO[excno]$_entry:				$NL$
+		$TAB$push	ax          	; WX^ð^XNX^bNÖÞð $NL$
+		$TAB$push	bc $NL$
+		$TAB$push	de $NL$
+		$TAB$push	hl $NL$
+		$TAB$mov 	a,es        	; ES, CS ÌÞð $NL$
+		$TAB$mov 	x,a  $NL$
+		$TAB$mov 	a,cs $NL$
+		$TAB$push	ax   $NL$
+		$TAB$save_saddr_regs $NL$
+		$TAB$movw	ax, sp      	; SP(nhÌøÆÈé)ð ax Ö $NL$
+		$TAB$movw	bc, #_$EXC.EXCHDR[excno]$ ; nhÌAhXð bc Ö $NL$
+		$TAB$br   	__kernel_interrupt_entry	; ¤ÊÌüûÖ $NL$
+		$NL$$NL$
+	$END$
+$END$
+
+
+$ 
+$  xN^e[u
+$ 
+
+;$NL$
+;  xN^e[u$NL$
+;$NL$
+$NL$
+
+$TAB$extrn $TAB$ _unused_interrupt $NL$
+$TAB$org 0004h$NL$$NL$
+$FOREACH inhno INHNO_RANGE$
+	$IF LENGTH(INH.INHNO[inhno])$
+		$inhhdr = CONCAT(CONCAT("_kernel_" , CONCAT(INH.INTHDR[inhno] , "_")) , CONCAT(+INH.INHNO[inhno] , "_entry"))$
+	$ELSE$
+		$inhhdr = "unused_interrupt"$
+	$END$
+	$TAB$dw$TAB$_$inhhdr$ $TAB$ $TAB$ $FORMAT("; %02d" , inhno)$ $NL$
+$END$
+$NL$$NL$
+
+$TAB$org 007eh$NL$$NL$
+$FOREACH excno EXCNO_RANGE$
+	$IF LENGTH(EXC.EXCNO[excno])$
+		$exchdr = CONCAT(CONCAT("_kernel_" , CONCAT(EXC.EXCHDR[excno] , "_")) , CONCAT(+EXC.EXCNO[excno] , "_entry"))$
+	$ELSE$
+		$exchdr = "unused_interrupt"$
+	$END$
+	$TAB$dw$TAB$_$exchdr$ $TAB$ $TAB$ $FORMAT("; %02d" , excno)$ $NL$
+$END$
+$NL$$NL$
+
+	$TAB$end
+$NL$
+
+$ 
+$  prc_support.asm p}Nè`t@C
+$ 
+
+$FILE "prc_support_def.inc"$
+
+$IF TMIN_INTPRI == -4$
+	TMIN_INTPRI_EQU_MINUS4 	equ 1 $NL$
+$ELSE$
+	TMIN_INTPRI_EQU_MINUS4 	equ 0 $NL$
+$END$
Index: /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_cfg1_out.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_cfg1_out.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_cfg1_out.h	(revision 93)
@@ -0,0 +1,31 @@
+/*
+ *		cfg1_out.cÌNÉKvÈX^uÌè`
+ */
+
+void sta_ker(void)
+{
+}
+
+void hardware_init_hook(void)
+{
+}
+
+void software_init_hook(void)
+{
+}
+
+const SIZE		_kernel_istksz = 0;
+
+STK_T *const	_kernel_istk = NULL;
+
+ER
+syslog_wri_log(uint_t prio, const SYSLOG *p_syslog)
+{
+	return E_OK;
+}
+
+uint_t	_kernel_actque_bitmap = 0;
+uint8_t _kernel_intnest = 0;
+const PRI _kernel_intpri_table[1] = {0};
+STK_T *const	_kernel_istkpt = NULL;
+
Index: /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_config.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_config.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_config.c	(revision 93)
@@ -0,0 +1,426 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2005,2006 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2008 by Witz Corporation, JAPAN
+ *  Copyright (C) 2010-2014 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+/*
+ *		vZbTË¶W
+[iRL78j
+ */
+#pragma EI
+#pragma DI
+#include <kernel_impl.h>
+
+/*
+ *  Ý­¶ñðÛ¶·éÏ
+ */
+uint8_t intnest;
+
+
+/*
+ *  (1) ReLXgÉÖ·éè`
+ */
+
+
+/*
+ *  ReLXgÌQÆ
+ */
+bool_t
+sense_context(void)
+{
+	/*  lXgJE^0æèåÈçñ^XNReLXg  */
+	return (intnest > 0);
+}
+
+
+/*
+ *  (2) VXeóÔÉÖ·éè`
+ */
+
+/*
+ *  CPUbNtOÀ»Ì½ßÌÏ
+ */
+bool_t		lock_flag;		/* CPUbNtOÌlðÛ·éÏ */
+#if TMIN_INTPRI != -4
+uint8_t 	saved_psw;		/* ÝDæxxðÛ¶·éÏ */
+#endif
+
+/*
+ *  CPU bNóÔÖÌÚs
+ *      ±ÌÖÍCCPU bNóÔÌÆ«ÉÄÑ¾³êÈ¢±ÆðOñÆ·éD
+ */
+void
+t_lock_cpu(void)
+{
+#if TMIN_INTPRI == -4
+	DI();
+#else
+	/* ^XNÅÍÝDæx}XNÌlÍ 0 ÌÍ¸ÈÌÅÛ¶·éKvªÈ¢ */
+	set_psw(PSW_SET_ISP(get_psw(), ISP_LOCK));
+#endif
+	lock_flag = true;
+}
+
+void
+i_lock_cpu(void)
+{
+#if TMIN_INTPRI == -4
+	DI();
+#else
+	uint8_t	psw;
+
+	/*
+	 *  get_psw() ÌÔèlð¼Ú saved_isp ÉÛ¶¹¸CêÏ
+	 *  psw ÖÛ¶·éÌÍCget_psw() ÌÄÑ¾µ¼ãÉÝª­¶µC
+	 *  N®³ê½ÝÅ saved_isp ªÏX³êéÂ\«ª é½ßD
+	 */
+	psw = get_psw();
+	if (TIPM_LOCK < ISP2IPM(PSW2ISP(psw))) {
+		set_psw(PSW_SET_ISP(psw, ISP_LOCK));
+	}
+	saved_psw = psw;
+#endif
+	lock_flag = true;
+}
+
+/*
+ *  CPUbNóÔÌð
+ *      ±ÌÖÍCCPU bNóÔÌÆ«ÉÌÝÄÑ¾³êé±ÆðOñÆ·éD
+ */
+void
+t_unlock_cpu(void)
+{
+	lock_flag = false;
+#if TMIN_INTPRI == -4
+	EI();
+#else
+	/* ^XNÀsÍÝ}XNSðóÔÌÍ¸ÈÌÅCSðÉµÄ¨­ */
+	set_psw(PSW_SET_ISP(get_psw(), ISP_ENAALL));
+#endif
+}
+
+void
+i_unlock_cpu(void)
+{
+	lock_flag = false;
+#if TMIN_INTPRI == -4
+	EI();
+#else
+	set_psw(PSW_SET_ISP(get_psw(), PSW2ISP(saved_psw)));
+#endif
+}
+
+/*
+ *  CPUbNóÔÌQÆ
+ */
+bool_t
+x_sense_lock(void)
+{
+	return lock_flag;
+}
+
+/*
+ *  ÝDæx}XN(IPM) ÌÝè
+ *    wèµ½ÝDæx(-1, -2, ..., TMIN_INTPRI) ð³É
+ *    vZbTÌÝDæxx (IPL) ðÝè·éD
+ */
+void
+x_set_ipm(PRI intpri)
+{
+	set_psw(PSW_SET_ISP(get_psw(), IPM2ISP(intpri)));
+}
+
+PRI
+x_get_ipm(void)
+{
+	return (ISP2IPM(PSW2ISP(get_psw())));
+}
+
+
+
+/*
+ *  (7) dispacher ÅÌÝÒ¿
+ */
+void
+idle_loop(void)
+{
+	t_unlock_cpu();
+	t_lock_cpu();
+}
+
+
+/*
+ *  vZbTË¶Ìú»
+ */
+void
+prc_initialize(void)
+{
+}
+
+/*
+ *  vZbTË¶ÌI¹
+ */
+void
+prc_terminate(void)
+{
+	/* ÁÉKvÈÍÈ¢ */
+}
+
+/*
+ *  ÝvÖ~tOÌZbg
+ */
+bool_t
+x_disable_int(INTNO intno)
+{
+	volatile uint8_t *reg_addr;
+	
+	/* xè`ª0Å éêÍCFG_INT³êÄ¢È¢ */
+	if(intpri_table[intno] == 0U)
+	{
+		return (false);
+	}
+	// Ý}XNEtOEWX^ÌYrbgð1ÉZbg
+	if(intno < 32) {
+		reg_addr = (volatile uint8_t *)TADR_MK0L;
+		reg_addr += (intno/8);
+	}
+	else {
+		reg_addr = (volatile uint8_t *)TADR_MK2L;
+		reg_addr += ((intno-32) / 8);
+	}
+	*reg_addr |= (uint8_t)(1 << (intno % 8));
+	
+	return(true);
+}
+
+/*
+ *  ÝvÖ~tOÌNA
+ */
+bool_t
+x_enable_int(INTNO intno)
+{
+	volatile uint8_t *reg_addr;
+
+	/* xè`ª0Å éêÍCFG_INT³êÄ¢È¢ */
+	if(intpri_table[intno] == 0u)
+	{
+		return (false);
+	}
+	// Ý}XNEtOEWX^ÌYrbgð0ÉZbg
+	if(intno < 32) {
+		reg_addr = (volatile uint8_t *)TADR_MK0L;
+		reg_addr += (intno/8);
+	}
+	else {
+		reg_addr = (volatile uint8_t *)TADR_MK2L;
+		reg_addr += ((intno-32) / 8);
+	}
+	*reg_addr &= (uint8_t)~(1 << (intno % 8));
+	
+	return(true);
+}
+
+/*
+ *  ÝvÌNA
+ */
+void
+x_clear_int(INTNO intno)
+{
+	volatile uint8_t *reg_addr;
+
+	// ÝvtOEWX^ÌYrbgð0ÉZbg
+	if(intno < 32) {
+		reg_addr = (volatile uint8_t *)TADR_IF0L;
+		reg_addr += (intno/8);
+	}
+	else {
+		reg_addr = (volatile uint8_t *)TADR_IF2L;
+		reg_addr += ((intno-32) / 8);
+	}
+	*reg_addr &= (uint8_t)~(1 << (intno % 8));
+}
+
+/*
+ *  ÝvÌ`FbN
+ */
+bool_t
+x_probe_int(INTNO intno)
+{
+	volatile uint8_t *reg_addr;
+
+	// ÝvtOEWX^ÌYrbgª 1 Èç true
+	if(intno < 32) {
+		reg_addr = (volatile uint8_t *)TADR_IF0L;
+		reg_addr += (intno/8);
+	}
+	else {
+		reg_addr = (volatile uint8_t *)TADR_IF2L;
+		reg_addr += ((intno-32) / 8);
+	}
+
+	return((*reg_addr & (uint8_t)(1 << (intno % 8))) != 0);
+}
+
+/*
+ *  ÝvCÌ®«ÌÝè
+ */
+void
+x_config_int(INTNO intno, ATR intatr, PRI intpri)
+{
+	volatile uint8_t *reg_addr;
+	uint8_t portno;
+
+	assert(VALID_INTNO_CFGINT(intno));
+	assert(TMIN_INTPRI <= intpri && intpri <= TMAX_INTPRI);
+
+	/*
+	 *  ÝÌ}XN
+	 *
+	 *  Ýðó¯t¯½ÜÜCxgK^GbWgKÌÝèâC
+	 *  ÝDæxÌÝèðs¤ÌÍë¯È½ßCÝ®«É©©íç¸C
+	 *  êU}XN·éD
+	 */
+	(void) x_disable_int(intno);
+
+	/*
+	 * DæxÌÝè
+	 */
+	// DæÊwètOEWX^ÌYrbgÉlðZbg
+	if(intno < 32) {
+		reg_addr = (volatile uint8_t *)TADR_PR00L;
+		reg_addr += (intno/8);
+	}
+	else {
+		reg_addr = (volatile uint8_t *)TADR_PR02L;
+		reg_addr += ((intno-32) / 8);
+	}
+	// DæÊxÌÝè(áÊrbg)
+	if((IPM2ILVL(intpri) & 0x01) != 0) {
+		*reg_addr |= (uint8_t)(1 << (intno % 8));
+	}
+	else {
+		*reg_addr &= (uint8_t)~(1 << (intno % 8));
+	}
+	// DæÊxÌÝè(Êrbg)
+	if((IPM2ILVL(intpri) & 0x02) != 0) {
+		*(reg_addr+4) |= (uint8_t)(1 << (intno % 8));
+	}
+	else {
+		*(reg_addr+4) &= (uint8_t)~(1 << (intno % 8));
+	}
+	
+	/*
+	 * gKÌÝè
+	 */
+	if(intno <= 7) {
+		reg_addr = (volatile uint8_t *)TADR_EGP0;	// EGP0
+		portno = (uint8_t)(intno - 2);
+	}
+	else {
+		reg_addr = (volatile uint8_t *)TADR_EGP1;	// EGP1
+		portno = (uint8_t)(intno - 29);
+	}
+	
+	/* INT[qÌêÍÝmû@ðÝè·é */
+	if((intatr & TA_POSEDGE) != 0U)
+	{
+		// OÝ§¿ãªèGbWÂWX^ÌYrbgð1ÉZbg
+		*reg_addr |= (uint8_t)(1 << (portno % 8));
+		// OÝ§¿ºªèGbWÂWX^ÌYrbgð0ÉZbg
+		*(reg_addr+1) &= (uint8_t)~(1 << (portno % 8));
+	}
+	else if((intatr & TA_NEGEDGE) != 0U)
+	{
+		// OÝ§¿ãªèGbWÂWX^ÌYrbgð0ÉZbg
+		*reg_addr &= (uint8_t)~(1 << (portno % 8));
+		// OÝ§¿ºªèGbWÂWX^ÌYrbgð1ÉZbg
+		*(reg_addr+1) |= (uint8_t)(1 << (portno % 8));
+	}
+	else if((intatr & TA_BOTHEDGE) != 0U)
+	{
+		// OÝ§¿ãªèGbWÂWX^ÌYrbgð1ÉZbg
+		*reg_addr |= (uint8_t)(1 << (portno % 8));
+		// OÝ§¿ºªèGbWÂWX^ÌYrbgð1ÉZbg
+		*(reg_addr+1) |= (uint8_t)(1 << (portno % 8));
+	}
+	else {	// Ç¿çÅàÈ¢êÍGbWoðÖ~
+		// OÝ§¿ãªèGbWÂWX^ÌYrbgð0ÉZbg
+		*reg_addr &= (uint8_t)~(1 << (portno % 8));
+		// OÝ§¿ºªèGbWÂWX^ÌYrbgð0ÉZbg
+		*(reg_addr+1) &= (uint8_t)~(1 << (portno % 8));
+	}
+
+	/*
+	 *  ÝÌ}XNð(DæxÝè)
+ 	 */
+	if ((intatr & TA_ENAINT) != 0U) {
+		(void) x_enable_int(intno);
+	}
+}
+
+/*
+ *  NMIð­·×ÄÌÝÌÖ~
+ */
+uint8_t
+TOPPERS_disint(void)
+{
+	volatile uint8_t	TOPPERS_psw;
+
+	TOPPERS_psw = get_psw();
+	DI();
+	return(TOPPERS_psw);
+}
+
+/*
+ *  ÝDæx}XNià\»jÌ»ÝlÌÝè
+ */
+void
+TOPPERS_enaint(uint8_t TOPPERS_psw)
+{
+	if(TOPPERS_psw & PSW_IE_MASK)
+	{
+		EI();
+	}
+}
+
+
Index: /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_config.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_config.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_config.h	(revision 93)
@@ -0,0 +1,332 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2005,2006 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2008 by Witz Corporation, JAPAN
+ *  Copyright (C) 2010-2014 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+/*
+ *		vZbTË¶W
+[iRL78j
+ *
+ *  ±ÌCN[ht@CÍC"<vZbT^Ô>_config.h" ÌÝ©ç
+ *  CN[h³êéD¼Ìt@C©ç¼ÚCN[hµÄÍÈçÈ¢D
+ */
+
+#ifndef TOPPERS_PRC_CONFIG_H
+#define TOPPERS_PRC_CONFIG_H
+
+/*
+ *  (1) ReLXgÉÖ·éè`
+ */
+
+/* ¤LX^bNÌæÌ½ßÌX^bN|C^úlð¶¬·é}N */
+#define TOPPERS_ISTKPT(istk, istksz) ((STK_T *)((char *)(istk) + (istksz)))
+
+/*
+ *  (2) VXeóÔÉÖ·éè`
+ */
+
+/*
+ *  CPUbNóÔÅÌÝDæx}XN(IPM)Ìl
+ *    TIPM_LOCKÍCCPUbNóÔð\»·éÝDæx}XN(IPM)Ìlð¦·D
+ *    J[lÇÌÝÉÎ·éÝDæxÌÅ¬l(TMIN_INTPRI)Éµ¢D
+ */
+#ifndef TIPM_LOCK
+#define TIPM_LOCK	TMIN_INTPRI
+#endif /* TIPM_LOCK */
+
+/*
+ *  ÝDæx}XN(IPM) ÆvZbTÌÝDæx}XN(ISP) ÌÏ·
+ *
+ *  RL78 ÅÍCPSWWX^ÌºÊ©ç¦Ärbg1¨æÑ 2 Ì 2 rbgÉ
+ *  CT[rXEvCIeBEtO(ISP) Ìlªi[³êéD
+ *
+ *  J[lÌÇ·éIPM (-1©çA±µ½Ìl) ðgÁÄ
+ *  vZbTÌ ISP ð§ä·é½ßÉÏ·ªKvÆÈéD
+ *
+ *  wèµ½xÈºÌÝð}XN·éêÍCISPÌÝèlð
+ *  ÚIÌxæèêÂ¢Dæx(lÆµÄÍ¬³¢)lÉ·éKvª éD
+ */
+#define IPM2ISP(ipm)	(((uint8_t)(4-1+(ipm))) << 1U)	/* IPM-->ISP(ipm=-3,-2,-1,0) */
+#define ISP2IPM(isp)	((PRI)((PRI)(isp >> 1U)+1-4))	/* ISP-->IPM */
+
+
+/*
+ *  ÝDæx}XNÌÁÊÈlÉÎ·éà\»
+ */
+#define ISP_LOCK	(IPM2ISP(TIPM_LOCK))  	/* CPUbNóÔÅÌ ISP */
+#define ISP_ENAALL	(IPM2ISP(TIPM_ENAALL))	/* TIPM_ENAALL ÅÌ ISP */
+
+
+
+/*
+ *  (3) Ýf(ÝvC)
+ */
+
+/*
+ * intnoªCdis_int^ena_intÉÎ·éÝÔÆµÄ
+ * LøÈlÅ éêÉtrueC»¤ÅÈ¢êÉfalseðÔ·}N
+ */
+#define VALID_INTNO_DISINT(intno)	VALID_INTNO(intno)
+#define VALID_INTNO_CFGINT(intno)	VALID_INTNO(intno)
+
+/*
+ *  IPM ©çÝ§äWX^ÅÌ\»ÉÏ··é}N
+ */
+#define IPM2ILVL(ipm)	((ipm)+4)	// ipm=-1,-2,-3,-4
+
+
+/*
+ *  (4) Ýf(Ýnh)
+ */
+
+/*
+ *  ÝnhÌüûÌ¶¬}N
+ */
+#define _INT_ENTRY(inhno, inthdr)				_kernel_##inthdr##_##inhno##_entry
+#define INT_ENTRY(inhno, inthdr)				_INT_ENTRY(inhno , inthdr)
+
+#define _INTHDR_ENTRY(inhno, inhno_num ,inthdr)	\
+		extern _kernel_##inthdr##_##inhno##_entry(void);
+#define INTHDR_ENTRY(inhno, inhno_num ,inthdr)	_INTHDR_ENTRY(inhno, inhno_num ,inthdr)
+
+/*
+ *  (5) CPUáOf
+ */
+
+/*
+ *  CPUáOnhÌüûÌ¶¬}N
+ */
+#define _EXC_ENTRY(excno , exchdr)	_kernel_##exchdr##_##excno##_entry
+#define  EXC_ENTRY(excno , exchdr)	_EXC_ENTRY(excno , exchdr)
+
+#define _EXCHDR_ENTRY(excno , excno_num , exchdr) \
+	extern _kernel_##exchdr##_##excno##_entry(void);
+#define  EXCHDR_ENTRY(excno , excno_num , exchdr)	_EXCHDR_ENTRY(excno , excno_num , exchdr)
+
+/*
+ *  (6) ú»EI¹
+ */
+
+// è`Èµ
+
+#ifndef TOPPERS_MACRO_ONLY
+
+/*
+ *  (1) ReLXgÉÖ·éè`
+ */
+
+/*
+ *  ReLXgÌQÆ
+ */
+extern bool_t sense_context(void);
+
+/*
+ *  (2) VXeóÔÉÖ·éè`
+ */
+
+/*
+ *  CPUbNtOÀ»Ì½ßÌÏ (prc_config.c)
+ */
+extern bool_t	lock_flag;	/* CPUbNtOÌl */
+extern uint8_t	saved_psw;	/* CPUbNóÔÚsOÌÝDæxx */
+
+/*
+ *  CPU bNóÔÖÌÚs
+ *      ±ÌÖÍCCPU bNóÔÌÆ«ÉÄÑ¾³êÈ¢±ÆðOñÆ·éD
+ */
+extern void t_lock_cpu(void);
+extern void i_lock_cpu(void);
+
+/*
+ *  CPUbNóÔÌð
+ *      ±ÌÖÍCCPU bNóÔÌÆ«ÉÌÝÄÑ¾³êé±ÆðOñÆ·éD
+ */
+extern void t_unlock_cpu(void);
+extern void i_unlock_cpu(void);
+
+
+/*
+ *  CPUbNóÔÌQÆ
+ */
+extern bool_t x_sense_lock(void);
+
+#define t_sense_lock()	x_sense_lock()
+#define i_sense_lock()	x_sense_lock()
+
+/*
+ *  ÝDæx}XN(IPM) ÌÝè
+ *    wèµ½ÝDæx(-1, -2, ..., TMIN_INTPRI) ð³É
+ *    vZbTÌÝDæxx (IPL) ðÝè·éD
+ */
+extern void x_set_ipm(PRI intpri);
+
+#define t_set_ipm(intpri)	x_set_ipm(intpri)
+#define i_set_ipm(intpri)	x_set_ipm(intpri)
+
+extern PRI x_get_ipm(void);
+
+#define i_get_ipm()	x_get_ipm()
+#define t_get_ipm()	t_get_ipm()
+
+/*
+ *  (3) Ýf(ÝvC)
+ */
+
+/*
+ *  ÝvöÌxè`e[u (kernel_cfg.c ÉæéoÍ)
+ *    ÝÔ(INTNO) ©çÝDæxðæ¾·é½ßÉgpD
+ */
+extern const PRI intpri_table[];
+
+/*
+ *  ÝvÖ~tOÌZbg(prc_config.c)
+ *    wèµ½ÝÔÉÎ·éÝvCÌÝvtOðZbg·éD
+ *    Ý®«ªÝè³êÄ¢È¢ÝvCÌÝÔðwèµ½
+ *    êÍCPÉ FALSE ðÔ·D
+ */
+extern bool_t x_disable_int(INTNO intno);
+
+#define t_disable_int(intno)	x_disable_int(intno)
+#define i_disable_int(intno)	x_disable_int(intno)
+
+/*
+ *  ÝvÖ~tOÌNA(prc_config.c)
+ *    wèµ½ÝÔÉÎ·éÝvCÌÝvtOðNA·éD
+ *    Ý®«ªÝè³êÄ¢È¢ÝvCÌÝÔðwèµ½
+ *    êÍCPÉ FALSE ðÔ·D
+ */
+extern bool_t x_enable_int(INTNO intno);
+
+#define t_enable_int(intno)		x_enable_int(intno)
+#define i_enable_int(intno)		x_enable_int(intno)
+
+
+/*
+ *  ÝvÌNA(prc_config.c)
+ */
+extern void x_clear_int(INTNO intno);
+
+#define t_clear_int(intno)		x_clear_int(intno)
+#define i_clear_int(intno)		x_clear_int(intno)
+
+
+/*
+ *  ÝvÌ`FbN(prc_config.c)
+ */
+extern bool_t x_probe_int(INTNO intno);
+
+#define t_probe_int(intno)		x_probe_int(intno)
+#define i_probe_int(intno)		x_probe_int(intno)
+
+/*
+ *  ÝvCÌ®«ÌÝè (prc_config.c)
+ */
+extern void	x_config_int(INTNO intno, ATR intatr, PRI intpri);
+
+/*
+ *  (4) Ýf(Ýnh)
+ */
+
+/*
+ *  ÝnhÌÝè
+ *
+ *  RL78ÍROMÉÝxN^ðzu·é½ßC{ÖÍóÉè`·éD
+ */
+#define x_define_inh(inhno, inthdr)
+
+/*
+ *  ÝnhÌüûÅKvÈ
+ */
+#define i_begin_int(intno) 		/* ÁÉs¤×«ÍÈ¢ */
+
+/*
+ *  ÝnhÌoûÅKvÈ
+ */
+#define i_end_int(intno)		/* ÁÉs¤×«ÍÈ¢ */
+
+/*
+ *  (5) CPUáOf
+ */
+
+/*
+ *  CPUáOnhÌÝè
+ *    RL78 Í ROM ÉxN^ðzu·é½ßC{ÖÍóÉè`·éD
+ */
+#define x_define_exc(excno, exchdr)
+
+/*
+ *  (6) ú»EI¹
+ */
+
+/*
+ *  vZbTË¶Ìú»(prc_config.c)
+ */
+extern void	prc_initialize(void);
+
+/*
+ *  dispatcher ÄÑoµOÉ^[QbgË¶ÅKvÈðs¤½ßÌÖ
+ *    (prc_support.asm)
+ */
+extern void start_dispatch(void);
+
+/*
+ *  J[lÌI¹ÌÄoµiprc_support.asmj
+ *
+ *  call_exit_kernelÍCJ[lÌI¹ÉÄÑo³êCX^bN|C^ð
+ *  ú»µCJ[lÌI¹iexit_kerneljðÄÑo·D
+ */
+extern void call_exit_kernel(void);
+
+/*
+ *  vZbTË¶ÌI¹(prc_config.c)
+ */
+extern void	prc_terminate(void);
+
+/*
+ *  (7) dispacher ÅÌÝÒ¿
+ */
+extern void idle_loop(void);
+
+
+#endif /* TOPPERS_MACRO_ONLY */
+#endif /* TOPPERS_PRC_CONFIG_H */
Index: /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_def.csv
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_def.csv	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_def.csv	(revision 93)
@@ -0,0 +1,3 @@
+TA_POSEDGE,TA_POSEDGE
+TA_NEGEDGE,TA_NEGEDGE
+TA_BOTHEDGE,TA_BOTHEDGE
Index: /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_kernel.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_kernel.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_kernel.h	(revision 93)
@@ -0,0 +1,96 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2008 by Witz Corporation, JAPAN
+ *  Copyright (C) 2011-2014 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+/*
+ *		kernel.h vZbTË¶iRL78j
+ *
+ *  ±ÌCN[ht@CÍCtarget_kernel.hiÜ½ÍC»±©çCN
+ *  [h³êét@CjÌÝ©çCN[h³êéD¼Ìt@C©ç
+ *  ¼ÚCN[hµÄÍÈçÈ¢D
+ */
+
+#ifndef TOPPERS_PRC_KERNEL_H
+#define TOPPERS_PRC_KERNEL_H
+
+/*
+ *  J[l{ÌðRpC·é½ßÌ}Nè`
+ *
+ *  {Â«ÅÍ1Öð1IuWFNgt@CÉRpC·é±ÆªÅ«È¢½ßC
+ *  ALLFUNC}Nðè`·éD
+ */
+
+#define ALLFUNC
+
+/*
+ *  T|[g·é@\Ìè`
+ */
+#define TOPPERS_TARGET_SUPPORT_DIS_INT			/* dis_intðT|[g·é */
+#define TOPPERS_TARGET_SUPPORT_ENA_INT			/* ena_intðT|[g·é */
+
+/*
+ *  J[lÇÌÝDæxÌÍÍ
+ *
+ *  J[lÇÌÝDæxÌÅålyÑÅ¬lÌè`D
+ *  ÅålÍ -1 ÅèÅC±êÍdlÉ éæ¤ÉÎÌ«ÌÏ_ÅpÓ³êÄ¢éD
+ *  Å¬l TMIN_INTPRI ÉÝèÂ\ÈlÌÍÍÍC-3, -2, -1 Å éD
+ *
+ *  á¦Î TMIN_INTPRI ð -2 ÉÝè·éÆCNMI ÉÁ¦ÝDæxª
+ *  -4 yÑ -3 ÉÝè³êÄ¢éÝvC©çÌÝª
+ *  J[lÇOÌÝÆÈéD
+ *  Ü½CTMIN_INTPRI ð -4 ÉÝè·é±ÆÍÅ«¸CNMI ¨æÑ -4 ÍíÉ
+ *  J[lÇOÌÝÆÈéD
+ */
+#ifndef TMIN_INTPRI
+#define TMIN_INTPRI		(-3)		/* ÝDæxÌÅ¬liÅlj*/
+#endif /* TMIN_INTPRI */
+#define TMAX_INTPRI		(-1)		/* ÝDæxÌÅåliÅálj */
+
+/*
+ *  èÝ®«
+ */
+#define	TA_POSEDGE		TA_EDGE			/* |WeBuGbWgK */
+#define	TA_NEGEDGE		UINT_C(0x04)	/* lKeBuGbWgK */
+#define TA_BOTHEDGE		UINT_C(0x08)	/* ¼GbWgK */
+
+
+#define BIT_FIELD_BOOL unsigned char
+
+#endif /* TOPPERS_PRC_KERNEL_H */
Index: /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_rename.def
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_rename.def	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_rename.def	(revision 93)
@@ -0,0 +1,16 @@
+# prc_config.c
+intnest
+lock_flag
+saved_ipl
+start_dispatch
+prc_initialize
+prc_terminate
+call_exit_kernel
+x_config_int
+interrupt_dispatch
+intc_reg
+
+# prc_support.a30
+
+# kernel_cfg.c
+intpri_table
Index: /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_rename.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_rename.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_rename.h	(revision 93)
@@ -0,0 +1,50 @@
+/* This file is generated from prc_rename.def by genrename. */
+
+#ifndef TOPPERS_PRC_RENAME_H
+#define TOPPERS_PRC_RENAME_H
+
+/*
+ *  prc_config.c
+ */
+#define intnest           			_kernel_intnest
+#define lock_flag         			_kernel_lock_flag
+#define saved_ipl         			_kernel_saved_ipl
+#define start_dispatch    			_kernel_start_dispatch
+#define prc_initialize    			_kernel_prc_initialize
+#define prc_terminate     			_kernel_prc_terminate
+#define call_exit_kernel  			_kernel_call_exit_kernel
+#define x_config_int      			_kernel_x_config_int
+#define interrupt_dispatch			_kernel_interrupt_dispatch			
+#define intc_reg          			_kernel_intc_reg
+
+/*
+ *  kernel_cfg.c
+ */
+#define intpri_table       			_kernel_intpri_table
+
+#ifdef TOPPERS_LABEL_ASM
+
+/*
+ *  prc_config.c
+ */
+#define _intnest           			__kernel_intnest
+#define _lock_flag         			__kernel_lock_flag
+#define _saved_ipl					__kernel_saved_ipl
+#define _start_dispatch    			__kernel_start_dispatch
+#define _prc_initialize    			__kernel_prc_initialize
+#define _prc_terminate     			__kernel_prc_terminate
+#define _call_exit_kernel  			__kernel_call_exit_kernel
+#define _x_config_int      			__kernel_x_config_int
+#define _interrupt_dispatch			__kernel_interrupt_dispatch			
+#define _intc_reg          			__kernel_intc_reg
+
+
+/*
+ *  kernel_cfg.c
+ */
+#define _intpri_table      			__kernel_intpri_table
+
+#endif /* TOPPERS_LABEL_ASM */
+
+
+#endif /* TOPPERS_PRC_RENAME_H */
Index: /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_sil.asm
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_sil.asm	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_sil.asm	(revision 93)
@@ -0,0 +1,71 @@
+;
+;  TOPPERS/SSP Kernel
+;      Smallest Set Profile Kernel
+; 
+;  Copyright (C) 2014 by Naoki Saito
+;             Nagoya Municipal Industrial Research Institute, JAPAN
+; 
+;  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+;  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+;  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+;  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+;      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+;      R[hÉÜÜêÄ¢é±ÆD
+;  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+;      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+;      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+;      ØKèðfÚ·é±ÆD
+;  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+;      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+;    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+;         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+;    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+;        ·é±ÆD
+;  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+;      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+;      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+;      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+; 
+;  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+;  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+;  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+;  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+;  íÈ¢D
+; 
+; 
+
+;
+;  SILÌAZuLqª
+;
+
+	public	_get_psw
+	public	_set_psw
+
+@@CODE	CSEG	BASE
+
+;
+; uint8_t get_psw(void)
+;   PSWÌlðæ¾
+;
+_get_psw:
+	push	ax
+	mov 	a, psw		; PSW Ìlðæ¾
+	mov 	c, a
+	clrb	b
+	pop 	ax
+	ret
+
+;
+; void set_psw(uint8_t psw)
+;   PSWÌlðÝè
+;
+_set_psw:
+	mov 	a, x
+	mov 	psw, a
+	ret
+
+	END
Index: /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_sil.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_sil.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_sil.h	(revision 93)
@@ -0,0 +1,104 @@
+/*
+ *  TOPPERS Software
+ *      Toyohashi Open Platform for Embedded Real-Time Systems
+ * 
+ *  Copyright (C) 2008 by Witz Corporation, JAPAN
+ *  Copyright (C) 2014 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ *		sil.h vZbTË¶(RL78t@~¤Êª)
+ */
+
+#ifndef TOPPERS_PRC_SIL_H
+#define TOPPERS_PRC_SIL_H
+
+/*
+ *  RpCª Inline ðT|[gµÈ¢½ß
+ *  WÌóÔANZXÖðgpµÈ¢
+ */
+#define TOPPERS_OMIT_SIL_ACCESS
+
+/*
+ * PSW WX^
+ */
+#define PSW_IE_MASK 	(0x80)
+#define PSW_ISP_MASK	(0x06)
+
+// psw Ì ISP{0,1} ª¾¯ðæèo·
+#define PSW2ISP(psw)	((uint8_t)((psw) & PSW_ISP_MASK))
+// psw Ì ISP{0,1} ÌrbgÊuÉ isp ðZbgµ½p^[ðìé
+#define PSW_SET_ISP(psw, isp)	((uint8_t)((uint8_t)(psw & ~PSW_ISP_MASK) | isp))
+
+
+#ifndef TOPPERS_MACRO_ONLY
+
+// PSWÌæ¾EÝè
+extern uint8_t get_psw(void);
+extern void set_psw(uint8_t psw);
+
+/*
+ *  NMIð­·×ÄÌÝÌÖ~(prc_config.c)
+ */
+extern uint8_t TOPPERS_disint(void);
+
+/*
+ *  ÝDæx}XNià\»jÌ»ÝlÌÝè(prc_config.c)
+ */
+extern void TOPPERS_enaint(uint8_t TOPPERS_psw);
+
+/*
+ *  SÝbNóÔÌ§ä
+ */
+#define SIL_PRE_LOC		uint8_t TOPPERS_ie_psw;
+#define SIL_LOC_INT()	((void)(TOPPERS_ie_psw = TOPPERS_disint()))
+#define SIL_UNL_INT()	(TOPPERS_enaint(TOPPERS_ie_psw))
+
+/*
+ *  ÷­ÔÒ¿(target_support.asm, not yet)
+ */
+extern void sil_dly_nse(ulong_t dlytim);
+
+#endif /* TOPPERS_MACRO_ONLY */
+
+/*
+ *  vZbTÌGfBA
+ */
+#define SIL_ENDIAN_LITTLE			/* gGfBA */
+
+#endif /* TOPPERS_PRC_SIL_H */
Index: /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_stddef.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_stddef.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_stddef.h	(revision 93)
@@ -0,0 +1,59 @@
+/*
+ *  TOPPERS Software
+ *      Toyohashi Open Platform for Embedded Real-Time Systems
+ * 
+ *  Copyright (C) 2008 by Witz Corporation, JAPAN
+ *  Copyright (C) 2011-2014 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ *		t_stddef.hÌvZbTË¶iRL78t@~¤Êªj
+ *
+ *  ±ÌCN[ht@CÍCtarget_stddef.h ÌÝ©çCN[h³êéD
+ *  ¼Ìt@C©ç¼ÚCN[hµÄÍÈçÈ¢D
+ */
+
+#ifndef TOPPERS_PRC_STDDEF_H
+#define TOPPERS_PRC_STDDEF_H
+
+/*
+ *  ^[Qbgð¯Ê·é½ßÌ}NÌè`
+ */
+#define TOPPERS_RL78				/* vZbTªÌ */
+
+#endif /* TOPPERS_PRC_STDDEF_H */
Index: /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_support.asm
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_support.asm	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_support.asm	(revision 93)
@@ -0,0 +1,307 @@
+;
+;  TOPPERS/SSP Kernel
+;      Smallest Set Profile Kernel
+; 
+;  Copyright (C) 2014 by Naoki Saito
+;             Nagoya Municipal Industrial Research Institute, JAPAN
+; 
+;  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+;  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+;  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+;  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+;      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+;      R[hÉÜÜêÄ¢é±ÆD
+;  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+;      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+;      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+;      ØKèðfÚ·é±ÆD
+;  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+;      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+;    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+;         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+;    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+;        ·é±ÆD
+;  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+;      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+;      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+;      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+; 
+;  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+;  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+;  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+;  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+;  íÈ¢D
+; 
+; 
+
+;
+;  J[lÀÌvZbTË¶ª
+;
+
+;
+;  }Nè`ÌCN[h
+;
+$INCLUDE(prc_support_def.inc)
+
+;
+;  O[oV{
+;
+	; RpCªgp·é saddrÌæÌWX^
+	extrn	_@RTARG0,_@RTARG2,_@RTARG4,_@RTARG6,_@SEGAX,_@SEGDE
+	extrn	_@NRARG0,_@NRARG1,_@NRARG2,_@NRARG3
+	extrn	_@NRAT00,_@NRAT02,_@NRAT04,_@NRAT06
+	; kernel_cfg.c
+	extrn	__kernel_istkpt     	; X^bN|C^Ìúl
+	; prc_config.c
+	extrn	_t_lock_cpu         	; CPUbNóÔÖÌÚs
+	extrn	__kernel_intnest    	; ÝÌlXgJE^
+	extrn	__kernel_lock_flag  	; CPUbNtO
+	; task.c
+	extrn	__kernel_dispatcher 	; fBXpb`
+	extrn	__kernel_reqflg     	; fBXpb`vtO
+	extrn	__kernel_disdsp     	; fBXpb`Ö~óÔ
+	extrn	__kernel_search_schedtsk	; ÅDæxÌT[`
+	extrn	__kernel_run_task   	; ^XNÌJn
+	; startup.c
+	extrn	__kernel_exit_kernel	; J[lÌI¹
+
+	; prc_support.asm
+	public	__kernel_start_dispatch  	; fBXpb`ÌJn
+	public	__kernel_call_exit_kernel	; I¹ÌR[
+	public	__kernel_interrupt_entry 	; ÝÌüû(¤Ê)
+	public	__kernel_int_return      	; WX^ðAµÄÝ­¶³Ö^[
+	public	_unused_interrupt        	; ¢gpÝÌ
+
+;
+; RpCÅgp·ésaddrÌæÌWX^ðÛ¶
+;
+restore_saddr_regs	macro
+$if (ALLOC_REGVAR_TO_SADDR) ; -qr IvVðgp·éê 
+	pop	ax           	; WX^A 
+	movw	_@NRAT06, ax  	; 
+	pop	ax           	; 
+	movw	_@NRAT04, ax  	; 
+	pop	ax           	; 
+	movw	_@NRAT02, ax  	; 
+	pop	ax           	; 
+	movw	_@NRAT00, ax  	; 
+	pop	ax           	; 
+	movw	_@NRARG3, ax  	; 
+	pop	ax           	; 
+	movw	_@NRARG2, ax  	; 
+	pop	ax           	; 
+	movw	_@NRARG1, ax  	; 
+	pop	ax           	; 
+	movw	_@NRARG0, ax  	; 
+$endif 
+	pop	ax           	; WX^A 
+	movw	_@SEGDE, ax  	; 
+	pop	ax           	; 
+	movw	_@SEGAX, ax  	; 
+	pop	ax          	; 
+	movw	_@RTARG6, ax	; 
+	pop	ax          	; 
+	movw	_@RTARG4, ax	; 
+	pop	ax          	; 
+	movw	_@RTARG2, ax	; 
+	pop	ax          	; 
+	movw	_@RTARG0, ax	; 
+	endm
+
+;
+;  X^bN|C^ðú»
+;
+reset_sp	macro
+	movw	de, #__kernel_istkpt
+	mov 	es, #00H
+	movw	ax, es:[de]
+	movw	sp, ax
+	endm
+	
+;
+;  PSW Ì ISP1 = 1, ISP0 = 1 ÉµÄÝÌ}XNðð·é
+;
+clear_pswisp_mask	macro
+	mov	a, psw
+	and a, #0f9h
+	or 	a, #06h 	; PSW.ISP{1,0}=(1,1)
+	mov psw, a
+	endm
+
+@@CODE	CSEG	BASE
+
+;
+;  J[lÌ®ìJnÉKvÆ³êéãnðs¤½ßÌÖ
+;  sta_ker(startup.c) ©çÄÑo³êéD
+;
+__kernel_start_dispatch:
+	;
+	;  CPUbNóÔÆSÝbNóÔÆðæÊ·éKvª éêC
+	;  CPUbNóÔÉµCSÝbNÌóÔðð·éD
+	;
+	call !!_t_lock_cpu
+$_IF (TMIN_INTPRI_EQU_MINUS4)
+	clear_pswisp_mask
+$ELSE
+	ei
+$ENDIF
+	;
+	;  X^bN|C^ðú»·é
+	;  sta_ker ©ç start_dispatch ÌÖR[ÉæéX^bNÁïªð
+	;  NA·é½ßCX^bN|C^ðú»·éD
+	;
+	reset_sp
+
+	;
+	;  dispatcher (task.c) ÖWv·é
+	;  ÖR[ÉµÈ¢ÌÍX^bNðßñ·é½ßD
+	;
+	; dispatcher (kernel/task.c) ÌÄÑoµ
+	br	!!__kernel_dispatcher
+
+
+;
+;  I¹ÌÄÑoµ
+;  X^bN|C^ðú»µCexit_kernel ðÄÑo·D
+;
+ __kernel_call_exit_kernel:
+	reset_sp
+	br	__kernel_exit_kernel
+
+
+@@BASE	CSEG	BASE
+
+;
+;  Ý/CPUáOÌoüû(¤Ê)
+;    J[lÇÌÝÜ½ÍCPUáOÌêÉWX^Û¶ãCÄÑo³êéD
+;
+;   Oñð
+;	EPSWWX^ÌIErbg=0, ISPÍót¯½ÝÌISP.
+;	EnhÌAhXª bc Éi[³êÄ¢é.
+;   ECPUáOnhÌüû©ç½êCX^bN|C^Ì
+;     æªÔn(p_excinf)ª ax Éi[³êÄ¨èC
+;     ±êÍCPUáOnhÌø(p_excinf)ÆµÄ»ÌÜÜn³êéD
+;
+;	WX^ªX^bNãÉÇÌæ¤ÉÛ¶³êÄ¢é©ðÈºÉ¦·.
+;	}ÍÀÑÌÝð\»µ½àÌÅ èCTCYðl¶µÄ¢È¢±ÆÉÓ·éD
+;	³mÉÍf[^V[gðQÆÌ±ÆD
+;	±Ì}ÅÍãªáÊ, ºªÊÌAhXÅ, X^bNÍ}Ìº¤©ç
+;	ãûüÉü©ÁÄÏÝã°çêéàÌÆ·é.
+;
+;	¦1 saddrÌæÌ[NGAÍRpCIvV -qr ðwè·éêÉ
+;       Û¶ªKvÅ èCÊíÍÛ¶µÈ¢DÛ¶·éêÍAZuIvV
+;       ÉÄuALLOC_REGVAR_TO_SADDRvðè`·é±ÆD
+;
+;	¦2 CPUáOÌüûðoRµ½êÌÝÛ¶³êé
+;
+;
+;	---------------<-- p_excinf(¦)
+;	|  saddrÌæ   |
+;	|[NpGA|
+;	|  (16byte)¦1 |
+;	---------------<-- p_excinf
+;	|  saddrÌæ   |
+;	|ZOgîñ|
+;	| i[pGA |
+;	|   (4byte)    |
+;	---------------
+;	|  saddrÌæ   |
+;	|  ^C  |
+;	|  øGA  |
+;	|   (8byte)    |
+;	---------------
+;	| ES,CS(2byte) |
+;	---------------
+;	|  HL(2byte)   |
+;	---------------
+;	|  DE(2byte)   |
+;	---------------
+;	|  BC(2byte)   |
+;	---------------
+;	|  AX(2byte)   |
+;	---------------
+;	|  PC(2byte)   |
+;	---------------
+;	|  PSW(1byte)  |
+;	---------------
+;
+;	nh©ç^[µ½ãÍ, ½dÝÅÈ­, ©ÂC
+;	reqflg ª TRUEC©ÂCdisdsp ª FALSE ÌÉCinterrupt_dispatch Öªò·éD
+;
+;	½dÝ©Ç¤©ÍÝlXgJE^ÌlÅ»è·é.
+;	intnest > 0 ÈçÎ½dÝÅ éÆ»è·é.
+;
+
+__kernel_interrupt_entry:
+	inc 	!__kernel_intnest   	; lXgJE^ðCNg
+	ei  	                    	; ÝÂ(IPLÍó¯t¯çê½ÝÌx)
+	call	bc                  	; ÝnhÄÑoµ
+	di  	                    	; ÝÖ~
+	dec 	!__kernel_intnest   	; lXgJE^ðfNg
+	bnz 	$__kernel_int_return 	; ßèæªñ^XNReLXg(ñ[)ÈçPÉ^[
+	movw	ax,!__kernel_reqflg  	; fBXpb`vª é©Ç¤©
+	cmpw	ax, #0
+	bz  	$__kernel_int_return 	; È¯êÎCPÉ^[
+	movw	ax, #0
+	movw	!__kernel_reqflg, ax 	; reqflg = FALSE ÉßµÄ¨­
+	movw	ax, !__kernel_disdsp 	; fBXpb`Ö~©Ç¤©
+	cmpw	ax, #0
+	bnz 	$__kernel_int_return 	; Ö~ÈçCPÉ^[
+
+;
+;  ÝÌoû(fBXpb`t«)
+;    CPU bNÌóÔÉÚsµCVK^XNðJn·é
+;
+;  OñðF
+;    PSWWX^ÌIEtO = 0 (ÝÖ~)
+;    PSWWX^ÌISP{1,0} = ó¯t¯½ÝÌÝx
+;
+__kernel_interrupt_dispatch:
+	call	!!_t_lock_cpu
+$_IF (TMIN_INTPRI_EQU_MINUS4)
+	clear_pswisp_mask
+$ELSE
+	ei
+$ENDIF
+	call	!!__kernel_search_schedtsk
+	movw	ax, bc
+	call	!!__kernel_run_task
+
+	; run_task ©çÌ^[ãÌóÔ: CPUbNóÔ
+	; __kernel_int_return Ì reti Å PSW Ì IE, ISP Í
+	; Ý­¶OÌóÔÉßé½ßClock_flag ¾¯³Éß·D
+	movw	ax, #0
+	movw	!__kernel_lock_flag, ax 	; lock_flag ðNA
+
+;
+;  WX^AµÄÝ©ç^[
+;
+__kernel_int_return:
+	restore_saddr_regs	; saddrÌæÌWX^A
+	pop 	ax          ; ES, CS ÌA 
+	mov 	cs, a       ; 
+	mov 	a, x        ; 
+	mov 	es, a       ; 
+	pop 	hl          ; WX^ðA 
+	pop 	de
+	pop 	bc
+	pop 	ax
+	reti
+
+;
+;  ³À[v(OÌ½ß)
+;
+_loop:
+	br	$_loop
+
+;
+;  ¢gpÝ
+;
+_unused_interrupt:
+	reti
+
+	end
Index: /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_unrename.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_unrename.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_unrename.h	(revision 93)
@@ -0,0 +1,50 @@
+/* This file is generated from prc_rename.def by genrename. */
+
+/* This file is included only when prc_rename.h has been included. */
+#ifdef TOPPERS_PRC_RENAME_H
+#undef TOPPERS_PRC_RENAME_H
+
+/*
+ *  prc_config.c
+ */
+#undef intnest
+#undef lock_flag
+#undef saved_ipl
+#undef start_dispatch
+#undef prc_initialize
+#undef prc_terminate
+#undef call_exit_kernel
+#undef x_config_int
+#undef interrupt_dispatch
+#undef intc_reg
+
+/*
+ *  kernel_cfg.c
+ */
+#undef intpri_table
+
+#ifdef TOPPERS_LABEL_ASM
+
+/*
+ *  prc_config.c
+ */
+#undef _intnest
+#undef _lock_flag
+#undef _saved_ipl
+#undef _start_dispatch
+#undef _prc_initialize
+#undef _prc_terminate
+#undef _call_exit_kernel
+#undef _x_config_int
+#undef _interrupt_dispatch
+#undef _intc_reg
+
+/*
+ *  kernel_cfg.c
+ */
+#undef _intpri_table
+
+#endif /* TOPPERS_LABEL_ASM */
+
+
+#endif /* TOPPERS_PRC_RENAME_H */
Index: /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_user.txt
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_user.txt	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/prc_user.txt	(revision 93)
@@ -0,0 +1,368 @@
+=====================================================================
+                         RL78vZbTË¶
+                                  Last Modified: '15/6/2
+=====================================================================
+
+
+(1) ÎµÄ¢é^[QbgVXeÌíÞE\¬
+
+RL78vZbTË¶(ÈºCRL78Ë¶)ÍClTXGNgjNX» RL78t@~
+ÌvZbTðåÈ^[QbgÆ·éDRL78t@~ÍC¢­Â©ÌO[vC
+»µÄÜ½»ÌO[vÌÉClXÈ^ÔÅ\»³êévZbTÌoG[Vª
+¶ÝµÄ¢éD
+
+½¾µC{vZbTË¶É¨¢ÄC»óÅÍCT|[g·é^[Qbg{[hÆÌÖW©çC
+RL78/G13 ÉÖ·éè`ÌÝðpÓµÄ¢éD
+
+
+(2) vZbTË¶Ìt@C\¬
+
+A^COSJ[lÌvZbTË¶ÆµÄÀ·éªÌÝðl¦½êC
+RL78Ë¶Ìè`ÍCåïÌêCSÄÌvZbTÉ¤Ê·éªÆC
+vZbTÌ^ÔÅÙÈéª(¦1)ÆÉR[hð®·é±ÆªÂ\Å éD
+ÙÈéªÉÂ¢ÄÍvZbT^ÔÉîÃ­t@CðpÓµÄ¢éD
+
+¦1 ÝÔCÝnhÔCyÑCÝ§äWX^ÌzuÈÇ
+
+ÈãæèCvZbTË¶ÌR[hÍCÈºÌ½¼K¥É]ÁÄpÓ³ê½
+t@CÖC¤ÊªÆÂÏªÆÉªÞµÄzu³êÄ¢éD
+
+prc_*  F SÄÌvZbTÉ¤Ê·éè`
+rl78g13_* ÈÇFvZbT^ÔÉÙÈéè`
+
+è`ÌzuÍT|[g·évZbTðâ·É©¼µªKvÆÈé©àµêÈ¢D
+àµ»óÌR[hzuÅssª¶¶éêÉÍT|[g[OXgÜÅ
+²A¸¯éÆK¢Å éD
+
+
+(3) gp·éJ­Â«Æ®ìØµ½ð
+
+RpCCyÑrhÇÉÍlTXGNgjNX»c[ðp¢éD
+®ìmFµ½o[WÍ^[QbgË¶ÌhL
+gÉLÚ·éD
+
+
+(4) ^[Qbgè`ÌKè
+
+(4-1) f[^^ÉÖ·éKè
+
+TOPPERS¤Êf[^^Ì¤¿CTOPPERSV¢ãJ[ldl(ÈºCdl)Å
+IvVµ¢Æ³êÄ¢éf[^^ðÎÛÉC^[QbgË¶ÅÌT|[góµÉÂ¢Ä
+Lq·éD±êçÌè`Í arch/ca78k0r/tool_stddef.h Åè`³êÄ¢é
+
+y®^z
+
+ET|[g
+	int8_t		t«8rbg®iIvVCC99j
+	uint8_t		³µ8rbg®iIvVCC99j
+	float32_t	IEEE754Ì32rbgP¸x®¬_iIvVj
+
+	±Ì¤¿Cfloat32_t ÍCIEEE754ÌP¸x®¬_Å éD
+
+E¢T|[g
+	int64_t		t«64rbg®iIvVCC99j
+	uint64_t	³µ64rbg®iIvVCC99j
+	double64_t	IEEE754Ì64rbg{¸x®¬_iIvVj
+	int128_t	t«128rbg®iIvVCC99j
+	uint128_t	³µ128rbg®iIvVCC99j
+
+yÅålCÅ¬lÌèz
+
+ET|[g
+	INT8_MAX			int8_tÉi[Å«éÅåliIvVCC99j
+	INT8_MIN			int8_tÉi[Å«éÅ¬liIvVCC99j
+	UINT8_MAX			uint8_tÉi[Å«éÅåliIvVCC99j
+	FLOAT32_MIN			float32_tÉi[Å«éÅ¬Ì³K»³ê½³Ì®¬_iIvVj
+	FLOAT32_MAX			float32_tÉi[Å«é\»Â\ÈÅåÌLÀ®¬_iIvVj
+
+E¢T|[g
+	INT64_MAX			int64_tÉi[Å«éÅåliIvVCC99j
+	INT64_MIN			int64_tÉi[Å«éÅ¬liIvVCC99j
+	UINT64_MAX			uint64_tÉi[Å«éÅåliIvVCC99j
+	DOUBLE64_MIN		double64_tÉi[Å«éÅ¬Ì³K»³ê½³Ì®¬_iIvVj
+	DOUBLE64_MAX		double64_tÉi[Å«é\»Â\ÈÅåÌLÀ®¬_iIvVj
+	INT128_MAX			int128_tÉi[Å«éÅåliIvVCC99j
+	INT128_MIN			int128_tÉi[Å«éÅ¬liIvVCC99j
+	UINT128_MAX			uint128_tÉi[Å«éÅåliIvVCC99j
+
+(4-2) ÝÉÖ·éKè
+
+(4-2-1) ÝnhÔÆÝÔÌÄC¼ÒÌÎ
+
+ÝnhÔ(inhno)ÆÝÔ(intno)ÍC¤ÉftHgvCIeBÌlðp¢éD
+¼ÒÍî{IÉ¯¶Ôª1Î1ÉÎ·éD]ÁÄgpÂ\ÈSÄÌÝÔÉÎµÄ
+ÝT[rX[`(ISR)ðo^Â\Å éD
+ÝÔCÝnhÔÍ <vZbT¼>.h t@CÅè`µÄ¢éD
+(á¦Î rl78g13.h ÈÇ)
+
+(4-2-2) ÝDæxÌiKiTMIN_INTPRIÌljC»ÌÝèû@
+
+J[lÇOÌÝÉÎ·éCDEF_INH,CFG_INTÍT|[g·éD
+»Ì½ßCRL78Ë¶Å CFG_INT Ìp[^ÆµÄwèÂ\ÈÝDæxÌlÍC
+RL78 ªÂÝDæxxÌlÌÍÍÉÎµÄ -1(=TMAX_INTPRI) ©ç -4 ÜÅÌ
+lðÝèÂ\Å é(¦2)(¦3)D½¾µCãq·éæ¤ÉCTMIN_INTPRI Åè`³êélÉ¶ÄC
+J[lÇyÑJ[lÇOÌÝnhÉwèÂ\ÈlÌÍÍªÏ»·éD
+
+CFG_INT ÅÝè³ê½ÝvCÉJ[lÇÌÝnhð
+o^·éêÍCTMAX_INTPRI ÈºCTMIN_INTPRI ÈãÌlðwèµÈ¯êÎÈçÈ¢D
+¼ûCJ[lÇOÌÝnhðo^·éÝvCðÝè·éêÍC
+TMIN_INTPRI æè¬³­C-4 ÈãÌlðwèµÈ¯êÎÈçÈ¢D
+
+(¦2) J[lÌÝfÌãÅÍÝDæxð -1 ©çnÜéÅ
+ @  \»·é±ÆÉÈÁÄ¢é½ßCªÂ¢Ä¢éD
+
+(¦3) TMIN_INTPRI ð -4 Éµ½êCCFG_INT ÅDæx -4 ÉÝèµ½ÝvöÍC
+CPUbNóÔÉµÈ¢Àè½dÉà½dÝªÂ\ÆÈé½ßCÓªKvÅ éD
+
+(4-2-3) J[lÇOÌÝ
+
+RL78Ë¶ÅÍCJ[lÇOÌÝðT|[gµÄ¢éD
+
+TMIN_INTPRI æè¢(lÆµÄÍæè¬³¢)ÝDæxÉÝè³ê½
+ÝvCÌÝÍCJ[lÇOÌÝÆµÄp¢é±Æª
+Â\Å éDJ[lÇOÌÝÍOSÀsàÖ~ÉÈé±ÆÍÈ­
+iµ§ÉÍÝÌoûÅ²­Z¢æÔÖ~³êéjCÝ­¶ÍC
+J[lÌR[hðoR¹¸ÉÄÑo³êéD
+
+TMIN_INTPRI ÍJ[lÇÌÝÉÝè·é±ÆÌÅ«éÝDæxÌÅl
+(lÆµÄÍÅ¬l)ðè`µ½}NÅCarch/m16c_ncxx/prc_kernel.h Å
+è`³êÄ¢éDùèÅÍC-3ÆÈÁÄ¢éD±ÌlÍ^[QbgË¶Åã«ªÂ\Å éD
+
+(4-2-4) J[lÇOÌÝÌÝèû@
+
+CFG_INT, DEF_INH ðp¢ÄJ[lÇOÌÝnhðo^·éêÌ§ñÍC
+(1) DEF_INH Åo^·éÝnhÌ®«ÆµÄ TA_NONKERNEL ðwè·é±ÆC
+yÑC(2) nho^æÌÝvCªàÂÝDæxÍC
+CFG_INT Éæè TMIN_INTPRI æè­ (lÆµÄÍ¬³¢l)ÉÝè·é±ÆC
+Å éD
+
+(4-2-5) J[lÇOÌÝnhÌLqû@
+
+J[lÇOÌÝnhÍCÈºÌæ¤ÉøCßèlª¤É void ÌÖ
+ÆµÄÀ·é±ÆD
+
+void
+interrupt_handler (void)
+{
+	/* nhÌàe */
+}
+
+(4-2-6) CFG_INT Å^[QbgÆ©ÉgpÅ«éÝ®«
+
+INTÝÉÖµÄÌÝCÝvCÌgK[hÌÝèðT|[g·éD
+ÝèÅ«éÌÍCÈºÌ¢¸ê©Å éD
+	E|WeBuGbW(gKÝ)FTA_POSEDGE
+	ElKeBuGbW(gKÝ)FTA_NEGEDGE
+	E¼GbW(gKÝ)FTA_BOTHEDGE
+
+(4-2-7) dis_intÆena_intÌT|[gÌL³C»Ì§À
+
+RL78Ë¶ÅÍ dis_int yÑ ena_int ðT|[g·éD§ÀÍÁÉÈ¢D
+
+TOPPERSÝfÉ¨¯éÝvÖ~tOÍ
+RL78vZbTÌÝ}XNEtOEWX^ªÎ·éD
+
+(4-2-8) ½dÝÌT|[g
+
+½dÝðÂ·éD½¾µCJ[lÇOÌÝÌêCÝnhÌÅ
+PSWWX^ÌIErbgð¾¦IÉZbgµCÝÂÉµÈ¯êÎ½dÝª
+LøÆÈçÈ¢½ßCÓªKvÅ éD
+
+Ü½ TMIN_INTPRI==-4 ÌêCCFG_INT Å -4 ÉÝèµ½ÝÍC
+CPUbNðóÔÉ¨¢Ä¯¶Dæx -4 ÌÝªÀsÅà
+½dÉÝªó¯t¯çêéD±êÍRL78ÌvZbTÌdlÉæéàÌÅC
+PSWÌIErbgª1Å éÀèC(vZbTà\»É¨¯é)x0ÌÝ
+(ÝfÅÍDæx-4ÌÝ)ÍCPSWÌISPðgpµ½
+xÉæéÝÌ}XNðs¤±ÆªÅ«È¢D
+
+ÝDæx-4 ÌJ[lÇÌÝnhÍCPUbNðóÔÅ
+N®³êé½ßCÓªKvÅ éD
+
+(4-2-9) ÝT[rX[`àÝnhào^µÄ¢È¢Ýv
+
+ éÝvCÅÝvðó¯t¯½ªC»ÌCÉÝT[rX[`yÑ
+ÝnhÌÇ¿çào^µÄ¢È¢êC_unused_interrupt (prc_support.asm) Ö
+Wv·éæ¤ÉRtBM
+[^ªÝxN^ð¶¬·éD»µÄC
+»±©ç¦ÀÉ^[·éæ¤ÉÈÁÄ¢éD
+
+
+(4-3) CPUáOÉÖ·éKè
+
+(4-3-1) CPUáOnhÔ
+
+RL78 Ë¶ÅÍBRK½ßÉæé\tgEFAÝðCPUáOÆµÄµ¤D
+CPUáOnhÔÆµÄ0 ðèUé±ÆÉ·éD
+
+eCPUáOÉÎ·é CPUáOnhÔÍÈºÌÊèD
+±êçÍ <vZbT¼>.h Åè`³êÄ¢éD
+
+		áO        áOÔ
+#define EXCNO_BRK   	0   	/* \tgEFAxN^Ý½ß */
+
+
+(4-3-2) nhðo^µÄ¢È¢CPUáOª­¶µ½Æ«
+
+­¶µ½CPUáOÉÎµÄCCPUáOnhªo^³êÄ¢È¢êC
+_unused_interrupt (prc_support.asm) ÖWv·éæ¤ÉRtBM
+[^ª
+ÝxN^ð¶¬·éD»µÄC»±©ç¦ÀÉ^[·éD
+
+(4-3-3) \tgEFAÝÌµ¢
+
+\tgEFAÝÉÎ·énhÍ DEF_EXC ÅÄÑo·±ÆÍÅ«È¢D
+êûCDEF_INH ðp¢ÄÄoµÂ\Å éªC\tgEFAÝÍµ§ÉÍ
+CPUáOÉ®·éàÌÅ èCµ©àm}XJuÅ é½ßC
+VXeR[ðÄÑo·ÈÇÌÊíÌÝnhÆ¯lÌgpÍð¯½
+ûª³ïÅ éD
+
+
+(4-4) CPUbNEÝbN
+
+ÝbNóÔÍCPSWWX^ÌIErbgÉæèÀ»µÄ¢éD
+IErbgª0ÌÆ«ÝbNóÔC1ÌÆ«ÝbNðóÔÆ·éD
+
+J[lÌCPUbNóÔÍCTMIN_INTPRI Åè`·élÉæèÙÈéD
+
+(4-4-1) TMIN_INTPRI ª -4 Ìê
+
+CPUbNóÔÍCPSWWX^ÌIErbgÉæèÀ»·éD
+IErbgª0ÌÆ«CPUbNóÔC1ÌÆ«CPUbNðóÔÆ·éD
+±ÌêCCPUbNÆÝbNÍ¯¶Å éD
+
+(4-4-2) TMIN_INTPRI ª -1 Èã -3 ÈºÌê
+
+PSWÌCT[rXEvCIeBtO(ISP{1,0})Ìlð
+(-TMIN_INTPRI+3) ÉÝè·é±ÆÅÀ»·éD
+á¦Î -3 ÌêCPSW WX^Ì ISP{1,0} ª (0,0) ÉÝè³êéD
+
+RL78 ÅÍCISP{1,0} ÉÝèµ½luÈã(lÆµÄÍ¬)vÌDæÊðÂÝª
+uÂv³êéCÆ¢¤dlÉÈÁÄ¢éDµ½ªÁÄC}XNµ½¢xæè
+êi¢lðZbg·éKvª éD
+
+
+(4-5) «\]¿pVXeÌQÆÉÖ·éKè
+
+get_utmðT|[g·é\èÅ éªÜ¾ÀµÄ¢È¢D
+
+
+(4-6) VXeú»èÌàe
+
+X^[gAbv[`ÍCVXeZbg¼ãÉÄÑo³êCÀsðJn·éD
+»ÌÛÌvZbTóÔÍÈºðOñÆµÄ¢éD
+	ESP, MAA Í¢ú»
+	EWX^oNÍ RB0
+	EPSWWX^ÌIEtOª0 (ÝbNóÔÆ¯ÌóÔ)
+	EPSWWX^ÌISP=(1,1)
+	EVXeNbNÍ¢ú»(àIV[^®ì 1MHz)
+	E¢ú»(àµ\tgEFAZbgðÆ©ÉÀµÄ¢êÎÛ³êÄ¢é)
+
+Ü¸CX^[gAbv[`Ì start (start.asm) ªÈºÌðs¤D
+	ISP, MAA Ìú»
+	ú»
+	sta_ker (startup.c) R[
+»µÄCtarget_initialize (target_config.c) ÉÄNbNÝèªsíêéD
+
+»ÌãCdispatcher (task.c) ðÀs·éOÉ CPUbNóÔ©ÂÝbNðóÔÉ
+µÄ¨­Kvª é½ßCstart_dispatch (prc_support.asm)É¨¢Ä
+PSW WX^Ì ISP yÑ IErbgðCÈºÌlÉZbg·éD
+
+(a) TMIN_INTPRI ª -1 Èº©Â -3 ÈãÌê
+	IPL=-(TMIN_INTPRI)+3 ©ÂCIErbg=1
+
+(b) TMIN_INTPRI==-4Ìê
+	IPL=3 ©ÂCIErbg=0
+
+³çÉCdispatcher Í³À[vÅ^[µÈ¢½ßCWvOÉ
+start_dispatch ÅX^bNÌú»ðsÁÄ¢éD
+
+
+(4-7) VXeI¹è
+
+VXeI¹Í call_exit_kernel (prc_support.asm) ÅX^bNðú»µC
+exit_kernel (startup.c) ðÄÑo·D
+
+»ÌãCtarget_exit (target_config.c) Å^[QbgË¶ÌI¹ðs¤D
+KèÅÍ³À[v³¹éÌÝÅÁÉ½àµÄ¢È¢D
+àµC^[QbgÅLÌI¹ðs¤Kvª éêCtarget_exit àµ­Í
+»±©çÄÑo³êéÖÅðÀ{·éD
+
+
+(5) ^C}hCoÖAÌîñ
+
+Å¬ZbgJ[lÌg£@\ÆµÄüúnhyÑA[nhª
+pÓ³êÄ¢éD±êçðgp·é½ßÉÍ^CeBbNð·é
+^C}hCoð^[QbgÅpÓ·éKvª éD
+
+
+(6) §À
+
+EJ[lÌRtBM
+[V
+	RtBM
+[VÌpX3irhãÌ\¬`FbNjÍsÁÄ¢È¢B
+	»Ì½ßC^XNCÝnhCÝT[rX[`CCPUáOnhC
+	ú»[`CI¹[`CüúnhCA[nhª
+	s³Å éêð E_PAR G[ÆµÄo·é±ÆªÅ«È¢D
+	]ÁÄAvP[VJ­ÉeXg·é±ÆÅ±êçÌÙíðo·éKvª éD
+
+E¶R[hCüsR[hÉÂ¢Ä
+	RL78vZbTË¶Í WindowsãÅ®ì·éJ­Â« CubeSuite+ ðp¢Ä
+	J­·é±ÆðOñÆµÄ¢éDTOPPERSvWFNg©çöJ³êé\[XpbP[WÍ
+	¶R[hÍSJIS, üsR[hÍ CR+LF ÆµÄöJµÄ¢éD
+
+
+(7) T|[gvZbTÌÇÁ
+
+(7-1) vZbTÌè`
+
+vZbTÉÙÈéÆµÄÍÈºÌª éD
+	ELøÈÝÔCÝnhÔCCPUáOnhÔÌÍÍ
+	EÝÔCÝnhÔCCPUáOnhÔÌèÄ
+
+]ÁÄCT|[g·évZbTðÇÁ·éêÉÍCÜ¸vZbT¼ÉîÃ­
+Ìt@CðpÓ·éDá¦Î RL78/G13 ÌêC
+	rl78g13.h
+		ÝÔCÝnhÔCCPUáOnhÔÌè`
+	rl78g13_config.h
+		ÝÔÌÅål(INTNO_MAX), LøÈÝÔ
+	rl78g13.tf
+		ECFG_INT, DEF_INH, ATT_ISR, DEF_EXC ÈÇÅwèÂ\Èp[^lÌè`
+			ELøÈÝÔCÝnhÔCCPUáOnhÔÌÍÍÌè`
+				$INTNO_VALID
+				$INHNO_VALID
+				$EXCNO_VALID
+			EÝÔCÝnhÔCCPUáOnhÔÌÍÍ(³ølàÜÞ)
+				$INTNO_RANGE 
+				$INHNO_RANGE 
+				$EXCNO_RANGE 
+
+»µÄ±êçªCrhßöÅgp³êéæ¤ÉC^[QbgË¶Ìt@C©ç
+±êçðCN[h·éD
+	rl78g13_config.h ÌêCtarget_config.h ©ç
+	rl78g13.h ÌêC<^[Qbg¼Ì>.h ©ç
+	rl78g13.tf ÌêC^[QbgË¶ÌCFGpev[gt@C(target.tf) ©ç
+		Etarget.tf ÅÍCprc.tf ðCN[h·éOÉCgp·é^[QbgvZbTÌ
+		@CFGpev[gt@C(±ÌêCrl78g13.tf)ðCN[h·é±ÆD
+
+Ü½C±êçÌt@C©çC»ê¼êÌt@CÉÎ·é¤ÊªÌ
+t@CðCN[h·é
+	rl78g13_config.h ÌêCprc_config.h ð
+	rl78g13.tf ÌêCprc.tf (M16Ct@~ÌSvZbTÉ¤ÊÌtf)ð
+
+ãLÈOÉCprc_ Åè`³êÄ¢éÌÉC±êÜÅÆÍÙÈéè`Ìdûð
+µÈ¯êÎÈçÈ¢àÌªoÄ­é©àµêÈ¢D»ÌêÍCè`Ìzuð
+ÏX·éKvª é½ßCT|[g[OXgÖñ¸¯êÎK¢Å éD
+ñ¸¢½êCÈ~Ìo[WAbvÉÄÎ·é\èÅ éD
+
+
+ÏXð
+2014/8/21  EVKì¬
+2014/9/05  ETMIN_INTPRI ª -4 ÌêÉàÎµ½½ßCÖAÓðÇLD
+2014/10/14 ETMIN_INTPRI ª -4 ÌêÌ½dÝÉÂ¢ÄÓðÇL(4-2-2,4-2-8)D
+           ETMIN_INTPRI ð -4 Éµ½êÉAZuÌIvVðÏX·é
+           @KvªÈ­ÈÁ½½ßCêLÚðíD(4-4-1)
+           EVXeú»èÅÌàeÉÂ¢Ä TMIN_INTPRI ª -4 ÌêðÇÁ(4-6)D
+2014/10/15 E½dÝÌÓÉÂ¢ÄêC³(4-2-8)D
+2015/6/2   ESSP-1.3.0Î
+Èã
Index: /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/rl78g13.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/rl78g13.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/rl78g13.h	(revision 93)
@@ -0,0 +1,352 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2008 by Witz Corporation, JAPAN
+ *  Copyright (C) 2010-2014 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+/*
+ *  RL78/G13ÉË¶·éè`
+ */
+
+
+#ifndef TOPPERS_RL78G13_H
+#define TOPPERS_RL78G13_H
+
+/*
+ *  CPUáOnhÔÌè`
+ */
+#define EXCNO_BRK	0	/* \tgEFAxN^Ý½ß */
+
+/*
+ *  ÝÔÌè`(ftHgvCIeBÌlðÝÔÆ·é)
+ */
+#define	INTNO_INTWDTI   	0	/* EHb`hbOE^C} */
+#define INTNO_INTLV1    	1	/* d³o */
+#define INTNO_INTP0     	2	/* [qüÍGbWo */
+#define INTNO_INTP1     	3	/* [qüÍGbWo */
+#define INTNO_INTP2     	4	/* [qüÍGbWo */
+#define INTNO_INTP3     	5	/* [qüÍGbWo */
+#define INTNO_INTP4     	6	/* [qüÍGbWo */
+#define INTNO_INTP5     	7	/* [qüÍGbWo */
+
+#define INTNO_INTST2    	8	/* UART2 MÌ]®¹Cobt@ó«Ý */
+#define INTNO_INTCSI20  	8	/* CSI20 Ì]®¹Cobt@ó«Ý */
+#define INTNO_IIC20     	8	/* IIC20 Ì]®¹ */
+
+#define INTNO_INTSR2    	9	/* UART2 óMÌ]®¹ */
+#define INTNO_INTSCI21  	9	/* CSI21 Ì]®¹ */
+#define INTNO_INTIIC21  	9	/* IIC21 Ì]®¹ */
+
+#define INTNO_SRE2      	10	/* UART2 óMÌÊMG[­¶ */
+#define INTNO_INTTM11H  	10	/* ^C}E`l11ÌJEg®¹Ü½ÍLv`®¹(8rbg^C}®ì) */
+
+#define INTNO_INTDMA0   	11	/* DMA0 Ì]®¹ */
+#define INTNO_INTDMA1   	12	/* DMA1 Ì]®¹ */
+
+#define INTNO_INTST0    	13	/* UART0 MÌ]®¹Cobt@ó«Ý */
+#define INTNO_INTCSI00  	13	/* CSI00 Ì]®¹, obt@ó«Ý */
+#define INTNO_INTIIC00  	13	/* IIC00 Ì]®¹ */
+
+#define INTNO_INTSR0    	14	/* UART0 óMÌ]®¹Cobt@ó«Ý */
+#define INTNO_INTCSI01  	14	/* CSI01 Ì]®¹, obt@ó«Ý */
+#define INTNO_INTIIC01  	14	/* IIC01 Ì]®¹ */
+
+#define INTNO_SRE0      	15	/* UART0 óMÌÊMG[­¶ */
+#define INTNO_INTTM01H  	15	/* ^C}E`l01ÌJEg®¹Ü½ÍLv`®¹(8rbg^C}®ì) */
+
+#define INTNO_INTST1    	16	/* UART1 MÌ]®¹Cobt@ó«Ý */
+#define INTNO_INTCSI10  	16	/* CSI10 Ì]®¹, obt@ó«Ý */
+#define INTNO_INTIIC10  	16	/* IIC10 Ì]®¹ */
+
+#define INTNO_INTSR1    	17	/* UART1 óMÌ]®¹Cobt@ó«Ý */
+#define INTNO_INTCSI11  	17	/* CSI11 Ì]®¹, obt@ó«Ý */
+#define INTNO_INTIIC11  	17	/* IIC11 Ì]®¹ */
+
+#define INTNO_SRE1      	18	/* UART1 óMÌÊMG[­¶ */
+#define INTNO_INTTM03H  	18	/* ^C}E`l03ÌJEg®¹Ü½ÍLv`®¹(8rbg^C}®ì) */
+
+#define INTNO_INTIICA0  	19	/* IICA0 ÊM®¹ */
+#define INTNO_INTTM00   	20	/* ^C}E`l00ÌJEg®¹Ü½ÍLv`®¹ */
+#define INTNO_INTTM01   	21	/* ^C}E`l01ÌJEg®¹Ü½ÍLv`®¹(16rbg/ºÊ8rbg^C}®ì) */
+#define INTNO_INTTM02   	22	/* ^C}E`l02ÌJEg®¹Ü½ÍLv`®¹ */
+#define INTNO_INTTM03   	23	/* ^C}E`l03ÌJEg®¹Ü½ÍLv`®¹(16rbg/ºÊ8rbg^C}®ì) */
+#define INTNO_INTAD     	24	/* A/DÏ·®¹ */
+#define INTNO_INTRTC     	25	/* A^CENbNÌèüúM/A[êvo */
+#define INTNO_INTIT     	26	/* 12rbgEC^[oE^C}ÌC^[oMo */
+#define INTNO_INTKR     	27	/* L[E^[EMo */
+
+#define INTNO_INTST3    	28	/* UART3 MÌ]®¹Cobt@ó«Ý */
+#define INTNO_INTCSI30  	28	/* CSI30 Ì]®¹, obt@ó«Ý */
+#define INTNO_INTIIC30  	28	/* IIC30 Ì]®¹ */
+
+#define INTNO_INTSR3    	29	/* UART3 óMÌ]®¹Cobt@ó«Ý */
+#define INTNO_INTCSI31  	29	/* CSI31 Ì]®¹, obt@ó«Ý */
+#define INTNO_INTIIC31  	29	/* IIC31 Ì]®¹ */
+
+#define INTNO_INTTM13   	30	/* ^C}E`l13ÌJEg®¹Ü½ÍLv`®¹(16rbg/ºÊ8rbg^C}®ì) */
+#define INTNO_INTTM04   	31	/* ^C}E`l04ÌJEg®¹Ü½ÍLv`®¹ */
+#define INTNO_INTTM05   	32	/* ^C}E`l05ÌJEg®¹Ü½ÍLv`®¹ */
+#define INTNO_INTTM06   	33	/* ^C}E`l06ÌJEg®¹Ü½ÍLv`®¹ */
+#define INTNO_INTTM07   	34	/* ^C}E`l07ÌJEg®¹Ü½ÍLv`®¹ */
+
+#define INTNO_INTP6     	35	/* [qüÍGbWo */
+#define INTNO_INTP7     	36	/* [qüÍGbWo */
+#define INTNO_INTP8     	37	/* [qüÍGbWo */
+#define INTNO_INTP9     	38	/* [qüÍGbWo */
+#define INTNO_INTP10     	39	/* [qüÍGbWo */
+#define INTNO_INTP11     	40	/* [qüÍGbWo */
+
+#define INTNO_INTTM10   	41	/* ^C}E`l10ÌJEg®¹Ü½ÍLv`®¹ */
+#define INTNO_INTTM11   	42	/* ^C}E`l11ÌJEg®¹Ü½ÍLv`®¹(16rbg/ºÊ8rbg^C}®ì) */
+#define INTNO_INTTM12   	43	/* ^C}E`l12ÌJEg®¹Ü½ÍLv`®¹ */
+
+#define INTNO_SRE3      	44	/* UART3 óMÌÊMG[­¶ */
+#define INTNO_INTTM13H  	44	/* ^C}E`l13ÌJEg®¹Ü½ÍLv`®¹(8rbg^C}®ì) */
+
+#define INTNO_INTMD     	45	/* Z½ßI¹/ÏaZÊÌI[o[t[­¶ */
+#define INTNO_INTIICA1  	46	/* IICA1 ÊM®¹ */
+#define INTNO_INTFL     	47	/* \ñ */
+#define INTNO_INTDMA2   	48	/* DMA2Ì]®¹ */
+#define INTNO_INTDMA3   	49	/* DMA3Ì]®¹ */
+#define INTNO_INTTM14   	50	/* ^C}E`l14ÌJEg®¹Ü½ÍLv`®¹ */
+#define INTNO_INTTM15   	51	/* ^C}E`l15ÌJEg®¹Ü½ÍLv`®¹ */
+#define INTNO_INTTM16   	52	/* ^C}E`l16ÌJEg®¹Ü½ÍLv`®¹ */
+#define INTNO_INTTM17   	53	/* ^C}E`l17ÌJEg®¹Ü½ÍLv`®¹ */
+
+
+/*
+ *  ÝnhÔÌè`
+ */
+#define	INHNO_INTWDTI   	INTNO_INTWDTI   	/* EHb`hbOE^C} */
+#define INHNO_INTLV1    	INTNO_INTLV1    	/* d³o */
+#define INHNO_INTP0     	INTNO_INTP0     	/* [qüÍGbWo */
+#define INHNO_INTP1     	INTNO_INTP1     	/* [qüÍGbWo */
+#define INHNO_INTP2     	INTNO_INTP2     	/* [qüÍGbWo */
+#define INHNO_INTP3     	INTNO_INTP3     	/* [qüÍGbWo */
+#define INHNO_INTP4     	INTNO_INTP4     	/* [qüÍGbWo */
+#define INHNO_INTP5     	INTNO_INTP5     	/* [qüÍGbWo */
+                        
+#define INHNO_INTST2    	INTNO_INTST2    	/* UART2 MÌ]®¹Cobt@ó«Ý */
+#define INHNO_INTCSI20  	INTNO_INTCSI20  	/* CSI20 Ì]®¹Cobt@ó«Ý */
+#define INHNO_IIC20     	INTNO_IIC20     	/* IIC20 Ì]®¹ */
+                        
+#define INHNO_INTSR2    	INTNO_INTSR2    	/* UART2 óMÌ]®¹ */
+#define INHNO_INTSCI21  	INTNO_INTSCI21  	/* CSI21 Ì]®¹ */
+#define INHNO_INTIIC21  	INTNO_INTIIC21  	/* IIC21 Ì]®¹ */
+                        
+#define INHNO_SRE2      	INTNO_SRE2      	/* UART2 óMÌÊMG[­¶ */
+#define INHNO_INTTM11H  	INTNO_INTTM11H  	/* ^C}E`l11ÌJEg®¹Ü½ÍLv`®¹(8rbg^C}®ì) */
+                        
+#define INHNO_INTDMA0   	INTNO_INTDMA0   	/* DMA0 Ì]®¹ */
+#define INHNO_INTDMA1   	INTNO_INTDMA1   	/* DMA1 Ì]®¹ */
+                        
+#define INHNO_INTST0    	INTNO_INTST0    	/* UART0 MÌ]®¹Cobt@ó«Ý */
+#define INHNO_INTCSI00  	INTNO_INTCSI00  	/* CSI00 Ì]®¹, obt@ó«Ý */
+#define INHNO_INTIIC00  	INTNO_INTIIC00  	/* IIC00 Ì]®¹ */
+                        
+#define INHNO_INTSR0    	INTNO_INTSR0    	/* UART0 óMÌ]®¹Cobt@ó«Ý */
+#define INHNO_INTCSI01  	INTNO_INTCSI01  	/* CSI01 Ì]®¹, obt@ó«Ý */
+#define INHNO_INTIIC01  	INTNO_INTIIC01  	/* IIC01 Ì]®¹ */
+                        
+#define INHNO_SRE0      	INTNO_SRE0      	/* UART0 óMÌÊMG[­¶ */
+#define INHNO_INTTM01H  	INTNO_INTTM01H  	/* ^C}E`l01ÌJEg®¹Ü½ÍLv`®¹(8rbg^C}®ì) */
+                        
+#define INHNO_INTST1    	INTNO_INTST1    	/* UART1 MÌ]®¹Cobt@ó«Ý */
+#define INHNO_INTCSI10  	INTNO_INTCSI10  	/* CSI10 Ì]®¹, obt@ó«Ý */
+#define INHNO_INTIIC10  	INTNO_INTIIC10  	/* IIC10 Ì]®¹ */
+                        
+#define INHNO_INTSR1    	INTNO_INTSR1    	/* UART1 óMÌ]®¹Cobt@ó«Ý */
+#define INHNO_INTCSI11  	INTNO_INTCSI11  	/* CSI11 Ì]®¹, obt@ó«Ý */
+#define INHNO_INTIIC11  	INTNO_INTIIC11  	/* IIC11 Ì]®¹ */
+                        
+#define INHNO_SRE1      	INTNO_SRE1      	/* UART1 óMÌÊMG[­¶ */
+#define INHNO_INTTM03H  	INTNO_INTTM03H  	/* ^C}E`l03ÌJEg®¹Ü½ÍLv`®¹(8rbg^C}®ì) */
+                        
+#define INHNO_INTIICA0  	INTNO_INTIICA0  	/* IICA0 ÊM®¹ */
+#define INHNO_INTTM00   	INTNO_INTTM00   	/* ^C}E`l00ÌJEg®¹Ü½ÍLv`®¹ */
+#define INHNO_INTTM01   	INTNO_INTTM01   	/* ^C}E`l01ÌJEg®¹Ü½ÍLv`®¹(16rbg/ºÊ8rbg^C}®ì) */
+#define INHNO_INTTM02   	INTNO_INTTM02   	/* ^C}E`l02ÌJEg®¹Ü½ÍLv`®¹ */
+#define INHNO_INTTM03   	INTNO_INTTM03   	/* ^C}E`l03ÌJEg®¹Ü½ÍLv`®¹(16rbg/ºÊ8rbg^C}®ì) */
+#define INHNO_INTAD     	INTNO_INTAD     	/* A/DÏ·®¹ */
+#define INHNO_INTRTC     	INTNO_INTRTC    	/* A^CENbNÌèüúM/A[êvo */
+#define INHNO_INTIT     	INTNO_INTIT     	/* 12rbgEC^[oE^C}ÌC^[oMo */
+#define INHNO_INTKR     	INTNO_INTKR     	/* L[E^[EMo */
+                        
+#define INHNO_INTST3    	INTNO_INTST3    	/* UART3 MÌ]®¹Cobt@ó«Ý */
+#define INHNO_INTCSI30  	INTNO_INTCSI30  	/* CSI30 Ì]®¹, obt@ó«Ý */
+#define INHNO_INTIIC30  	INTNO_INTIIC30  	/* IIC30 Ì]®¹ */
+                        
+#define INHNO_INTSR3    	INTNO_INTSR3    	/* UART3 óMÌ]®¹Cobt@ó«Ý */
+#define INHNO_INTCSI31  	INTNO_INTCSI31  	/* CSI31 Ì]®¹, obt@ó«Ý */
+#define INHNO_INTIIC31  	INTNO_INTIIC31  	/* IIC31 Ì]®¹ */
+                        
+#define INHNO_INTTM13   	INTNO_INTTM13   	/* ^C}E`l13ÌJEg®¹Ü½ÍLv`®¹(16rbg/ºÊ8rbg^C}®ì) */
+#define INHNO_INTTM04   	INTNO_INTTM04   	/* ^C}E`l04ÌJEg®¹Ü½ÍLv`®¹ */
+#define INHNO_INTTM05   	INTNO_INTTM05   	/* ^C}E`l05ÌJEg®¹Ü½ÍLv`®¹ */
+#define INHNO_INTTM06   	INTNO_INTTM06   	/* ^C}E`l06ÌJEg®¹Ü½ÍLv`®¹ */
+#define INHNO_INTTM07   	INTNO_INTTM07   	/* ^C}E`l07ÌJEg®¹Ü½ÍLv`®¹ */
+                        
+#define INHNO_INTP6     	INTNO_INTP6     	/* [qüÍGbWo */
+#define INHNO_INTP7     	INTNO_INTP7     	/* [qüÍGbWo */
+#define INHNO_INTP8     	INTNO_INTP8     	/* [qüÍGbWo */
+#define INHNO_INTP9     	INTNO_INTP9     	/* [qüÍGbWo */
+#define INHNO_INTP10     	INTNO_INTP10    	/* [qüÍGbWo */
+#define INHNO_INTP11     	INTNO_INTP11    	/* [qüÍGbWo */
+                        
+#define INHNO_INTTM10   	INTNO_INTTM10   	/* ^C}E`l10ÌJEg®¹Ü½ÍLv`®¹ */
+#define INHNO_INTTM11   	INTNO_INTTM11   	/* ^C}E`l11ÌJEg®¹Ü½ÍLv`®¹(16rbg/ºÊ8rbg^C}®ì) */
+#define INHNO_INTTM12   	INTNO_INTTM12   	/* ^C}E`l12ÌJEg®¹Ü½ÍLv`®¹ */
+                        
+#define INHNO_SRE3      	INTNO_SRE3      	/* UART3 óMÌÊMG[­¶ */
+#define INHNO_INTTM13H  	INTNO_INTTM13H  	/* ^C}E`l13ÌJEg®¹Ü½ÍLv`®¹(8rbg^C}®ì) */
+                        
+#define INHNO_INTMD     	INTNO_INTMD     	/* Z½ßI¹/ÏaZÊÌI[o[t[­¶ */
+#define INHNO_INTIICA1  	INTNO_INTIICA1  	/* IICA1 ÊM®¹ */
+#define INHNO_INTFL     	INTNO_INTFL     	/* \ñ */
+#define INHNO_INTDMA2   	INTNO_INTDMA2   	/* DMA2Ì]®¹ */
+#define INHNO_INTDMA3   	INTNO_INTDMA3   	/* DMA3Ì]®¹ */
+#define INHNO_INTTM14   	INTNO_INTTM14   	/* ^C}E`l14ÌJEg®¹Ü½ÍLv`®¹ */
+#define INHNO_INTTM15   	INTNO_INTTM15   	/* ^C}E`l15ÌJEg®¹Ü½ÍLv`®¹ */
+#define INHNO_INTTM16   	INTNO_INTTM16   	/* ^C}E`l16ÌJEg®¹Ü½ÍLv`®¹ */
+#define INHNO_INTTM17   	INTNO_INTTM17   	/* ^C}E`l17ÌJEg®¹Ü½ÍLv`®¹ */
+
+
+/*
+ *  Ý§äWX^è`
+ */
+#define TADR_IF0L	0xfffe0 	// ÝvtOEWX^
+#define TADR_IF2L	0xfffd0 	// ÝvtOEWX^
+#define TADR_MK0L	0xfffe4 	// Ý}XNEtOEWX^
+#define TADR_MK2L	0xfffd4 	// Ý}XNEtOEWX^
+#define TADR_PR00L	0xfffe8 	// DæÊwètOEWX^
+#define TADR_PR02L	0xfffd8 	// DæÊwètOEWX^
+#define TADR_EGP0	0xfff38 	// OÝ§¿ãªèGbWÂWX^
+#define TADR_EGP1	0xfff3a 	// OÝ§¿ãªèGbWÂWX^
+
+
+#define TADR_PER0	0xf00f0 	// üÓCl[uWX^0
+
+#define TBIT_PER0_TAU0EN	UINT8_C(0x01)	// ^C}EACEjbg0ÌüÍNbN§ä
+#define TBIT_PER0_SAU0EN	UINT8_C(0x04)	// VAEACEjbg0ÌüÍNbN§ä
+
+/*
+ *  NbN­¶ñH
+ */
+#define TADR_CMC	0xfffa0 	// NbN®ì[h§äWX^
+#define TADR_CKC	0xfffa4 	// NbN®ì[h§äWX^
+#define TADR_CSC	0xfffa1 	// NbN®ìXe[^X§äWX^
+#define TADR_OSTC	0xfffa2 	// ­UÀèÔJE^óÔWX^
+
+/*
+ *  ^C}EACÖAWX^(VXeeBbNp)
+ */
+#define TADR_TPS0	0xf01b6 	// ^C}ENbNIðWX^0
+#define TADR_TMR00	0xf0190 	// ^C}E[hEWX^00
+#define TADR_TDR00	0xfff18 	// ^C}Ef[^EWX^00
+#define TADR_TS0	0xf01b2 	// ^C}E`lâ~WX^0
+#define TADR_TT0	0xf01b4 	// ^C}E`lâ~WX^0
+
+#define TBIT_TTm_TTm0	UINT16_C(0x0001)
+#define TBIT_TSm_TSm0	UINT16_C(0x0001)
+#define TBIT_TTmL_TTm0	UINT8_C(0x01)
+#define TBIT_TSmL_TSm0	UINT8_C(0x01)
+
+/*
+ *  VAEACÖAWX^
+ */
+#define TADR_SPS0	0xf0126 	// VANbNIðWX^
+#define TADR_SMR00	0xf0110 	// VA[hWX^
+#define TADR_SMR01	0xf0112 	// VA[hWX^
+
+#define TADR_SCR00	0xf0118 	// VAÊM®ìÝèWX^
+#define TADR_SCR01	0xf011a 	// VAÊM®ìÝèWX^
+
+#define TADR_SDR00	0xfff10 	// VAf[^WX^0
+#define TADR_SDR01	0xfff12 	// VAf[^WX^0
+
+#define TADR_SOL0	0xf0134 	// VAoÍxWX^0
+#define TADR_SO0	0xf0128 	// VAoÍWX^0
+#define TADR_SOE0	0xf012a 	// VAoÍÂWX^0
+#define TADR_SSR00	0xf0100 	// VAXe[^XWX^00
+#define TADR_SSR01	0xf0102 	// VAXe[^XWX^01
+
+#define TADR_SS0	0xf0122 	// VA`lJnWX^0
+#define TADR_ST0	0xf0124 	// VA`lâ~WX^0
+
+#define TADR_SIR01	0xf010a 	// VAEtOENAEgKEWX^01 
+
+#define TADR_NFEN0	0xf0070 	// mCYEtB^ÂWX^0
+
+#define TBIT_SSRmn_BFF	UINT16_C(0x0020)	// `lnÌobt@WX^óÔ\¦tO
+#define TBIT_SSRmn_TSF	UINT16_C(0x0040)	// `lnÌÊMóÔ\¦tO
+#define TBIT_SSRmnL_BFF	UINT8_C(0x20)	// `lnÌobt@WX^óÔ\¦tO
+#define TBIT_SSRmnL_TSF	UINT8_C(0x40)	// `lnÌÊMóÔ\¦tO
+
+#define TBIT_SCRmn_TXEmn	UINT16_C(0x8000)	// `lnÌ®ì[h(M)
+#define TBIT_SCRmn_RXEmn	UINT16_C(0x4000)	// `lnÌ®ì[h(óM)
+
+/*
+ * I/O|[g
+ */
+#define TADR_PU0 	0xf0030
+#define TADR_POM0 	0xf0050
+#define TADR_PMC0	0xf0060
+#define TADR_PM0	0xfff20
+#define TADR_PM1	0xfff21
+#define TADR_P0 	0xfff00
+#define TADR_P1  	0xfff01
+#define TADR_POM1	0xf0051
+
+#define TADR_PIOR	0xf0077
+
+#define TBIT_PIOR_PIOR1	UINT8_C(0x02)
+
+/*
+ *  Äp|[gWX^
+ */
+#define TBIT_BIT0	0x01
+#define TBIT_BIT1	0x02
+#define TBIT_BIT2	0x04
+#define TBIT_BIT3	0x08
+#define TBIT_BIT4	0x10
+#define TBIT_BIT5	0x20
+#define TBIT_BIT6	0x40
+#define TBIT_BIT7	0x80
+
+
+#endif	/* TOPPERS_RL78G13_H */
Index: /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/rl78g13.tf
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/rl78g13.tf	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/rl78g13.tf	(revision 93)
@@ -0,0 +1,43 @@
+$ 
+$		`bvË¶ev[giRL78/G13pj
+$ 
+
+$ 
+$  ÝÔÆÝnhÔÌè`
+$ 
+$  RL78ÅÍÝÔÆÝnhÔª1Î1ÅÎ·éD
+$  ftHgvCIeBðÂ}XJuÝªÎÛÆÈéD
+$  ftHgvCIeBÌÔðÝÔÆ·éD
+$ 
+
+$INTNO_VALID = { 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,
+					31,32,33,34,35,36,37,38,39,40, 45, 47}$
+$INHNO_VALID = INTNO_VALID$
+
+$ 
+$  áOÔÌè`
+$ 
+$  áOÆµÄ BRK ÝÌÝÆ·éD
+$ 
+
+$EXCNO_VALID = { 0 }$
+
+$ 
+$  INTÝÌÔ
+$    INTP0--INTP11 ([qüÍGbWoÝ)ªY
+$ 
+
+$INTNO_INT = { 2,3,4,5,6,7, 35,36,37,38,39,40 }$
+
+$ 
+$  ÝÔCÝnhÔCáOÔÌÍÍ
+$ 
+
+$INTNO_RANGE = { 0 , 1,...,53 }$
+$INHNO_RANGE = INTNO_RANGE$
+$EXCNO_RANGE = { 0 }$
+
+$ 
+$  vZbTË¶Ìev[gt@C
+$ 
+$INCLUDE"rl78_ca78k0r/prc.tf"$
Index: /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/rl78g13_config.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/rl78g13_config.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/rl78g13_config.h	(revision 93)
@@ -0,0 +1,70 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2008 by Witz Corporation, JAPAN
+ *  Copyright (C) 2010-2014 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+/*
+ *		vZbTË¶W
+[iRL78/G13pj
+ *
+ *  ±ÌCN[ht@CÍCtarget_config.h ÌÝ©çCN[h³êéD
+ *  ¼Ìt@C©ç¼ÚCN[hµÄÍÈçÈ¢D
+ */
+
+
+#ifndef TOPPERS_RL78G13_CONFIG_H
+#define TOPPERS_RL78G13_CONFIG_H
+
+/*
+ *  ÝÔÌÅål
+ */
+#define INTNO_MAX	UINT_C(53)
+
+/*
+ *  wèÝÔªLøÈÝÔÌÍÍÉ é©Ç¤©Ì»è
+ */
+#define VALID_INTNO(intno) \
+ 	((0 <= (intno) && (intno) <= 27) \
+	| (31 <= (intno) && (intno) <= 40) \
+	| ((intno) == 45) \
+	| ((intno) == 47) )
+
+#include "rl78_ca78k0r/prc_config.h"
+
+#endif	/* TOPPERS_RL78G13_CONFIG_H */
Index: /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/segment_e.asm
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/segment_e.asm	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/segment_e.asm	(revision 93)
@@ -0,0 +1,50 @@
+;
+; ZOgè`
+;   ZOgöAhXðè`·é½ßCNðêÔÅãÉ·é
+;
+
+	PUBLIC	_?R_INIT, _?R_INIS, _?RLINIT
+	PUBLIC	_?INIT, _?DATA, _?INIS, _?DATS, _?INITL, _?DATAL
+
+VECTOR  	CSEG
+@@CALT  	CSEG	CALLT0
+SECID  	CSEG
+;OCDWORK 	CSEG
+
+; ROM
+@@CODE  	CSEG	BASE
+@@BASE  	CSEG	BASE
+@@LCODE 	CSEG	BASE
+@@LBASE 	CSEG	BASE
+@@CNST  	CSEG	MIRRORP
+@@R_INIT	CSEG	UNIT64KP
+_?R_INIT:
+@@R_INIS	CSEG	UNIT64KP
+_?R_INIS:
+@@CODEL 	CSEG
+@@LCODEL	CSEG
+@@CNSTL 	CSEG	PAGE64KP
+@@RLINIT	CSEG	UNIT64KP
+_?RLINIT:
+
+
+; RAM
+@@BITS  	BSEG
+@@INIT  	DSEG	BASEP
+_?INIT:
+@@DATA  	DSEG	BASEP
+_?DATA:
+@@INIS  	DSEG	SADDRP
+_?INIS:
+@@DATS  	DSEG	SADDRP
+_?DATS:
+@@INITL 	DSEG	UNIT64KP
+_?INITL:
+@@DATAL 	DSEG	UNIT64KP
+_?DATAL:
+@@CODER 	CSEG
+@@LCODER	CSEG
+@@CNSTR 	CSEG	MIRRORP
+@@CNSTLR	CSEG	PAGE64KP
+
+	END
Index: /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/segment_s.asm
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/segment_s.asm	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/segment_s.asm	(revision 93)
@@ -0,0 +1,68 @@
+;
+; ZOgè`
+;   ZOgæªAhXðè`·é½ßCNðêÔÅÉ·é
+;
+
+;
+; O[oV{
+;
+	extrn	_start
+
+	PUBLIC	_@R_INIT, _@R_INIS, _@RLINIT
+	PUBLIC	_@INIT, _@DATA, _@INIS, _@DATS, _@INITL, _@DATAL
+
+
+;
+; ZOgè`
+;
+VECTOR	CSEG
+	dw	_start
+
+@@CALT  	CSEG	CALLT0
+SECID  	CSEG
+;OCDWORK 	CSEG
+
+; IvVoCgÝè
+OPT	CSEG	OPT_BYTE
+	db	06eh	; WDT: C^[oÝðgpµÈ¢CJE^®ìÖ~
+	db	0ffh	; LVD: It
+	db	0efh	; HS[hCI`bvIV[^ 1MHz
+	db	085h	; I`bvfobOÂ, FØ¸sÉtbV
+ÁµÈ¢
+
+; ROM
+@@CODE  	CSEG	BASE
+@@BASE  	CSEG	BASE
+@@LCODE 	CSEG	BASE
+@@LBASE 	CSEG	BASE
+@@CNST  	CSEG	MIRRORP
+@@R_INIT	CSEG	UNIT64KP
+_@R_INIT:
+@@R_INIS	CSEG	UNIT64KP
+_@R_INIS:
+@@CODEL 	CSEG
+@@LCODEL	CSEG
+@@CNSTL 	CSEG	PAGE64KP
+@@RLINIT	CSEG	UNIT64KP
+_@RLINIT:
+
+; RAM
+@@BITS  	BSEG
+@@INIT  	DSEG	BASEP
+_@INIT:
+@@DATA  	DSEG	BASEP
+_@DATA:
+@@INIS  	DSEG	SADDRP
+_@INIS:
+@@DATS  	DSEG	SADDRP
+_@DATS:
+@@INITL 	DSEG	UNIT64KP
+_@INITL:
+@@DATAL 	DSEG	UNIT64KP
+_@DATAL:
+@@CODER 	CSEG
+@@LCODER	CSEG
+@@CNSTR 	CSEG	MIRRORP
+@@CNSTLR	CSEG	PAGE64KP
+
+	END
Index: /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/start.asm
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/start.asm	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/arch/rl78_ca78k0r/start.asm	(revision 93)
@@ -0,0 +1,213 @@
+;
+;  TOPPERS/SSP Kernel
+;      Smallest Set Profile Kernel
+; 
+;  Copyright (C) 2014 by Naoki Saito
+;             Nagoya Municipal Industrial Research Institute, JAPAN
+; 
+;  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+;  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+;  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+;  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+;      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+;      R[hÉÜÜêÄ¢é±ÆD
+;  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+;      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+;      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+;      ØKèðfÚ·é±ÆD
+;  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+;      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+;    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+;         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+;    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+;        ·é±ÆD
+;  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+;      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+;      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+;      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+; 
+;  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+;  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+;  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+;  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+;  íÈ¢D
+; 
+; 
+
+;
+; X^[gAbv[`
+;    vZbTÍS2RAC~fBAfðÎÛÆ·é
+;
+
+;
+; O[oV{
+;
+	; ZOgæªAhX(segment_s.asm)
+	extrn	_@R_INIT, _@R_INIS, _@RLINIT
+	extrn	_@INIT, _@DATA, _@INIS, _@DATS, _@INITL, _@DATAL
+
+	; ZOgöAhX(segment_e.asm)
+	extrn	_?R_INIT, _?R_INIS, _?RLINIT
+	extrn	_?INIT, _?DATA, _?INIS, _?DATS, _?INITL, _?DATAL
+
+	; X^bN|C^Ìúl(kernel_cfg.c)
+	extrn	__kernel_istkpt
+	
+	; J[lJn(kernel/startup.c)
+	extrn	_sta_ker
+	
+	; saddrÌæÌæªAhXCTCYiJÅè`j
+	extrn	_@SADBEG, _@SADSIZ
+	
+	; Gg|Cg
+	public	_start
+
+
+;
+; èè`
+;
+	; MAA(PMCÌrbg0): 0 Ü½Í 1
+	;   0ÌêC00000H--0FFFFH ð F0000H--FFFFFHÖ~[
+	;   1ÌêC10000H--1FFFFH ð F0000H--FFFFFHÖ~[
+INIT_MAA	EQU	0
+
+;
+; }Nè`
+;
+	; ZOgÔÌf[^Rs[(farÌROM©çnearÌRAMÖCsrcÌTCYª)
+copy_seg	macro src, dst
+	local	_1, _2
+	mov 	es, #highw	_@&src
+	movw	hl, #loww	_@&src
+	movw	de, #loww	_@&dst
+	br  	$_2
+_1:
+	mov 	a, es:[hl]
+	mov 	[de], a
+	incw	hl
+	incw	de
+_2:
+	movw	ax, hl
+	cmpw	ax, #loww _?&src
+	bnz 	$_1
+	endm
+
+	; ZOgÔÌf[^Rs[(farÌROM©çfarÌRAMÖCsrcÌTCYª)
+copy_fseg	MACRO	src, dst
+	local	_1, _2
+	movw	hl, #loww	_@&src
+	movw	de, #loww	_@&dst
+	br  	$_2
+_1:
+	mov 	es, #highw	_@&src
+	mov 	a, es:[hl]
+	mov 	es, #highw	_@&dst
+	mov 	es:[de], a
+	incw	hl
+	incw	de
+_2:
+	movw	ax, hl
+	cmpw	ax, #loww _?&src
+	bnz 	$_1
+	endm
+
+	; ZOgÌf[^NA(near RAM)
+clear_seg	MACRO	dst
+	local	_1, _2
+	mov 	es, #0fh
+	movw	hl, #loww _@&dst
+	movw	ax, #loww _?&dst
+	br  	$_2
+_1:
+	mov 	[hl+0], #0
+	incw	hl
+_2:
+	cmpw	ax, hl
+	bnz 	$_1
+	endm
+
+	; ZOgÌf[^NA(far RAM)
+clear_fseg	MACRO	dst
+	local _1, _2
+	mov 	es, #highw _@&dst
+	movw	hl, #loww _@&dst
+	movw	ax, #loww _?&dst
+	br  	$_2
+_1:
+	mov 	es:[hl+0], #0
+	incw	hl
+_2:
+	cmpw	ax, hl
+	bnz 	$_1
+	endm
+
+;
+; VXeJn
+;
+@@CODE	CSEG	BASE
+_start:
+
+	;
+	; PSWÌÝè
+	;
+    di          	; ÝÖ~(ÝbNÌÝÖ~)
+	sel 	rb0 	; WX^oN(RB0)
+	
+	;
+	; ~[ÌæÌÝè
+	;
+	mov 	a, #INIT_MAA
+	mov1	cy, a.0
+	mov1	maa, cy
+
+	;
+	; X^bN|C^ÌÝè
+	;
+	movw	de, #__kernel_istkpt
+	mov 	es, #00H
+	movw	ax, es:[de]
+	movw	sp, ax
+
+	;
+	; _hardware_init_hook ÌÄÑoµ(àµ êÎ)
+	;
+	;call	!!_hardware_init_hook
+
+	;
+	; ú»
+	;
+	copy_seg	R_INIS, INIS
+	copy_seg	R_INIT, INIT
+	copy_fseg	RLINIT, INITL
+	
+	clear_seg	DATS
+	clear_seg	DATA
+	clear_fseg	DATAL
+
+	;  saddrÌæÌú»
+	mov	b,#_@SADSIZ
+	clrw	ax
+saddr_init_loop:
+	dec	b
+	dec	b
+	movw	_@SADBEG[b], ax
+	bnz	$saddr_init_loop
+
+	;
+	; _sofrware_init_hook ÌÄÑoµ(àµ êÎ)
+	;
+	;call	!!_software_init_hook
+	
+	;
+	; sta_ker (kernel/startup.c) ÌÄÑoµ
+	;
+	br	!!_sta_ker
+
+_loop:
+	br	$_loop
+
+	END
Index: /ssp_qb_r5f100le_cs/trunk/cfg/MANIFEST
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/cfg/MANIFEST	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/cfg/MANIFEST	(revision 93)
@@ -0,0 +1,5 @@
+PACKAGE ssp_cfg_executable
+
+MANIFEST
+cfg.exe
+ja.po
Index: /ssp_qb_r5f100le_cs/trunk/cfg/ja.po
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/cfg/ja.po	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/cfg/ja.po	(revision 93)
@@ -0,0 +1,327 @@
+#
+#  TOPPERS Software
+#      Toyohashi Open Platform for Embedded Real-Time Systems
+#
+#  Copyright (C) 2007-2008 by TAKAGI Nobuhisa
+# 
+#  ä¸è¨èä½æ¨©è
+ã¯ï¼ä»¥ä¸ã®(1)ã(4)ã®æ¡ä»¶ãæºããå ´åã«éãï¼æ¬ã½ããã¦ã§
+#  ã¢ï¼æ¬ã½ããã¦ã§ã¢ãæ¹å¤ãããã®ãå«ãï¼ä»¥ä¸åãï¼ãä½¿ç¨ã»è¤è£½ã»æ¹
+#  å¤ã»åé
+å¸ï¼ä»¥ä¸ï¼å©ç¨ã¨å¼ã¶ï¼ãããã¨ãç¡åã§è¨±è«¾ããï¼
+#  (1) æ¬ã½ããã¦ã§ã¢ãã½ã¼ã¹ã³ã¼ãã®å½¢ã§å©ç¨ããå ´åã«ã¯ï¼ä¸è¨ã®èä½
+#      æ¨©è¡¨ç¤ºï¼ãã®å©ç¨æ¡ä»¶ããã³ä¸è¨ã®ç¡ä¿è¨¼è¦å®ãï¼ãã®ã¾ã¾ã®å½¢ã§ã½ã¼
+#      ã¹ã³ã¼ãä¸­ã«å«ã¾ãã¦ãããã¨ï¼
+#  (2) æ¬ã½ããã¦ã§ã¢ãï¼ã©ã¤ãã©ãªå½¢å¼ãªã©ï¼ä»ã®ã½ããã¦ã§ã¢éçºã«ä½¿
+#      ç¨ã§ããå½¢ã§åé
+å¸ããå ´åã«ã¯ï¼åé
+å¸ã«ä¼´ããã­ã¥ã¡ã³ãï¼å©ç¨
+#      è
+ããã¥ã¢ã«ãªã©ï¼ã«ï¼ä¸è¨ã®èä½æ¨©è¡¨ç¤ºï¼ãã®å©ç¨æ¡ä»¶ããã³ä¸è¨
+#      ã®ç¡ä¿è¨¼è¦å®ãæ²è¼ãããã¨ï¼
+#  (3) æ¬ã½ããã¦ã§ã¢ãï¼æ©å¨ã«çµã¿è¾¼ããªã©ï¼ä»ã®ã½ããã¦ã§ã¢éçºã«ä½¿
+#      ç¨ã§ããªãå½¢ã§åé
+å¸ããå ´åã«ã¯ï¼æ¬¡ã®ããããã®æ¡ä»¶ãæºããã
+#      ã¨ï¼
+#    (a) åé
+å¸ã«ä¼´ããã­ã¥ã¡ã³ãï¼å©ç¨è
+ããã¥ã¢ã«ãªã©ï¼ã«ï¼ä¸è¨ã®è
+#        ä½æ¨©è¡¨ç¤ºï¼ãã®å©ç¨æ¡ä»¶ããã³ä¸è¨ã®ç¡ä¿è¨¼è¦å®ãæ²è¼ãããã¨ï¼
+#    (b) åé
+å¸ã®å½¢æ
+ãï¼å¥ã«å®ããæ¹æ³ã«ãã£ã¦ï¼TOPPERSãã­ã¸ã§ã¯ãã«
+#        å ±åãããã¨ï¼
+#  (4) æ¬ã½ããã¦ã§ã¢ã®å©ç¨ã«ããç´æ¥çã¾ãã¯éæ¥çã«çãããããªãæ
+#      å®³ãããï¼ä¸è¨èä½æ¨©è
+ããã³TOPPERSãã­ã¸ã§ã¯ããå
+è²¬ãããã¨ï¼
+#      ã¾ãï¼æ¬ã½ããã¦ã§ã¢ã®ã¦ã¼ã¶ã¾ãã¯ã¨ã³ãã¦ã¼ã¶ããã®ãããªãç
+#      ç±ã«åºã¥ãè«æ±ãããï¼ä¸è¨èä½æ¨©è
+ããã³TOPPERSãã­ã¸ã§ã¯ãã
+#      å
+è²¬ãããã¨ï¼
+# 
+#  æ¬ã½ããã¦ã§ã¢ã¯ï¼ç¡ä¿è¨¼ã§æä¾ããã¦ãããã®ã§ããï¼ä¸è¨èä½æ¨©è
+ã
+#  ãã³TOPPERSãã­ã¸ã§ã¯ãã¯ï¼æ¬ã½ããã¦ã§ã¢ã«é¢ãã¦ï¼ç¹å®ã®ä½¿ç¨ç®ç
+#  ã«å¯¾ããé©åæ§ãå«ãã¦ï¼ãããªãä¿è¨¼ãè¡ããªãï¼ã¾ãï¼æ¬ã½ããã¦ã§
+#  ã¢ã®å©ç¨ã«ããç´æ¥çã¾ãã¯éæ¥çã«çãããããªãæå®³ã«é¢ãã¦ãï¼ã
+#  ã®è²¬ä»»ãè² ããªãï¼
+
+# ãã®ãã¡ã¤ã«ã¯å¿
+ãUTF-8Nã§ä¿å­ãããã¨ã
+
+msgid "Generic options"
+msgstr "ä¸è¬ãªãã·ã§ã³"
+
+msgid "display this information"
+msgstr "ãã®æ
+å ±ãè¡¨ç¤ºãã"
+
+msgid "display cfg version number"
+msgstr "cfgã®ãã¼ã¸ã§ã³çªå·ãè¡¨ç¤ºãã"
+
+msgid "Configuration"
+msgstr "è¨­å®"
+
+msgid "kernel type (default: asp)"
+msgstr "ã«ã¼ãã«ç¨®å¥ (æ¢å®ã§ã¯asp)"
+
+msgid "run for pass #`arg\'"
+msgstr "ãã¹ #`arg\'ãå®è¡ãã"
+
+msgid "include path"
+msgstr "ã¤ã³ã¯ã«ã¼ããã¹"
+
+msgid "template file"
+msgstr "ä¸æãã¡ã¤ã«"
+
+msgid "character set of input file (default: ascii)"
+msgstr "å
+¥åãã¡ã¤ã«ã®æå­ã³ã¼ã (æ¢å®ã§ã¯ascii)"
+
+msgid "specify static API table"
+msgstr "éçAPIãã¼ãã«ãæå®ãã"
+
+msgid "specify cfg1 definition table"
+msgstr "cfg1å®ç¾©ãã¼ãã«ãæå®ãã"
+
+msgid "specify file name instead of `cfg1_out.srec\' (default: cfg1_out)"
+msgstr "`cfg1_out.srec\'ã«ä»£ãããã¡ã¤ã«åãæå®ãã (æ¢å®ã§ã¯cfg1_out)"
+
+msgid "ROM image (S-record)"
+msgstr "ROMã¤ã¡ã¼ã¸ (Sã¬ã³ã¼ã)"
+
+msgid "cfg directory"
+msgstr "cfgãã£ã¬ã¯ããª"
+
+msgid "msgcat(*.po) directory"
+msgstr "msgcat(*.po)ãã£ã¬ã¯ããª"
+
+msgid "destination directory"
+msgstr "åºåå
+ãã£ã¬ã¯ããª"
+
+msgid "output file for id assignment"
+msgstr "IDå²ãä»ãã®ããã®åºåãã¡ã¤ã«"
+
+msgid "input file for id assignment"
+msgstr "IDå²ãä»ãã®ããã®å
+¥åãã¡ã¤ã«"
+
+msgid "alignment of pointer to function"
+msgstr "é¢æ°ã¸ã®ãã¤ã³ã¿ã®å¢çèª¿æ´"
+
+msgid "output ID numbers as external `const\' object"
+msgstr "IDçªå·ãå¤é¨`const\'ãªãã¸ã§ã¯ãã¨ãã¦åºåãã"
+
+msgid "output dependencies of source file (for `make\')"
+msgstr "ã½ã¼ã¹ãã¡ã¤ã«ã®ä¾å­é¢ä¿ãåºå (`make\'ç¨)"
+
+msgid "Hidden options"
+msgstr "é ããªãã·ã§ã³"
+
+msgid "input file"
+msgstr "å
+¥åãã¡ã¤ã«"
+
+msgid "Allowed options"
+msgstr "æå®å¯è½ãªãªãã·ã§ã³"
+
+msgid "illegal options"
+msgstr "ä¸æ­£ãªãªãã·ã§ã³"
+
+msgid "illegal cfg pass #%d"
+msgstr "ä¸æ­£ãªcfgãã¹#%d"
+
+msgid "unknown error"
+msgstr "ä¸æãªã¨ã©ã¼"
+
+msgid "internal error"
+msgstr "å
+é¨ã¨ã©ã¼"
+
+msgid "pass # is not specified"
+msgstr "ãã¹çªå·ãæå®ããã¦ããªã"
+
+msgid "no input files"
+msgstr "å
+¥åãã¡ã¤ã«ãç¡ã"
+
+msgid "id file `%1%\' is invalid"
+msgstr "IDãã¡ã¤ã«`%1%\'ãä¸æ­£"
+
+msgid "`%1%\' is undefined"
+msgstr "`%1%\'ãå®ç¾©ããã¦ããªã"
+
+msgid "static API `%1%\' is unknown"
+msgstr "æªç¥ã®éçAPI `%1%\'"
+
+msgid "cannot open file `%1%\'"
+msgstr "ãã¡ã¤ã«`%1%\'ããªã¼ãã³ã§ããªã"
+
+msgid "check complete"
+msgstr "ãã§ãã¯å®äº"
+
+msgid "too few arguments for `%1%\'"
+msgstr "`%1%\'ã«å¯¾ããå®å¼æ°ãå°ãªããã"
+
+msgid "too many arguments for `%1%\'"
+msgstr "`%1%\'ã«å¯¾ããå®å¼æ°ãå¤ããã"
+
+msgid "warning"
+msgstr "è­¦å"
+
+msgid "error"
+msgstr "ã¨ã©ã¼"
+
+msgid "too many errors"
+msgstr "ã¨ã©ã¼ãå¤ããã"
+
+msgid "fatal error"
+msgstr "è´å½çã¨ã©ã¼"
+
+msgid "I/O error"
+msgstr "I/Oã¨ã©ã¼"
+
+msgid "end of line"
+msgstr "è¡æ«"
+
+msgid "missing `%1%\' before %2%"
+msgstr "%2%ã®åã«`%1%\'ããªã"
+
+msgid "non-value is referred"
+msgstr "å¤ã§ã¯ãªãã®ã«åç
+§ãããã¨ãã"
+
+msgid "`%1%\' does not have a value"
+msgstr "`%1%\'ã¯å¤ãæããªã"
+
+msgid "shift with nagative value `%1%\'"
+msgstr "è² ã®å¤`%1%\'ã«ããã·ãã"
+
+msgid "shift with too large value `%1%\'"
+msgstr "å¤§ããããå¤`%1%\'ã«ããã·ãã"
+
+msgid "negative value `%1%\' is shift"
+msgstr "è² ã®å¤`%1%\'ãã·ããããã"
+
+msgid "overflow at `%1%\'"
+msgstr "`%1%\'ã§ãªã¼ãã¼ã¼ãã­ã¼"
+
+msgid "devide by zero"
+msgstr "0ã«ããé¤ç®"
+
+msgid "function `%1%\' is undefined"
+msgstr "é¢æ°`%1%\'ã¯å®ç¾©ããã¦ããªã"
+
+msgid "illegal arithmetic sequence"
+msgstr "ä¸æ­£ãªç­å·®æ°å"
+
+msgid "syntax error"
+msgstr "æ§æã¨ã©ã¼"
+
+msgid "illegal character `%1%\' is found"
+msgstr "ä¸æ­£ãªæå­`%1%\'ãç¾ãã"
+
+msgid "`#%1%\' is not supported"
+msgstr "`#%1%\'ã¯ãµãã¼ããã¦ããªã"
+
+msgid "`%1%\'' is illegal object identifier"
+msgstr "`%1%\'ã¯ä¸æ­£ãªãªãã¸ã§ã¯ãè­å¥å­"
+
+msgid "magic number is not found in `%1%\'"
+msgstr "`%1%\'ã®ä¸­ã«ãã¸ãã¯ãã³ãã¼ãè¦ã¤ãããªã"
+
+msgid "`%1%\' is corrupted"
+msgstr "`%1%\'ãå£ãã¦ãã"
+
+msgid "E_NOEXS: `%1%\' is undefined"
+msgstr "E_NOEXS: `%1%\'ã¯å®ç¾©ããã¦ããªã"
+
+msgid "probably, %1% argument of `%2%\' is illegal"
+msgstr "ããããã%2%ã®%1%å®å¼æ°ã¯ä¸æ­£"
+
+msgid "1st"
+msgstr "ç¬¬1"
+
+msgid "2nd"
+msgstr "ç¬¬2"
+
+msgid "3rd"
+msgstr "ç¬¬3"
+
+msgid "missing token `%1%\'"
+msgstr "å­å¥`%1%\'ããªã"
+
+msgid "illegal token `%1%\'"
+msgstr "ä¸æ­£ãªå­å¥`%1%\'"
+
+msgid "`%1%\' is duplicated"
+msgstr "`%1%\'ãéè¤ãã¦ãã"
+
+msgid "`%1%\' of #%2% is null pointer"
+msgstr "#%2%ã®`%1%\'ãç©ºãã¤ã³ã¿"
+
+msgid "`%1%\' of #%2% is not aligned on `%3%\' bytes boundary"
+msgstr "#%2%ã®`%1%\'ã%3%ãã¤ãå¢çã«æ´åãã¦ããªã"
+
+msgid "illegal %1% `%2%\' in %3%"
+msgstr "%3%ã«ããã%1% `%2%\'ãä¸æ­£"
+
+msgid "illegal %1% `%2%\' of `%3%\' in %4%"
+msgstr "%4%ã«ããã`%3%\'ã®%1% `%2%\'ãä¸æ­£"
+
+msgid "too large %1% `%2%\' of `%3%\' in %4%"
+msgstr "%4%ã«ããã`%3%\'ã®%1% `%2%\'ãå¤§ãããã"
+
+msgid "illegal %1% `%2%\' of %3% `%4%\' in %5%"
+msgstr "%5%ã«ããã%3% `%4%\'ã®%1% `%2%\'ãä¸æ­£"
+
+msgid "%1% `%2%\' in %3% is duplicated"
+msgstr "%3%ã«ããã%1% `%2%\'ãéè¤ãã¦ãã"
+
+msgid "%1% `%2%\' in %3% is duplicated with %4% `%5%\'"
+msgstr "%3%ã«ããã%1% `%2%\'ã%4 `%5%\'ã¨éè¤ãã¦ãã"
+
+msgid "%1% `%2%\' is not configured with %3%"
+msgstr "%1% `%2%\'ã%3ã«ãã£ã¦è¨­å®ããã¦ããªã"
+
+msgid "%1% `%2%\' corresponding to %3% `%4%\' is not configured with %5%"
+msgstr "%3% `%4%\'ã«å¯¾å¿ãã%1% `%2%\'ã%5ã«ãã£ã¦è¨­å®ããã¦ããªã"
+
+msgid "%1% `%2%\' configured for %3% `%4%\' is higher than %5%"
+msgstr "%3% `%4%\'ã«è¨­å®ããã¦ãã%1% `%2%\'ã%5ãããé«ã"
+
+msgid "%1% `%2%\' configured for %3% `%4%\' is lower than or equal to %5%"
+msgstr "%3% `%4%\'ã«è¨­å®ããã¦ãã%1% `%2%\'ã%5ãããåããä½ã"
+
+msgid "too many %1%"
+msgstr "%1%ãå¤ããã"
+
+msgid "%1% is not recommended when %2% is set to %3% in %4%"
+msgstr "%3%ã«%2%ãè¨­å®ããã¦ããå ´åã«ã¯%1%ã¨ãããã¨ã¯æ¨å¥¨ãããªã"
+
+msgid "`%1%\' id numbers do not continue"
+msgstr "`%1%\' IDçªå·ãé£ç¶ãã¦ããªã"
+
+msgid "object identifier `%1%\' is not used"
+msgstr "ãªãã¸ã§ã¯ãè­å¥å­ `%1%\'ã¯ä½¿ããã¦ããªã"
+
+msgid "%1% `%2%\' of `%3%\' in %4% is not aligned"
+msgstr "%4%ã«ããã`%3%\'ã®%1% `%2%\'ãã¢ã©ã¤ã³ãã¦ããªã"
+
+msgid "%1% `%2%\' of `%3%\' in %4% is null"
+msgstr "%4%ã«ããã`%3%\'ã®%1% `%2%\'ãNULLã§ãã"
+
+msgid "%1% `%2%\' in %3% is not aligned"
+msgstr "%3%ã«ããã%1% `%2%\'ãã¢ã©ã¤ã³ãã¦ããªã"
+
+msgid "%1% `%2%\' in %3% is null"
+msgstr "%3%ã«ããã%1% `%2%\'ãNULLã§ãã"
+
+msgid "no body of %1%"
+msgstr "%1%ã®æ¬ä½ããªã"
+
+msgid "E_OBJ: `%1%\' is duplicated"
+msgstr "E_OBJ: `%1%\'ãéè¤ãã¦ãã"
Index: /ssp_qb_r5f100le_cs/trunk/configure
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/configure	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/configure	(revision 93)
@@ -0,0 +1,280 @@
+#! /usr/bin/perl
+#
+#  TOPPERS Software
+#      Toyohashi Open Platform for Embedded Real-Time Systems/
+# 
+#  Copyright (C) 2001-2003 by Embedded and Real-Time Systems Laboratory
+#                              Toyohashi Univ. of Technology, JAPAN
+#  Copyright (C) 2006-2009 by Embedded and Real-Time Systems Laboratory
+#              Graduate School of Information Science, Nagoya Univ., JAPAN
+# 
+#  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+#  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+#  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+#  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+#       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+#      XR[hÉÜÜêÄ¢é±ÆD
+#  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+#      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+#      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+#      Ì³ÛØKèðfÚ·é±ÆD
+#  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+#      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+#      ÆD
+#    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+#        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+#    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+#        ñ·é±ÆD
+#  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+#      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+#      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+#      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+#      ÆÓ·é±ÆD
+# 
+#  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+#  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+#  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+#  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+#  ÌÓCðíÈ¢D
+# 
+#  @(#) $Id: configure 1733 2010-02-03 03:50:52Z ertl-hiro $
+# 
+
+use Getopt::Std;
+
+#  IvVÌè`
+#
+#  -T <target>			^[Qbg¼iK{j
+#  -A <applname>		AvP[VvO¼iftHgÍsample1j
+#  -a <appldir>			AvP[VÌfBNg¼
+#  -U <applobjs>		¼ÌAvP[VvOt@C
+#						i.ot@C¼ÅwèD¡wèÂj
+#  -L <kernel_lib>		J[lCuilibkernel.ajÌfBNg¼
+#						iÈªµ½êCJ[lCuàmake·éj
+#  -f					J[lðÖPÊÅRpC·é©Ç¤©Ìwè
+#  -D <srcdir>			J[lÌ\[XÌu©êÄ¢éfBNg
+#  -l <srclang>			vO~O¾êi»_ÅÍcÆc++ÌÝT|[gj
+#  -t <templatedir>		ev[gfBNgÌwèiftHgÍsamplej
+#  -m <makefile>		ev[gMakefile¼ÌwèiftHgÍMakefilej
+#  -d <dbgenv>			ÀsÂ«Ì¼Ì
+#  -r					g[XOL^ÌTvR[hðgp·é©Ç¤©
+#						Ìwè
+#  -p <perl>			perlÌpX¼i¾¦IÉwè·éêj
+#  -g <cfg>				RtBM
+[^icfgjÌpX¼
+
+#  gpá(1)
+#
+#  % ../configure -T dve68k_gcc -D GDB_STUB -A perf1 -a ../test -U histogram.o
+#
+#  gpá(2)
+#
+#  % ../configure -T macosx_gcc -L .
+#	AvP[VvOÍ sample1 ÉÈéD
+
+#
+#  IvVÌ
+#
+getopt("TAaULDltmdpg");
+
+#
+#  ÏÌú»
+#
+
+$target = $opt_T;
+$applname = $opt_A ? $opt_A : "sample1";
+$appldir = $opt_a ? $opt_a : "";
+$applobjs = $opt_U ? $opt_U : "";
+$kernel_lib = $opt_L ? $opt_L : "";
+$kernel_funcobjs = $opt_f ? "true" : "";
+$srclang = $opt_l ? $opt_l : "c";
+$makefile = $opt_m ? $opt_m : "Makefile";
+$dbgenv = $opt_d ? "TOPPERS_".$opt_d : "";
+$enable_trace = $opt_r ? "true" : "";
+
+#
+#  IuWFNgt@C¼Ìg£qðÔ·
+#
+sub get_objext {
+	local(@uname);
+
+	use POSIX;
+	@uname = uname();
+	if ($uname[0] =~ /^cygwin/i) {
+		return("exe");
+	}
+	else {
+		return("");
+	}
+}
+
+#
+#  vOÌêðõ·é
+#
+sub get_path {
+	local($progname, @pathlist) = @_;
+	local($path);
+
+	foreach $path (@pathlist) {
+		if (-x $path."/".$progname) {
+			return($path."/".$progname);
+		}
+	}
+	return("");
+}
+
+#
+#  t@CðÏ··é
+#
+sub convert {
+	local($infile, $outfile) = @_;
+	local($line, $varname, $varval);
+
+	print STDERR "configure: Generating $outfile from $infile.\n";
+	if (-f $outfile) {
+		print STDERR "configure: $outfile exists.",
+						"  Save as $outfile.bak.\n";
+		rename($outfile, $outfile.".bak");
+	}
+	unless (open(INFILE, $infile)) {
+		print STDERR "configure: can't open $infile\n";
+		exit(1);
+	}
+	unless (open(OUTFILE, "> ".$outfile)) {
+		print STDERR "configure: can't open $outfile\n";
+		exit(1);
+	}
+
+	while ($line = <INFILE>) {
+		chop $line;
+		while ($line =~ /^(.*)\@\(([A-Za-z_]+)\)(.*)$/) {
+			$line = $1.$vartable{$2}.$3;
+		}
+		print OUTFILE $line,"\n";
+	}
+
+	close(INFILE);
+	close(OUTFILE);
+}
+
+#
+#  Tvð©Â¯Ät@Cð¶¬·é
+#
+sub generate {
+	local($file, $mandatory) = @_;
+	local($path);
+
+	if ($sys) {
+		$path = $templatedir."/".$file.".".$cpu."-".$sys;
+		if (-f $path) {
+			convert($path, $file);
+			return;
+		}
+
+		$path = $templatedir."/".$file.".".$sys;
+		if (-f $path) {
+			convert($path, $file);
+			return;
+		}
+	}	
+
+	$path = $templatedir."/".$file.".".$cpu;
+	if (-f $path) {
+		convert($path, $file);
+		return;
+	}	
+
+	$path = $templatedir."/".$file;
+	if ($mandatory || -f $path) {
+		convert($path, $file);
+	}	
+}
+
+#
+#  \[XfBNg¼ðæèo·
+#
+$pwd = `pwd`; chop $pwd;
+if ($opt_D) {
+	$srcabsdir = $srcdir = $opt_D;
+}
+elsif ($0 =~ /(.*)\/configure/) {
+	$srcdir = $1;
+	if ($srcdir =~ /^\//) {
+		$srcabsdir = $srcdir;
+	}
+	else {
+		$srcabsdir = $pwd."/".$srcdir;
+	}
+}
+else {
+	$srcabsdir = $srcdir = $pwd;
+}
+
+$perl = $opt_p ? $opt_p : get_path("perl", ("/usr/local/bin", "/usr/bin"));
+$cfg = $opt_g ? $opt_g : "\$(SRCDIR)/cfg/cfg/cfg";
+$cfgfile = $opt_g ? $opt_g : $srcdir."/cfg/cfg/cfg";
+$templatedir = $opt_t ? $opt_t : $srcdir."/sample";
+
+#
+#  -TIvVÌmF
+#
+unless ($opt_T) {
+	print STDERR "configure: -T option is mandatory\n";
+	print STDERR "Installed targets are:\n";
+	foreach $targetname (<$srcdir/target/[a-zA-Z1-9]*>) {
+		$targetname =~ s|$srcdir/target/||;
+		print STDERR "\t$targetname\n";
+	}
+	exit(1);
+}
+
+#
+#  Ïe[uÌì¬
+#
+%vartable = ();
+$vartable{"TARGET"} = $target;
+$vartable{"APPLNAME"} = $applname;
+$vartable{"APPLDIR"} = $appldir;
+$vartable{"APPLOBJS"} = $applobjs;
+$vartable{"KERNEL_LIB"} = $kernel_lib;
+$vartable{"KERNEL_FUNCOBJS"} = $kernel_funcobjs;
+$vartable{"SRCDIR"} = $srcdir;
+$vartable{"SRCABSDIR"} = $srcabsdir;
+$vartable{"SRCLANG"} = $srclang;
+$vartable{"DBGENV"} = $dbgenv;
+$vartable{"ENABLE_TRACE"} = $enable_trace;
+$vartable{"PERL"} = $perl;
+$vartable{"CFG"} = $cfg;
+$objext = get_objext();
+$vartable{"OBJEXT"} = $objext;
+
+#
+#  ^[QbgfBNgÌ`FbN
+#
+
+if (! -d $srcdir."/target/".$target) {
+	print STDERR "configure: $srcdir/target/$target not exist\n";
+	exit(1);
+}
+
+#
+#  Makefile ÆAvP[Vt@CÌ¶¬
+#
+
+generate($makefile, 1);
+generate($applname.".c", 0);
+generate($applname.".cpp", 0);
+generate($applname.".h", 0);
+generate($applname.".cfg", 0);
+
+#
+#  cfg ªÅ«Ä¢é©Ì`FbN
+#
+
+if (!(-x ($objext == "" ? $cfgfile : $cfgfile.".".$objext))) {
+	print STDERR "Executable file of the configurator (cfg) is not found.\n";
+}
Index: /ssp_qb_r5f100le_cs/trunk/doc/configurator.txt
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/doc/configurator.txt	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/doc/configurator.txt	(revision 93)
@@ -0,0 +1,1606 @@
+
+		TOPPERS/SSPJ[l
+		RtBM
+[^dl
+
+		Îo[W: Release 1.3.0
+		ÅIXV: 2014N 5 19ú
+
+±ÌhL
+gÍCTOPPERS/SSPJ[lÌRtBM
+[^ªWIÉ¶
+¬·×«t@CÌàeÉÂ¢Äðàµ½àÌÅ éD^[QbgË¶É¶¬
+·éàeÉÂ¢ÄÍC±ÌhL
+gÌÍÍOÅ éD
+
+----------------------------------------------------------------------
+ TOPPERS/SSP Kernel
+     Toyohashi Open Platform for Embedded Real-Time Systems/
+     Smallet Set Profile Kernel
+
+ Copyright (C) 2005-2010 by Embedded and Real-Time Systems Laboratory
+             Graduate School of Information Science, Nagoya Univ., JAPAN
+ Copyright (C) 2012-2015 by Naoki Saito
+             Nagoya Municipal Industrial Research Institute, JAPAN
+
+ ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+     XR[hÉÜÜêÄ¢é±ÆD
+ (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+     pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+     Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+     Ì³ÛØKèðfÚ·é±ÆD
+ (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+     pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+     ÆD
+   (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+       ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+   (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+       ñ·é±ÆD
+ (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+     Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+     Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+     RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+     ÆÓ·é±ÆD
+ 
+ {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ ÌÓCðíÈ¢D
+ 
+ $Id: configurator.txt 659 2015-05-19 09:45:26Z nmir-saito $
+----------------------------------------------------------------------
+
+Ú
+
+E¶¬·ét@CÌíÞ
+EÃIAPIê
+EJ[l\¬Eú»wb_t@Cikernel_cfg.hj
+	(1) Åè¶¬ª
+	(2) IuWFNgÌè`
+	(3) IuWFNgÌIDÔÌè`
+EJ[l\¬Eú»t@Cikernel_cfg.cj
+	(1) Åè¶¬ª
+	(2) CN[hfBNeBui#includejÌ
+	(3) IuWFNgÌIDÔðÛ·éÏÌè`
+	(4) g[XO}NÌftHgè`
+	(5) eJ[lIuWFNgÉÖ·éè`
+		(5-1) ^XNÉÖ·éè`
+		(5-2) CxgtOÉÖ·éè`
+		(5-3) f[^L
+[ÉÖ·éè`
+		(5-4) üúnhÉÖ·éè`
+		(5-5) A[nhÉÖ·éè`
+	(6) ÝÉÖ·éè`
+		(6-1) ÝvCÉÖ·éè`
+		(6-2) ÝT[rX[`ÉÖ·éè`
+		(6-3) ÝnhÉÖ·éè`
+	(7) CPUáOÉÖ·éè`
+	(8) ¤LX^bNÌæÉÖ·éè`
+	(9) ^CCxgÇÉÖ·éè`
+	(10)eW
+[Ìú»ÖÌè`
+	(11)ú»[`ÌÀsÖÌè`
+	(12)I¹[`ÌÀsÖÌè`
+
+¶¬·ét@CÌíÞ
+
+SSPJ[lÌRtBM
+[^ÍCVXeRtBM
+[Vt@C
+ðµÄCJ[l\¬Eú»t@Cikernel_cfg.cjÆ\¬Eú
+»wb_t@Cikernel_cfg.hjð¶¬·éDÜ½CRtBM
+[^Ì
+ÌrÉCKvÈÔt@Cð¶¬·éD
+
+
+ÃIAPIê
+
+SSPJ[lÌRtBM
+[^ª·éÃIAPIÍÌÊèD
+
+(1) ^XNÇ@\
+	CRE_TSK(ID tskid, { ATR tskatr, intptr_t exinf, TASK task,
+						PRI itskpri, SIZE stksz, STK_T *stk })
+	DEF_EPR (ID tskid, { PRI exepri })
+
+(2) ¯úEÊM@\
+	CRE_FLG(ID flgid, { ATR flgatr, FLGPTN iflgptn })
+	CRE_DTQ(ID dtqid, { ATR dtqatr, uint_t dtqcnt, void *dtqmb })
+
+¦ dtqmb ª NULL ÅÈ¢êÍT|[gµÈ¢D
+
+(3) ÔÇ@\
+	CRE_CYC(ID cycid, { ATR cycatr, intptr_t exinf, CYCHDR cychdr,
+						RELTIM cyctim, RELTIM cycphs })
+	CRE_ALM(ID almid, { ATR almatr, intptr_t exinf, ALMHDR almhdr })
+
+(4) ÝÇ@\
+	CFG_INT(INTNO intno, { ATR intatr, PRI intpri })
+	ATT_ISR({ ATR isratr, intptr_t exinf, INTNO intno, ISR isr, PRI isrpri })
+	DEF_INH(INHNO inhno, { ATR inhatr, INTHDR inthdr })
+
+(5) CPUáOÇ@\
+	DEF_EXC(EXCNO excno, { ATR excatr, EXCHDR exchdr })
+
+(6) VXe\¬Ç@\
+	DEF_ICS({ SIZE istksz, STK_T *istk })
+	DEF_STK({ SIZE stksz, STK_T *stk })
+	ATT_INI({ ATR iniatr, intptr_t exinf, INIRTN inirtn })
+	ATT_TER({ ATR teratr, intptr_t exinf, TERRTN terrtn })
+
+±êçÌÃIAPIÌp[^ÌàCID^Ìp[^ÍIuWFNg¯Ê¼C
+|C^^iTASKCCYCHDRCALMHDRCISRCINTHDRCEXCHDRCINIRTNCTERRTNC
+STK_T *j¨æÑ intptr_t ^Ìp[^ÍêÊè®p[^Æ·éD
+»Ì¼Ìp[^ÍC®è®p[^Æ·éD
+
+
+J[l\¬Eú»wb_t@Cikernel_cfg.hj
+
+J[l\¬Eú»wb_t@Cikernel_cfg.hjÉÍCÌè`ð¶¬·éD
+
+(1) Åè¶¬ª
+
+kernel_cfg.hª¡ñCN[h³êéÌðh®½ßÌLqð¶¬·éDï
+ÌIÉÍCt@CÌæªÉÌsð¶¬·éD
+
+#ifndef	TOPPERS_KERNEL_CFG_H
+#define	TOPPERS_KERNEL_CFG_H
+
+Ü½Ct@CÌöÉÌsð¶¬·éD
+
+#endif	/* TOPPERS_KERNEL_CFG_H */
+
+(2) IuWFNgÌè`
+
+J[lªT|[g·éIuWFNgÌð}Nè`·évvZbTfB
+NeBui#definejð¶¬·éDïÌIÉÍCÌæ¤ÈLqð¶¬·éD
+
+#define TNUM_TSKID	<^XNÌ>
+#define TNUM_FLGID	<CxgtOÌ>
+#define TNUM_DTQID	<f[^L
+[Ì>
+#define TNUM_CYCID	<üúnhÌ>
+#define TNUM_ALMID	<A[nhÌ>
+
+(3) IuWFNgÌIDÔÌè`
+
+RtBM
+[^ªIDÔðèt¯½IuWFNgÌ¼OðCèt¯½
+IDÔÉ}Nè`·évvZbTfBNeBui#definejð¶¬·éD
+á¦ÎCÌæ¤ÈLqð¶¬·éD
+
+#define TASK1	1
+#define TASK2	2
+#define ALM1	1
+
+**************************************************************************
+SSPJ[lÌêCCRE_TSK É¨¯éN®DæxÌ¢ilÆµÄÍ¬³¢j
+ÔÉC1©çA±µ½lªIDÔÆµÄ»ê¼êÌ^XNÉèÄçêéD
+**************************************************************************
+
+
+J[l\¬Eú»t@Cikernel_cfg.cj
+
+(1) Åè¶¬ª
+
+kernel_cfg.cpÌwb_t@CÆID©®t¯Êt@CðCN[h
+·évvZbTfBNeBui#includejð¶¬·éDïÌIÉÍC
+Ìsð¶¬·éD
+
+#include "kernel/kernel_int.h"
+#include "kernel_cfg.h"
+
+(2) CN[hfBNeBui#includejÌ
+
+VXeRtBM
+[Vt@CÉÜÜêéC¾êvvZbTÌC
+N[hfBNeBui#includejÆ¯êÌfBNeBui#includej
+ð¶¬·éDá¦ÎC
+
+#include "sample1.h"
+
+Æ¢¤CN[hfBNeBuÉÎµÄC
+
+#include "sample1.h"
+
+Æ¢¤fBNeBuð¶¬·éD¶¬·éfBNeBuÌÍCVXe
+RtBM
+[Vt@CÅÌCN[hfBNeBuÌ
+Éêv³¹éD
+
+(3) IuWFNgÌIDÔðÛ·éÏÌè`
+
+RtBM
+[^ÉÎ·éIvVwèi--external-idjÉæèCRtB
+M
+[^ÍÏð¶¬·éDÏ¼Í ID Ôðèt¯½IuWFNg¼
+ÌöÉ "_id" ðtÁµ½¼ÌÆ·éDÏÌ^ÍCconst®«ðtÁµ½ID^
+ÆµCÏÌlÍèt¯½IDÔÆ·éDá¦ÎCÌæ¤ÈLqð¶¬·éD
+
+const ID TASK1_id = 1;
+const ID TASK2_id = 2;
+const ID ALM1_id = 1;
+
+(4) g[XO}NÌftHgè`
+
+kernel_cfg.cÌÅgp·ég[XO}NÌftHgè`ð¶¬·éD
+ïÌIÉÍCÌsð¶¬·éD
+
+#ifndef LOG_ISR_ENTER
+#define LOG_ISR_ENTER(intno)
+#endif /* LOG_ISR_ENTER */
+
+#ifndef LOG_ISR_LEAVE
+#define LOG_ISR_LEAVE(intno)
+#endif /* LOG_ISR_LEAVE */
+
+
+(5) eJ[lIuWFNgÉÖ·éè`
+
+VXeRtBM
+[Vt@CÉCIuWFNgð¶¬·éÃI
+APIuCRE_XXXvªÜÜêéeJ[lIuWFNgÉÖµÄCIuWFNg¶
+¬Ì½ßÌè`ð¶¬·éD
+
+RtBM
+[^ÍC¯¶íÞÌIuWFNgð¶¬·éÃIAPIðWßCe
+IuWFNgÉIDÔðèt¯éDIDÔÍC¼ÌIuWFNgÌIDÔÆ
+d¡ªÈ­CIDÔªA±·éæ¤Éèt¯éD
+
+RtBM
+[^ÍCIuWFNgÉèt¯éIDÔðwè·é½ßÌ
+IvVi--id-input-filejÀÑÉ IDÔðèt¯½IuWFNgÌ¼O
+¨æÑèt¯½IDÔÌgðt@CÉoÍ·é½ßÌIvV
+i--id-output-filejðÂDµ©µCSSPJ[lÅÍ±êçÌIvVÌ
+gpð´¥ÆµÄ ***Ö~*** ·éiRÍãqjD
+
+**************************************************************************
+yRz
+SSPJ[lÌêCu^XNIDÌêÉÀèvRtBM
+[^Í
+--id-input-file Ìwèàeð³·éD»êÍCCRE_TSKÅwèµ½N®Dæ
+xÌÝèlªDæ³êé½ßÅ éDÜ½C--id-output-file Åwèµ½t@C
+ÖÌoÍàeà --id-input-file Åwèµ½^XNIDÌlª»ÌÜÜoÍ³ê
+éD»ÌoÍàeÍ kernel_cfg.h ÖoÍ³êé^XNIDÌlÆÍ³ÖWÅ éD
+]ÁÄC¬ª¶¶é°êª é±Æ©çCSSPJ[lÅÍ --id-input-file 
+¨æÑ --id-output-file IvVðwèµÄÍÈçÈ¢D
+
+{ÈçÎC--kernel=ssp ¨æÑ --id-input-file ð¯Éwèµ½êÉ
+RtBM
+[VG[Æ·×«Æ±ëÅ éDµ©µC±êçÌIvV
+ÉÎ·éÍSÄRtBM
+[^àÅÀ{³êCev[gt@C
+(kernel.tf)ÅÍ·é±ÆªÅ«È¢D»_ÅÍRtBM
+[^ÌÎ
+ÉÂ¢Ä¢èÅ é½ßbèIÉ±Ìæ¤Èµ¢ÆµÄ¢éD
+**************************************************************************
+
+eJ[lIuWFNgÉÖ·éè`ÌWIÈ\¬ÍCÌÊèÅ éDI
+uWFNgÉæÁÄáOª éêÉÍCIuWFNgÌÅà¾·éD
+
+(a) ÅåÌIuWFNgIDÌÏÌè`
+
+ÅåÌIuWFNgIDðÂÏÌè`ð¶¬·éDïÌIÉÍCIuWFN
+gÌÈªLðuXXX^xxxvÆ·éÆCÌæ¤Èsð¶¬·éD
+
+const ID _kernel_tmax_xxxid = (TMIN_XXXID + TNUM_XXXID - 1);
+
+(b) IuWFNgÉKvÈÌæÌè`
+
+IuWFNgÉæÁÄÍCIuWFNgÉKvÈÌæÌè`ð¶¬·éD
+ïÌIÉÍCIuWFNgÌÅà¾·éD
+
+(c) IuWFNgÌú»ubNÌè`
+
+IuWFNgÌú»ubNÌè`ð¶¬·éDïÌIÉÍC
+	EIuWFNgÌÈªLðuXXX^xxxv
+	E®«ÚÌf[^^ðuYYYv
+	E®«ÚÌ¼Ìðuzzzv
+Æ·éÆCIuWFNgÌ®«ÚÉÌæ¤Èsð¶¬·éD
+
+const YYY _kernel_xxxinib_zzz[TNUM_XXXID] = {
+	<IuWFNgIDª1ÌIuWFNgÉÎ·é zzz Ìú»îñ>,
+	<IuWFNgIDª2ÌIuWFNgÉÎ·é zzz Ìú»îñ>,
+				cc
+	<IuWFNgIDªTNUM_XXXIDÌIuWFNgÉÎ·é zzz Ìú»îñ>,
+};
+
+IuWFNgÌú»îñÌ`®ÍCIuWFNg¨æÑ®«ÚÉÙÈéD
+ïÌIÉÍIuWFNgÌÅà¾·éD
+
+(d) IuWFNgÌRg[ubNÌè`
+
+IuWFNgÌRg[ubNÌè`ð¶¬·éDïÌIÉÍC
+	EIuWFNgÌÈªLðuXXX^xxxv
+	E®«ÚÌf[^^ðuYYYv
+	E®«ÚÌ¼Ìðuzzzv
+Æ·éÆCIuWFNgÌ®«ÚÉÌæ¤Èsð¶¬·éD
+
+YYY _kernel_xxxcb_zzz[TNUM_XXXID];
+
+IuWFNgÌRg[ubNÌ`®ÍCIuWFNg¨æÑ®«ÚÉÙÈéD
+ïÌIÉÍIuWFNgÌÅà¾·éD
+
+
+(5-1) ^XNÉÖ·éè`
+
+SSPJ[lÍC^XNªêÂàÈ¢P[XÉÎµÄ¢È¢½ßC^XNÉÖ·é
+è`ÍK¸¶¬µÈ¯êÎÈçÈ¢D
+
+^XNÌÈªLÍuTSKvutskvÅ éD
+½¾µC^XNú»ubNÌÏ¼Í _kernel_tinib_<®«Ú¼> Å éD
+iuTSK^tskvÉã¦ÄuT^tvðp¢Ä¢éjD
+^XNRg[ubNÍ¶ÝµÈ¢D
+
+^XNú»ubNÉÍCuCRE_TSKvÃIAPIÅwè³êéîñÉÁ¦ÄC
+uDEF_EPRvÃIAPIÅwè³êéîñðÜßéD
+
+ÈºÅÍCVXeRtBM
+[Vt@CÉÌÃIAPIªÜÜêÄ
+¢éÉ¶¬·×«îñÉÂ¢Äq×éD
+
+CRE_TSK(tskid, { tskatr, exinf, task, itskpri, stksz, stk });
+DEF_EPR(tskid, { exepri });
+
+¦ È~Ìú»îñÌzñÉi[³êéÍCN®DæxÌ¢ÆÈéD
+¦ ÈºÈçC^XNID ªN®DæxÌ¢ÔÅèÄçêé©çÅ éD
+
+(5-1-1) ^XNÌú»îñi^XN®«j
+
+^XN®«Ìú»îñÍCÌ`®Æ·éD
+
+const ATR _kernel_tinib_tskatr[TNUM_TSKID] = {(tskatr)};
+
+(5-1-2) ^XNÌú»îñig£îñj
+
+^XNÌg£îñÌú»îñÍCÌ`®Æ·éD
+
+const intptr_t _kernel_tinib_exinf[TNUM_TSKID] = {(intptr_t)(exinf)};
+
+(5-1-3) ^XNÌú»îñiN®Ônj
+
+^XNÌN®ÔnÌú»îñÍCÌ`®Æ·éD
+
+const TASK _kernel_tinib_task[TNUM_TSKID] = {(task)};
+
+(5-1-4) ^XNÌú»îñiÀsDæxj
+
+^XNÌÀsDæxÌú»îñÍCÌ`®Æ·éD
+iÀÛÉÍüs³ê¸C1sÅoÍ³êéj
+
+const TASK _kernel_tinib_epriority[TNUM_TSKID] = {
+	INT_PRIORITY(ÀsDæx)};
+
+ÀsDæxÌlÍ CRE_TSK ÌN®Dæx(itskpri) ¨æÑ
+DEF_EPR ÌÀsDæx(exepri) ÌÝèlð³ÉZo³êéD
+Zoû@ÉÂ¢ÄÍ(5-1-6)Éãq·éD
+
+(5-1-5) ready_primap ÌúlÌè`
+
+^XNÉÎµÄÍCrbg}bv ready_primap Ìúlîñð¶¬·éD
+^XN®«ÌÝèl©çêÓÉèßé±ÆªÅ«é©çÅ éD
+
+ïÌIÉÍÈºÌæ¤Èè`ð¶¬·éD
+
+const uint_t _kernel_init_rdypri = <ready_primapÌúl>;
+
+±±Å ready_primap ÌúlÍC^XN®«(tskatr)Ìl©çZo³êéD
+
+Ï _kernel_init_rdypri ÌerbgÍ»ê¼êÌ^XNÉÎ·éD
+^XNIDª1Ì^XNÍÅºÊrbg(LSB)ÉÎÃ¯çêÄ¨èC
+^XNIDÌlª1Â¦éÉ1ÂÊÌrbgª»ê¼êÎÃ¯çêéD
+á¦ÎC^XNIDª4Ì^XNÍÅºÊ©ç¦Ä4ÔÚÌrbgªÎ·éD
+
+^XN®«ÆµÄ TA_ACT ðÂ^XNÍC»Ì^XNÉÎ·érbgª
+1ÉÈéDTA_ACT ð½È¢êÍÎ·érbgª0ÉÈéD
+
+(5-1-6) DæxÌ\»
+
+DæxÌlÍCRtBM
+[Vt@CÌ CRE_TSK yÑ DEF_EPR ÉÄ
+wèµ½lð³ÉCRtBM
+[^ª©®IÉèÄéD
+lÌÍÍÍ TMIN_TPRI(=1) ©ç TMAX_TPRI ÌÍÍÌlðÆéD
+
+Ü½CRtBM
+[^ÉæèèÄçêéDæxÌlÆÍÊÉCø¦Ì
+Ï_©çvOÅgp³êéDæxÌà\»ª éD
+à\»ÌlÍ 0 ©ç (TMAX_TPRI-TMIN_TPRI) ÌÍÍÌlðÆéD
+DæxÆ»Ìà\»ÆÌÔÉÍ (à\» = Dæx - TMIN_TPRI)ÌÖWª éD
+
+^XNÌN®DæxÍCCRE_TSK Åwèµ½N®DæxÌ¢ÉilÆµÄÍ
+¬³¢ÉjCTMIN_TPRI(=1) ©çÍ¶ÜéA±µ½lªèÄçêéD
+ÂÜèC^XNÌN®DæxÌlÍ^XNID Éµ¢D
+
+^XNÌÀsDæxÌlÍCÈºÌû@ÅZo³êéD
+
+iPjY^XNÉÎµ DEF_EPR ÅÀsDæxðè`µÈ¢ê
+
+Y^XNÉÎµ DEF_EPR ÅÀsDæxðè`µÈ¢êC
+N®DæxÌlÆ¯¶lðÀsDæxÌlÆ·éD
+
+iQjY^XNÉÎµ DEF_EPR ÅÀsDæxðè`·éê
+
+Y^XNÉÎµ DEF_EPR ÅÀsDæxðè`µ½êC
+DEF_EPR Åwèµ½ÀsDæxÌÝèlCÀÑÉCSÄÌ^XNÉÎ·é
+N®DæxÌÝèl¨æÑRtBM
+[VÊÆµÄ¾çêéN®Dæx
+ÌlðàÆÉCÀsDæxÌlðZo·éD
+
+ÀsDæxÌlðZo·éû@ÍCuÀsÌ^XNªvGvg³êé/³êÈ¢v
+Æ¢¤ÖWªÛ¶³êéÍÍÅKØÈlªZo³êé±ÆðÓ}µ½àÌÅC
+ïÌIÈèÍÌæ¤ÉÈéD
+
+yÀsDæxÌZoè ¦±êðSÄÌ^XNÉÎµÄs¤z
+
+(1)  é^XNðIÔ(T1Æ·é)
+(2) T1 ÌÀsDæxÌÝèlÆ¯¶CÜ½ÍC»êæèàá¢(lÆµÄÍ
+å«¢)N®DæxÌÝèlðÂ^XNÌWÌÅCN®DæxÌ
+ÝèlªÅà¢ilÆµÄÍÅà¬³¢j^XNðT·(T2)
+(3) T2 ÌN®DæxÌlð T1 ÌÀsDæxÌlÆ·éD
+
+áj
+CRE_TSK(TASK1, { TA_NULL, 1, task1, 2, 10, NULL });
+CRE_TSK(TASK2, { TA_NULL, 3, task2, 6, 30, NULL });
+CRE_TSK(TASK3, { TA_NULL, 5, task3, 4, 50, NULL });
+CRE_TSK(TASK4, { TA_ACT,  7, task4, 8, 100, NULL });
+
+DEF_IPR(TASK1, { 1 } );
+DEF_IPR(TASK2, { 5 } );
+DEF_IPR(TASK3, { 3 } );
+DEF_IPR(TASK4, { 4 } );
+
+ÊÍÌæ¤ÉÈéF
+
+yN®Dæxz
+	TASK1FÝèl=2 ¨ (èÄçêé)N®Dæx=1
+	TASK2FÝèl=6 ¨ (èÄçêé)N®Dæx=3
+	TASK3FÝèl=4 ¨ (èÄçêé)N®Dæx=2
+	TASK4FÝèl=8 ¨ (èÄçêé)N®Dæx=4
+
+	N®DæxÌ¢ÉÀÑÖ¦éÆ
+	TASK1FÝèl=2 ¨ N®Dæx=1
+	TASK3FÝèl=4 ¨ N®Dæx=2
+	TASK2FÝèl=6 ¨ N®Dæx=3
+	TASK4FÝèl=8 ¨ N®Dæx=4
+
+yÀsDæxz
+	TASK1FÝèl=1
+	TASK3FÝèl=3
+	TASK2FÝèl=5
+	TASK4FÝèl=4
+
+E½ßµÉ TASK4 ÌêÌÀsDæxÌlðZoµÄÝéD
+	ETASK4 ÌÀsDæxÌÝèl(4)Æ¯¶Ü½Í»êæèàá¢N®
+	@DæxÌÝèlðàÂ^XNÌW = {TASK2,TASK3,TASK4}
+	EãL^XNÌWÌÅÅàN®DæxÌÝèlª¢àÌ = TASK3
+	EãL^XNÌN®DæxÌl = 2
+	E]ÁÄTASK4 ÌÀsDæxÌlÍ 2
+
+E¯lÉCTASK3 ÌêÍD
+	ETASK3 ÌÀsDæxÌÝèl(3)Æ¯¶Ü½Í»êæèàá¢N®
+	@DæxÌÝèlðàÂ^XNÌW = {TASK2,TASK3,TASK4}
+	EãL^XNÌWÌÅÅàN®DæxÌÝèlª¢àÌ = TASK3
+	EãL^XNÌN®DæxÌl = 2
+	E]ÁÄTASK3 ÌÀsDæxÌlÍ 2
+
+ÀsDæxÉÎ·éú»îñÌ kernel_cfg.c ÖÌÊÍÌæ¤ÉÈéD
+ÀÛÍ1sÅ\»³êéDÜ½CzñÖÌi[Í TASK1, TASK3, TASK2, 
+TASK4 ÌÅi[³êé±ÆÉÓ·éD
+¿ÈÝÉCINT_PRIORITY }NÍDæxÌlð»Ìà\»ÉÏ··é}NÅ
+ èCtask.h Åè`³êÄ¢éD
+
+const uint_t _kernel_tinib_epriority[TNUM_TSKID] =
+	 {INT_PRIORITY(1),INT_PRIORITY(2),INT_PRIORITY(3),INT_PRIORITY(2)};
+
+(5-1-7) X^bNÌæÝè
+
+SSPJ[lÅÍC^XNðÜÞSÄÌPÊª¯¶X^bNÌæð¤p·é
+æ¤ÉÝv³êÄ¢éD
+¤p³êéX^bNÌæÌ±Æðu¤LX^bNÌævÆÄÔD
+¤LX^bNÌæÌè`Í DEF_STK ðp¢Äs¤DÚµ­Í(9)ðQÆÌ±ÆD
+
+RtBM
+[^Í¤LX^bNÌæÌÝmÛµC^XNReLXgêpÌ
+X^bNÌæÍmÛµÈ¢D
+±Ì½ßCCRE_TSK ÅÍæªÔn stk ÆµÄ NULL ÌÝó¯t¯éD
+NULL ÈOÌlðwèµ½êCG[ÆÈéD
+
+Ü½CCRE_TSK Åwè·é^XNÌX^bNTCY stksz ÌlÍC
+DEF_STK ðp¢È¢êÉÍ¤LX^bNÌæÌTCYðè·é½ßÉp¢çêC
+DEF_STK ðp¢éêÉÍ DEF_STK Åwèµ½¤LX^bNÌæÌTCYð
+`FbN·é½ßÉp¢çêéD¦ (9-4) àQÆÌ±ÆD
+
+S^XNÉæéX^bNgpÊiÌèljÍCCRE_TSK Åwè·é
+X^bNTCY stksz, ¨æÑN®Dæx itskpriCÈçÑÉ DEF_EPR Å
+wè·éÀsDæx exepri ©çZo³êéDZoèÉÂ¢ÄÍßÅà¾·éD
+
+(5-1-8) S^XNÉæéX^bNgpÊÌZoû@
+
+S^XNÌX^bNgpÊÉÎ·évZÌî{IÈl¦ûÍC»ê¼êÌDæx²ÆÉC
+¯¶DæxðàÂ^XNÌÅÅàX^bNgpÊªå«¢àÌðIÑC»êçÌ
+X^bNgpÊð·×ÄÁZµ½àÌÆl¦é±ÆÅ éDÀÛÉÍvOÉæè
+»êæè­È­ÈéP[Xà¶Ýµ¾éªC»ÝÌÀÅÍl¦ûðP»µÄ¢éD
+
+SSPJ[lÌdlÅÍCÐÆÂÌN®DæxÉÂ«o^Â\È^XNÍ
+XêÂÅ éD»Ì½ßCDEF_EPR ÉæèÀsDæxðÝèµÈ¢êC
+·Èí¿CSÄÌ^XNÌÀsDæxª»ê¼êÌN®DæxÉµ¢
+êCe^XNÌX^bNgpÊðPÉÁZµ½àÌªCS^XNÉæé
+X^bNgpÊÆÈéD
+
+»êÉÎµCDEF_EPR ðp¢ÄÁèÌ^XNÉÎ·éÀsDæxðwèµC
+Y^XNÀsÌDæxðø«ã°éæ¤ÉÝèµ½êC{ÈçÎv
+Gvg³êéÍ¸ÌàÌª³êÈ­ÈéP[Xª¶¶CÊÆµÄS^XNÌ
+X^bNgpÊð­È­Å«éêª éD
+
+ÀsDæxðl¶µ½uS^XNÉæéX^bNgpÊvÌZoèÍ
+Ìæ¤ÉÈéi¦j
+(a)  é^XN©çÀsJnµC¼ÌÇÌæ¤È^XNÉvGvg³êé©C
+    »µÄÊIÉÇ¤¢¤vOÌÀsoHª¶Ýµ¾é©ðSÄñ·éD
+(b) »ê¼êÌêÌuS^XNÉæéX^bNgpÊvðßéD
+(c) ß½lÌÌÅålðIÔD
+
+¦ ÀÅÍCsvÈÌÈªàsÁÄ¢éªC±±ÅÍî{IÈl¦û
+   ÌÝð¦·D
+
+ZoèðïÌIÈáðp¢Äà¾·éD
+áÆµÄæÌ (5-1-6) Ìáðp¢éD
+ºÌè (a), (b), (c) ÍãÉ°½eÚÉÎµÄ¢éD
+
+CRE_TSK(TASK1, { TA_NULL, 1, task1, 2, 10, NULL });
+CRE_TSK(TASK2, { TA_NULL, 3, task2, 6, 30, NULL });
+CRE_TSK(TASK3, { TA_NULL, 5, task3, 4, 50, NULL });
+CRE_TSK(TASK4, { TA_ACT,  7, task4, 8, 100, NULL });
+
+DEF_IPR(TASK1, { 1 } );
+DEF_IPR(TASK2, { 5 } );
+DEF_IPR(TASK3, { 3 } );
+DEF_IPR(TASK4, { 4 } );
+
+(a)  é^XN(TASKn, n = 1,2,3,4)ðIð·é.
+    TASKn ÌÀsDæxæèà¢N®Dæx(lÆµÄÍ¬³¢)ðàÂ
+    ^XNÌWðT·D
+    »µÄuvGvg³êé^XN¨vGvg·é^XNvÌgðñ·éD
+
+ETASK1 É
+Ú·éÆC±êðvGvgÂ\È^XNÍ¶ÝµÈ¢D
+ETASK2 É
+Ú·éÆCÀsÍDæx 5 ÉÈèC±êðvGvgÂ\È
+@^XNÍ TASK1 ¨æÑ TASK3D
+ETASK3 É
+Ú·éÆCÀsÍDæx 3 ÉÈèC±êðvGvgÂ\È
+@^XNÍ TASK1 ¾¯D
+ETASK4 É
+Ú·éÆCÀsÍDæx 4 ÉÈèC±êðvGvgÂ\È
+@^XNÍ TASK1 ¾¯D
+
+µ½ªÁÄ±±ÅÍCÌgª¾çêéD
+	TASK2 ¨ TASK1
+	TASK2 ¨ TASK3
+	TASK3 ¨ TASK1
+	TASK4 ¨ TASK1
+
+S­vGvg³êÈ¢P[XC¨æÑCvGvgµ½^XNª³çÉ
+ÊÌ^XNÉvGvg³êéP[XÜÅl¶·éÆCÊIÉvOÌ
+ÀsoHÍÌæ¤ÉÈéÆl¦çêéD
+
+ETASK1 ©çnÜéP[XF 
+	TASK1 (vGvg³ê¸ÉI¹)
+
+ETASK2 ©çnÜéP[XF
+	TASK2
+	TASK2 ¨ TASK1 (TASK2©çÀsJnµÄCTASK1ÉvGvg³ê½)
+	TASK2 ¨ TASK3
+	TASK2 ¨ TASK3 ¨ TASK1
+
+ETASK3 ©çnÜéP[XF
+	TASK3
+	TASK3 ¨ TASK1
+
+ETASK4 ©çnÜéP[XF
+	TASK4
+	TASK4 ¨ TASK1
+
+(b) »ê¼êÌP[XÅX^bNgpÊðvZ·éD
+
+ETASK1 ©çnÜéP[XF 
+	TASK1F10
+
+ETASK2 ©çnÜéP[XF
+	TASK2F30
+	TASK2 ¨ TASK1F30+10
+	TASK2 ¨ TASK3F30+50
+	TASK2 ¨ TASK3 ¨ TASK1F30+50+10
+
+ETASK3 ©çnÜéP[XF
+	TASK3F50
+	TASK3 ¨ TASK1F50+10
+
+ETASK4 ©çnÜéP[XF
+	TASK4F100
+	TASK4 ¨ TASK1F100+10
+
+(c) Åàlªå«­ÈéoHðIÔD
+
+±±ÅÍ TASK4 ¨ TASK1 ÌêªÅåÅC©ÏàèlÍ 110
+
+
+(5-1-9) S^XNÉæéX^bNgpÊÌè`
+
+RtBM
+[^ÍCS^XNÉæéX^bNgpÊÌ©Ïàèßöð
+kernel_cfg.c ÉRgÆµÄoÍ·éD
+
+/*
+ * Task Stack Size Estimation: 
+ *
+ i±±ÉZoÌßöªoÍ³êéj
+ */
+
+»µÄCÌæ¤Èsð¶¬·éD
+
+#define TOPPERS_TSTKSZ     <S^XNÉæéX^bNgpÊÌvZl>
+
+
+(5-1-10) G[ð
+
+^XNÉÖ·éG[ðÍÌÊèÅ éD
+
+RtBM
+[^{Ìªo·éàÌ
+E^XNªêÂà¶ÝµÈ¢êD
+E¯¶tskidÉÎ·éCRE_TSKª¡ éêiE_OBJj
+EDEF_EPRÉÎ·éCRE_TSKªÈ¢êiE_NOEXSj
+E¯¶tskidÉÎ·éDEF_EPRª¡ éêiE_OBJj
+
+pX2Åo·éàÌ
+Etskatrªi[[TA_ACT]|[TA_RSTR]jÅÈ¢êiE_RSATRj
+	¦ ^[QbgË¶Å^XN®«ðÇÁÂiTARGET_TSKATRj
+E(TMIN_TPRI <= itskpri && itskpri <= TMAX_TPRI)ÅÈ¢êiE_PARj
+E¯¶ itskpri ÉÎ·é CRE_TSK ª¡ éê (E_PAR)
+Estkszª0©C^[Qbgè`ÌÅ¬liTARGET_MIN_STKSZjæèà¬³¢ê
+@iE_PARj
+Estk ª NULL ÅÈ¢êiE_PARj
+E(TMIN_TPRI <= exepri && exepri <= TMAX_TPRI) ÅÈ¢êFE_PAR G[
+E(itskpri < exepri && exepri <= TMAX_TPRI) Å éêFE_ILUSEG[
+
+pX3Åo·éàÌ
+Etask ªvOÌJnÔnÆµÄ³µ­È¢êiE_PARj
+	- ^[QbgË¶ÌliCHECK_FUNC_ALIGNjÌ{ÅÈ¢ê
+	- NULLÌêi^[QbgË¶CCHECK_FUNC_NONNULLj
+
+
+(5-2) CxgtOÉÖ·éè`
+
+CxgtOÌÈªLÍuFLG^flgvÅ éDÈºÅÍCVXeRtB
+M
+[Vt@CÉÌÃIAPIªÜÜêÄ¢éÉ¶¬·×«îñÉÂ
+¢Äq×éD
+
+CRE_FLG(flgid, { flgatr, iflgptn });
+
+(5-2-1) CxgtOÌú»îñiCxgtO®«j
+
+CxgtOÌ®«îñÌú»îñÍCÌ`®Æ·éD
+
+const ATR _kernel_flginib_atr[TNUM_FLGID] = {(flgatr)};
+
+(5-2-2) CxgtOÌú»îñitOp^[úlj
+
+CxgtOÌtOp^[Ìú»îñÍCÌ`®Æ·éD
+
+const FLGPTN _kernel_flginib_iflgptn[TNUM_FLGID] = {(iflgptn)};
+
+(5-2-3) CxgtOÌtOp^[
+
+CxgtOÌtOp^[ði[·ézñÍCÈºÌ`®Æ·éD
+
+FLGPTN _kernel_flgcb_flgptn[TNUM_FLGID];
+
+(5-2-4) G[ð
+
+CxgtOÉÖ·éG[ðÍÌÊèÅ éD
+
+RtBM
+[^{Ìªo·éàÌ
+E¯¶flgidÉÎ·éCRE_FLGª¡ éêiE_OBJj
+
+pX2Åo·éàÌ
+Etskatrªi[[TA_CLR]|[TA_NULL]jÅÈ¢êiE_RSATRj
+	¦ TA_CLR Æ TA_NULL ð¯Éwèµ½êCTA_CLR ÌÝðwèµ½êÆ¯lÉUé¤
+Eiflgptn ªFLGPTN Éi[Å«È¢(iflgptnÌlªFLGPTN^ÌÅålæèàå«¢)êiE_PARj 
+
+
+(5-3) f[^L
+[ÉÖ·éè`
+
+f[^L
+[ÌÈªLÍuDTQ^dtqvÅ éDÈºÅÍCVXeRtBM
+
+[Vt@CÉÌÃIAPIªÜÜêÄ¢éÉ¶¬·×«îñÉÂ¢Ä
+q×éD
+
+CRE_DTQ(dtqid, { dtqatr, dtqcnt, dtqmb });
+
+(5-3-1) f[^L
+[ÉKvÈÌæÌè`
+
+f[^L
+[ÉKvÈÌæÆµÄCf[^L
+[ÇÌæª éD¶¬
+·éf[^L
+[ÉCKvÈTCYÌf[^L
+[ÇÌæðè`·éDï
+ÌIÉÍCãLÌÃIAPIÉÎµÄCÌè`ð¶¬·éD
+
+dtqcntª0ÅÈ¢êÌÝ¶¬
+static intptr_t _kernel_dtqmb_<f[^L
+[¼>[dtqcnt];
+
+(5-3-2) f[^L
+[Ìú»îñ(f[^L
+[®«)
+
+f[^L
+[Ì®«îñÌú»îñÍCÌ`®Æ·éD
+
+const ATR _kernel_dtqinib_atr[TNUM_DTQID] = {(dtqatr)};
+
+(5-3-3) f[^L
+[Ìú»îñ(f[^L
+[ÇÌæ)
+
+f[^L
+[Ìf[^L
+[ÇÌæÌú»îñÍCÌ`®Æ·éD
+
+intptr_t * const _kernel_dtqinib_data[TNUM_DTQID] = {(_kernel_dtqmb_<f[^L
+[¼>)};
+
+¦ SSPJ[lÅÍÒ¿óÔðT|[gµÈ¢½ßC¯úÄoµªÀ»Å«È¢D
+@»Ì½ß dtqcnt ª 0 ÌêCRtBM
+[VG[(E_PAR)ÆÈéD
+
+(5-3-4) f[^L
+[Ìú»îñ(f[^L
+[ÌTCY)
+
+f[^L
+[ÌTCYÌú»îñÍCÌ`®Æ·éD
+
+const uint8_t _kernel_dtqinib_size[TNUM_DTQID] = {(dtqcnt)};
+
+(5-3-5) f[^L
+[Éi[³êÄ¢évf
+
+f[^L
+[Éi[³êÄ¢évfÌzñÍCÌ`®Æ·éD
+
+uint8_t _kernel_dtqcb_count[TNUM_DTQID];
+
+(5-3-6) f[^L
+[ÌæªEövf
+
+f[^L
+[Éi[³êÄ¢éæªvfEövfði[·ézñÍCÌ`®Æ·éD
+
+uint8_t _kernel_dtqcb_head[TNUM_DTQID];
+uint8_t _kernel_dtqcb_tail[TNUM_DTQID];
+
+(5-3-7) G[ð
+
+f[^L
+[ÉÖ·éG[ðÍÌÊèÅ éD
+
+RtBM
+[^{Ìªo·éàÌ
+E¯¶dtqidÉÎ·éCRE_DTQª¡ éêiE_OBJj
+
+pX2Åo·éàÌ
+EdtqatrªimTA_NULLnjÅÈ¢êiE_RSATRj
+Edtqcntª 0 Ìê (E_PAR)
+Edtqmb ª NULL ÅÈ¢êiE_NOSPTj
+
+
+(5-4) üúnhÉÖ·éè`
+
+üúnhÌÈªLÍuCYC^cycvÅ éDÈºÅÍCVXeRtB
+M
+[Vt@CÉÌÃIAPIªÜÜêÄ¢éÉ¶¬·×«îñÉÂ
+¢Äq×éD
+
+CRE_CYC(cycid, { cycatr, exinf, cychdr, cyctim, cycphs });
+
+(5-4-1) üúnhÌú»îñig£îñj
+
+üúnhÌg£îñÌú»îñÍCÌ`®Æ·éD
+
+const intptr_t _kernel_cycinib_exinf[TNUM_CYCID] = {(intptr_t)(exinf)};
+
+(5-4-2) üúnhÌú»îñiN®Ônj
+
+üúnhÌAhXÌú»îñÍCÌ`®Æ·éD
+
+const CYCHDR _kernel_cycinib_cychdr[TNUM_CYCID] = {(cycdhr)};
+
+(5-4-3) üúnhÌú»îñiN®üúj
+
+üúnhÌN®üúÌú»îñÍCÌ`®Æ·éD
+
+const RELTIM _kernel_cycinib_cyctim[TNUM_CYCID] = {(cyctim)};
+
+(5-4-4) üúnhÌú»îñiÊj
+
+üúnhÌÊÌú»îñÍCÌ`®Æ·éD
+
+const RELTIM _kernel_cycinib_cycphs[TNUM_CYCID] = {(cycphs)};
+
+(5-4-5) üúnhÌ®ìóÔ
+
+üúnhÌ®ìóÔði[·éÏÍCÌ`®Æ·éD
+
+uint_t _kernel_cyccb_cycact;
+
+Ï _kernel_cyccb_cycact ÌerbgÍ»ê¼êÌüúnhÉÎ·éD
+üúnhIDª1Ì^XNÍÅºÊrbg(LSB)ÉÎÃ¯çêÄ¨èC
+IDÌlª1Â¦éÉ1ÂÊÌrbgª»ê¼êÎÃ¯çêéD
+á¦ÎCnhIDª4ÌüúnhÍÅºÊ©ç¦Ä4ÔÚÌrbgª
+Î·éD
+
+®ìµÄ¢éóÔÌüúnhÍC»ÌüúnhÉÎ·érbgª
+1ÆÈéD®ìµÄ¢È¢óÔÌüúnhÍÎ·érbgª0ÉÈéD
+
+(5-4-6) üúnhÌñN®Ìè`
+
+üúnhÌñN®ði[·éÏÍCÌ`®Æ·éD
+
+EVTTIM _kernel_cyccb_evttim[TNUM_CYCID];
+
+(5-4-7) ^CCxgL
+[ÌÌItZbgîñÌè`
+
+^CCxgL
+[ÌÅüúnhpÉèÄçê½ÌæÌæªÊuð
+¦·îñðÏÉÛ·éD^CCxgL
+[ÍzñÅ\»³êÄ¨èC
+æªÊuÍzñÌæª©çÌItZbgiÂÜèzñÌCfbNXjÆµÄ
+\»³êéDüúnhÉÎµÄÍ^CCxgL
+[zñÌæª©çè
+Äçêé½ßC±ÌlÍíÉ 0 ÆÈéD]ÁÄÏè`ÍCÌ`®ÆÈéD
+
+const uint_t _kernel_cycevtid_offset = 0;
+
+^CCxgL
+[ÉÂ¢ÄÍ(9-3)ðQÆÌ±ÆD
+
+(5-4-8) G[ð
+
+üúnhÉÖ·éG[ðÍÌÊèÅ éD
+
+RtBM
+[^{Ìªo·éàÌ
+E¯¶cycidÉÎ·éCRE_CYCª¡ éêiE_OBJj
+
+pX2Åo·éàÌ
+EcycatrªimTA_STAnjÅÈ¢êiE_RSATRj
+E(0 < cyctim && cyctim <= TMAX_RELTIM)ÅÈ¢êiE_PARj
+E(0 <= cycphs && cycphs <= TMAX_RELTIM)ÅÈ¢êiE_PARj
+ExFcycatrÉTA_STAªÝè³êÄ¢ÄC(cycphs == 0)Ìê
+ECRE_CYC ÌGgª16Âæè½¢ ¦SSPÀè`
+
+pX3Åo·éàÌ
+EcychdrªvOÌJnÔnÆµÄ³µ­È¢êiE_PARj
+	- ^[QbgË¶ÌliCHECK_FUNC_ALIGNjÌ{ÅÈ¢ê
+	- NULLÌêi^[QbgË¶CCHECK_FUNC_NONNULLj
+
+(5-5) A[nhÉÖ·éè`
+
+A[nhÌÈªLÍuALM^almvÅ éDÈºÅÍCVXeR
+tBM
+[Vt@CÉÌÃIAPIªÜÜêÄ¢éÉ¶¬·×«îñ
+ÉÂ¢Äq×éD
+
+CRE_ALM(ID almid, { almatr, (intptr_t)(exinf), almhdr });
+
+(5-5-1) A[nhÌú»îñig£îñj
+
+A[nhÌg£îñÌú»îñÍCÌ`®Æ·éD
+
+const intptr_t _kernel_alminib_exinf[TNUM_ALMID] = {(intptr_t)(exinf)};
+
+(5-5-2) A[nhÌú»îñiN®Ônj
+
+A[nhÌN®ÔnÌú»îñÍCÌ`®Æ·éD
+
+const ALMHDR _kernel_alminib_almhdr[TNUM_ALMID] = {(almhdr)};
+
+(5-5-3) A[nhÌ®ìóÔ
+
+A[nhÌ®ìóÔði[·éÏÍCÌ`®Æ·éD
+
+uint_t _kernel_almcb_almact;
+
+Ï _kernel_almcb_almact ÌerbgÍÂXÌA[nhÉÎ·éD
+A[nhIDª1Ì^XNÍÅºÊrbg(LSB)ÉÎÃ¯çêÄ¨èC
+IDÌlª1Â¦éÉ1ÂÊÌrbgª»ê¼êÎÃ¯çêéD
+á¦ÎCnhIDª4ÌA[nhÍÅºÊ©ç¦Ä4ÔÚÌrbgª
+Î·éD
+
+®ìµÄ¢éóÔÌA[nhÍC»ÌüúnhÉÎ·érbgª
+1ÆÈéD®ìµÄ¢È¢óÔÌüúnhÍÎ·érbgª0ÉÈéD
+
+(5-5-4) ^CCxgL
+[ÌÌItZbgîñÌè`
+
+^CCxgL
+[ÌÅA[nhpÉèÄçê½ÌæÌæª
+Êuð¦·îñðÏÉÛ·éD^CCxgL
+[ÍzñÅ\»³êÄ¨èC
+æªÊuÍzñÌæª©çÌItZbgiÂÜèzñÌCfbNXjÆµÄ
+\»³êéDA[nhÉÎµÄÍüúnhpÌæÌÌvf©ç
+èÄçêé½ßC±ÌlÍíÉüúnhÌÂÉµ¢D
+Ïè`ÍCÌ`®ÆÈéD
+
+const uint_t _kernel_almevtid_offset = <üúnhÌÂ>;
+
+^CCxgL
+[ÉÂ¢ÄÍ(9-3)ðQÆÌ±ÆD
+
+(5-5-5) G[ð
+
+A[nhÉÖ·éG[ðÍÌÊèÅ éD
+
+RtBM
+[^{Ìªo·éàÌ
+E¯¶almidÉÎ·éCRE_ALMª¡ éêiE_OBJj
+
+pX2Åo·éàÌ
+EalmatrªiTA_NULLjÅÈ¢êiE_RSATRj
+ECRE_ALM ÌGgª16Âæè½¢ ¦SSPÀè`
+
+pX3Åo·éàÌ
+EalmhdrªvOÌJnÔnÆµÄ³µ­È¢êiE_PARj
+	- ^[QbgË¶ÌliCHECK_FUNC_ALIGNjÌ{ÅÈ¢ê
+	- NULLÌêi^[QbgË¶CCHECK_FUNC_NONNULLj
+
+(6) ÝÉÖ·éè`
+
+ÝÉÖµÄ¶¬·éîñÍC^[QbgÉèßé±ÆªÅ«éD
+^[QbgÉèßÈ¢êÉÍCÈºÅq×é^[QbgÉË¶µÈ¢WIÈ
+îñð¶¬·éD^[QbgÉèßéêÉÍC(6-1)Æ(6-3)Éq×éîñÍ¶
+¬µÈ¢i(6-2)Éq×éîñÍ¶¬·éjD
+
+(6-1) ÝvCÉÖ·éè`
+
+ÝvCÌ®«ðÝè·éÃIAPIuCFG_INTvÅÝèµ½Ýv
+CÉÖ·éè`ð¶¬·éDïÌIÉÍÌÊèD
+
+ÈºÅÍCVXeRtBM
+[Vt@CÉÌÃIAPIªÜÜê
+Ä¢éÉ¶¬·×«îñÉÂ¢Äq×éD
+
+CFG_INT(INTNO intno, { intatr, intpri });
+
+(6-1-1) Ýè·éÝvCÌ
+
+Ýè·éÝvCÌð}Nè`·évvZbTfBNeB
+ui#definejð¶¬·éDÜ½C»ÌlðÂÏÌè`ð¶¬·éDïÌI
+ÉÍCÌæ¤Èsð¶¬·éD
+
+#define TNUM_INTNO <Ýè·éÝvCÌ>
+const uint_t	_kernel_tnum_intno = TNUM_INTNO;
+
+(6-1-2) ÝvCÌú»îñiÝÔj
+
+ÝÔÌú»îñÍCÌ`®Æ·éD
+
+const INTNO _kernel_intinib_intno[TNUM_INTNO] = {(intno)};
+
+(6-1-3) ÝvCÌú»îñiÝvC®«j
+
+ÝvC®«Ìú»îñÍCÌ`®Æ·éD
+
+const ATR _kernel_intinib_intatr[TNUM_INTNO] = {(intatr)};
+
+(6-1-4) ÝvCÌú»îñiÝvC®«j
+
+ÝDæxÌú»îñÍCÌ`®Æ·éD
+
+const PRI _kernel_intinib_intpri[TNUM_INTNO] = {(intpri)};
+
+(6-1-5) G[ð
+
+ÝvCÉÖ·éG[ðÍÌÊèÅ éD
+
+pX2Åo·éàÌ
+Eintno ª CFG_INTÉÎ·éÝÔÆµÄ³µ­È¢êiE_PARj
+Eintno ª CFG_INTÉæÁÄÝèÏÝÌêiE_OBJj
+EintatrªimTA_ENAINTnbmTA_EDGEnjÅÈ¢êiE_RSATRj
+	¦ ^[QbgË¶ÅÝ®«ðÇÁÂiTARGET_INTATRj
+EJ[lÇÉÅè³êÄ¢é intno ÉÎµÄCintpriÉTMIN_INTPRI
+@æèà¬³¢liÂÜèCDæxÆµÄÍ¢ljªwè³ê½êiE_OBJj
+EJ[lÇOÉÅè³êÄ¢é intno ÉÎµÄCintpri É TMIN_INTPRI
+@Æ¯¶©Ü½Í»êæèàå«¢liÂÜèCDæxÆµÄÍ¯¶©Ü½Í
+@»êæèá¢ljªwè³ê½êiE_OBJj
+Eintpri ª CFG_INT ÉÎ·éÝDæxÆµÄ³µ­È¢êiE_PARj
+
+KvÉ¶Ä^[QbgË¶Åo·éàÌ
+Eintatr ªÝ®«ÆµÄÝèÅ«È¢lÌêiE_RSATRj
+Eintpri ªÝDæxÆµÄÝèÅ«È¢lÌêiE_PARj
+E¯êÌÝDæxµ©ÝèÅ«È¢ÝvCÉÎµÄCÙÈé
+@ÝDæxðÝèµ½êiE_PARj
+
+(6-2) ÝT[rX[`ÉÖ·éè`
+
+(6-2-1) ÝnhÌ¶¬
+
+VXeRtBM
+[Vt@CÉÜÜêéÝT[rX[`
+ðÇÁ·éÃIAPIuATT_ISRvÉîÃ«C¯êÌÝÔÉÎµÄÇÁ³
+ê½ÝT[rX[`ðÉÄÑo·Öð¶¬·éD
+
+ïÌIÉÍC¯êÌÝÔÉÎµÄÝT[rX[`ðÇÁ·é
+
+ATT_ISR({ isratr_1, exinf_1, intno, isr_1, isrpri_1 });
+ATT_ISR({ isratr_2, exinf_2, intno, isr_2, isrpri_2 });
+	cc
+ATT_ISR({ isratr_n, exinf_n, intno, isr_n, isrpri_n });
+
+Æ¢¤ÃIAPIÉÎµÄCÌæ¤ÈÖð¶¬·éD±±ÅCisrpri_1C
+isrpri_2CccCisrpri_nÍClÌ¬³¢ÉÀ×Ö¦çêÄ¢éàÌÆ·éD
+lª¯¶àÌÌÔÅÍCVXeRtBM
+[Vt@CÅÌÃI
+APIÌÌÊèÉÀñÅ¢éàÌÆ·éD
+
+static void
+_kernel_inthdr_<intno>(void)
+{
+	PRI		saved_ipm;
+
+	i_begin_int(intno);
+	saved_ipm = i_get_ipm();
+
+	LOG_ISR_ENTER(<intno>);		/* ISR1ÌÄoµ */
+	isr_1((intptr_t)(exinf_1));
+	LOG_ISR_LEAVE(intno);
+
+	if (i_sense_lock()) {		/* ISRÌÄoµOÌóÔÉß· */
+		i_unlock_cpu();
+	}
+	i_set_ipm(saved_ipm);
+
+	LOG_ISR_ENTER(<intno>);		/* ISR2ÌÄoµ */
+	isr_2((intptr_t)(exinf_2));
+	LOG_ISR_LEAVE(intno);
+
+	if (i_sense_lock()) {		/* ISRÌÄoµOÌóÔÉß· */
+		i_unlock_cpu();
+	}
+	i_set_ipm(saved_ipm);
+
+	cc
+
+	LOG_ISR_ENTER(<intno>);		/* ISRnÌÄoµ */
+	isr_n((intptr_t)(exinf_n));
+	LOG_ISR_LEAVE(intno);
+
+	i_end_int(intno);
+}
+
+±±ÅCISRnÌÄoµÌãÉÄoµOÌóÔÉß³È¢ÌÍCÝnh
+©çÌ^[ÉæèCJ[lª³ÌóÔÉß·½ßÅ éD
+
+¯êÌÝÔÉÎµÄÇÁ³ê½ÝT[rX[`ª1ÂÌÝÌê
+ÉÍCÌæ¤ÈÖð¶¬·éD
+
+static void
+_kernel_inthdr_<intno>(void)
+{
+	i_begin_int(intno);
+	LOG_ISR_ENTER(intno);
+	isr_1((intptr_t)(exinf_1));
+	LOG_ISR_LEAVE(intno);
+	i_end_int(intno);
+}
+
+yÛèz±±ÅCLOG_ISR_ENTERCLOG_ISR_LEAVEÌøðÇ¤·é©ªÛèÆ
+µÄcÁÄ¢éDATT_ISRÅo^³ê½ISRÉÎµÄÍISR IDªt^³êÈ¢½
+ßCIDÅISRðæÊ·é±ÆªÅ«È¢DâÞÈ­ÝÔðnµÄ¢éªC
+g£îñiexinfjàn·×«©àµêÈ¢D
+
+(6-2-2) ÝnhÌè`É·é
+
+ãÌæ¤ÉÝnhð¶¬µ½êÉÍCÉà¾·éÝnh
+ÉÖ·éè`É¨¢ÄCVXeRtBM
+[Vt@CÉÌÃ
+IAPIªÜÜêÄ¢éÌÆ¯lÉ·éD
+
+DEF_INH(inhno, { TA_NULL, _kernel_inthdr_<intno> });
+
+±±ÅinhnoÍCintnoÉÎ·éÝnhÔÅ éD
+
+(6-2-3) G[ð
+
+ÝT[rX[`ÉÖ·éG[ðÍÌÊèÅ éD
+
+pX2Åo·éàÌ
+Eisratr ªiTA_NULLjÅÈ¢êiE_RSATRj
+	¦ ^[QbgË¶ÅÝT[rX[`®«ðÇÁÂiTARGET_ISRATRj
+Eintno ª ATT_ISR ÉÎ·éÝÔÆµÄ³µ­È¢êiE_PARj
+	¦ intno ÉÎ·é inhno ªÈ¢êðÜÞ
+E(TMIN_ISRPRI <= isrpri && isrpri <= TMAX_ISRPRI)ÅÈ¢êiE_PARj
+Eintno ÉÎ·é inhno ÉÎµÄ DEF_INH ª éêiE_OBJj
+Eintno ÉÎ·é CFG_INT ªÈ¢êiE_OBJj
+Eintno ÉÎµÄ CFG_INT ª¶ÝµC©ÂCCFG_INT ÅÝè³ê½ÝDæxª
+@TMIN_INTPRI æèà¬³¢iÂÜèCDæxÆµÄÍ¢jêiE_OBJj
+	¦ J[lÇOÌISRÍT|[gµÈ¢½ß
+
+KvÉ¶Ä^[QbgË¶Åo·éàÌ
+EisrªvOÌJnÔnÆµÄ³µ­È¢êiE_PARj
+
+(6-3) ÝnhÉÖ·éè`
+
+Ýnhðè`·éÃIAPIuDEF_INHvÅè`µ½Ýnh
+iãqÌÝT[rX[`ÌÇÁÉæèRtBM
+[^ª¶¬µ½
+ÝnhðÜÞjÉÖ·éè`ð¶¬·éDïÌIÉÍÌÊèD
+
+ÈºÅÍCVXeRtBM
+[Vt@CÉÌÃIAPIªÜÜê
+Ä¢éÉ¶¬·×«îñÉÂ¢Äq×éD
+
+DEF_INH(inhno, { inhatr, inthdr });
+
+(6-3-1) è`·éÝnhÌ
+
+è`·éÝnhÌð}Nè`·évvZbTfBNeBu
+i#definejð¶¬·éDÜ½C»ÌlðÂÏÌè`ð¶¬·éDïÌI
+ÉÍCÌæ¤Èsð¶¬·éD
+
+#define TNUM_INHNO <è`·éÝnhÌ>
+const uint_t	_kernel_tnum_inhno = TNUM_INHNO;
+
+(6-3-2) ÝnhÌoüû
+
+è`·éÝnhÉCÝnhÌoüû[`ð¶¬·
+éDïÌIÉÍCÌæ¤Èsð¶¬·éD
+
+INTHDR_ENTRY(inhno, inhno_num, inthdr)
+
+±±Åinhno_numÍCinhnoiÝnhÔjðlÅ\»µ½àÌÅC
+AZu¾êLqÉgp·é½ßÌàÌÅ éD
+
+(6-3-3) ÝnhÌú»îñiÝnhÔj
+
+ÝnhÔÌú»îñÍCÌ`®Æ·éD
+
+const INHNO _kernel_inhinib_inhno[TNUM_INHNO] = {(inhno)};
+
+(6-3-4) ÝnhÌú»îñiÝnh®«j
+
+Ýnh®«Ìú»îñÍCÌ`®Æ·éD
+
+const ATR _kernel_inhinib_inhatr[TNUM_INHNO] = {(inhatr)};
+
+(6-3-5) ÝnhÌú»îñiÝnhAhXj
+
+ÝnhÌAhXÌú»îñÍCÌ`®Æ·éD
+
+const FP _kernel_inhinib_entry[TNUM_INHNO] = {(inthdr)};
+
+(6-3-6) G[ð
+
+ÝnhÉÖ·éG[ðÍÌÊèÅ éD
+
+pX2Åo·éàÌ
+Einhno ª DEF_INH ÉÎ·éÝnhÔÆµÄ³µ­È¢êiE_PARj
+Einhno ª DEF_INH ÉæÁÄÝèÏÝÌêiE_OBJj
+#Einhno ÉÎ·é intno ÉÎµÄ ATT_ISR ª éêiE_OBJj
+#	¦ inhno ÉÎ·é intno ªÈ¢êÉÍC±Ì`FbNðsíÈ¢
+#	¨ ±Ì`FbNÍCÝT[rX[`¤Ås¤
+Einhatr ªiTA_NULLjÅÈ¢êiE_RSATRj
+	¦ ^[QbgË¶ÅÝnh®«ðÇÁÂiTARGET_INHATRj
+	¦ TA_NONKERNEL ðg¤êÉÍCTARGET_INHATR ÉÝè·é
+EJ[lÇÉÅè³êÄ¢é inhno ÉÎµÄCinhatr É TA_NONKERNEL ª
+@wè³êÄ¢éêiE_RSATRj
+EJ[lÇOÉÅè³êÄ¢é inhno ÉÎµÄCinhatr É TA_NONKERNEL ª
+@wè³êÄ¢È¢êiE_RSATRj
+Einhno ÉÎ·é intno ÉÎ·é CFG_INT ªÈ¢êiE_OBJj
+	¦ inhno ÉÎ·é intno ªÈ¢êÉÍC±Ì`FbNðsíÈ¢
+Einhatr É TA_NONKERNEL ªwè³êÄ¨ç¸Cinhno ÉÎ·é intno ÉÎµÄ
+@CFG_INT ÅÝè³ê½ÝDæxª TMIN_INTPRI æèà¬³¢êiE_OBJj
+	¦ inhno ÉÎ·é intno ªÈ¢êÉÍC±Ì`FbNðsíÈ¢
+Einhatr É TA_NONKERNEL ªwè³êÄ¨èCinhno ÉÎ·é intno ÉÎµÄ
+@CFG_INT ÅÝè³ê½ÝDæxª TMIN_INTPRI ÈãÅ éêiE_OBJj
+	¦ inhno ÉÎ·é intno ªÈ¢êÉÍC±Ì`FbNðsíÈ¢
+
+KvÉ¶Ä^[QbgË¶Åo·éàÌ
+EinthdrªvOÌJnÔnÆµÄ³µ­È¢êiE_PARj
+
+(7) CPUáOÉÖ·éè`
+
+CPUáOÉÖµÄ¶¬·éîñÍC^[QbgÉèßé±ÆªÅ«éD
+^[QbgÉèßÈ¢êÉÍCÈºÅq×é^[QbgÉË¶µÈ¢WIÈ
+îñð¶¬·éD^[QbgÉèßéêÉÍC±êçÌîñÍ¶¬³êÈ¢D
+
+VXeRtBM
+[Vt@CÉCCPUáOnhðè`·é
+ÃIAPIuDEF_EXCvªÜÜêÄ¢éêÉCCPUáOnhÉÖ·éè`ð
+¶¬·éD
+
+ÈºÅÍCVXeRtBM
+[Vt@CÉÌÃIAPIªÜÜê
+Ä¢éÉ¶¬·×«îñÉÂ¢Äq×éD
+
+DEF_EXC(excno, { excatr, exchdr });
+
+(7-1) è`·éCPUáOnhÌ
+
+è`·éCPUáOnhÌð}Nè`·évvZbTfBNeB
+ui#definejð¶¬·éDÜ½C»ÌlðÂÏÌè`ð¶¬·éDïÌ
+IÉÍCÌæ¤Èsð¶¬·éD
+
+#define TNUM_EXCNO <è`·éCPUáOnhÌ>
+const uint_t	_kernel_tnum_excno = TNUM_EXCNO;
+
+(7-2) CPUáOnhÌoüû
+
+è`·éCPUáOnhÉCCPUáOnhÌoüû[`ð¶¬
+·éDïÌIÉÍCÌæ¤Èsð¶¬·éD
+
+EXCHDR_ENTRY(excno, excno_num, exchdr)
+
+±±Åexcno_numÍCexcnoiCPUáOnhÔjðlÅ\»µ½àÌÅC
+AZu¾êLqÉgp·é½ßÌàÌÅ éD
+
+(7-3) CPUáOnhÔÌú»îñiCPUáOÔj
+
+CPUáOnhÔÌú»îñÍCÌ`®Æ·éD
+
+const EXCNO _kernel_excinib_excno[TNUM_EXCNO] = {(excno)};
+
+(7-4) CPUáOnhÔÌú»îñiCPUáOnh®«j
+
+CPUáOnh®«Ìú»îñÍCÌ`®Æ·éD
+
+const ATR _kernel_excinib_excatr[TNUM_EXCNO] = {(excatr)};
+
+(7-5) CPUáOnhÔÌú»îñiCPUáOnhÌæªÔnj
+
+CPUáOnhÌæªÔnÌú»îñÍCÌ`®Æ·éD
+
+const FP _kernel_excinib_entry[TNUM_EXCNO] = {(FP)(EXC_ENTRY(excno, exchdr))};
+
+±±Å EXC_ENTRY ÍCPUáOnhÔÆCPUáOnhÌæªÔnð³É
+CPUáOnhÌüèûÌ¼Ìð¶¬·é}NÅC^[QbgË¶Å
+è`³êÄ¢éD
+
+(7-6) G[ð
+
+CPUáOnhÉÖ·éG[ðÍÌÊèÅ éD
+
+pX2Åo·éàÌ
+Eexcno ª DEF_EXC ÉÎ·é CPU áOnhÔÆµÄ³µ­È¢êiE_PARj
+Eexcno ª DEF_EXC ÉæÁÄÝèÏÝÌêiE_OBJj
+Eexcatr ªiTA_NULLjÅÈ¢êiE_RSATRj
+	¦ ^[QbgË¶ÅCPUáOnh®«ðÇÁÂiTARGET_EXCATRj
+
+KvÉ¶Ä^[QbgË¶Åo·éàÌ
+EexchdrªvOÌJnÔnÆµÄ³µ­È¢êiE_PARj
+
+(8) ñ^XNReLXgpÌX^bNÌæÉÖ·éè`
+
+æÌ (5-1-7) Åàà¾µ½æ¤ÉCSSPJ[lÅÍCRtBM
+[^Í
+¤LX^bNÌæÌÝmÛ·éDµ½ªÁÄCñ^XNReLXgêpÌX^bNÌæÍ
+mÛµÈ¢D±Ì½ßCDEF_ICS ÌðÍCñ^XNReLXgªp¢éX^bNÌæÌ
+TCYðwè·é±ÆÌÝÆÈéDÜ½CDEF_ICS ÅÍæªÔn istk ÆµÄ NULL ÌÝ
+ó¯t¯éDNULL ÈOÌlðwèµ½êÍG[ÆÈéD
+
+¦ ¤LX^bNÌæÉÖ·éè`Í (9) ðQÆ·é±ÆD
+
+È¨Cñ^XNReLXgpÌX^bNTCYÉÖ·éè`ÍCÈºÌæ¤É
+DEF_ICS ÌL³É©©íç¸íÉ¶¬³êéD
+
+(8-1) DEF_ICS ªÈ¢ê
+
+VXeRtBM
+[Vt@CÉCÃIAPIuDEF_ICSvªÜÜêÄ
+¢È¢êÉÍCÌsð¶¬·éD
+
+#define TOPPERS_ISTKSZ          DEFAULT_ISTKSZ
+
+(8-2) DEF_ICS ª éê
+
+ÈºÅÍCVXeRtBM
+[Vt@CÉÌÃIAPIªÜÜêÄ
+¢éÉ¶¬·×«îñÉÂ¢Äq×éD
+
+DEF_ICS({ istksz, istk });
+
+DEF_ICS ÅÍ istk ÆµÄNULLÌÝwèÂ\Å èCoÍÉÍe¿µÈ¢D
+ñ^XNReLXgpX^bNÌæÌTCY istksz ÉæèÌsð¶¬·éD
+
+#define TOPPERS_ISTKSZ          (istksz)
+
+¦¤LX^bNÌæÌè`ÉÂ¢ÄÍ (9) ðQÆÌ±ÆD
+
+(8-3) G[ð
+
+ñ^XNReLXgpÌX^bNÌæÉÖ·éG[ðÍÌÊèÅ éD
+
+pX2Åo·éàÌ
+EÃIAPIuDEF_ICSvª¡ éiE_OBJj
+EistkszªX^bNÌæÌTCYÆµÄ³µ­È¢êiE_PARj
+        - istksz ª 0 Ìê
+EistkªX^bNÌæÌæªÔnÆµÄ³µ­È¢êiE_PARj
+        - NULLÈOÌlÌê
+
+KvÉ¶Ä^[QbgË¶Åo·éàÌ
+Eistkszª¬³·¬éêiE_PARj
+
+
+(9) ¤LX^bNÌæÉÖ·éè`
+
+æÌ (5-1-7) ÉÄà¾µ½æ¤ÉCSSPJ[lÅÍ^XNðÜÞSÄÌPÊª
+¯¶X^bNÌæð¤p·éæ¤ÉÝv³êÄ¢éD»µÄ¤p³êéX^bNÌæÌ
+±Æðu¤LX^bNÌævÆÄÔD
+
+¤LX^bNÌæÌè`Í DEF_STK ðp¢Äs¤D»µÄCRtBM
+[VÅÍ
+¤LX^bNÌæÉÖ·éè`ÍCDEF_STK ÌL³ÉÖíç¸íÉ¶¬³êéD
+
+ÈºÅÍCDEF_STK ÌL³¨æÑ^¦çêéøÌàeÉæèC
+ÇÌæ¤É¤LX^bNÌæÌè`ª¶¬³êé©ÉÂ¢Äà¾·éD
+
+(9-1) DEF_STK ªÈ¢êÉ¶¬³êéè`
+
+VXeRtBM
+[Vt@CÉCÃIAPIuDEF_STKvªÜÜêÄ
+¢È¢êÉÍCÌsð¶¬·éD
+
+static STK_T        		_kernel_stack[COUNT_STK_T(TOPPERS_TSTKSZ+TOPPERS_ISTKSZ)];
+#define TOPPERS_STK  		_kernel_stack
+#define TOPPERS_STKSZ		ROUND_STK_T(TOPPERS_TSTKSZ+TOPPERS_ISTKSZ)
+
+(9-2) DEF_STKª éêÉÌÝ¶¬³êéè`
+
+ÈºÅÍCVXeRtBM
+[Vt@CÉÌÃIAPIªÜÜêÄ
+¢éÉ¶¬·×«îñÉÂ¢Äq×éD
+
+DEF_STK({ stksz, stk });
+
+(9-2-1) stk ª NULL Ìê
+
+stk ª NULL ÌêÉÍCwè³ê½TCYÌ¤LX^bNÌæðmÛµC
+¤LX^bNÌæÌú»îñð¶¬·éD
+ïÌIÉÍCãLÌÃIAPIÉÎµÄCÌsð¶¬·éD
+
+static STK_T        		_kernel_stack[COUNT_STK_T(stksz)];
+#define TOPPERS_STK 		_kernel_stack
+#define TOPPERS_STKSZ		ROUND_STK_T(stksz)
+
+(9-2-2) stk ª NULL ÈOÌê
+
+stk ª NULL ÅÈ¢êÉÍC¤LX^bNÌæÌú»îñðCÌ`®Å¶¬·éD
+
+#define TOPPERS_STK 		(stk)
+#define TOPPERS_STKSZ		(stksz)
+
+(9-3) DEF_STK ÌL³ÉÖWÈ­CíÉ¶¬³êéè`
+
+DEF_STKÌL³Éæç¸CÌè`ð¶¬·éD
+
+const SIZE  	_kernel_stksz = TOPPERS_STKSZ;
+STK_T *const	_kernel_stk = TOPPERS_STK;
+
+#ifdef TOPPERS_ISTKPT
+STK_T *const	_kernel_istkpt = TOPPERS_ISTKPT(TOPPERS_STK, TOPPERS_STKSZ);
+#endif /* TOPPERS_ISTKPT */
+
+(9-4) G[ð
+
+¤LX^bNÌæÉÖ·éG[ðÍÌÊèÅ éD
+
+pX2Åo·éàÌ
+EÃIAPIuDEF_STKvª¡ éiE_OBJj
+EstkszªX^bNÌæÌTCYÆµÄ³µ­È¢êiE_PARj
+	- stksz ÆµÄ 0 ðwèµ½ê
+	- ^[QbgË¶ÌliCHECK_STKSZ_ALIGNjÌ{ÅÈ¢ê
+	¦ ±ÌG[`FbNÍCstk ª NULL ÅÈ¢êÉÌÝs¤
+ExFstksz ªC(TOPPERS_TSTKSZ+TOPPERS_ISTKSZ) æèà¬³¢ê
+	¦ DEF_STK ª¶ÝµCstk ªñNULLÌêD
+	¦ }NÌlÉÂ¢ÄÍ (5-1-9), (8-1), (8-2) ðQÆÌ±Æ
+
+pX3Åo·éàÌ
+EstkªX^bNÌæÌæªÔnÆµÄ³µ­È¢êiE_PARj
+	- ^[QbgË¶ÌliCHECK_STACK_ALIGNjÌ{ÅÈ¢ê
+	- NULLÌêi^[QbgË¶CCHECK_STACK_NONNULLj
+
+(10) ^CCxgÇÉÖ·éè`
+
+^CCxgÇÉÖAµÄCÌè`ð¶¬·éD
+
+(10-1) ^CCxgnhÌ
+
+¶¬³ê½^CCxgnhÌð}Nè`·évvZbT
+fBNeCu(#define) ð¶¬·éD
+
+SSPJ[lÅÍ^CCxgnhÆµÄüúnh¨æÑA[
+nhÌÝðT|[g·éD»Ì½ßCCRE_CYC ¨æÑ CRE_ALM Ìvª
+^CCxgnhÆÈéD
+
+ïÌIÉÍCÌæ¤ÈLqð¶¬·éD
+
+#define TNUM_TMEVT	<^CCxgnhÌÂ>
+
+(10-2) ^CCxgubNÌTCYÌè`
+
+^CCxgubNÌvfðè`·éÏð¶¬·éD
+^CCxgubNÌvfÍ^CCxgnhÌÉµ¢D
+
+ïÌIÉÍCÌæ¤ÈLqð¶¬·éD
+
+const uint_t _kernel_tmevt_queue = <^CCxgnhÌÂ>;
+
+(10-3) ^CCxgL
+[Ìè`
+
+^CCxgÇÌ½ßÌL
+[ð¶¬·éDL
+[ÍzñÆµÄÀ³êÄ
+¢éDL
+[Ìæªð\»·é½ßÌzñvfðmÛ·é½ßCzñÌvfÍ
+u^CCxgnhÌÂ{1vÆÈéD
+
+ïÌIÉÍCÌæ¤ÈLqð¶¬·éD
+
+extern QUEUE tmevt_queue[TNUM_TMEVT+1];
+
+(10-4) ^CCxgÔÌè`
+
+^CCxgnhÌN®ði[·éÏÍCÌ`®Æ·éD
+
+extern EVTTIM tmevt_time[TNUM_TMEVT];
+
+(10-5) ^CCxgÌR[obNÌè`
+
+^CCxgnhÌR[obNÖði[·éÏÍC
+Ì`®Æ·éD
+
+extern CBACK tmevt_callback[TNUM_TMEVT];
+
+(10-6) ^CCxgR[obNÌøÌè`
+
+^CCxgnhÌR[obNÖÌøði[·éÏÍC
+Ì`®Æ·éD
+
+extern uintptr_t tmevt_arg[TNUM_TMEVT];
+
+(11) eW
+[Ìú»ÖÌè`
+
+eJ[lIuWFNgÌÇCÝÇCCPUáOnhÇÌe@\ð
+ú»ÖðÉÄÑo·Öi_kernel_initialize_objectjð¶¬·éD
+Ì3ÂÌú»Öð¢ÄÍCgpµÈ¢@\Ìú»ÖÍÄÑo³È¢D
+
+_kernel_initialize_task();
+_kernel_initialize_interrupt
+_kernel_initialize_exception
+
+Ü½Ìú»ÖÉÂ¢ÄÍCüúnhÜ½ÍA[nhðgp·é
+êÉÌÝÄÑo³êéD
+_kernel_initialize_time_event();
+
+·×ÄÌ@\ðgÁ½êÉ¶¬³êéÖÍÌÊèÅ éD
+
+void
+_kernel_initialize_object(void)
+{
+	_kernel_initialize_time_event();
+	_kernel_initialize_task();
+	_kernel_initialize_interrupt();
+	_kernel_initialize_exception();
+	_kernel_initialize_cyclic();
+	_kernel_initialize_alarm();
+	_kernel_initialize_eventflag();
+}
+
+
+(12) ú»[`ÌÀsÖÌè`
+
+VXeRtBM
+[Vt@CÉÜÜêéú»[`ðÇÁ
+·éÃIAPIuATT_INIvÉÎµÄCÇÁµ½ú»[`ðÉÄÑo·Ö
+ð¶¬·éDïÌIÉÍC
+
+ATT_INI({ iniatr, exinf, inirtn });
+
+Æ¢¤ÃIAPIÉÎµÄC
+
+(inirtn)((intptr_t)(exinf));
+
+ðÄÑo·ÖðC_kernel_call_inirtnÆ¢¤¼OÅ¶¬·éDú»[`
+ðÄÑo·ÍCVXeRtBM
+[Vt@CÅÌÃI
+APIÌÉêv³¹éD
+
+á¦ÎC
+
+ATT_INI({ TA_NULL, 0, timer_initialize });
+ATT_INI({ TA_NULL, CONSOLE_PORTID, serial_initialize });
+
+Æ¢¤2ÂÌÃIAPIª±ÌÅLq³ê½É¶¬·éÖÍÌÊèÅ 
+éD
+
+void
+_kernel_call_inirtn(void)
+{
+	((INIRTN)(timer_initialize))((intptr_t)(0));
+	((INIRTN)(serial_initialize))((intptr_t)(CONSOLE_PORTID));
+}
+
+(12-1) G[ð
+
+ú»[`ÉÖ·éG[ðÍÌÊèÅ éD
+
+pX2Åo·éàÌ
+EiniatrªiTA_NULLjÅÈ¢êiE_RSATRj
+
+KvÉ¶Ä^[QbgË¶Åo·éàÌ
+EinirtnªvOÌJnÔnÆµÄ³µ­È¢êiE_PARj
+
+(13) I¹[`ÌÀsÖÌè`
+
+VXeRtBM
+[Vt@CÉÜÜêéI¹[`ðÇ
+Á·éÃIAPIuATT_TERvÉÎµÄCÇÁµ½I¹[`ðÉÄÑo
+·Öð¶¬·éDïÌIÉÍC
+
+ATT_TER({ teratr, exinf, terrtn });
+
+Æ¢¤ÃIAPIÉÎµÄC
+
+(terrtn)((intptr_t)(exinf));
+
+ðÄÑo·ÖðC_kernel_call_terrtnÆ¢¤¼OÅ¶¬·éDI¹[
+`ðÄÑo·ÍCVXeRtBM
+[Vt@CÅÌÃI
+APIÌtÉêv³¹éD
+
+á¦ÎC
+
+ATT_TER({ TA_NULL, 0, timer_terminate });
+ATT_TER({ TA_NULL, CONSOLE_PORTID, serial_terminate });
+
+Æ¢¤2ÂÌÃIAPIª±ÌÅLq³ê½É¶¬·éÖÍÌÊèÅ 
+éD
+
+void
+_kernel_call_terrtn(void)
+{
+	((TERRTN)(serial_terminate))((intptr_t)(CONSOLE_PORTID));
+	((TERRTN)(timer_terminate))((intptr_t)(0));
+}
+
+(13-1) G[ð
+
+I¹[`ÉÖ·éG[ðÍÌÊèÅ éD
+
+pX2Åo·éàÌ
+EteratrªiTA_NULLjÅÈ¢êiE_RSATRj
+
+KvÉ¶Ä^[QbgË¶Åo·éàÌ
+EterrtnªvOÌJnÔnÆµÄ³µ­È¢êiE_PARj
+
+Èã
Index: /ssp_qb_r5f100le_cs/trunk/doc/extension.txt
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/doc/extension.txt	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/doc/extension.txt	(revision 93)
@@ -0,0 +1,171 @@
+
+		TOPPERS/SSPJ[l
+		g£pbP[Wdl
+
+		Îo[W: Release 1.3.0
+		ÅIXV: 2015N 512ú
+
+±ÌhL
+gÍCTOPPERS/SSPJ[lÌ@\ðg£·é½ßÌg£
+pbP[WÉt¢ÄLqµ½àÌÅ éD
+
+----------------------------------------------------------------------
+     TOPPERS/SSP Kernel
+         Smallest Set Profile Kernel
+ 
+     Copyright (C) 2011,2013 by Meika Sugimoto
+     Copyright (C) 2014,2015 by Naoki Saito
+                Nagoya Municipal Industrial Research Institute, JAPAN
+ 
+ ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+     XR[hÉÜÜêÄ¢é±ÆD
+ (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+     pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+     Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+     Ì³ÛØKèðfÚ·é±ÆD
+ (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+     pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+     ÆD
+   (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+       ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+   (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+       ñ·é±ÆD
+ (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+     Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+     Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+     RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+     ÆÓ·é±ÆD
+ 
+ {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ ÌÓCðíÈ¢D
+ 
+----------------------------------------------------------------------
+
+g£pbP[WÌTv
+
+Eüúnh@\
+EA[nh@\
+EVXeÇ@\
+ECxgtO@\
+Ef[^L
+[@\
+
+ÔÇ@\ðÀ»·é½ßÌ^CCxgÇ@\àg£pbP[WÉ
+ÜñÅ¢éD
+
+üúnh@\
+
+üúnh@\ÍCÈºÌT[rXR[ðT|[gµÄ¢éD
+
+ECRE_CYC
+Esta_cyc
+Estp_cyc
+
+½¾µCSSPJ[lÅÍ16ÂÜÅµ©üúnhð¶¬Å«È¢Æ¢¤
+§Àª éD
+
+A[nh@\
+
+A[nh@\ÍCÈºÌT[rXR[ðT|[gµÄ¢éD
+
+ECRE_ALM
+Esta_alm
+Eista_alm
+Estp_alm
+Eistp_alm
+
+½¾µCSSPJ[lÅÍ16ÂÜÅµ©A[nhð¶¬Å«È¢Æ¢¤
+§Àª éD
+
+VXeÇ@\
+
+VXeÇ@\ÍCÈºÌT[rXR[ðT|[gµÄ¢éD
+
+Eget_tim
+
+CxgtO@\
+
+CxgtO@\ÍCÈºÌT[rXR[ðT|[gµÄ¢éD
+
+ECRE_FLG
+Eset_flg
+Eiset_flg
+Eclr_flg 
+Epol_flg 
+
+f[^L
+[@\
+
+f[^L
+[@\ÍCÈºÌT[rXR[ðT|[gµÄ¢éD
+
+ECRE_DTQ
+Epsnd_dtq
+Eipsnd_dtq
+Eprcv_dtq
+
+t@X
+
+(1) üúnh@\
+
+	ER ercd = sta_cyc(ID cycid)
+	ER ercd = stp_cyc(ID cycid)
+
+(2) A[nh@\
+
+	ER ercd = sta_alm(ID almid, RELTIM almtim)
+	ER ercd = ista_alm(ID almid, RELTIM almtim)
+	ER ercd = stp_alm(ID almid)
+	ER ercd = istp_alm(ID almid)
+
+(3) ÔÇ@\
+
+	ER ercd = get_tim(SYSTIM *p_systim)
+
+(4) CxgtO@\
+
+    ER set_flg(ID flgid, FLGPTN setptn);
+    ER iset_flg(ID flgid, FLGPTN setptn);
+    ER clr_flg(ID flgid, FLGPTN clrptn);
+    ER pol_flg(ID flgid, FLGPTN waiptn, MODE wfmode, FLGPTN *p_flgptn);
+
+(5) f[^L
+[@\
+
+    ER psnd_dtq(ID dtqid, intptr_t data);
+    ER ipsnd_dtq(ID dtqid, intptr_t data);
+    ER prcv_dtq(ID dtqid, intptr_t *p_data);
+
+
+ ÃIAPIê
+
+(1) üúnh@\
+
+CRE_CYC(ID cycid, { ATR cycatr, intptr_t exinf,
+			CYCHDR cychdr, RELTIM cyctim, RELTIM cycphs })
+
+(2) A[nh@\
+
+CRE_ALM(ID almid, { ATR almatr, intptr_t exinf, ALMHDR almhdr })
+
+(3) CxgtO@\
+
+CRE_FLG(ID flgid, { ATR flgatr, FLGPTN iflgptn })
+
+(4) f[^L
+[@\
+
+CRE_DTQ(ID dtqid, { ATR dtqatr, uint_t dtqcnt, void *dtqmb })
+
+ÈãD
Index: /ssp_qb_r5f100le_cs/trunk/doc/porting.txt
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/doc/porting.txt	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/doc/porting.txt	(revision 93)
@@ -0,0 +1,3134 @@
+
+		TOPPERS/SSPJ[l
+		^[QbgË¶ |[eBOKCh
+
+		Îo[W: Release 1.3.0
+		ÅIXV: 2015N511ú
+
+±ÌhL
+gÍCTOPPERS/SSPJ[lðC¢T|[gÌ^[QbgVXe
+É|[eBO·é½ßÉKvÆÈé^[QbgË¶ÌÀû@ðà¾·
+éàÌÅ éD
+
+----------------------------------------------------------------------
+     TOPPERS/SSP Kernel
+         Smallest Set Profile Kernel
+ 
+     Copyright (C) 2011-2012 by Meika Sugimoto
+     Copyright (C) 2015 by Naoki Saito
+                Nagoya Municipal Industrial Research Institute, JAPAN
+
+ ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+     XR[hÉÜÜêÄ¢é±ÆD
+ (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+     pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+     Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+     Ì³ÛØKèðfÚ·é±ÆD
+ (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+     pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+     ÆD
+   (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+       ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+   (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+       ñ·é±ÆD
+ (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+     Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+     Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+     RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+     ÆÓ·é±ÆD
+ 
+ {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ ÌÓCðíÈ¢D
+ 
+----------------------------------------------------------------------
+
+Ú
+
+1. ¤Ê
+	1.1 ^[QbgË¶Ì\¬
+	1.2 ¼OÌÕËÌh~
+	1.3 ½dCN[hÌh~
+	1.4 AZu¾êÆÌwb_t@CÌ¤p 
+	1.5 CN[hLqÌû@
+	1.6 NeBJZNVÌoüÌÀ»ÉÖ·é§ñ
+2. VXe\zÂ«Ì^[QbgË¶
+	2.1 ^[QbgªÌÆ^[QbgË¶ÌfBNg
+	2.2 MakefileÌ^[QbgË¶
+	2.3 J­Â«¼ÆR}h¼ÌÝè
+	2.4 RpCIvVÆIuWFNgt@CÌÝè
+	2.5 Nû@ÌÝè
+	2.6 Ë¶ÖWÌè`
+	2.7 »Ì¼ÌÝè
+3. TOPPERS¤Êè`Ì^[QbgË¶
+	3.1 ^[Qbg¯Ê}N
+	3.2 ®^ÌÅålEÅ¬lErbg
+	3.3 TCYÌwè³ê½®^C»ÌÅålEÅ¬lC®èðìé}N
+	3.4 TCYÌwè³ê½®¬_^C»ÌÅålEÅ¬lÌ}N
+	3.5 RpCÌg£@\Ì½ßÌ}Nè`
+	3.6 WIÈè`Ìã«
+	3.7 AT[VÌ½ßÌè`
+4. VXeC^tF[XCiSILjÌ^[QbgË¶
+	4.1 SÝbNóÔÌÇ
+	4.2 ÷­ÔÒ¿
+	4.3 vZbTÌGfBA
+	4.4 óÔANZXÖ
+	4.5 I/OóÔANZXÖ
+5. J[lAPIÌ^[QbgË¶
+	5.1 ^[Qbgè`ÅT|[g·é@\
+	5.2 ÝDæxÌÍÍ
+	5.3 ^CeBbNÌè`
+	5.4 ÌæmÛÌ½ßÌ^è`
+	5.5 ÌæmÛÌ½ßÌ}N
+	5.6 I[onh@\g£Ì½ßÌè`iIvVj
+6. J[lÀÌ^[QbgË¶
+	6.1 J[lÀÌ^[QbgË¶Ì¤Ê
+		6.1.1  J[lÀÌ^[QbgË¶Ì\¬vf
+		6.1.2  ^[QbgË¶ÌÖÌ½¼K¥
+	6.2 g[XO@\ÖÌÎ
+	6.3 VXeóÔÌÇ
+		6.3.1  SÝbNóÔÌÇ
+		6.3.2  ReLXgÌÇ
+		6.3.3  CPUbNóÔÌÇ
+	6.4 ÝÉÖA·éVXeóÔÌÇ
+		6.4.1  ÝDæx}XNÌÇ
+		6.4.2  ÝvÖ~tOÌÇ
+		6.4.3  ÝvÌNA
+		6.4.4  ÝvÌv[u
+		6.4.5  ÝnhÌæªÆö
+	6.5 ^XNfBXpb`
+		6.5.1 ^XNReLXgubNÆ^XNú»ReLXgubN
+		6.5.2 fBXpb`{Ì
+		6.5.3 ^XNReLXg©çÌfBXpb`
+		6.5.4 fBXpb`Ì®ìJn
+		6.5.5 »ÝÌReLXgðÌÄÄfBXpb`
+		6.5.6 ^XNÌN®
+	6.6 Ýnh
+		6.6.1 ÝnhÌoüû
+		6.6.2 ÝnhÌoüûÌ¶¬
+		6.6.3 ÝnhÌÝè
+		6.6.4 ÝvCÌ®«ÌÝè
+		6.6.5 ÝÇ@\Ìú»ÌÏX
+		6.6.6 ftHgÌÝnh
+		6.6.7 J[lÇOÌÝ
+	6.7 CPUáOnhÆCPUáO­¶ÌVXeóÔÌQÆ
+		6.7.1 CPUáOnhÌoüû
+		6.7.2 CPUáOnhÌoüûÌ¶¬
+		6.7.3 CPUáOnhÌÝè
+		6.7.4 CPUáOÇ@\Ìú»ÌÏX
+		6.7.5 ftHgÌCPUáOnh
+		6.7.6 CPUáO­¶ÌVXeóÔÌQÆ
+	6.8 J[lÌN®EI¹ÆX^bNÌæÈÇ
+	6.9 J[làÌ`
+[jO
+		6.9.1 rbg}bvT[`
+		6.9.2 rbgtB[h
+	6.10 J[lÀÉÖ·é»Ì¼Ìè`
+		6.10.1 ñ^XNReLXgpÌX^bNÌæ
+		6.10.2 óxÌè`
+	6.11  J[lÀÌ^[QbgË¶Ì½ßÌl[Lq
+	6.12 ^C}hCo
+		6.12.1 ^C}hCoÌt@C\¬
+		6.12.2 ^C}Ìú»EI¹EÝ
+		6.12.3 «\]¿pVXeÌQÆÌ½ßÌ@\
+7. RtBM
+[^Ýèt@CÌ^[QbgË¶
+	7.1 Ýèt@CÆ^[QbgË¶ÌÊut¯
+	7.2 pX2Ìev[gt@CÌ^[QbgË¶
+		7.2.1 ^[QbgñË¶ðCN[h·éOÉè`·×«Ï
+		7.2.2 ^[QbgñË¶Åè`³êéÏ
+	7.3 pX3Ìev[gt@CÌ^[QbgË¶
+	7.4 cfg1_out.cÌNÉKvÈX^uÌè`t@C
+8. VXeT[rXÌ^[QbgË¶
+	8.1 VXeT[rXÌ^[QbgË¶
+	8.2 VAC^tF[XhCoÌ^[QbgË¶
+		8.2.1 ÏCf[^^CÇÖ
+		8.2.2 foCXT[rX[`
+		8.2.3 R[obN[`
+	8.3 J[lN®bZ[WÌoÍÌ^[QbgË¶è`
+	8.4 TvvOÆeXgvOÌ^[QbgË¶è`
+9. »Ì¼
+	9.1 hL
+g
+	9.2 pbP[WLqt@C
+10. t@X
+	10.1 ^[QbgË¶Ìt@Cê
+
+
+1. ¤Ê
+
+1.1 ^[QbgË¶Ì\¬
+
+^[QbgË¶ÍCtargetfBNgÌºÉC^[Qbgn[hEFAÆ
+J­Â«ÌgÝí¹ÉpÓ·éD½¾µC^[QbgË¶ÌÄp«ð
+l¶µCvZbTC`bvCJ­Â«ÌÝÉË¶·éªðCvZbTË
+¶C`bvË¶CJ­Â«Ë¶Æ¢¤`ÅØèª¯Äàæ¢DØèª¯
+ûÍC^[QbgË¶ÌÀÉC³êÄ¢éDvZbTË¶C`bvË
+¶CJ­Â«Ë¶ÍCarchfBNgÌºÉu­D
+
+SSPJ[lÌ^[QbgË¶ÍCVXe\zÂ«iMakefilejÌ^[Qb
+gË¶CTOPPERS¤Êè`it_stddef.hjÌ^[QbgË¶CVXeC
+^tF[XCiSILCsil.hjÌ^[QbgË¶CJ[lAPIikernel.hj
+Ì^[QbgË¶CJ[lÀÌ^[QbgË¶iRtBM
+[^
+Ýèt@CÌ^[QbgË¶ðÜÞjCVXeT[rXÌ^[QbgË
+¶C^[QbgË¶ÉÖ·éhL
+gÅ\¬³êéD
+
+1.2 ¼OÌÕËÌh~
+
+TOPPERSvWFNgªñ·é\tgEFAÌ½ßÉCTOPPERS_ÅnÜéV
+{ð\ñµÄ¢éDwb_t@CÉLq³êCAvP[V©çQ
+ÆÅ«éàV{ÍCTOPPERS_ÅnÜé¼OÆ·éD
+
+Ü½C_kernel_ÅnÜéV{ÍCJ[làÌÏâÖÌ½ßÉ\ñ
+µÄ¢éDJ[làÌÏâÖÌ¼OÅCNÉAvP[V
+Ì¼OÆÕË·éÂ\«ª éàÌÍCl[LqÉXgAbv·é±Æ
+ÅCRpCÉ_kernel_ÅnÜé¼OÉu«·¦é±ÆÆµÄ¢éD
+
+1.3 ½dCN[hÌh~
+
+·×ÄÌwb_t@CÍC½dÉCN[h³êéÌðh~·é½ßÌð
+RpCLqðüêé±ÆÆ·éDá¦ÎCtarget_config.hÅ êÎCt@
+CÌæªÉ
+
+#ifndef TOPPERS_TARGET_CONFIG_H
+#define TOPPERS_TARGET_CONFIG_H
+
+ðCt@CÌöÉ
+
+#endif /* TOPPERS_TARGET_CONFIG_H */
+
+ðLq·éD
+
+1.4 AZu¾êÆÌwb_t@CÌ¤p 
+
+SSPJ[lÌwb_t@CÌ½­ÍCAZu¾êÌ\[Xt@C©ç
+àCN[hÅ«éæ¤É·é½ßÉCÌ[É]ÁÄLq·éàÌÆ
+·éD
+
+ETOPPERS_MACRO_ONLYª}Nè`³êÄ¢éêÉÍCAZu¾êÅÍ
+@ðßÅ«È¢Lqi}Nè`ÈOÌLqjð­æ¤ÉLq·éD
+
+E³µ®^ÌèlÍCUINT_CâULONG_CÈÇÌ®èðìé½ßÌ}
+@Nðp¢ÄLq·éD½¾µCAZu¾êÌ\[Xt@C©çàC
+@N[hÅ«ét@CÅ ÁÄàCC¾êÌÝÅp¢éèð±êçÌ
+@}NðgÁÄLq·éKvÍÈ¢D
+
+Ü½CJ[lÀÉ¨¢ÄÍCÌ[É]¤àÌÆ·éD
+
+EAZu¾ê©çàp¢éèÌè`É^LXgðp¢éêÉÍC
+@CAST}Nðp¢ÄLq·éD
+
+AZu¾ê©çwb_t@CðCN[h·éÛÉÍCKvÉ¶ÄC
+TOPPERS_MACRO_ONLYCUINC_CCULONG_CCCASTð}Nè`µÄ©çCCN[
+hµÈ¯êÎÈçÈ¢D
+
+1.5 CN[hLqÌû@
+
+J­Â«ÅpÓ³êÄ¢éWwb_t@C¨æÑincludefBNgºÌ
+Wwb_t@CÍCu#include <...>vÉæèCN[h·éD
+
+»Ì¼Ìwb_t@CÍCu#include "..."vÉæèCN[h·éDwb
+_t@CªCJgfBNgâCN[h·ét@CÆ¯¶fB
+NgÈOÌfBNgÉu©êÄ¢éêÉÍCÌæ¤ÉpXwèð
+s¤D
+
+E^[QbgË¶itarget/<^[Qbg¼>jÌfBNgÉu©êÄ¢é
+@êÍCpXwèðsí¸Ct@C¼ÌÝðLq·éD
+		áj#include "target_config.h"
+
+EarchfBNgºÌfBNgÉu©êÄ¢éêÉÍCarchfBN
+@g©çÌÎpXÅLq·éD
+		áj#include "m68k_gcc/prc_config.h"
+
+E»Ì¼ÌêÉÍC\[XvOÌ[gfBNgiconfigureªu
+@©êÄ¢éfBNgj©çÌÎpXÅLq·éD
+		áj#include "pdic/upd72001/upd72001.h"
+
+EJ[lð\¬·ét@C©çCkernelfBNgºÌwb_t@C
+@ðCN[h·éêÍCpXwèðsí¸Ct@C¼ÌÝðLq·éD
+		áj#include "kernel_impl.h"
+
+1.6 NeBJZNVÌoüÌÀ»ÉÖ·é§ñ
+
+J[làÅp¢éNeBJZNVÌoüðÀ»·éêÉÍC
+Ì2ÂÌðð½·æ¤ÉÀµÈ¯êÎÈçÈ¢D
+
+(1-6-1) oü©ç²¯½_ÅÍCÝÌÖ~^Âª®¹µÄ¢È¯
+êÎÈçÈ¢Dá¦ÎCÝÖ~^Â½ßðÀsµÄ©çÀÛÉÝª
+Ö~^Â³êéÜÅ½½ß©x·évZbTÌêÉÍCoüÌ
+ÉNOP½ßðüêéÈÇÌû@ÅCoüð²¯½_ÅÍCÝªÖ~^
+Â³ê½óÔÉÈÁÄ¢é±ÆðÛØµÈ¯êÎÈçÈ¢D
+
+(1-6-2) ãÌf[^\¢ª«ÏíéÂ\«ª é±ÆðC½ç©Ìû
+@ÅRpCÉmç¹È¯êÎÈçÈ¢DGNUJ­Â«ÅÍCÌ¢¸ê©Ì
+û@Å±Ì§ñð½·±ÆªÅ«éD
+
+(a) NeBJZNVÌoüÌSÌÜ½ÍoüÌ{¿IÈª
+	iïÌIÉÍCÝÖ~^Â·éjðiCCÅÈ¢jÊí
+	ÌÖÉæèÀ»·éD
+
+(b) NeBJZNVÌoüÌ{¿IÈªðCCAZu
+	ÉæÁÄÀ»µÄ¢éêÉÍC»ÌCCAZuÌclobberÏ
+	XgÉ"memory"ðÇÁ·éD
+
+(c) NeBJZNVÌoüÌ{¿IÈªªC}NâCC
+	ÖÄoµÅÀ»µÄ¢éêÉÍCNeBJZNVÉüé
+	ÌÅãÆoéÌæªÉCAsm("":::"memory")Æ¢¤LqðüêéD
+
+±Ìæ¤È§ñðÝ¯éRÉÂ¢ÄÍCuTOPPERS/ASPJ[l Ývv
+ÌuJ[lÌf[^\¢ÉÎ·évolatileé¾ÉÂ¢ÄvÌßðQÆ·é±
+ÆD
+
+2. VXe\zÂ«Ì^[QbgË¶
+
+±ÌÍÌà¾ÍCGNUJ­Â«iGCCCGASCBINUTILSCGNU Makejðp¢é±Æ
+ðzèµÄLqµÄ éD»êÈOÌJ­Â«ðp¢éêÉÍCJ­Â«É
+ í¹ÄC³·éKvª éD
+
+2.1 ^[QbgªÌÆ^[QbgË¶ÌfBNg
+
+Vµ¢^[QbgË¶ðì¬·éÍCÜ¸C^[QbgªÌðèßéD^[
+QbgªÌÍCVXeªÌÆJ­Â«ªÌð"_"ÅAµ½àÌÆ·éDVX
+eªÌÉp¢é¶Íp¬¶ÆÆ"_"ÉCJ­Â«ªÌÉp¢é¶Í
+p¬¶ÆÉÀè·éDGNUJ­Â«ÌJ­Â«ªÌÍC"gcc"Æ·éDá
+¦ÎCVXeªÌª"dve68k"ÅCGNUJ­Â«ðp¢éêÉÍC^[Qbg
+ªÌÍ"dve68k_gcc"ÆÈéD
+
+^[QbgË¶Ìt@Cðu­½ßÉCtargetfBNgÌºÉC^[
+QbgªÌð¼ÌÆ·éfBNgðì¬·éD±êð^[QbgË¶fB
+NgÆÄÔD
+
+^[QbgË¶©çvZbTË¶â`bvË¶ðØèª¯éêÉÍC
+Ë¶ªÌðèßéDË¶ªÌÍCvZbTâ`bvÌªÌÆJ­Â«ª
+Ìð"_"ÅAµ½àÌÆ·éDvZbTâ`bvÌªÌÉp¢é¶ÍCp
+¬¶ÆÆ"_"ÉÀè·éDá¦ÎCvZbTªÌª"m68k"ÅCGNUJ­
+Â«ðp¢éêÉÍCË¶ªÌÍ"m68k_gcc"ÆÈéD
+
+Ü½C^[QbgË¶©çJ­Â«Ë¶ðØèª¯éêÉÍCJ­Â«
+ªÌðË¶ªÌÆ·éDá¦ÎCGNUJ­Â«Ë¶ÌË¶ªÌÍC"gcc"
+ÆÈéD
+
+±êçÌË¶Ìt@Cðu­½ßÉCarchfBNgÌºÉCË¶ª
+Ìð¼ÌÆ·éfBNgðì¬·éD
+
+È¨CGNUJ­Â«ÈOÌJ­Â«ðp¢éêÉÍCRtBM
+[V
+XNvgiconfigurejCTvÌMakefileisample/MakefilejCêÌ
+[eBeBvOiutils/genoffsetCutils/makedepjðC»ÌJ­
+Â«pÉpÓ·éKvª éêª éD»ÌêÉÍC±êçÌt@CðC
+^[QbgË¶fBNg©J­Â«Ë¶fBNgÉu­àÌÆ·
+éDÜ½CJ­Â«pÌvWFNgt@CªKvÈêÉÍC^[Qbg
+Ë¶fBNgÉu­àÌÆ·éD
+
+2.2 MakefileÌ^[QbgË¶
+
+MakefileÌ^[QbgË¶ÍC^[QbgË¶fBNgÉu¢½
+Makefile.targetÜ½Í»±©çCN[h³êét@CivZbTE`b
+vEJ­Â«Ë¶ÅpÓ³êét@CÈÇjÉÜßéD
+
+2.3 J­Â«¼ÆR}h¼ÌÝè
+
+J­Â«¼ÆR}h¼ðÝè·é½ßÉCMakefileÌ^[QbgË¶Å
+ÌÏðè`·éD
+
+(2-3-1) TOOL					J­Â«¼
+
+J­Â«¼Éè`·éDGNUJ­Â«ðp¢éêÉÍCgccÉè`·éD
+
+(2-3-2) GCC_TARGET				GNUJ­Â«Ì^[Qbg¼
+
+GNUJ­Â«ðp¢éêÉCGNUJ­Â«ðconfigure·éêÉwè·é^[
+Qbg¼Éè`·éD±±Åwèµ½^[Qbg¼ÍCJ­Â«ÌR}h¼
+ÌæªÉt^³êé¶ñÆÈéDá¦ÎCGCC_TARGETðm68k-unknown-elfÉ
+è`µ½êÉÍCRpCÆµÄm68k-unknown-elf-gccªgíêéD±Ì
+Ïªè`³êÈ¢êÉÍCPÈégccªgíêéD
+
+(2-3-3) CC						CRpChCoÌ¼Ì
+(2-3-4) CXX						C++RpChCoÌ¼Ì
+(2-3-5) AS						AZuÌ¼Ì
+(2-3-6) LD						JÌ¼Ì
+(2-3-7) AR						A[JCoÌ¼Ì
+(2-3-8) NM						nmvOÌ¼Ì
+(2-3-9) RANLIB					ranlibvOÌ¼Ì
+(2-3-10) OBJCOPY				objcopyvOÌ¼Ì
+(2-3-11) OBJDUMP				objdumpvOÌ¼Ì
+
+GNUJ­Â«ÈOÌJ­Â«ðp¢éêÉC»ê¼êÌR}hÌ¼ÌÉè`
+·éDÎ·éR}hªÈ¢êâCR}hp[^ªÙÈéêÉÍC
+MakefileÅ»ÌR}hðÄÑoµÄ¢éªðÏX·éKvª éD
+
+GNUJ­Â«ÅÍC±êçÍGCC_TARGETðp¢Äè`³êéÌÅCè`·éKv
+ÍÈ¢D
+
+2.4 RpCIvVÆIuWFNgt@CÌÝè
+
+MakefileÌ^[QbgË¶ÅÈºÅà¾·éÏðè`·éÉÍC":="ð
+p¢ÄC»êÜÅÌè`ÉÇÁ·é`Ås¤Dá¦ÎCRpCÉÎ·é»
+Ì¼ÌIvVÆµÄu-Wall -g -O2vðÇÁµ½¢êÉÍCuCOPTS :=
+$(COPTS) -Wall -g -O2vÆ¢¤LqðMakefileÌ^[QbgË¶ÉÜßéD
+
+(2-4-1) COPTS				RpCÉÎ·é»Ì¼ÌIvV
+(2-4-2) CDEFS				}Nè`IvVi-DIvVj
+(2-4-3) INCLUDES			wb_t@CÌu©ê½fBNgwèI
+							vVi-IIvVj
+(2-4-4) LDFLAGS				JÉÎ·é»Ì¼ÌIvV
+(2-4-5) LIBS				CuNwèÌ½ßÌIvV
+
+^[QbgÉË¶µÄC·×ÄÌ\[Xt@CÉ¤Ê·éRpCIvV
+ÌÇÁªKvÈêÉÍCIvVÌíÞÉãÉ¦µ½ÏÉè`·éD
+
+ÙÆñÇÌêÉC^[QbgË¶fBNgÌMakefile.targetÉÍCÈ
+ºÌLqðÜßéKvª éD
+
+----------------------------------------
+INCLUDES := $(INCLUDES) -I$(TARGETDIR)
+----------------------------------------
+
+±±ÅTARGETDIRÍC^[QbgË¶fBNgÉè`³êÄ¢éDÜ½
+SRCDIRÍCMakefileÉ¨¢ÄC\[XvOÌ[gfBNg
+iconfigureªu©êÄ¢éfBNgjÉè`³êÄ¢éD
+
+RpCÌâèÅCxbZ[Wªoé±Æðh°È¢óµÈOÅÍC
+COPTSÉ-WerrorðÇÁ·é±Æð§·éD
+
+----------------------------------------
+COPTS := $(COPTS) -Werror
+----------------------------------------
+
+J[lÌRpCÉCdereferencing type-punned pointer will break
+strict-aliasing rulesÆ¢¤xªoéêÉÍCÈºðÇÁ·éÆæ¢D±
+ÌxbZ[WÉÖ·éÚ×ÍCuTOPPERS/ASPJ[l ÝvvÌu^
+LXgÉº¤xbZ[WvÌßðQÆ·é±ÆD
+
+----------------------------------------
+KERNEL_CFLAGS := $(KERNEL_CFLAGS) -fno-strict-aliasing
+----------------------------------------
+
+Ü½CAZu¾êxÌ¯Ê¼ªCC¾êxÌ¯Ê¼ÌæªÉ"_"ª
+t¢½àÌÉÈéêÉÍCCDEFSÉ-DTOPPERS_LABEL_ASMðÇÁ·éD
+
+(2-4-6) SYSSVC_DIR			VXeT[rXÌ\[Xªu©ê½fBNg
+(2-4-7) SYSSVC_ASMOBJS		AZu¾êÅLq³ê½VXeT[rXÌ
+							IuWFNg
+(2-4-8) SYSSVC_COBJS		C¾êÅLq³ê½VXeT[rXÌIuWFNg
+(2-4-9) SYSSVC_CFLAGS		VXeT[rXÉÎ·éRpCIvV
+(2-4-10) SYSSVC_LIBS		VXeT[rXÉÎ·éCuNwè
+
+^[QbgÉË¶µÄCVXeT[rXiVXeO^XNâfoCXh
+CoÈÇjÌ\[Xªu©ê½fBNgCVXeT[rXð\¬·é
+IuWFNgt@CÌXgC»êçðRpC·éÛÉKp·éRp
+CIvVC»Ì\¬ÉKvÈCuNwèðÇÁ·éêÉÍC
+ãÉ¦µ½ÏÉè`·éD
+
+(2-4-11) KERNEL_DIR			J[lÌ\[Xªu©ê½fBNg
+(2-4-12) KERNEL_ASMOBJS		AZu¾êÅLq³ê½J[lÌIuWFNg
+(2-4-13) KERNEL_COBJS		C¾êÅLq³ê½J[lÌIuWFNg
+(2-4-14) KERNEL_CFLAGS		J[lÉÎ·éRpCIvV
+
+^[QbgÉË¶µÄCJ[lÌ\[Xªu©ê½fBNgCJ[l
+ð\¬·éIuWFNgt@CÌXgC»êçðRpC·éÛÉKp
+·éRpCIvVðÇÁ·éêÉÍCãÉ¦µ½ÏÉè`·éD
+
+ÙÆñÇÌêÉC^[QbgË¶fBNgÌMakefile.targetÉÍCÈ
+ºÌLqðÜßéKvª éD
+
+----------------------------------------
+KERNEL_DIR := $(KERNEL_DIR) $(TARGETDIR)
+KERNEL_ASMOBJS := $(KERNEL_ASMOBJS) target_support.o
+KERNEL_COBJS := $(KERNEL_COBJS) target_config.o target_timer.o
+----------------------------------------
+
+(2-4-15) CFG_TABS			RtBM
+[^ÉÎ·éIvV
+
+^[QbgÉË¶µÄCRtBM
+[^ÉÎ·éIvVðÇÁ·éê
+ÉÍCãÉ¦µ½ÏÉè`·éDïÌIÉÍCRtBM
+[^Ìlæ
+¾V{e[uÌ^[QbgË¶itarget_def.csvjª éêÉÍC
+»êðwè·éIvVðÇÁ·éKvª éD
+
+ÙÆñÇÌêÉC^[QbgË¶fBNgÌMakefile.targetÉÍCÈ
+ºÌLqðÜßéKvª éD
+
+----------------------------------------
+CFG_TABS := $(CFG_TABS) --cfg1-def-table $(TARGETDIR)/target_def.csv
+----------------------------------------
+
+(2-4-16) CFG1_OUT_LDFLAGS	cfg1_out.cÉÎ·éNIvV
+
+^[QbgÉË¶µÄCcfg1_out.cðN·éÛÉKp·éIvVðÇ
+Á·éêÉÍCãÉ¦µ½ÏÉè`·éD
+
+(2-4-17) CFG_OBJS			VXeRtBM
+[VÌ½ßÌIu
+							WFNg
+
+^[QbgÉË¶µÄCVXeRtBM
+[VÌ½ßÌIuWFN
+gt@Cðikernel_cfg.oÈOÉjÇÁ·éêÉÍCãÉ¦µ½ÏÉè
+`·éD±ÌêCÇÁµ½IuWFNgt@CÌì¬[iRpC^
+AZu[ÆË¶ÖWì¬[jðCMakefileÌ^[QbgË¶É
+Lq·éKvª éD
+
+(2-4-18) CFG2_OUT
+
+^[QbgÉË¶µÄCRtBM
+[^ÌpX2Åkernel_cfg.cÆ
+kernel_cfg.hÈOÌt@Cð¶¬·éêÉÍCãÉ¦µ½ÏÉè`·éD
+
+(2-4-19) OMIT_WARINIG_ALL
+(2-4-20) OMIT_OPTIMIZATION
+
+TvÌMakefileÅÍCRpCÉÎ·éIvVÉu-Wall -g -O2v
+ðÇÁ·éD-WallðÇÁµ½­È¢êÉÍCMakefileÌ^[QbgË¶Å
+OMIT_WARNING_ALLð"true"Éè`·éD-O2ðÇÁµ½­È¢êÉÍC
+MakefileÌ^[QbgË¶ÅOMIT_OPTIMIZATIONð"true"Éè`·éD
+
+2.5 Nû@ÌÝè
+
+(2-5-1) LDSCRIPT				JXNvgÌt@C¼
+
+J­Â«ÉWÌJXNvgªgpÅ«È¢êÉÍC^[QbgË¶
+ÅJXNvgðpÓµC»Ìt@C¼ð±ÌÏÉè`·éD
+
+(2-5-2) TEXT_START_ADDRESS		eLXgZNVÌæªÔn
+(2-5-3) DATA_START_ADDRESS		f[^ZNVÌæªÔn
+
+eZNVÌæªÔnÌwèªKvÈêÉÍC±êçÌÏÉæªÔnð
+è`·éD
+
+(2-5-4) START_OBJS				æªÉN·×«W
+[¼
+(2-5-5) END_OBJS				ÅãÉN·×«W
+[¼
+
+^[QbgÉæÁÄÍC[hW
+[ÌæªÆÅãÉN·×«W
+[
+ðC^[QbgË¶ÅpÓ·éKvª éD½­ÌêCX^[gAbv
+W
+[ð[hW
+[ÌæªÉN·éKvª éD
+
+[hW
+[ÌæªÉN·×«vOª éêÉÍCMakefile
+Ì^[QbgË¶É¨¢ÄC»ÌIuWFNgt@C¼ðSTART_OBJSÉè
+`µC»êÉÎ·éRpC[ÆË¶ÖWì¬[ðè`·éD[
+hW
+[ÌÅãÉN·×«W
+[ª éêÉÍC»ÌIuWF
+Ngt@C¼ðEND_OBJSÉè`µC»êÉÎ·éRpC[ÆË¶Ö
+Wì¬[ðè`·éDÜ½CWÌX^[gAbvW
+[icrt0.oj
+ðNµÈ¢æ¤ÉCLDFLAGSÉ-nostdlibðÇÁ·éKvª éD³ç
+ÉC-nostdlibðÂ¯é±ÆÅWCuªN³êÈ­Èé½ßC
+LIBSÉ-lgccðÇÁµÈ¯êÎÈçÈ¢D
+
+á¦ÎCX^[gAbvW
+[Ì\[Xt@Cªstart.SÌêÉÍC
+MakefileÌ^[QbgË¶ÉÌæ¤ÈLqðüêéÆæ¢D
+
+----------------------------------------
+# X^[gAbvW
+[ÌIuWFNgt@C¼
+START_OBJS = start.o
+
+# X^[gAbvW
+[ÌRpC[
+$(START_OBJS): %.o: %.S
+	$(CC) -c $(CFLAGS) $(KERNEL_CFLAGS) $<
+
+# X^[gAbvW
+[ÌË¶ÖWì¬[
+$(START_OBJS:.o=.d): %.d: %.S
+	@$(PERL) $(SRCDIR)/utils/makedep -C $(CC) $(MAKEDEP_OPTS) \
+		-O "$(CFLAGS) $(KERNEL_CFLAGS)" $< >> Makefile.depend
+
+# JÉÎ·éIvV
+LDFLAGS := -nostdlib $(LDFLAGS)
+LIBS := $(LIBS) -lgcc
+----------------------------------------
+
+Ü½CGNUJ­Â«ÅCRpCÉWÌcrtbegin.oÆcrtend.oðp¢éê
+ÉÍCMakefile Ì^[QbgË¶ÉÌæ¤ÈLqðüêéÆæ¢D
+
+----------------------------------------
+# IuWFNgt@C¼
+START_OBJS = $(shell $(CC) -print-file-name=crtbegin.o)
+END_OBJS = $(shell $(CC) -print-file-name=crtend.o)
+
+# Ë¶ÖWì¬[
+$(START_OBJS:.o=.d): %.d:
+$(END_OBJS:.o=.d): %.d:
+
+# JÉÎ·éIvV
+LDFLAGS := -nostdlib $(LDFLAGS)
+LIBS := $(LIBS) -lgcc
+----------------------------------------
+
+±ÌêC±êçÌt@CðRpC·é±ÆÍÈ¢½ßCRpC[
+ÍsvÅ éDÜ½CË¶ÖWì¬[Í_~[Åæ¢iË¶ÖWì¬[
+ªÈ¢ÆG[ÉÈéjD
+
+(2-5-6) HIDDEN_OBJS				wèµÈ­ÄàN³êéW
+[¼
+
+[hW
+[ÉN·×«W
+[ðCJÉÎ·ép[^Å
+ÍÈ­CJXNvgÉiá¦ÎCGNUJ­Â«ÌJXNvgÌ
+STARTUPðgÁÄjLq·éêÉÍC»ÌIuWFNgt@C¼ðC
+iSTART_OBJSÜ½ÍEND_OBJSÅÍÈ­jHIDDEN_OBJSÉè`µC»êÉÎ·éR
+pC[ÆË¶ÖWì¬[ðè`·éDHIDDEN_OBJSÉè`µ½
+W
+[ÍCJÉÎ·ép[^©çÍO³êéDLIBSÆLDFLAGSÉÂ
+¢ÄÍCSTART_OBJSÜ½ÍEND_OBJSðp¢éêÆ¯lÅ éD
+
+á¦ÎCX^[gAbvW
+[Ì\[Xt@Cªstart.SÅCstart.oð
+N·é±ÆðJXNvgÉLq·éêÉÍCMakefileÌ^[Qb
+gË¶ÉÌæ¤ÈLqðüêéÆæ¢D
+
+----------------------------------------
+# X^[gAbvW
+[ÌIuWFNgt@C¼
+HIDDEN_OBJS = start.o
+
+# X^[gAbvW
+[ÌRpC[
+$(HIDDEN_OBJS): %.o: %.S
+	$(CC) -c $(CFLAGS) $(KERNEL_CFLAGS) $<
+
+# X^[gAbvW
+[ÌË¶ÖWì¬[
+$(HIDDEN_OBJS:.o=.d): %.d: %.S
+	@$(PERL) $(SRCDIR)/utils/makedep -C $(CC) $(MAKEDEP_OPTS) \
+		-O "$(CFLAGS) $(KERNEL_CFLAGS)" $< >> Makefile.depend
+
+# JÉÎ·éIvV
+LDFLAGS := -nostdlib $(LDFLAGS)
+LIBS := $(LIBS) -lgcc
+----------------------------------------
+
+2.6 Ë¶ÖWÌè`
+
+RtBM
+[^ÌepXÉÎµÄC^[QbgË¶Ìt@CÖÌË¶Ö
+Wðè`·éDïÌIÉÍCpX1CpX2CpX3ªË¶·ét@CðC»ê
+¼êcfg1_out.cCkernel_cfg.timestampC$(OBJFILE)ÉÎ·éË¶ÖWÌ`Å
+Lq·éD
+
+ÙÆñÇÌêÉC^[QbgË¶fBNgÌMakefile.targetÉÍCÈ
+ºÌLqðÜßéKvª éD
+
+----------------------------------------
+cfg1_out.c: $(TARGETDIR)/target_def.csv
+kernel_cfg.timestamp: $(TARGETDIR)/target.tf
+$(OBJFILE): $(TARGETDIR)/target_check.tf
+----------------------------------------
+
+2.7 »Ì¼ÌÝè
+
+(2-7-1) CLEAN_FILES				cleanÉæèí·ét@C¼
+
+cleanÉæèí·ét@Cð^[QbgË¶ÅÇÁµ½¢êÉÍCt@
+C¼ð±ÌÏÉÇÁè`·éD
+
+(2-7-2) REALCLEAN_FILES			realcleanÉæèí·ét@C¼
+
+realcleanÉæèí·ét@Cð^[QbgË¶ÅÇÁµ½¢êÉÍC
+t@C¼ð±ÌÏÉÇÁè`·éD
+
+
+3. TOPPERS¤Êè`Ì^[QbgË¶
+
+TOPPERS¤Êè`it_stddef.hjÌ^[QbgË¶ÍCtarget_stddef.hÜ½
+Í»±©çCN[h³êét@CivZbTE`bvEJ­Â«Ë¶
+ÅpÓ³êéwb_t@CÈÇjÉÜßéD
+
+3.1 ^[Qbg¯Ê}N
+
+AvP[VâVXeT[rXÅ^[Qbgð¯Ê·é½ßÉC
+"TOPPERS_"ÉVXeªÌðå¶Éµ½¶ñðAµ½àÌiá¦ÎC
+"TOPPERS_DVE68K"jð}Nè`·éD
+
+Ü½C^[QbgË¶©çvZbTË¶â`bvË¶ðØèª¯½ê
+ÉÍC"TOPPERS_"ÉË¶ªÌðå¶Éµ½¶ñðAµ½àÌiá¦
+ÎC"TOPPERS_M68K"jð}Nè`·éD
+
+3.2 ®^ÌÅålEÅ¬lErbg
+
+(3-2-1) INT_MAX				intÉi[Å«éÅåliC90j
+(3-2-2) INT_MIN				intÉi[Å«éÅ¬liC90j
+(3-2-3) UINT_MAX			unsigned intÉi[Å«éÅåliC90j
+(3-2-4) LONG_MAX			longÉi[Å«éÅåliC90j
+(3-2-5) LONG_MIN			longÉi[Å«éÅ¬liC90j
+(3-2-6) ULONG_MAX			unsigned longÉi[Å«éÅåliC90j
+(3-2-7) CHAR_BIT			char^ÌrbgiC90j
+
+®^ÌÅålEÅ¬lErbgðC±êçÌV{É}NÉè`·éD
+
+±êçÌ}NÍCC90Éµ½àÌÅ éDJ­Â«ÉC90Éµ½
+limits.hªpÓ³êÄ¢éêÉÍC±êçÌ}Nðè`·é±ÆÉã¦ÄC
+limits.hðCN[h·êÎæ¢D
+
+3.3 TCYÌwè³ê½®^C»ÌÅålEÅ¬lC®èðìé}N
+
+(3-3-1) int8_t				t«8rbg®iIvVCC99j
+(3-3-2) uint8_t				³µ8rbg®iIvVCC99j
+(3-3-3) int16_t				t«16rbg®iC99j
+(3-3-4) uint16_t			³µ16rbg®iC99j
+(3-3-5) int32_t				t«32rbg®iC99j
+(3-3-6) uint32_t			³µ32rbg®iC99j
+(3-3-7) int64_t				t«64rbg®iIvVCC99j
+(3-3-8) uint64_t			³µ64rbg®iIvVCC99j
+(3-3-9) int128_t			t«128rbg®iIvVCC99j
+(3-3-10) uint128_t			³µ128rbg®iIvVCC99j
+(3-3-11) int_least8_t		8rbgÈãÌt«®iC99j
+(3-3-12) uint_least8_t		8rbgÈãÌ³µ®iC99j
+(3-3-13) intptr_t			|C^ði[Å«éTCYÌt«®iC99j
+(3-3-14) uintptr_t			|C^ði[Å«éTCYÌ³µ®iC99j
+(3-3-15) INT8_MAX			int8_tÉi[Å«éÅåliIvVCC99j
+(3-3-16) INT8_MIN			int8_tÉi[Å«éÅ¬liIvVCC99j
+(3-3-17) UINT8_MAX			uint8_tÉi[Å«éÅåliIvVCC99j
+(3-3-18) INT16_MAX			int16_tÉi[Å«éÅåliC99j
+(3-3-19) INT16_MIN			int16_tÉi[Å«éÅ¬liC99j
+(3-3-20) UINT16_MAX			uint16_tÉi[Å«éÅåliC99j
+(3-3-21) INT32_MAX			int32_tÉi[Å«éÅåliC99j
+(3-3-22) INT32_MIN			int32_tÉi[Å«éÅ¬liC99j
+(3-3-23) UINT32_MAX			uint32_tÉi[Å«éÅåliC99j
+(3-3-24) INT64_MAX			int64_tÉi[Å«éÅåliIvVCC99j
+(3-3-25) INT64_MIN			int64_tÉi[Å«éÅ¬liIvVCC99j
+(3-3-26) UINT64_MAX			uint64_tÉi[Å«éÅåliIvVCC99j
+(3-3-27) INT128_MAX			int128_tÉi[Å«éÅåliIvVCC99j
+(3-3-28) INT128_MIN			int128_tÉi[Å«éÅ¬liIvVCC99j
+(3-3-29) UINT128_MAX		uint128_tÉi[Å«éÅåliIvVCC99j
+(3-3-30) INT_LEAST8_MAX		int_least8_tÉi[Å«éÅåliC99j
+(3-3-31) INT_LEAST8_MIN		int_least8_tÉi[Å«éÅ¬liC99j
+(3-3-32) UINT_LEAST8_MAX	uint_least8_tÉi[Å«éÅåliC99j
+(3-3-33) INT8_C(val)		int_least8_t^Ìèðìé}NiC99j
+(3-3-34) UINT8_C(val)		uint_least8_t^Ìèðìé}NiC99j
+(3-3-35) INT16_C(val)		int16_t^Ìèðìé}NiC99j
+(3-3-36) UINT16_C(val)		uint16_t^Ìèðìé}NiC99j
+(3-3-37) INT32_C(val)		int32_t^Ìèðìé}NiC99j
+(3-3-38) UINT32_C(val)		uint32_t^Ìèðìé}NiC99j
+(3-3-39) INT64_C(val)		int64_t^Ìèðìé}NiIvVCC99j
+(3-3-40) UINT64_C(val)		uint64_t^Ìèðìé}NiIvVCC99j
+(3-3-41) INT128_C(val)		int128_t^Ìèðìé}NiIvVCC99j
+(3-3-42) UINT128_C(val)		uint128_t^Ìèðìé}NiIvVCC99j
+
+wè³ê½TCYÌ®^ðC±êçÌV{É^è`·éDÜ½Cf[^
+^Éi[Å«éÅålEÅ¬lÆC®èðìé}NðC±êçÌV{
+É}Nè`·éD
+
+±êçÌf[^^¨æÑ}NÍCC99Éµ½àÌÅ éDJ­Â«ÉC99
+Éµ½stdint.hªpÓ³êÄ¢éêÉÍC±êçÌf[^^¨æÑ}N
+ðè`·é±ÆÉã¦ÄCstdint.hðCN[h·êÎæ¢D
+
+ãÅIvVÆLqµ½àÌÍCY·éf[^^ªRpCÅT|[g
+³êÄ¢éêÉÌÝè`·é±Æð¦·D
+
+3.4 TCYÌwè³ê½®¬_^C»ÌÅålEÅ¬lÌ}N
+
+(3-4-1) float32_t			IEEE754Ì32rbgP¸x®¬_iIv
+							Vj
+(3-4-2) double64_t			IEEE754Ì64rbg{¸x®¬_iIv
+							Vj
+(3-4-3) FLOAT32_MIN			float32_tÉi[Å«éÅ¬Ì³K»³ê½³Ì
+							®¬_iIvVj
+(3-4-4) FLOAT32_MAX			float32_tÉi[Å«é\»Â\ÈÅåÌLÀ®
+							¬_iIvVj
+(3-4-5) DOUBLE64_MIN		double64_tÉi[Å«éÅ¬Ì³K»³ê½³Ì
+							®¬_iIvVj
+(3-4-6) DOUBLE64_MAX		double64_tÉi[Å«é\»Â\ÈÅåÌLÀ®
+							¬_iIvVj
+
+wè³ê½TCYE\»`®Ì®¬_^ðC±êçÌV{É^è`·
+éDÜ½Cf[^^Éi[Å«éÅålEÅ¬lðC±êçÌV{É}N
+è`·éD
+
+¢¸êàCY·éf[^^ªRpCÅT|[g³êÄ¢éêÉÌÝè
+`·éD
+
+3.5 RpCÌg£@\Ì½ßÌ}Nè`
+
+RpCÌg£@\ðp¢é½ßÌ}NÆµÄCKvÉ¶ÄCÈºÌ}
+NÌè`ðÜßéD
+
+(3-5-1) inlineiIvVCftHgÍ¢è`j
+(3-5-2) InlineiIvVCftHgÍstatic inlinej
+
+CCÖÅ é±Æð¦·wèDInlineÍCRpCPÊÉ[J
+ÈCCÖÅ é±Æð¦·D
+
+(3-5-3) asmiIvVCftHgÍ¢è`j
+(3-5-4) AsmiIvVCftHgÍ¢è`j
+
+CCAZuðLq·é½ßÌwèDAsmÍCÅK»ÉæèíµÄÍ
+ÈçÈ¢±Æð¦·D±êçÍC^[QbgË¶ÅÌÝg¤}NÅ é½
+ßC^[QbgË¶ÅgíÈ¢Èçè`·éKvÍÈ¢D
+
+(3-5-5) offsetof(structure, field)iIvVCftHgÌè` èj
+
+\¢ÌstructureÌÅÌCtB[hfieldÌItZbgðßé}ND
+
+(3-5-6) alignof(type)iIvVCftHgÌè` èj
+
+f[^^typeÌACgPÊðßé}ND
+
+(3-5-7) NoReturniIvVCftHgÍ¢è`j
+
+^[·é±ÆÌÈ¢ÖÅ é±Æð¦·wèD±êÍC^[QbgË¶
+ÌÝg¤}NÅ é½ßC^[QbgË¶ÅgíÈ¢Èçè`·éKv
+ÍÈ¢D
+
+3.6 WIÈè`Ìã«
+
+t_stddef.hÉÜÜêéTOPPERS¤Êè`ÌWIÈè`ðã«·éêÉÍC
+ÈºÌ}Nðè`·éD
+
+(3-6-1) TOPPERS_booliIvVCftHgÍintj
+(3-6-2) TOPPERS_sizeiIvVCftHgÍuintptr_tj
+(3-6-3) TOPPERS_fpiIvVCftHgÍ¼ÆÝ·«ÌÈ¢Ö|C^j
+
+»ê¼êCbool_tCSIZECFPÉ^è`·×«f[^^D
+
+(3-6-4) UINT_C(val)iIvVCftHgÍUðtÁj
+(3-6-5) ULONG_C(val)iIvVCftHgÍULðtÁj
+
+»ê¼êCunsigned uint^Cunsigned long^Ìèðìé½ßÌ}ND
+
+(3-6-6) NULLiIvVCftHgÍ0j
+
+C90ÌC¾êÂ«ÅÍCNULLÌè`Ístddef.hÉÜÜêÄ¢é½ßC±êð
+CN[hµÄàæ¢D
+
+(3-6-7) ERCD(mercd, sercd)iIvVj
+(3-6-8) MERCD(ercd)iIvVj
+(3-6-9) SERCD(ercd)iIvVj
+
+ERCDCMERCDCSERCDÌWÌè`ÍCt«®ª2ÌâÅ\»³êÄ¨èC
+EVtgZqi>>jªZpVtg³êé±Æð¼èµÄ¢éD½­ÌRp
+CÅ±Ì¼èª¬è§ÂªC»¤ÅÈ¢êÉÍC^[QbgË¶Å±ê
+çÌè`ðã«·éKvª éD
+
+(3-6-10) ALIGN_TYPE(addr, type)iIvVj
+
+AhXaddrªCf[^^typeÌACgPÊÉACµÄ¢é©
+`FbN·é}ND
+
+3.7 AT[VÌ½ßÌè`
+
+t_stddef.hÉÍCassertÌè`ªÜÜêéDassertª¸sµ½êiassertÌ
+p[^ªfalseÉÈÁ½êjÌðC^[QbgË¶ÉpÓ·éKvª
+ éD±êçÌè`ÍCassert}Nðgp·éOÅ êÎCt_stddef.hÈ~
+ÉCN[h³êét@CÉÜÜêÄ¢Äàæ¢DÈ¨Cassertð³øÉ
+·éiNDEBUGð}Nè`µÄRpC·éjêÉÍC±êçðpÓ·é
+KvÍÈ¢D
+
+(3-7-1) TOPPERS_assert_abort(void)
+
+assertª¸sµ½êÉCvOðâ~³¹éÖDVXeJ­Íf
+obKÉÆ·ÌªzIÅ éDVXeÒ­ÉÍáOðsí¹é±
+ÆÉÈéD
+
+{Öð³À[vÅÀ·éÛÍCÈºÌ`®Æ·é±Æ(TECSÌp[TÌ
+§ÀÉí¹é½ßjD
+
+Inline void
+TOPPERS_assert_abort(void)
+{
+	while(1)
+	{
+	}
+}
+
+(3-7-2) TOPPERS_assert_fail(exp, file, line)
+
+assertª¸sµ½Ìîñð\¦/L^·é½ßÌ}NDVXeO@\ð
+p¢éêÉÍCt_syslog.hÉVXeO@\ÉL^·é½ßÌè`ªÜÜ
+êÄ¢éÌÅC^[QbgË¶ÅpÓ·éKvÍÈ¢D
+
+
+4. VXeC^tF[XCiSILjÌ^[QbgË¶
+
+VXeC^tF[XCiSILCsil.hjÌ^[QbgË¶Ìè`ÍC
+target_sil.hÜ½Í»±©çCN[h³êét@CivZbTE`b
+vEJ­Â«Ë¶ÅpÓ³êéwb_t@CÈÇjÉÜßéD
+
+SILÌT[rXR[ÍCCÓÌVXeóÔÅÄÑo·±ÆªÅ«éD»Ì½
+ßCSILÌ^[QbgË¶ÌÖÍCCÓÌVXeóÔÅÄÑo¹éæ¤É
+ÀµÈ¯êÎÈçÈ¢D
+
+4.1 SÝbNóÔÌÇ
+
+SILÌ^[QbgË¶ÅÍCSÝbNóÔÖJÚ·é@\ÆC³ÌóÔ
+Öß·@\i³ÌóÔðL¯·é½ßÉÏðg¤jðñ·éDSÝb
+NóÔÅ é©ð»Ê·é@\Íñ·éKvªÈ¢D
+
+SILÌ@\ÍCJ[lðgpµÈ¢êÉàgpÅ«éKvª éD»Ì½ßC
+SÝbNóÔÖÌJÚÆ³ÌóÔÖÌAÍCJ[lðp¢¸Cv
+ZbTÌ\[Xð¼Úì·é±ÆÉæÁÄÀ»·éDÜ½CSÝb
+NóÔÖÌJÚÆ³ÌóÔÖÌAÍCSÝbNóÔâCPUbNóÔÅ
+às¦éKvª éD
+
+Ûì@\ðÁ½J[lÅÍC[U^XN©çvZbTÌ\[Xð¼
+Úì·é±ÆªÅ«È¢½ßC[U^XN©çÍ±êçÌ@\ðp¢é±
+ÆªÅ«È¢Dp¢½êÌU¢Í^[QbgvZbTÉË¶·éªCT
+^IÉÍCÁ ½ßá½ÈÇÌCPUáOª­¶·é±ÆÉÈéD
+
+(4-1-1) SIL_PRE_LOC
+
+SÝbNtOÌóÔðÛ¶·é½ßÌÏðè`·é}ND^¼Ì
+ãÉCÏ¼ð±¯½àÌÉè`·éDÏ¼ÍC¼Ì¼OÆÕËµÈ¢æ¤
+ÉC"TOPPERS_"ÅnÜé¼OÉ·éD
+
+(4-1-2) SIL_LOC_INT()
+
+»ÝÌSÝbNtOÌóÔðSIL_PRE_LOCÅè`µ½ÏÉÛ¶µCS
+ÝbNóÔÉJÚ³¹é}ND±Ì}NðÀ»·éÛÉÍCu1.6
+NeBJZNVÌoüÌÀ»ÉÖ·é§ñvÌßÉLq³êÄ¢
+é§ñÉ]íÈ¯êÎÈçÈ¢D
+
+(4-1-3) SIL_UNL_INT()
+
+SIL_LOC_INT()ÉæÁÄÏÉÛ¶µ½óÔÉß·}ND±Ì}NðÀ»·
+éÛÉÍCu1.6 NeBJZNVÌoüÌÀ»ÉÖ·é§ñvÌ
+ßÉLq³êÄ¢é§ñÉ]íÈ¯êÎÈçÈ¢D
+
+4.2 ÷­ÔÒ¿
+
+(4-2-1) void sil_dly_nse(ulong_t dlytim)
+
+dlytimÅwè³ê½ÈãÌÔiPÊÍimbjC[vÈÇÉæÁÄÒÂÖ
+D
+
+ÈºÌÖÆ¿ÈðCAZu¾êÅLq·éû@ðCWIÈÀ
+û@Æ·éDAZu¾êÅLq·éÌÍCRpCÌÅK»ÉË¶µÈ
+¢æ¤É·é½ßÅ éDÜ½±ÌÖÍCLbV
+Ìe¿ðó¯È¢æ
+¤ÉCÅ«éÀèANZXðsíÈ¢æ¤ÉÀ·×«Å éD
+
+	void sil_dly_nse(ulong_t dlytim)
+	{
+		dlytim -= SIL_DLY_TIM1;
+		if (Êª0æèå«¢) {
+			do {
+				dlytim -= SIL_DLY_TIM2;
+			} while (Êª0æèå«¢);
+		}
+	}
+
+±ÌÖÌ®ìÍÌÊèÅ éDdlytimªSIL_DLY_TIM1ÈºÌêÉÍCÅ
+Ìif¶Ìðª¬§¹¸C·®ÉÖ©ç²¯éDdlytimªSIL_DLY_TIM1æ
+èå«­C(SIL_DLY_TIM1+SIL_DLY_TIM2)ÈºÌêÉÍCÅÌif¶ÌðÍ
+¬§·éªCdo[vÍ1ñàñç¸ÉÖ©ç²¯éDdlytimª
+(SIL_DLY_TIM1+SIL_DLY_TIM2)æèå«­C(SIL_DLY_TIM1+SIL_DLY_TIM2*2)È
+ºÌêÉÍCdo[vð1ñ¾¯ñÁÄÖ©ç²¯éD»ÌãCdlytimª
+SIL_DLY_TIM2å«­ÈéxÉCwhile[vðñéñª1ñ¸Â¦éD
+
+È¨C±ÌÖðAZu¾êiÜ½ÍCC¾êjÅLq·éêCÇÌt@
+CÉLq·é©ªâèÉÈéDSILÌ^[QbgË¶ÉÍCWÅÍCAZ
+u¾êiÜ½ÍCC¾êjÌÖè`ðLq·é½ßÌt@CðpÓµÄ
+¢È¢D^[QbgË¶ÅpÓµÄàæ¢ªCáOIÉCJ[lÀÌ^[
+QbgË¶W
+[itarget_support.SÜ½Ítarget_config.cjÉLqµÄ
+àæ¢±ÆÉ·éD
+
+(4-2-2) SIL_DLY_TIM1iIvVj
+(4-2-3) SIL_DLY_TIM2iIvVj
+
+sil_dly_nseðãLÌWIÈû@ÅÀ»µ½êC±Ì2ÂÌèð^[Qb
+gË¶Å}Nè`·éD
+
+SIL_DLY_TIM2ÍCãLÌÖÉ¨¢ÄCdo[v1ñÌÀsÔiPÊÍimbj
+ÉÝè·éD^[QbgvZbTÌ½ßZbgÉàæéªC¨¨æ»C¸Z
+½ßÆðªò½ße1ñÌÀsÔÉÈéDSIL_DLY_TIM2ªÜêÎCÖÄ
+oµàÜß½SÌÌÔªdlytimÅwè³ê½ÈãÌÔÉÈéæ¤ÉC
+SIL_DLY_TIM1ðßéD
+
+¦ºLÌàeÍC»_ÅSSPJ[lÅÍ¢T|[gÅ éD
+
+±Ì2ÂÌèlÌèðx·évOÆµÄCtestfBNgÉC
+test_dlynseðpÓµÄ¢éDtest_dlynseðÀs·éÆCÌæ¤ÈoÍª¾
+çêéD
+
+-- for fitting parameters --
+sil_dly_nse(0): 430 OK
+sil_dly_nse(420): 430 OK
+sil_dly_nse(510): 520 OK
+sil_dly_nse(600): 610 OK
+<ª>
+-- for checking boundary conditions --
+sil_dly_nse(421): 520 OK
+sil_dly_nse(511): 610 OK
+sil_dly_nse(601): 700 OK
+
+"for fitting parameters"É±­oÍÍCsil_dly_nse(dlytim)ðÄÑoµ½ê
+ÌÒ¿Ôðªèµ½ÊÅ éD±ÌvOðp¢ÄC":"ÌE¤Ì
+lªCdlytimæèàå«¢ÍÍÅÈé×­ß¢lÉÈéæ¤ÉC2ÂÌèlð
+²®·éD"for checking boundary conditions"É±­oÍÍCvOÌ
+Ã«ð`FbN·é½ßÌàÌÅC":"ÌE¤ÌlªCdlytimæèàå«¢
+±ÆðmF·éiß¢lÉÈéKvÍÈ¢jD
+
+4.3 vZbTÌGfBA
+
+(4-3-1) SIL_ENDIAN_BIG
+(4-3-2) SIL_ENDIAN_LITTLE
+
+vZbTÌGfBAÉæèC¢¸ê©ÐûÌV{ð}Nè`·éD
+
+(4-3-3) TOPPERS_SIL_REV_ENDIAN_UINT16iIvVj
+(4-3-4) TOPPERS_SIL_REV_ENDIAN_UINT32iIvVj
+
+»ê¼êC16rbgC32rbgÌ³µ®ÌGfBAð½]³¹é}
+NDvZbTªGfBA½]Ì½ßÌ½ßðÂêÉÍC»Ì½ß
+ðp¢ÄÀ»·éD±êçÌV{ð}Nè`µÈ¢êÉÍCftH
+gÌè`ªgíêéD
+
+4.4 óÔANZXÖ
+
+(4-4-1) TOPPERS_OMIT_SIL_ACCESS
+
+WÌóÔANZXÖðgp¹¸C^[QbgË¶ÅpÓ·éê
+ÉÍC±ÌV{ð}Nè`·éD
+
+(4-4-2) TOPPERS_OMIT_SIL_REH_LEM
+(4-4-3) TOPPERS_OMIT_SIL_WRH_LEM
+(4-4-4) TOPPERS_OMIT_SIL_REH_BEM
+(4-4-5) TOPPERS_OMIT_SIL_WRH_BEM
+(4-4-6) TOPPERS_OMIT_SIL_REW_LEM
+(4-4-7) TOPPERS_OMIT_SIL_WRW_LEM
+(4-4-8) TOPPERS_OMIT_SIL_REW_BEM
+(4-4-9) TOPPERS_OMIT_SIL_WRW_BEM
+
+»ê¼êCWÌsil_reh_lemCsil_wrh_lemCsil_reh_bemCsil_wrh_bemC
+sil_rew_lemCsil_wrw_lemCsil_rew_bemCsil_wrw_bemðgp¹¸C^[Qb
+gË¶ÅpÓ·éêÉÍC±êçÌV{ð}Nè`·éD
+
+4.5 I/OóÔANZXÖ
+
+óÔÆÍÊÉI/OóÔðÂvZbTÅÍCI/OóÔÉ éfoCX
+WX^ðANZX·é½ßÌÖÆµÄCsil_reb_iopCsil_wrb_iopC
+sil_reh_iopCsil_wrh_iopCsil_reh_lepCsil_wrh_lepCsil_reh_bepC
+sil_wrh_bepCsil_rew_iopCsil_wrw_iopCsil_rew_lepCsil_wrw_lepC
+sil_rew_bepCsil_wrw_bepÌÅKvÈàÌðC^[QbgË¶ÅpÓ·éD
+
+
+5. J[lAPIÌ^[QbgË¶
+
+J[lAPIikernel.hjÌ^[QbgË¶Ìè`ÍCtarget_kernel.hÜ½
+Í»±©çCN[h³êét@CivZbTE`bvEJ­Â«Ë¶
+ÅpÓ³êéwb_t@CÈÇjÉÜßéD
+
+5.1 ^[Qbgè`ÅT|[g·é@\
+
+(5-1-1) TOPPERS_TARGET_SUPPORT_DIS_INT		dis_intðT|[g·é
+(5-1-2) TOPPERS_TARGET_SUPPORT_ENA_INT		ena_intðT|[g·é
+
+dis_intCena_intCT|[g·éêÉC»ê¼êÌV{ð}N
+è`·éD
+
+5.2 ÝDæxÌÍÍ
+
+(5-2-1) TMIN_INTPRI				ÝDæxÌÅ¬liÅlj
+(5-2-2) TMAX_INTPRI				ÝDæxÌÅåliÅálj
+
+»ê¼êCJ[lÇÌÝDæxÌÅ¬liDæxªÅjCJ[l
+ÇÌÝDæxÌÅåliDæxªÅájÉè`·éDTMAX_INTPRIÍ-1
+ÉÅè³êÄ¢éªCÎÌ«Ì½ßÉC^[QbgË¶Åè`·é±ÆÉµ
+Ä¢éD
+
+5.3 ^CeBbNÌè`
+
+(5-3-1) TIC_NUME				^CeBbNÌüúÌªq
+(5-3-2) TIC_DENO				^CeBbNÌüúÌªê
+
+^CeBbNÌüúisignal_timeðÄÑo·üújðC~bPÊÅC
+TIC_NUME/TIC_DENOÉè`·éDá¦ÎC^CeBbNÌüúª1/30bÌê
+ÉÍCTIC_NUMEð100ÉCTIC_DENOð3Éè`·êÎæ¢D
+
+^CeBbNÌüúÍC1~bÆ·éiÂÜèCTIC_NUMECTIC_DENOÆà1
+Éè`·éj±Æð§·éªCV~
+[VÂ«â«\Ìá¢vZb
+TÅ»êªKØÅÈ¢êÉÍC»êÈOÌlÆµÄàæ¢D»ÌêÅàC
+Â\ÈÀèC1~bÌ{Å éiÂÜèCTIC_DENOð1Éè`·éj±Æª
+]Üµ¢D
+
+TIC_NUMEÆTIC_DENOÌè`ðÏX·é±ÆÅC^CeBbNÌüúðÏXÅ
+«éæ¤É^C}hCoðÀ·éêÉÍC±Ì2ÂÌèÌè`ÍftH
+glð^¦Ä¢é±ÆÉÈéD»±ÅC±êçÌè`ðu#ifndef TIC_NUMEv
+u#endifvÅÍñÅLq·éD
+
+5.4 ÌæmÛÌ½ßÌ^è`
+
+(5-4-1) TOPPERS_STK_T	X^bNÌæðmÛ·é½ßÌ^iIvVj
+
+X^bNÌæÍCWÅÍCintptr_t^ÌzñÆµÄmÛ·éªCæèå«¢PÊÅ
+AC³¹½¢ÈÇÌRÅC»êÈOÌ^ÌzñÆµÄmÛ·éêÉÍC
+»ê¼êTOPPERS_STK_TÆðCzñÌx[XÆÈéf[^^É}Nè`·éD
+
+5.5 ÌæmÛÌ½ßÌ}N
+
+(5-5-1) TOPPERS_ROUND_SZiIvVj
+(5-5-2) TOPPERS_COUNT_SZiIvVj
+
+TOPPERS_COUNT_SZ(sz, unit)ÍCsz/unitðØèã°½lðßé}NÅCT
+CYªszÌÌæðTCYªunitÌf[^^ÌzñÅmÛ·éêÌvf
+ðßé½ßÉp¢éDTOPPERS_ROUND_SZ(sz, unit)ÍCsz/unitðØèã°
+½àÌÉunitð©¯½lðßé}NÅCTCYªszÌÌæðTCY
+ªunitÌf[^^ÌzñÅmÛ·éêÌg[^TCYðßé½ßÉp¢
+éD
+
+»ê¼êCWÌTOPPERS_ROUND_SZCTOPPERS_COUNT_SZªKØÅÈ­C^[Qb
+gË¶ÅpÓ·éêÉÍC±êçÌV{ðKØÈlÉ}Nè`·éD
+
+6. J[lÀÌ^[QbgË¶
+
+6.1 J[lÀÌ^[QbgË¶Ì¤Ê
+
+6.1.1 J[lÀÌ^[QbgË¶Ì\¬vf
+
+J[lÀÌ^[QbgË¶ÍCÈºÌvfÅ\¬³êéD
+
+(a) J[lÀÌ^[QbgË¶Ìè`
+
+J[lÀÌ^[QbgñË¶©çQÆ³êé^[QbgË¶Ìè`ÍC
+target_config.hÜ½Í»±©çCN[h³êét@CivZbTE`b
+vEJ­Â«Ë¶ÅpÓ³êéwb_t@CÈÇjÉÜßéD
+
+^[QbgÌn[hEFA¹iÝnhÔâCPUáOnhÔC
+foCXWX^ÌÔnÈÇjÌè`ÍCVXeT[rXâAvP[V
+ÉàLpÅ é½ßCJ[lÀÌÝÉLpÈè`ðÜÞt@CÆÍØ
+èª¯ÄCÆ§µ½wb_t@CÉÜßéD±Ìwb_t@CÌWIÈ
+¼ÌðCVXeªÌ.hiÜ½ÍC`bvªÌ.hCvZbTªÌ.hjÆ·éD
+
+(b) J[lÀÌ^[QbgË¶W
+[
+
+J[lÀÌ^[QbgË¶ÌÏè`âÖðÜÞW
+[DC¾êÅL
+q³êéªðtarget_config.cCAZu¾êÅLq³êéªð
+target_support.SÉÜßéDvZbTE`bvEJ­Â«Ë¶ðØèª¯
+é±ÆâCt@Cªå«­ÈéêÉ¡Ìt@CÉª·é±ÆàÂ\
+Å éD
+
+(c) J[lÀÌ^[QbgË¶Ì½ßÌl[Lq
+
+J[lÀÌ^[QbgË¶ÌÏ¼âÖ¼ðCæªÉ_kernel_ðt^
+µ½¼OÉl[·é½ßÌW
+[Dtarget_rename.defðpÓµCc[
+iutils/genrenamejÉæèCtarget_rename.hÆtarget_unrename.hð¶¬·
+éDvZbTE`bvEJ­Â«Ë¶ðØèª¯éêÉÍCl[L
+qàØèª¯éD
+
+¦
+(d) ^C}hCo
+
+J[lÉ^CeBbNðÊm·éisignal_timeðüúIÉÄÑo·j½ß
+Ì^C}hCoÌwb_t@CCÀt@CCVXeRtBM
+[
+Vt@CðC»ê¼êCtarget_timer.hCtarget_timer.cC
+target_timer.cfgÉÜßéDvZbTE`bvEJ­Â«Ë¶ðØèª¯
+é±ÆàÂ\Å éD
+
+(e) RtBM
+[^Ýèt@C
+
+RtBM
+[^ÌÝèt@CÌ^[QbgË¶ðCtarget_def.csvC
+target.tfCtarget_check.tfÉpÓ·éDRtBM
+[^Ýèt@CÌ
+Lqû@ÉÂ¢ÄÍCVÍÅà¾·éD
+
+6.1.2 ^[QbgË¶ÌÖÌ½¼K¥
+
+J[lÀÌ^[QbgË¶ð\¬·éÖÌÅCt_ÅnÜéàÌÍ^
+XNReLXgêpCi_ÅnÜéàÌÍñ^XNReLXgêpCx_Ån
+ÜéàÌÍ¢¸êÌReLXg©çÅàÄÑo·±ÆªÅ«éÖÅ éD
+
+6.2 g[XO@\ÖÌÎ
+
+J[lÌg[XO@\ÌÅCÝnhCCPUáOnhÌJn
+EI¹Ìg[XOæ¾ÍC^[QbgË¶ÅÀ·éKvª éDÙÆñ
+ÇÌ^[QbgVXeÉ¨¢ÄC»êçÌÍAZu¾êÅLq³êÄ
+¨èC^[QbgñË¶ü¯Ìg[XO}NÆ¯¶û@ig[XO
+}NðCg[XOæ¾ÌC¾êLqÉ}Nè`·éû@jÍCp¢
+é±ÆªÅ«È¢D
+
+»±ÅCAZu¾êÅLq³êÄ¢éÉg[XOæ¾ðß
+ÞêÉÍCg[XO}Nªè`³êÄ¢êÎC»êª½Éè`³êÄ
+¢é©Í³µÄCWIÈg[XOÖªC¾êÅLq³êÄ¢éÆzè
+µÄC»êðÄÑo·æ¤ÉR[fBO·éD
+
+ïÌIÉÍCºÌ\Ì¶¤É¦µ½g[XO}Nªè`³êÄ¢êÎC
+\ÌE¤É¦µ½C¾êLqÆ¯Ìðs¤æ¤ÉR[fBO·éD
+
+	g[XO}N		g[XOæ¾
+	-----------------------------------------------
+	LOG_INH_ENTER			log_inh_enter(inhno)
+	LOG_INH_LEAVE			log_inh_leave(inhno)
+	LOG_EXC_ENTER			log_exc_enter(excno)
+	LOG_EXC_LEAVE			log_exc_leave(excno)
+
+6.3 VXeóÔÌÇ
+
+SSPJ[lðV½È^[QbgVXeÉ|[eBO·éÛÉCÅàdvÈ
+ìÆÍCJ[lªè`·éVXeóÔðCn[hEFAivZbTjã
+ÅÇÌæ¤ÉÀ»·é©Å éDÈºÌà¾ÍCTOPPERSV¢ãJ[lÉ¨¯
+éVXeóÔÌè`EÓ¡ðmÁÄ¢é±ÆðOñÉLqµÄ¢éD
+
+6.3.1 SÝbNóÔÌÇ
+
+SÝbNóÔÍCNMIð­·×ÄÌÝð}XNµ½óÔÅ éDS
+ÝbNóÔðÇ·é@\ÍCVXeC^tF[XCiSILjÉ
+æÁÄñ³êCJ[lÍSÝbNóÔðÇµÈ¢D
+
+SÝbNóÔÅÍCsns_kerÆext_kerÈOÌJ[lÌT[rXR[
+ðÄÔ±ÆÍÅ«È¢àÌÆµÄ¨èCÄñ¾êÉÍ½ªN±é©ÛØµÄ
+¢È¢Dsns_kerÆext_ker©çÄÑo·ÍCg[XOæ¾ÆSILÌ
+T[rXR[ð­ÆCcall_exit_kernelÌÝÅ éD»Ì½ßC
+call_exit_kernel©çÄÑo·àÌð¢ÄCJ[lÌ^[QbgË¶Ì
+ÖªCSÝbNóÔÅÄÑo³êéóµÍl¦éKvªÈ¢D
+
+6.3.2 ReLXgÌÇ
+
+PÊªÀs³êéReLXgÍC^XNReLXgÆñ^XNRe
+LXgÉªÞ³êéD
+
+^[QbgË¶ÍCÀsÌPÊªC^XNReLXgÅÀs³êÄ
+¢é©ñ^XNReLXgÅÀs³êÄ¢é©ð»Ê·é@\ðñ·éD
+Ü½CCPUáOª­¶µ½ReLXgÉÂ¢Ä»Ê·é@\ðñ·éD
+
+^[QbgË¶ÅÍCÝnhÆCPUáOnhÌüûÅñ^X
+NReLXgÉØè·¦C»êçÌoûÅ³ÌReLXgÉß·DÜ
+½CfBXpb`ÌàÅêIÉñ^XNReLXgÉØè·¦éD
+
+(6-3-2-1) bool_t sense_context(void)
+
+ÀsÌPÊªC^XNReLXgÅÀs³êÄ¢éêÉÍfalseCñ
+^XNReLXgÅÀs³êÄ¢éêÉÍtrueðÔ·ÖD±ÌÖÍC
+CPUbNóÔÅàCPUbNðóÔÅàÄÑo¹éæ¤ÉÀµÈ¯êÎÈ
+çÈ¢D
+
+6.3.3 CPUbNóÔÌÇ
+
+^[QbgË¶ÍCCPUbNóÔÖJÚ·é@\CCPUbNðóÔÖJ
+Ú·é@\CCPUbNóÔÅ é©ð»Ê·é@\ðñ·éD
+
+(6-3-3-1) void t_lock_cpu(void)
+(6-3-3-2) void i_lock_cpu(void)
+(6-3-3-3) void x_lock_cpu(void)
+
+CPUbNðóÔ©çCCPUbNóÔÖJÚ³¹éÖD±êçÌÖÍC
+CPUbNóÔÅÄÑo³êé±ÆÍÈ­CÄÑo³ê½êÌ®ìÍÛØ·é
+KvªÈ¢D
+
+±êçÌÖðÀ»·éÛÉÍCu1.6 NeBJZNVÌoüÌ
+À»ÉÖ·é§ñvÌßÉLq³êÄ¢é§ñÉ]íÈ¯êÎÈçÈ¢D
+
+(6-3-3-4) void t_unlock_cpu(void)
+(6-3-3-5) void i_unlock_cpu(void)
+(6-3-3-6) void x_unlock_cpu(void)
+
+CPUbNóÔ©çCCPUbNðóÔÖJÚ³¹éÖD±êçÌÖÍC
+CPUbNðóÔÅÄÑo³êé±ÆÍÈ­CÄÑo³ê½êÌ®ìÍÛØ
+·éKvªÈ¢D
+
+^XNReLXgÅCPUbNóÔÉJÚµ½êÉÍCCPUbNðóÔ
+ÉßéÌÍ^XNReLXgÉÀçêCñ^XNReLXgÅCPUbNð
+óÔÉßé±ÆÍÈ¢D¾¢·¦éÆCt_unlock_cpuªÄÑo³êéÌÍC
+t_lock_cpuÉæÁÄCPUbNóÔÉÈÁÄ¢éÅ éDi_lock_cpuÉæÁÄ
+CPUbNóÔÉÈÁÄ¢éÉÍCt_unlock_cpuªÄÑo³êé±ÆÍÈ¢D
+
+¯lÉCñ^XNReLXgÅCPUbNóÔÉJÚµ½êÉÍCCPUb
+NðóÔÉßéÌÍñ^XNReLXgÉÀçêC^XNReLXgÅ
+CPUbNðóÔÉßé±ÆÍÈ¢D¾¢·¦éÆCi_unlock_cpuªÄÑo³
+êéÌÍCi_lock_cpuÉæÁÄCPUbNóÔÉÈÁÄ¢éÅ éD
+t_lock_cpuÉæÁÄCPUbNóÔÉÈÁÄ¢éÉÍCi_unlock_cpuªÄÑo
+³êé±ÆÍÈ¢D
+
+±êçÌÖðÀ»·éÛÉÍCu1.6 NeBJZNVÌoüÌ
+À»ÉÖ·é§ñvÌßÉLq³êÄ¢é§ñÉ]íÈ¯êÎÈçÈ¢D
+
+(6-3-3-7) bool_t t_sense_lock(void)
+(6-3-3-8) bool_t i_sense_lock(void)
+(6-3-3-9) bool_t x_sense_lock(void)
+
+»ÝÌVXeóÔªCCPUbNóÔÌêÍtrueCCPUbNðóÔÌê
+ÉÍfalseðÔ·ÖD
+
+±êçÌÖªSÝbNóÔÅÄÑo³êéóµÍl¦éKvªÈ¢±
+Æ©çCSÝbNóÔÆCPUbNóÔðæÊÅ«éKvÍÈ¢DNMIÈ
+OÉJ[lÌÇOÌÝðÝ¯È¢êÉÍCSÝbNóÔÆ
+CPUbNóÔªS­¯êÌóÔÅà©ÜíÈ¢D
+
+6.4 ÝÉÖA·éVXeóÔÌÇ
+
+6.4.1 ÝDæx}XNÌÇ
+
+^[QbgË¶ÍCÝDæx}XNðÝè·é@\ÆCÝDæx}
+XNðQÆ·é@\ðñ·éD
+
+(6-4-1-1) void x_set_ipm(PRI intpri)
+(6-4-1-2) void t_set_ipm(PRI intpri)
+(6-4-1-3) void i_set_ipm(PRI intpri)
+
+ÝDæx}XNÌlðintpriÉÝè·éÖD
+
+±êçÌÖÍCCPUbNóÔÅàCPUbNðóÔÅàÄÑo¹éæ¤É
+À·éÌª]Üµ¢D½¾µCx_set_ipmÆt_set_ipmÍC^[QbgñË¶
+ªCPUbNðóÔÅÄÑo·±ÆÍÈ¢½ßCCPUbNðóÔÅÄÑ
+o³ê½êÌ®ìÍÛØ·éKvªÈ¢Di_set_ipmÍCCPUbNóÔÅà
+CPUbNðóÔÅàÄÑo¹éæ¤ÉÀµÈ¯êÎÈçÈ¢D
+
+Ü½C±êçÌÖÍCVALID_INTPRI_CHGIPM(intpri)ªtrueðÔ·intpriÉÎ
+µÄÌÝÄÎêéDintpriÉ»¤ÅÈ¢lªn³ê½êÌ®ìÍÛØ·éK
+vªÈ¢D
+
+(6-4-1-4) PRI x_get_ipm(void)
+(6-4-1-5) PRI t_get_ipm(void)
+(6-4-1-6) PRI i_get_ipm(void)
+
+ÝDæx}XNÌlðQÆµÄÔ·ÖD
+
+±êçÌÖÍCCPUbNóÔÅàCPUbNðóÔÅàÄÑo¹éæ¤É
+À·éÌª]Üµ¢D½¾µCx_get_ipmÆt_get_ipmÍC^[QbgñË¶
+ªCPUbNðóÔÅÄÑo·±ÆÍÈ¢½ßCCPUbNðóÔÅÄÑ
+o³ê½êÌ®ìÍÛØ·éKvªÈ¢Di_get_ipmÍCCPUbNóÔÅà
+CPUbNðóÔÅàÄÑo¹éæ¤ÉÀµÈ¯êÎÈçÈ¢D
+
+ÝDæx}XNðp¢ÄJ[lÇÌÝð·×Ä}XNµ½óÔÍC
+CPUbNóÔÆæÊÅ«é±ÆªKvÅ éDïÌIÉÍCCPUbNðó
+ÔÉ¨¢ÄCx_set_ipmðp¢ÄJ[lÇÌÝð·×Ä}XNµ½ê
+ÅàCx_sense_lockÍfalseðÔ·D
+
+»êÉÎµÄCÝDæx}XNðp¢ÄNMIð­·×ÄÌÝð}XN
+Å«éêC»ÌóÔÆSÝbNóÔðæÊÅ«éKvÍÈ­CS­¯
+êÌóÔÅà©ÜíÈ¢D
+
+6.4.2 ÝvÖ~tOÌÇ
+
+^[QbgË¶ÍCÝvÖ~tOðZbg·é@\ÆNA·é@
+\ðñ·éD
+
+(6-4-2-1) bool_t VALID_INTNO_DISINT(INTNO intno)
+
+intnoªCdis_int^ena_intÉÎ·éÝÔÆµÄLøÈlÅ éêÉ
+trueC»¤ÅÈ¢êÉfalseðÔ·}NDÝvÖ~tOªZbg^
+NAÅ«È¢intnoÉÎµÄÍC±Ì}NªfalseðÔ·æ¤É·éD
+
+(6-4-2-2) bool_t x_disable_int(INTNO intno)
+(6-4-2-3) bool_t t_disable_int(INTNO intno)
+(6-4-2-4) bool_t i_disable_int(INTNO intno)
+
+intnoÅwè³ê½ÝvCÉÎ·éÝvÖ~tOðZbgµC
+trueðÔ·ÖDwè³ê½ÝvCÉÎµÄCÝ®«ªÝè³
+êÄ¢È¢êÉÍCfalseðÔ·D
+
+±êçÌÖÍC^[QbgñË¶ªCPUbNðóÔÅÄÑo·±ÆÍÈ
+¢½ßCCPUbNðóÔÅÄÑo³ê½êÌ®ìÍÛØ·éKvªÈ¢D
+½¾µC^[QbgË¶©çCPUbNðóÔÅÄÑo·êÉÍCÛØ·
+éKvª éD
+
+Ü½C±êçÌÖÍCVALID_INTNO_DISINT(intno)ªtrueÆÈéintnoÉÎµ
+ÄÌÝÄÎêéDintnoÉ»¤ÅÈ¢lªn³ê½êÌ®ìÍÛØ·éKvª
+È¢D
+
+dis_intT[rXR[ðT|[g·éêiTOPPERS_SUPPORT_DIS_INTð}N
+è`·éêjÉÍCt_disable_intªpÓ³êÄ¢È¯êÎÈçÈ¢D
+
+(6-4-2-5) bool_t x_enable_int(INTNO intno)
+(6-4-2-6) bool_t t_enable_int(INTNO intno)
+(6-4-2-7) bool_t i_enable_int(INTNO intno)
+
+intnoÅwè³ê½ÝvCÉÎ·éÝvÖ~tOðNAµC
+trueðÔ·ÖDwè³ê½ÝvCÉÎµÄCÝ®«ªÝè³
+êÄ¢È¢êÉÍCfalseðÔ·D
+
+±êçÌÖÍC^[QbgñË¶ªCPUbNðóÔÅÄÑo·±ÆÍÈ
+¢½ßCCPUbNðóÔÅÄÑo³ê½êÌ®ìÍÛØ·éKvªÈ¢D
+½¾µC^[QbgË¶©çCPUbNðóÔÅÄÑo·êÉÍCÛØ·
+éKvª éD
+
+Ü½C±êçÌÖÍCVALID_INTNO_DISINT(intno)ªtrueÆÈéintnoÉÎµ
+ÄÌÝÄÎêéDintnoÉ»¤ÅÈ¢lªn³ê½êÌ®ìÍÛØ·éKvª
+È¢D
+
+ena_intT[rXR[ðT|[g·éêiTOPPERS_SUPPORT_ENA_INTð}N
+è`·éêjÉÍCt_enable_intªpÓ³êÄ¢È¯êÎÈçÈ¢D
+
+6.4.3 ÝvÌNA
+
+(6-4-3-1) void x_clear_int(INTNO intno)
+(6-4-3-2) void t_clear_int(INTNO intno)
+(6-4-3-3) void i_clear_int(INTNO intno)
+
+intnoÅwè³ê½ÝvCªGbWgKÅ éêÉCgK³ê
+½ÝvðNA·éÖDintnoÅwè³ê½ÝvCªx
+gKÅ éêÉÍ½àµÈ¢D
+
+SSPJ[lÌ^[QbgñË¶ÅÍC±êçÌÖðÄÑoµÄ¢È¢ªC
+^[QbgË¶âVXeT[rXÅÄÑo·Â\«ª¢½ßCpÓ·é
+±ÆÆµÄ¢éD»Ì½ßC±êçÌÖªÇÌæ¤ÈVXeóÔÅÄÑo
+¹é©ÍC^[QbgË¶àÅêÑµÄ¢êÎæ¢D
+
+6.4.4 ÝvÌv[u
+
+(6-4-4-1) bool_t x_probe_int(INTNO intno)
+(6-4-4-2) bool_t t_probe_int(INTNO intno)
+(6-4-4-3) bool_t i_probe_int(INTNO intno)
+
+intnoÅwè³ê½ÝvCÉÎµÄCÝªv³êÄ¢éêÉ
+trueC»¤ÅÈ¢êÉfalseðÔ·ÖD
+
+SSPJ[lÌ^[QbgñË¶ÅÍC±êçÌÖðÄÑoµÄ¢È¢ªC
+^[QbgË¶âVXeT[rXÅÄÑo·Â\«ª¢½ßCpÓ·é
+±ÆÆµÄ¢éD»Ì½ßC±êçÌÖªÇÌæ¤ÈVXeóÔÅÄÑo
+¹é©ÍC^[QbgË¶àÅêÑµÄ¢êÎæ¢D
+
+6.4.5 ÝnhÌæªÆö
+
+(6-4-5-1) void i_begin_int(INTNO intno)
+
+intnoÅwè³ê½ÝvCÉÎ·éÝnhÌæªÅs¤×«
+ðs¤ÖD±±Ås¤×«ÆµÄÍCÝvCªGbWg
+KÅ éêÌgK³ê½ÝvÌNAª°çêéD
+
+intnoÉÎµÄo^³ê½ÝT[rX[`ðÄÑo·ÝnhÌ
+æªÅÄÑo³êéD»Ì½ß±ÌÖÍCÝnhÌæªiÊíÍ
+CPUbNðóÔjÅÄÑo¹éæ¤ÉÀµÈ¯êÎÈçÈ¢D
+
+(6-4-5-2) void i_end_int(INTNO intno)
+
+intnoÅwè³ê½ÝvCÉÎ·éÝnhÌöÅs¤×«
+ðs¤ÖD±±Ås¤×«ÆµÄÍCÝRg[iIRCjÉ
+Î·éÝÌI¹ðÊmª°çêéD
+
+intnoÉÎµÄo^³ê½ÝT[rX[`ðÄÑo·ÝnhÌ
+öÅÄÑo³êéD»Ì½ß±ÌÖÍCÝnhÌöiÊíÍ
+CPUbNðóÔjÅÄÑo¹éæ¤ÉÀµÈ¯êÎÈçÈ¢D
+
+6.5 ^XNfBXpb`
+
+
+6.5.1 fBXpb`Ì®ìJn
+
+(6-5-1-1) void start_dispatch(void)
+
+fBXpb`Ì®ìJnistart_dispatchjÍCJ[lN®ÉCJ[l
+Ìú»©çÄÑo³êéDstart_dispatchÍC^[·é±ÆÌÈ
+¢ÖÅ éD
+
+start_dispatchÍCñ^XNReLXgÅCNMIð­·×ÄÌÝð}X
+Nµ½óÔiSÝbNóÔÆ¯ÌóÔjÅÄÑo³êéDstart_dispatch
+àÅC^XNReLXgÉØè·¦CCPUbNóÔEÝDæx}XNS
+ðóÔÉµÈ¯êÎÈçÈ¢D
+
+ReLXgðØèÖ¦½ãÍ^[QbgñË¶ÖdispatcherðÄÑo·D
+
+start_dispatchÌàeÍÌÊèDdispatcher©çªÔé±ÆÍlÊ·éKvÍ
+È¢D
+
+----------------------------------------
+void
+start_dispatch(void)
+{
+	^XNReLXgÉØè·¦é
+	CPUbNóÔEÝDæx}XNSðóÔÉ·é
+	dispatcherÉªò·é
+}
+----------------------------------------
+
+6.6 Ýnh
+
+6.6.1 ÝnhÌoüû
+
+J[lÇÌÝÌoüûÌû@ÍCvZbTÉæÁÄå«­ÙÈ
+éªC¨¨æ»ÌàeÍÌÊèD
+
+----------------------------------------
+void
+<ÝÌoüû>(void)
+{
+	­È­ÆàJ[lÇÌÝðÖ~µ½óÔÉ·é c (*f)
+	XNb`WX^ðX^bNÉÛ¶·é
+	if (^XNReLXgÅÝ­¶) {
+		ñ^XNReLXgÉØè·¦é
+	}
+
+	±ÌÝæèàDæxÌ¢ÝÌÝðó¯t¯çêéæ¤ÉµÄC
+												CPUbNðóÔÉ·é
+#ifdef LOG_INH_ENTER
+	log_inh_enter(ÝnhÔ);
+#endif /* LOG_INH_ENTER */
+	ÝnhðÄÑo·
+#ifdef LOG_INH_LEAVE
+	log_inh_leave(ÝnhÔ);
+#endif /* LOG_INH_LEAVE */
+
+  ret_int:
+	if (^XNReLXgÅÝ­¶) {
+		i­È­ÆàjJ[lÇÌÝðÖ~µ½óÔÉ·é c (*d)
+		if (reqflg) {
+			reqflg = false;
+			CPUbNóÔÉ·é c (*e)
+			search_schedtskðÄÑoµCÅDæÊ^XNðßé
+			ÅDæÊÌ^XNIDðøÉµÄrun_taskÉªò·é
+		}
+	}
+	Ý©çÌ^[ãÉCCPUbNðóÔÉßéæ¤Éõ·é
+	XNb`WX^ðX^bN©çA·é
+	Ý©çÌ^[
+}
+----------------------------------------
+
+ÝÌót¯Éæè·×ÄÌÝªÖ~³êÈ¢vZbTÅÍC(*f)É
+¨¢ÄC­È­ÆàJ[lÇÌÝðÖ~·éD±ÌRÍÌÊèÅ
+ éD
+
+ÝÌüûÉ¨¢ÄCX^bNðñ^XNReLXgpÌX^bNÉ
+Øè·¦éOÉ½dÝª­¶·éÆC^XNÌX^bNÌæªgp³êéD
+ãLÌæ¤ÈvZbTÅÍCX^bNÌØ·¦OÉCÅåÅÝDæxÌ
+iªÌ½dÝª­¶·é±Æðh®±ÆÍÅ«¸Ce^XNÌX^bN
+ÌæðmÛ·éÛÉC»Ìªð©ñÅmÛµÈ¯êÎÈçÈ¢De^XNÌ
+X^bNÌæðÈé×­¬³­·é½ßÉÍCX^bNðÈé×­gpµÈ¢
+àÉC½dÝðÖ~·éÌª]Üµ¢D»Ì½ßCXNb`WX^ð
+X^bNÉÛ¶·éOÉCÝðÖ~·éD½¾µCÝÌÖ~ÉK
+vÈÅáÀÌWX^ÉÂ¢ÄÍCÝÌÖ~Éæ§ÁÄX^bNÉÛ¶·
+éKvª éD
+
+¯lÌ±ÆÍCJ[lÇOÌÝÉàÄÍÜéD·Èí¿CJ[l
+ÇOÌÝÉÂ¢ÄàCX^bNðÈé×­gpµÈ¢àÉÖ~·éÌª
+]Üµ¢D±Ì±Æ©çCJ[lÇOÌÝðgp·éêÉÍC(*f)
+É¨¢ÄC·×ÄÌÝðÖ~µ½óÔÉ·éÌª]Üµ¢±ÆÉÈéDÜ
+½CJ[lÇOÌÝÉ¨¢ÄàCñ^XNReLXgpÌX^b
+NÉØè·¦é±Æª]Üµ¢ªC±êÍJ[lÌÇOÅ éD
+
+(*d)É¨¢ÄÍCJ[lÇÌÝðÖ~·é¾¯ÅCCPUbNóÔÉ·
+éKvÍÈ¢Dá¦ÎCCPUbNóÔÅ é±Æð¦·ÏðpÓµÄ¢éê
+ÉÍC(*d)Ì_ÅÍ»ÌÏðCPUbNóÔð¦·lÉÏX·éKvÍÈ
+­C(*e)É¨¢ÄÏX·êÎæ¢D
+
+ÝÌoüûðAZu¾êÅLq·éêÉÍCg[XOæ¾
+ÍCu6.2 g[XO@\ÖÌÎvÌßÅLqµ½û@ÅR[fB
+O·é±ÆD
+
+6.6.2 ÝnhÌoüûÌ¶¬
+
+ÝxNgðn[hEFAÅÀ»µÄ¢éêÈÇCÝnhÉ
+oüûðpÓµ½ûªø¦ªÇ¢^[QbgÌ½ßÉCÝnh
+Éoüûð¶¬·é@\ðpÓµÄ¢éD
+
+ÈºÌ}NÍCWÌÝÇ@\Ìú»ðp¢½êÌÝC^[
+QbgñË¶ÅgíêéDÝÇ@\Ìú»ð^[QbgË¶
+ÅpÓµC»ÌÅ±êçÌ}NðgíÈ¢êÉÍC±êçÌ}Nðp
+Ó·éKvÍÈ¢D
+
+(6-6-2-1) INT_ENTRY(inhno, inthdr)
+
+ÝnhÔªinhnoCÝnhÌÖ¼ªinthdrÅ éÝn
+hÌoüûÌxðìé}NDINTHDR_ENTRYðp¢ÄÝn
+hÉoüûð¶¬·éêÉÍCÌæ¤Éè`·éD
+
+#define INT_ENTRY(inhno, inthdr)	_kernel_##inthdr##_##inhno
+
+ÝnhÉoüûðìéKvªÈ¢êÉÍCÌæ¤Éè`µ
+ÄCÝnhÌÖ¼ð»ÌÜÜÔ·D
+
+#define INT_ENTRY(inhno, inthdr)	inthdr
+
+(6-6-2-2) INTHDR_ENTRY(inhno, inhno_num, inthdr)
+
+ÝnhÔªinhnoCÝnhÌÖ¼ªinthdrÅ éÝn
+hÌoüûð¶¬·é}NDinhno_numÉÍCAZu¾êLqp
+ÉCÝnhÔªlÅn³êéDÝnhÉoüûð
+ìéKvªÈ¢êÉÍCóÉè`·éD
+
+6.6.3 ÝnhÌÝè
+
+(6-6-3-1) bool_t VALID_INHNO_DEFINH(INHNO inhno)iIvVj
+
+inhnoªCDEF_INHÉÎ·éÝnhÔÆµÄLøÈlÅ éêÉ
+trueC»¤ÅÈ¢êÉfalseðÔ·}ND
+
+SSPJ[lÌ^[QbgñË¶ÅÍC±Ì}NÍgíêÄ¢È¢½ßC^[
+QbgË¶ÅgíÈ¢ÈçCpÓ·éKvªÈ¢D
+
+(6-6-3-2) void x_define_inh(INHNO inhno, FP int_entry)
+
+inhnoÅwè³ê½ÝnhÌoüûÌÔnðint_entryÉÝè·éD
+
+±ÌÖÍCWÌÝÇ@\Ìú»ðp¢½êÌÝC^[Qb
+gñË¶©çÄÑo³êéDÝÇ@\Ìú»ð^[QbgË¶
+ÅpÓµC»ÌÅ±ÌÖðÄÑo³È¢êÉÍC±ÌÖðpÓ·é
+KvÍÈ¢D
+
+±ÌÖÍC^[QbgñË¶ÌJ[lú»©çÄÑo³êé½ßC
+J[lÌú»iNMIð­·×ÄÌÝª}XN³êÄ¢éj©çÄ
+Ño¹éæ¤ÉÀ·êÎæ¢D
+
+wè³ê½ÝnhÔªDEF_INHÉÎ·éàÌÆµÄLøÈlÅÈ¢ê
+Ì®ìÍÛØ·éKvªÈ¢iassertÅG[Æ·éÌª]Üµ¢jD±ê
+ÍCRtBM
+[^ªCpX2Ìev[gt@CÌ^[QbgË¶
+Åè`·éINHNO_DEFINH_VALIDðp¢ÄG[ðo·é½ßÅ éD
+
+6.6.4 ÝvCÌ®«ÌÝè
+
+(6-6-4-1) bool_t VALID_INTNO_CFGINT(INTNO intno)iIvVj
+
+intnoªCCFG_INTÉÎ·éÝÔÆµÄLøÈlÅ éêÉtrueC»¤
+ÅÈ¢êÉfalseðÔ·}NDÝvCÌ®«ðÝèÅ«È¢
+intnoÉÎµÄÍC±Ì}NªfalseðÔ·æ¤É·éD
+
+SSPJ[lÌ^[QbgñË¶ÅÍC±Ì}NÍgíêÄ¢È¢½ßC^[
+QbgË¶ÅgíÈ¢ÈçCpÓ·éKvªÈ¢D
+
+(6-6-4-2) void x_config_int(INTNO intno, ATR intatr, PRI intpri)
+
+intnoÅwè³ê½ÝvCÌÝ®«ðCintatrÅwè³ê½Êè
+ÉÝè·éDÜ½CÝDæxðCintpriÅwè³ê½lÉÝè·éD
+
+±ÌÖÍCWÌÝÇ@\Ìú»ðp¢½êÌÝC^[Qb
+gñË¶©çÄÑo³êéDÝÇ@\Ìú»ð^[QbgË¶
+ÅpÓµC»ÌÅ±ÌÖðÄÑo³È¢êÉÍC±ÌÖðpÓ·é
+KvÍÈ¢D
+
+±ÌÖÍC^[QbgñË¶ÌJ[lú»©çÄÑo³êé½ßC
+J[lÌú»iNMIð­·×ÄÌÝª}XN³êÄ¢éj©çÄ
+Ño¹éæ¤ÉÀ·êÎæ¢D
+
+intatrÆµÄÝèÅ«éÝ®«ÍÌÊèD
+
+	TA_ENAINT		0x01	ÝvÖ~tOðNA
+	TA_EDGE			0x02	GbWgK
+
+±Ì¼ÉC^[Qbgè`ÅÝ®«ðÇÁµÄàæ¢D^[Qbgè`Å
+ÇÁ·é½ßÉCÈºÌ®«¼ª\ñ³êÄ¢éD
+
+	TA_POSEDGE				|WeBuGbWgK
+	TA_NEGEDGE				lKeBuGbWgK
+	TA_BOTHEDGE				¼GbWgK
+	TA_LOWLEVEL				[xgK
+	TA_HIGHLEVEL			nCxgK
+
+±êçÌ®«¼ð^[Qbgè`ÅÇÁ·éêÉÍC»Ì®«lðèµC
+è`ðtarget_kernel.hiÜ½ÍC»±©çCN[h³êét@CjÉÜ
+ßéDÜ½CRtBM
+[^ev[gt@C©çQÆÅ«éæ¤ÉC
+target_def.csviÜ½ÍC»±©çCN[h³êét@CjÉÜßCR
+tBM
+[^ev[gt@CÌ^[QbgñË¶ÅG[ÆÈç
+È¢æ¤ÉCtarget.tfiÜ½ÍC»±©çCN[h³êét@CjÅ
+TARGET_INTATRÉÝè·éD
+
+wè³ê½ÝÔªCFG_INTÉÎ·éàÌÆµÄLøÈlÅÈ¢êâC»
+ÌÝvCÉÎµÄÝèÅ«È¢®«ðwèµ½êCÝèÅ«È¢
+ÝDæxðwèµ½êÌ®ìÍÛØ·éKvªÈ¢iassertÅG[Æ
+·éÌª]Üµ¢jD±Ìæ¤ÈP[XÍCRtBM
+[^ÅG[ð
+o·×«Å éDRtBM
+[^ev[gt@CÌ^[QbgñË
+¶ÍCpX2Ìev[gt@CÌ^[QbgË¶Åè`·é
+INTNO_CFGINT_VALIDCTARGET_INTATRCINTPRI_CFGINT_VALIDðp¢ÄG[ð
+o·éªCWÌÝ®«iTA_ENAINTCTA_EDGEjªÝèÅ«È¢êâC
+ÝèÅ«È¢®«âÝDæxªÝvCÉæÁÄÙÈéêÉÍC
+RtBM
+[^ev[gt@CÌ^[QbgË¶ÅoµÈ¯ê
+ÎÈçÈ¢D
+
+6.6.5 ÝÇ@\Ìú»ÌÏX
+
+(6-6-5-1) OMIT_INITIALIZE_INTERRUPTiIvVj
+
+ÝÇ@\Ìú»ð^[QbgË¶ÅpÓµC^[QbgñË¶
+ÉÜÜêéWÌÝÇ@\Ìú»ðp¢È¢êÉÍC±ÌV
+{ð}Nè`·éD
+
+±ÌV{ð}Nè`·éÆCINHINIBCINTINIBCinitialize_interrupt
+Ìè`ªCJ[lÌ^[QbgñË¶©çæè©êéDÜ½C
+TNUM_INHNOCtnum_inhnoCinhinib_tableCTNUM_INTNOCtnum_intnoC
+intinib_tableÌè`ÆCÝnhÌoüûð¶¬·é½ßÌLq
+iINTHDR_ENTRY}NÌXgjªCRtBM
+[^ÌpX2Ìev[
+gt@CÌ^[QbgñË¶ÉæÁÄkernel_cfg.cÉ¶¬³êÈ­ÈéD
+½¾µCRtBM
+[^ÌpX2Ìev[gt@CÌ^[QbgË¶
+ÅCUSE_INHINIB_TABLEÆUSE_INTINIB_TABLEðÝè·é±ÆÅC»Ìê
+ªðkernel_cfg.cÉ¶¬·é±ÆªÂ\Å éD
+
+(6-6-5-2) void initialize_interrupt(void)iIvVj
+
+OMIT_INITIALIZE_INTERRUPTð}Nè`µ½êÉÍC±ÌÖð^[Qbg
+Ë¶ÅpÓ·éDOMIT_INITIALIZE_INTERRUPTð}Nè`·é±ÆÉæèæ
+è©êé»Ì¼Ìf[^^CÏC}NÍC±ÌÖÅgp·éêÉÌ
+ÝpÓ·êÎæ¢D
+
+6.6.6 ftHgÌÝnh
+
+(6-6-6-1) default_int_handler(void)iIvVj
+
+RtBM
+[^ÉæèÝnhÌe[uð¶¬·éêÈÇÉÍC
+Ýnhðo^µÈ©Á½ÝnhÔÉÎµÄCftHgÌ
+ÝnhÆµÄCdefault_int_handlerðo^·éD
+
+default_int_handlerÍCWÌàÌð^[QbgË¶ÅpÓ·éªC[U
+ªpÓµ½àÌÅu«·¦çêéæ¤ÉCOMIT_DEFAULT_INT_HANDLERð}N
+è`µ½êÉÍC^[QbgË¶Åè`µÈ¢æ¤É·éDÈ¨C[U
+ªpÓ·éêÌ¼ÌÍC_kernel_default_int_handlerÆÈéD
+
+6.6.7 J[lÇOÌÝ
+
+J[lÇOÌÝnhÍCJ[làÌÝoüûðoR¹
+¸ÉÀs·éÌªî{Å éD
+
+½¾µC·×ÄÌÝÅ¯¶AhXÉªò·évZbTÅÍCJ[l
+àÌÝoüûðS­oR¹¸ÉJ[lÇOÌÝnhðÀ
+s·é±ÆªÅ«È¢½ßCÝoüûÌÈé×­¢^C~OÅC
+J[lÇOÌÝÅ é©ð»ÊµCàeðª¯éKvª éDï
+ÌIÉÍCJ[lÇOÌÝÌoüûÅÍCI[onhÌ
+â~Æ®ìJnðsÁÄÍÈçÈ¢DÜ½Creqflgð`FbNµC^XNØ·
+¦â^XNáO[`ÌÄoµðs¤KvªÈ¢D³çÉCNMIÌoüû
+ÅÍCg[XOæ¾ilog_inh_enter¨æÑlog_inh_leavejðÄ
+ÑoµÄÍÈçÈ¢D
+
+J[lÇOÌÝnhðÀs·éÛÉCJ[làÌÝoüû
+ÌêªðoR·éêÉÍCCPUáOªN±éÂ\«ðÉÍ¸ç·ÆÆà
+ÉCCPUáOðN±·Â\«ª éêÉÍC»ÌÂ\«ð^[QbgË¶Ì
+[U[Y}j
+AÉLÚµÈ¯êÎÈçÈ¢D
+
+ÉCJ[lÇOÌÝÌÝèû@ÉÖµÄCuTOPPERSV¢ãJ[l
+dlvÌu6.6.8 J[lÇOÌÝÌÝèû@vÌßÌ3ÂÌû@
+Ì¢¸êðÌp·é©ðè·éD
+
+(a-1)Ü½Í(a-2)ðÌpµCJ[lÇOÆµ½ÝÉÎµÄCJ[l
+ÌAPIÉæéÝnhÌo^ÆÝvCÌ®«ÌÝèðT|[g
+µÈ¢êÉÍC»êÉãíéû@ð^[QbgË¶Ì[U[Y}j
+A
+ÉLq·éD
+
+(a-1)Ü½Í(a-2)ðÌpµÄJ[lÌAPIÉæéÝnhÌo^â
+ÝvCÌ®«ÌÝèðT|[g·éêâC(b)ðÌpµ½êÉÍC^[
+QbgË¶É¨¢Ä»êðÀ»·éKvª éD
+
+J[lÇOÌÝÉÎµÄCDEF_INHÉæéÝnhÌo^ðT|[
+g·éÉÍCÌÝèªKvÉÈéD
+
+ETARGET_INHATRÉCTA_NONKERNELðÝè·éD
+
+E(a-1)Ü½Í(a-2)ðÌpµ½êÉÍCINHNO_DEFINH_VALIDÉCJ[lÇ
+@OÆµ½ÝÉÎ·éÝnhÔðÜßéDÜ½C
+@VALID_INHNO_DEFINHðCJ[lÇOÆµ½ÝnhÔðLøÈ
+@lÆ»è·éæ¤É·éD
+
+E(a-1)Ü½Í(a-2)ðÌpµ½êÉÍCINHNO_FIX_KERNELÉJ[lÇÆ
+@µ½ÝnhÔÌXgðCINHNO_FIX_NONKERNELÉJ[lÇO
+@Æµ½ÝnhÔÌXgÝè·éD
+
+EDEF_INHªJ[lÇOÌÝÉÎÅ«éæ¤É·éDWÌÝÇ
+@@\Ìú»ðp¢éêÉÍCx_define_inhðJ[lÇOÌ
+@ÝÉÎ³¹éD
+
+EKvÈêÉÍCTA_NONKERNEL®«ªÝè³ê½ÝnhðJ[l
+@ÇOÆµ¤æ¤ÉCJ[làÌÝoüûðC³·éDWÌ
+@ÝÇ@\Ìú»ðp¢éêCJ[lÇOÌÝÉÎµÄ
+@ÍCJ[làÌÝoüûð¶¬¹¸CAvP[Vªo^µ
+@½Ýnhð¼ÚÄÑo·æ¤ÉC^[QbgñË¶ÉæèÝè³
+@êé½ßC^[QbgË¶ÅÍÎ·éKvªÈ¢D
+
+J[lÇOÌÝÉÎµÄCCFG_INTÉæéÝvCÌ®«ÌÝ
+èðT|[g·éÉÍCÌÝèªKvÉÈéD
+
+E(a-1)Ü½Í(a-2)ðÌpµ½êÉÍCINTNO_CFGINT_VALIDÉCJ[lÇ
+@OÆµ½ÝÉÎ·éÝÔðÜßéDÜ½CVALID_INTNO_CFGINT
+@ðCJ[lÇOÆµ½ÝÔðLøÈlÆ»è·éæ¤É·éD
+
+E(a-1)Ü½Í(a-2)ðÌpµ½êÉÍCINTNO_FIX_KERNELÉJ[lÇÆ
+@µ½ÝÔÌXgðCINTNO_FIX_NONKERNELÉJ[lÇOÆµ½
+@ÝÔÌXgÝè·éD
+
+EINTPRI_CFGINT_VALIDÉCJ[lÇOÌÝÆÈéDæxðÜßéD
+
+ECFG_INTªJ[lÇOÌÝÉÎÅ«éæ¤É·éDWÌÝÇ
+@@\Ìú»ðp¢éêÉÍCx_config_intðJ[lÇOÌ
+@ÝÉÎ³¹éD
+
+chg_ipmÉæèCiNMIÈOÌjJ[lÇOÌÝð}XNÅ«éæ¤É
+·éêÉÍCÌÝèªKvÉÈéD
+
+EVALID_INTPRI_CHGIPMðCJ[lÇOÌÝÆÈéDæxðLøÈlÆ
+@»è·éæ¤É·éD
+
+Et_set_ipmðCJ[lÇOÌÝÆÈéDæxðµ¦éæ¤É·éD
+
+6.7 CPUáOnhÆCPUáO­¶ÌVXeóÔÌQÆ
+
+6.7.1 CPUáOnhÌoüû
+
+CPUáOÌoüûÌû@ÍvZbTÉæÁÄå«­ÙÈéªC¨¨æ»Ì
+àeÍÌÊèD
+
+----------------------------------------
+void
+<CPUáOÌoüû>(void)
+{
+	XNb`WX^ðX^bNÉÛ¶·é
+	if (J[lÇOÌCPUáO) {
+		if (^XNReLXgÅCPUáO­¶) {
+			ñ^XNReLXgÉØè·¦é
+		}
+		VXeóÔiReLXgÍ­jðCCPUáO­¶ÌóÔÉ·é
+		CPUáOnhðCCPUáOÌîñðL¯µÄ¢éÌæÌæªÔnð
+									p[^ip_excinfjÆµÄÄÑo·
+		if (^XNReLXgÅCPUáO­¶) {
+			^XNReLXgÉØè·¦é
+		}
+		CPUáO©çÌ^[ãÉCCPUáO­¶ÌVXeóÔÉ
+													ßéæ¤Éõ·é
+	}
+	else {
+		if (^XNReLXgÅCPUáO­¶) {
+			ñ^XNReLXgÉØè·¦é
+		}
+		VXeóÔiReLXgÍ­jðCCPUáO­¶ÌóÔÉ·é
+			@iCPUáO­¶ÌÝDæx}XNæèàDæxÌ¢Ý
+				ÌÝðó¯t¯çêéæ¤ÉµÄCCPUbNðóÔÉ·éj
+
+#ifdef LOG_EXC_ENTER
+		log_exc_enter(CPUáOnhÔ);
+#endif /* LOG_EXC_ENTER */
+		CPUáOnhðCCPUáOÌîñðL¯µÄ¢éÌæÌæªÔnð
+									p[^ip_excinfjÆµÄÄÑo·
+#ifdef LOG_EXC_LEAVE
+		log_exc_leave(CPUáOnhÔ);
+#endif /* LOG_EXC_LEAVE */
+
+	  ret_exc:
+		if (^XNReLXgÅCPUáO­¶) {
+			i­È­ÆàjJ[lÇÌÝðÖ~µ½óÔÉ·é c (*d)
+			^XNReLXgÉØè·¦é
+			if (reqflg) {
+				reqflg = false;
+				CPUbNóÔÉ·é c (*e)
+				search_schedtskðÄÑoµCÅDæÊ^XNðßé
+				ÅDæÊÌ^XNIDðøÉµÄrun_taskÉªò·é
+			}
+		}
+		CPUáO©çÌ^[ãÉCCPUbNðóÔÉßéæ¤Éõ·é
+	}
+	XNb`WX^ðX^bN©çA·é
+	CPUáO©çÌ^[
+}
+----------------------------------------
+
+CPUáOnhÍCñReLXgÉØè·¦é±Æð¢ÄÍCCPUáO­
+¶Æ¯¶VXeóÔÅÄÑo³È¯êÎÈçÈ¢Dá¦ÎCCPUáOªCPU
+bNóÔÅ­¶µ½êÉÍCPUbNóÔCCPUbNðóÔÅ­¶µ½
+êÉÍCPUbNðóÔÅCCPUáOnhðÄÑo³È¯êÎÈçÈ¢D
+CPUbNóÔÅ­¶µ½CPUáOÍCJ[lÇOÌCPUáOÆÈé½ßCJ[
+lÇÌCPUáOnhÉÂ¢ÄÍCCPUbNðóÔÅÄÑo·±ÆÉ
+ÈéD
+
+J[lÇOÌCPUáOÅ é±ÆÍCexc_sense_unlockªfalseðÔ·ð
+ÆC^XNReLXgÅ é±Æð²×È¢¾¯Ìá¢Å èCÙÚ¯¶R[
+hÅ»è·é±ÆªÅ«éD
+
+ãÌR[hÅÍCJ[lÇOÌCPUáOÉÎµÄCg[XOæ¾
+ilog_exc_enter¨æÑlog_exc_leavejðÄÑoµÄ¢È¢ªCSÝb
+NóÔ©NMIÌÉCPUáOª­¶µ½êðO·êÎCÄÑoµÄà©
+ÜíÈ¢DSÝbNóÔ©NMIÌÉ­¶µ½CPUáOÌêÉÍC
+g[XOæ¾ðÄÑoµÄÍÈçÈ¢D
+
+CPUáOnhðÀs·éÛÉoR·éªÅÍCCPUáOªN±éÂ\«ð
+ÉÍ¸ç·ÆÆàÉCCPUáOðN±·Â\«ª éêiá¦ÎCXNb`
+WX^ðX^bNÉÛ¶·éÉCoXG[ÈÇÌCPUáOª­¶·éÂ\
+«ªl¦çêéjÉÍC»ÌÂ\«ð^[QbgË¶Ì[U[Y}j
+A
+ÉLÚµÈ¯êÎÈçÈ¢D
+
+ret_excÈ~ÌÍCÝÌoüûÌret_intÈ~ÌÆ¯¶Å é
+½ßC^[QbgÉæÁÄÍC¤ÊÌ[`ðp¢é±ÆªÅ«éÂ\«ª
+ éD
+
+CPUáOÌoüûðAZu¾êÅLq·éêÉÍCg[XOæ¾
+ÍCu6.2 g[XO@\ÖÌÎvÌßÅLqµ½û@ÅR[fB
+O·é±ÆD
+
+6.7.2 CPUáOnhÌoüûÌ¶¬
+
+CPUáOxNgðn[hEFAÅÀ»µÄ¢éêÈÇCCPUáOnh
+ÉoüûðpÓµ½ûªø¦ªÇ¢^[QbgÌ½ßÉCCPUáOnh
+Éoüûð¶¬·é@\ðpÓµÄ¢éD
+
+ÈºÌ}NÍCWÌCPUáOÇ@\Ìú»ðp¢½êÌÝC^[
+QbgñË¶ÅgíêéDCPUáOÇ@\Ìú»ð^[QbgË¶
+ÅpÓµC»ÌÅ±êçÌ}NðgíÈ¢êÉÍC±êçÌ}Nðp
+Ó·éKvÍÈ¢D
+
+(6-7-2-1) EXC_ENTRY(excno, exchdr)
+
+CPUáOnhÔªexcnoCCPUáOnhÌÖ¼ªexchdrÅ éCPUá
+OnhÌoüûÌxðìé}NDEXCHDR_ENTRYðp¢ÄCPUáO
+nhÉoüûð¶¬·éêÉÍCÌæ¤Éè`·éD
+
+#define EXC_ENTRY(excno, exchdr)	_kernel_##exchdr##_##excno
+
+CPUáOnhÉoüûðìéKvªÈ¢êÉÍCÌæ¤Éè`µ
+ÄCCPUáOnhÌÖ¼ð»ÌÜÜÔ·D
+
+#define EXC_ENTRY(excno, exchdr)	exchdr
+
+(6-7-2-2) EXCHDR_ENTRY(excno, excno_num, exchdr)
+
+CPUáOnhÔªexcnoCCPUáOnhÌÖ¼ªexchdrÅ éCPUá
+OnhÌoüûð¶¬·é}NDexcno_numÉÍCAZu¾êL
+qpÉCCPUáOnhÔªlÅn³êéDCPUáOnhÉoüû
+ðìéKvªÈ¢êÉÍCóÉè`·éD
+
+6.7.3 CPUáOnhÌÝè
+
+(6-7-3-1) bool_t VALID_EXCNO_DEFEXC(EXCNO excno)iIvVj
+
+excnoªCDEF_EXCÉÎ·éCPUáOnhÔÆµÄLøÈlÅ éêÉ
+trueC»¤ÅÈ¢êÉfalseðÔ·}ND
+
+SSPJ[lÌ^[QbgñË¶ÅÍC±Ì}NÍgíêÄ¢È¢½ßC^[
+QbgË¶ÅgíÈ¢ÈçCpÓ·éKvªÈ¢D
+
+(6-7-3-2) void x_define_exc(EXCNO excno, FP exc_entry)
+
+excnoÅwè³ê½CPUáOnhÌoüûÌÔnðexc_entryÉÝè·éD
+
+±ÌÖÍCWÌCPUáOÇ@\Ìú»ðp¢½êÌÝC^[Qb
+gñË¶©çÄÑo³êéDCPUáOÇ@\Ìú»ð^[QbgË¶
+ÅpÓµC»ÌÅ±ÌÖðÄÑo³È¢êÉÍC±ÌÖðpÓ·é
+KvÍÈ¢D
+
+±ÌÖÍC^[QbgñË¶ÌJ[lú»©çÄÑo³êé½ßC
+J[lÌú»iNMIð­·×ÄÌÝª}XN³êÄ¢éj©çÄ
+Ño¹éæ¤ÉÀ·êÎæ¢D
+
+wè³ê½CPUáOnhÔªDEF_EXCÉÎ·éàÌÆµÄLøÈlÅÈ¢
+êÌ®ìÍÛØ·éKvªÈ¢iassertÅG[Æ·éÌª]Üµ¢jD±
+êÍCRtBM
+[^ªCpX2Ìev[gt@CÌ^[QbgË¶
+Åè`·éEXCNO_DEFEXC_VALIDðp¢ÄG[ðo·é½ßÅ éD
+
+6.7.4 CPUáOÇ@\Ìú»ÌÏX
+
+(6-7-4-1) OMIT_INITIALIZE_EXCEPTIONiIvVj
+
+CPUáOÇ@\Ìú»ð^[QbgË¶ÅpÓµC^[QbgñË¶
+ÉÜÜêéWÌÝÇ@\Ìú»ðp¢È¢êÉÍC±ÌV
+{ð}Nè`·éD
+
+±ÌV{ð}Nè`·éÆCEXCINIBÆinitialize_exceptionÌè`ªC
+J[lÌ^[QbgñË¶©çæè©êéDÜ½CTNUM_EXCNOC
+tnum_excnoCexcinib_tableÌè`ÆCCPUáOnhÌoüûð¶¬
+·é½ßÌLqiEXCHDR_ENTRY}NÌXgjðCRtBM
+[^Ìp
+X2Ìev[gt@CÌ^[QbgñË¶ÉæÁÄkernel_cfg.cÉ¶¬
+³êÈ­ÈéD
+
+(6-7-4-2) void initialize_exception(void)iIvVj
+
+OMIT_INITIALIZE_EXCEPTIONð}Nè`µ½êÉÍC±ÌÖð^[Qbg
+Ë¶ÅpÓ·éDOMIT_INITIALIZE_EXCEPTIONð}Nè`·é±ÆÉæèæ
+è©êé»Ì¼Ìf[^^CÏC}NÍC±ÌÖÅgp·éêÉÌ
+ÝpÓ·êÎæ¢D
+
+6.7.5 ftHgÌCPUáOnh
+
+(6-7-5-1) default_exc_handler(void)iIvVj
+
+RtBM
+[^ÉæèCPUáOnhÌe[uð¶¬·éêÈÇÉÍC
+CPUáOnhðo^µÈ©Á½CPUáOnhÔÉÎµÄCftHg
+ÌCPUáOnhÆµÄCdefault_exc_handlerðo^·éD
+
+default_exc_handlerÍCWÌàÌð^[QbgË¶ÅpÓ·éªC[U
+ªpÓµ½àÌÅu«·¦çêéæ¤ÉCOMIT_DEFAULT_EXC_HANDLERð}N
+è`µ½êÉÍC^[QbgË¶Åè`µÈ¢æ¤É·éDÈ¨C[U
+ªpÓ·éêÌ¼ÌÍC_kernel_default_exc_handlerÆÈéD
+
+6.8 J[lÌN®EI¹ÆX^bNÌæÈÇ
+
+(6-8-1) X^[gAbvW
+[
+
+J[lÌX^[gAbvW
+[ÍCVXeÌZbgãÉÅÉÀs
+³êévOÅ éDX^[gAbvW
+[ÍCWIÉÍCvZb
+TË¶Ü½Í`bvË¶ÅpÓµÈºÌðs¤ªC»êÉ±¾íéK
+vÍÈ¢DïÌIÉÍCJ­Â«ÉpÓ³êÄ¢éX^[gAbvW
+[
+ðp¢éû@i±ÌêC^[QbgË¶ÅmainÖðpÓ·éKvª éj
+âCAvP[VÅpÓ·éêªl¦çêéD
+
+(a) vZbTóÔÌú»
+
+vZbT[hCX^bN|C^Ct[|C^CvZbTÌó
+Ôðú»·éDÜ½CNMIð­·×ÄÌÝð}XNµ½óÔiSÝ
+bNóÔÆ¯ÌóÔjÆ·éDDRAMRg[Ìú»ÈÇCð
+ANZX·é½ßÉKvÈú»ð±±ÅsÁÄàæ¢iÌ
+hardware_init_hookÅsÁÄàæ¢jD
+
+(b) hardware_init_hookðÄÑo·
+
+VXeÌZbgã·®És¤KvÌ é^[QbgVXeË¶Ìú»
+ðs¤½ßÉChardware_init_hookðÄÑo·Dhardware_init_hookªp
+Ó³êÄ¢È¢êÍC½àµÈ¢DGNUJ­Â«ÅÍCJXNvgÌ
+weak definitionÉæèChardware_init_hookªpÓ³êÄ¢È¢êÌlð0
+Æ·é±ÆÅC±êðÀ»Å«éDweak definitionÌ@\ð½È¢J­Â«
+ÅÍChardware_init_hookðK¸ÄÑo·±ÆÉ·éD
+
+hardware_init_hookÍC^[QbgË¶ÅpÓ·éÌªWÅ éªCVX
+eÌZbgã·®És¤KvÌ éú»ðÇÁ·é½ßÉCAv
+P[VÅpÓµ½àÌðp¢éêà éD
+
+ANZXÉKvÈú»ðhardware_init_hookÅs¤êÉÍC±
+êðÄÑo·_ÅÉANZX·é±ÆªÅ«È¢½ßCÖiTu[
+`jðÄÑo·½ßÉX^bNðgp·évZbTÅÍCßèÔnðÄp
+WX^ÉüêÄÄÑo·Æ¢Á½HvªKvÅ éD±ÌêC
+hardware_init_hookðC¾êÅLq·é±ÆÍÅ«È­ÈéªCâÞð¦È¢D
+
+(c) bssZNVÆdataZNVÌú»
+
+bssZNVðNAµCdataZNVÉúlðÝè·éD
+
+½¾µCJ[l{ÌÍCkerflgªfalsei0jÉú»³êé±ÆÈOÉC
+±êçÌZNVªú»³êé±ÆÉË¶µÄ¢È¢½ßCX^[gAb
+vW
+[ðAvP[VÅpÓ·éêÅCVXeT[rXâAv
+P[Vª±êçÌZNVªú»³êé±ÆÉË¶µÄ¢È¢ê
+ÉÍCVXeÌN®ÔðZk·é½ßÉCkerflgðfalseÉú»·é¾¯
+Å\ªÅ éD
+
+(d) software_init_hookðÄÑo·
+
+J­Â«iÁÉCujÉË¶µÄKvÈú»ðs¤½ßÉC
+software_init_hookðÄÑo·Dsoftware_init_hookªpÓ³êÄ¢È¢ê
+ÍC½àµÈ¢DGNUJ­Â«ÅÍCJXNvgÌweak definitionÉ
+æèCsoftware_init_hookªpÓ³êÄ¢È¢êÌlð0Æ·é±ÆÅC±ê
+ðÀ»Å«éDweak definitionÌ@\ð½È¢J­Â«ÅÍC
+software_init_hookðK¸ÄÑo·±ÆÉ·éD
+
+software_init_hookÍC^[QbgË¶ÅpÓ·éÌªWÅ éD
+
+(e) sta_kerÖªò
+
+sta_kerðÄÑo·Dsta_kerÍCNMIð­·×ÄÌÝð}XNµ½óÔ
+iSÝbNóÔÆ¯ÌóÔjÅÄÑo³È¯êÎÈçÈ¢Dsta_ker©
+çÍ^[·é±ÆªÈ¢½ßCX^[gAbvW
+[ÉßÁÄ­é±
+ÆÍl¦éKvªÈ¢D
+
+(6-8-2) void target_initialize(void)
+
+^[QbgË¶Ìú»ðs¤ÖDsta_kerÌÅÅÄÑo³êéDvZb
+TE`bvEJ­Â«Ë¶Ìú»ðC»êçÌË¶ÉØèª¯é±Æ
+àÂ\Å éD
+
+±ÌÖÍC ­ÜÅàJ[lÌ^[QbgË¶Ìú»ðs¤½ß
+ÌàÌÅ éDAvP[VÉKvÈú»ÍCú»[`Ås
+¤Ìªî{Å éªCVXeÌZbgã·®És¤Kvª éêÉÍC
+hardware_init_hookðp¢éD
+
+(6-8-3) void call_exit_kernel(void)
+
+ñ^XNReLXgÉØè·¦ÄCexit_kernelÖªò·éÖDext_ker©
+çÄÑo³êéDexit_kernel©çÍ^[·é±ÆªÈ¢½ßC±ÌÖÉ
+ßÁÄ­é±ÆÍl¦éKvªÈ¢D
+
+ñ^XNReLXgÉØè·¦éÌÍCI¹[`ðCñ^XNR
+eLXgpÌX^bNÅÀs·é½ßÅ éDI¹[`ð^XNpÌ
+X^bNÅÀs·éÆCe^XNÌX^bNÌæÌTCYðè·éÛÉCI
+¹[`ªgp·éX^bNÌæðl¶µÈ¯êÎÈçÈ¢D±êÉÍC
+I¹[`ªgp·éX^bNÌæªå«¢êÉe^XNÌX^bN
+Ìæð³ÊÉå«­µÈ¯êÎÈçÈ¢±ÆÉÁ¦ÄCÓ}µÈ¢X^bNI[
+o[t[ª­¶·éÂ\«ðßéÆ¢¤âèª éD
+
+±ÌÖÍCSÝbNóÔÅÄÎêé½ßCSÝbNóÔ©çÄ
+Ño·±ÆªÅ«È¢ÖðÄÎÈ¢æ¤ÉÀµÈ¯êÎÈçÈ¢D
+
+(6-8-4) void target_exit(void)
+
+^[QbgË¶ÌI¹ðs¤ÖD±ÌÖÍCJ[lI¹ÌÅ
+ãÉÄÑo³êC^[µÄÍÈçÈ¢DvZbTE`bvEJ­Â«Ë
+¶ÌI¹ðC»êçÌË¶ÉØèª¯é±ÆàÂ\Å éD
+
+±ÌÖÅÍCÅÉCatexitÉæÁÄo^³ê½ÖÆfXgN^ðÄÑ
+o·±ÆðÓ}µÄ¨èCWIÉÍCsoftware_term_hookðÄÑo·D
+software_term_hookªpÓ³êÄ¢È¢êÍC½àµÈ¢DGNUJ­Â«ÅÍC
+JXNvgÌweak definitionÉæèCsoftware_term_hookªpÓ³ê
+Ä¢È¢êÌlð0Æ·é±ÆÅC±êðÀ»Å«éDweak definitionÌ@
+\ð½È¢J­Â«ÅÍCsoftware_term_hookðK¸ÄÑo·±ÆÉ·éD
+
+±ÌÖÍCSÝbNóÔÅÄÎêé½ßCSÝbNóÔ©çÄ
+Ño·±ÆªÅ«È¢ÖðÄÎÈ¢æ¤ÉÀµÈ¯êÎÈçÈ¢D
+
+{Öð³À[vÅÀ·éÛÍCÈºÌ`®Æ·é±Æ(TECSÌp[TÌ
+§ÀÉí¹é½ßjD
+
+void
+target_exit( void )
+{
+	
+	/*
+	 * ^[QbgË¶Ì
+	 */
+	
+	
+	while (true)
+	{
+	}
+}
+
+
+6.9 J[làÌ`
+[jO
+
+6.9.1 rbg}bvT[`
+
+(6-9-1-1) OMIT_BITMAP_SEARCHiIvVj
+(6-9-1-2) uint_t bitmap_search(uint16_t bitmap)iIvVj
+
+^[QbgñË¶ÅCuint16_t^Ì®libitmapjÌ1ÌrbgÌàCÅ
+àºÊiEjÌàÌðT[`µC»ÌrbgÔðÔ·Öbitmap_searchðp
+ÓµÄ¢éD±±ÅCrbgÔÍÅºÊrbgð0ÆµCbitmapÉ0ðwèµ
+ÄÍÈçÈ¢àÌÆµÄ¢éD
+
+rbgT[`½ßðÂvZbTÅÍCbitmap_searchðCrbgT[`½ß
+ðg¤æ¤É«¼µ½ûªø¦ªÇ¢êª éD±Ìæ¤ÈêÉÍC^[
+QbgË¶ÅrbgT[`½ßðgÁ½bitmap_searchðè`µC
+OMIT_BITMAP_SEARCHð}Nè`·éD
+
+WCuÉrbgT[`½ßðp¢½ffsª éêCbitmap_searchð
+(ffs(bitmap) - 1)Éè`·éÆæ¢D
+
+(6-9-1-3) uint16_t PRIMAP_BIT(PRI pri)iIvVj
+
+rbgT[`½ßÌT[`ûüªtÈÇÌRÅCDæxÆrbgÆÌÎð
+ÏXµ½¢êÉÍCPRIMAP_BITð}Nè`·éD
+
+6.10 J[lÀÉÖ·é»Ì¼Ìè`
+
+6.10.1 ñ^XNReLXgpÌX^bNÌæ
+
+(6-10-1-1) DEFAULT_ISTKSZ
+
+DEF_ICSÉæèñ^XNReLXgpÌX^bNÌæªwè³êÈ¢êÌC
+ftHgÌX^bNÌæÌTCYD
+
+¦
+(6-10-1-2) DEFAULT_ISTKiIvVj
+
+DEF_ICSÉæèñ^XNReLXgpÌX^bNÌæªwè³êÈ¢êÌC
+ftHgÌX^bNÌæÌæªÔnD±Ì}Nªè`³êÈ¢êÉÍC
+TCYªDEFAULT_ISTKSZÌX^bNÌæªCzñÉæèmÛ³êéD
+
+(6-10-1-3) STK_T *TOPPERS_ISTKPT(STK_T *istk, SIZE istksz)iIvVj
+
+ñ^XNReLXgpÌX^bN|C^ÌúlðÛ·éÏiistkptj
+ðp¢éêÉC±ÌV{ÉCX^bNÌæÌæªÔniistkjÆX^b
+NÌæÌTCYiistkszj©çCX^bN|C^Ìúlðßé}Nð
+è`·éD
+
+6.10.2 óxÌè`
+
+(6-10-2-1) TOPPERS_EMPTY_LABEL(type, symbol)iIvVj
+
+NG[ðh®½ßÉCf[^^typeÌzñÅ éÏsymbolÉè`ð^
+¦é½ßÌ}ND^¦½è`ªQÆ³êé±ÆÍÈ¢½ßCÇÌæ¤Èè`
+ð^¦Äàæ¢D
+
+ftHgÅÍCsymbolðCvf^ªtypeÅTCYª0ÌzñÉè`µÄ¢éD
+TCYª0ÌzñªG[ÆÈçÈ¢RpCiGCCÍ±êÉYjðp¢é
+êÉÍC^[QbgË¶Åè`·éKvÍÈ¢D
+
+6.11 g[XO@\ÉÖ·éÝè
+
+SSPJ[lÌ\[XR[hÉÍCJ[lÌÀsg[XOðæ¾·é½ß
+Ì}NªßñÅ éDftHgÅÍC±êçÌ}NÍóÉè`³
+êÄg[XOÌæ¾ÍsíÈ¢ªC±êçÌ}NðKØÉè`·é±Æ
+Åg[XOÌæ¾ðs¤±ÆªÅ«éD
+
+6.11.1 æ¾Å«ég[XOÌíÞÆ}N
+
+æ¾Å«ég[XOÌíÞÆC»êðæ¾·é½ßÉè`·é}NÍ
+ÌÊèÅ éD
+
+(a) J[lÌ®ìJnÆI¹
+
+Ì}Nðè`·é±ÆÅCJ[lÌ®ìJnÆI¹Ìg[XO
+ðæ¾·é±ÆªÅ«éD
+
+	LOG_KER_ENTER		J[lª®ìðJn·é¼Oiú»Ì®¹ãj
+	LOG_KER_LEAVE		J[lÌI¹iext_kerjªÄÎê½¼ãiI¹
+						ÌÀsOj
+
+(b) PÊÌÀsJnÆI¹
+
+Ì}Nðè`·é±ÆÅCÝnhiINHjCÝT[rX[`
+iISRjCüúnhiCYCjCA[nhiALMjCCPUáOnh
+iEXCjC^XNáO[`iTEXjÌÀsJnOÆI¹ãÌg[X
+Oðæ¾·é±ÆªÅ«éD
+
+	LOG_<PÊª>_ENTER	PÊÌÀsJn¼O
+	LOG_<PÊª>_LEAVE	PÊÌI¹¼ã
+
+ÝnhÍCAvP[Vªo^µ½àÌÌÝðÎÛÆµCÝ
+T[rX[`ðÄÑo·½ßÉJ[làÉ¶¬³êéàÌÍÎÛÆµÈ
+¢D^XNÌÀsJnÆI¹ÍC¼Ìû@Åæ¾Å«é½ßC±Ìû@ÍpÓ
+µÄ¢È¢D
+
+È¨CÝnhÆCPUáOnhÌÀsJnÆI¹Ìg[XOæ¾
+ÍC^[QbgË¶ÅÀ·éKvª éDÚµ­ÍCu6.2 g[XO
+@\ÖÌÎvu6.6.1 ÝnhÌoüûvu6.7.2 CPUáOnh
+ÌoüûvÌßðQÆ·é±ÆD
+
+(c) ^XNóÔÌÏ»
+
+Ì}Nðè`·é±ÆÅC^XNóÔªÏ»µ½Ìg[XOðæ¾
+·é±ÆªÅ«éD½¾µCÀsóÔÆÀsÂ\óÔÌÔÌJÚÍC¼Ìû@
+Åæ¾Å«é½ßC±Ì}NÅÍæ¾Å«È¢D
+
+	LOG_TSKSTAT		^XNóÔÌÏ»
+
+(d) fBXpb`ÌÀsJnÆI¹
+
+Ì}Nðè`·é±ÆÅCfBXpb`ªÀsJn·éÆCI¹·é
+Ìg[XOðæ¾·é±ÆªÅ«éD
+
+	LOG_DSP_ENTER	fBXpb`ÌÀsJn
+	LOG_DSP_LEAVE	fBXpb`ÌI¹
+
+fBXpb`ÌÀsJnÍC^XNªÀsóÔ©çÀsÂ\óÔÉJÚ·é
+^C~OÅ é½ßCÀsÂ\óÔÖJÚ·é^XNÌTCBÖÌ|C^ðp
+[^Æ·éDtÉCfBXpb`ÌI¹ÍC^XNªÀsÂ\óÔ©ç
+ÀsóÔÉJÚ·é^C~OÅ é½ßCÀsóÔÖJÚ·é^XNÌTCBÖ
+Ì|C^ðp[^Æ·éD
+
+SSPJ[lÅÍCÀsÅ«é^XNªÈ­CJ[lªAChóÔÉÈéê
+ÉÍCfBXpb`ÌÉ¯ÜéD»Ì½ßCAChóÔÖÌJÚÆA
+ChóÔ©ç¼ÌóÔÖÌJÚÍC±Ì}NÅÍæ¾Å«È¢D
+
+È¨CfBXpb`ÌÀsJnÆI¹Ìg[XOæ¾ÍC^[QbgË
+¶ÅÀ·éKvª éDÚµ­ÍCÆu6.5.2 fBXpb`{ÌvÌßð
+QÆ·é±ÆD
+
+(e) T[rXR[ÌüûÆoû
+
+Ì}Nðè`·é±ÆÅCeT[rXR[ÌüûÆoûÌg[XO
+ðæ¾·é±ÆªÅ«éD
+
+	LOG_<T[rXR[Ìå¶\L>_ENTER		T[rXR[¼Ìüû
+	LOG_<T[rXR[Ìå¶\L>_LEAVE		T[rXR[¼Ìoû
+
+»ê¼êÌ}NÌ¼Ìâp[^ÌÚ×ÉÂ¢ÄÍCJ[lÌ\[XR[
+hðQÆ·é±ÆD
+
+6.12 J[lÀÌ^[QbgË¶Ì½ßÌl[Lq
+
+J[làÉÂ¶ÄgíêéÖâÏÈÇÌ¼ÌÅCIuWFNgt@C
+ÌV{\Éo^³êÄO©çQÆÅ«é¼ÌÍCC¾êxÅCæª
+ª"_kernel_"Ü½Í"_KERNEL_"Å é¼ÌÆµÈ¯êÎÈçÈ¢ªCSSPJ[l
+ÅÍC\[XR[hðRpNgÉÛ¿ÂÂ±êðÀ»·é½ßÉCl[
+Lqt@Cð±üµÄ¢éD
+
+ïÌIÉÍCl[·×«¼ÌðXgAbvµ½xxx_rename.defðpÓµC
+±Ìt@C©çc[iutils/genrenamejÉæèC¼Ìðl[·é½ß
+Ì}Nè`ðÜÞxxx_rename.hÆC»êçÌ}Nè`ðð·é½ßÌ
+xxx_unrename.hð¶¬·éDc[ÌN®û@ÍÌÊèÅ éD
+
+	% genrename xxx
+
+xxx_rename.defÉÍCl[·×«¼Ìð1sÉ1ÂLq·éDxxxxÆ¢¤¼
+ÌªLq³êÄ¢éêCxxx_rename.hÉÍÌæ¤ÈLqª¶¬³êéD
+
+#define xxxx				_kernel_xxxx
+#ifdef TOPPERS_LABEL_ASM
+#define _xxxx				__kernel_xxxx
+#endif /* TOPPERS_LABEL_ASM */
+
+Ü½Cxxx_unrename.hÉÍÌæ¤ÈLqª¶¬³êéD
+
+#undef xxxx
+#ifdef TOPPERS_LABEL_ASM
+#undef _xxxx
+#endif /* TOPPERS_LABEL_ASM */
+
+xxx_rename.defÌÉÍC¼Ìl[LqðæèÞ½ßÉCuINCLUDE
+"yyy"vÜ½ÍuINCLUDE <yyy>vÆ¢¤LqðÜßé±ÆªÅ«éD±ÌLq
+ª³êÄ¢éêCxxx_rename.hÉÍu#include "yyy_rename.h"vÜ½Í
+u#include <yyy_rename.h>vÆ¢¤LqªCxxx_unrename.hÉÍu#include
+"yyy_unrename.h"vÜ½Íu#include <yyy_unrename.h>vÆ¢¤Lqª¶¬³
+êéD
+
+xxx_rename.defÌÌ"#"ÅnÜésÍRgÆµÄÇÝòÎ³êéDÜ½C
+ósà³³êéD
+
+J[lÌ^[QbgñË¶Ågíêé¼Ìðl[·é½ßÉCkernel
+fBNgÉCkernel_rename.defÆC»±©ç¶¬µ½kernel_rename.h¨
+æÑkernel_unrename.hªpÓ³êÄ¢éDkernel_rename.defÉÍC
+uINCLUDE "target"vÆ¢¤LqªÜÜêÄ¨èC^[QbgË¶Ìl[
+LqðæèÞæ¤ÉÈÁÄ¢éD^[QbgË¶Åè`µC^[Qbg
+ñË¶ÅQÆ³êé¼ÌÍC^[QbgË¶Ìl[LqÉÜßéD
+
+^[QbgË¶ÅÍC^[QbgË¶Ågíêé¼Ìðl[·é½ß
+ÉCtarget_rename.defÆC»±©ç¶¬µ½target_rename.h¨æÑ
+target_unrename.hðpÓ·éD^[QbgË¶©çvZbTE`bvEJ
+­Â«Ë¶ðØèª¯éêÉÍCtarget_rename.defÉINCLUDELqðüêC
+vZbTE`bvEJ­Â«Ë¶Ìl[LqðæèÞæ¤É·éD
+
+6.13 ^C}hCo
+
+^C}hCoÍCJ[lÉ^CeBbNðÊm·é½ßÌ^C}hC
+oÅ éD
+
+6.13.1 ^C}hCoÌt@C\¬
+
+^C}hCoðgÝÞ½ßÌÃIAPIðLqµ½VXeRtBM
+[
+Vt@CðCtarget_timer.cfgÉpÓ·éD±Ìt@CÉÍC^C}
+hCoðú»·é½ßÌú»[`ÌÇÁC^C}hCoðI¹³
+¹é½ßÌI¹[`ÌÇÁC^C}ÝÌ½ßÌÝnhÌ
+è`iÜ½ÍCÝT[rX[`ÌÇÁjC^C}ÝÌ½ßÌ
+ÝvCÌ®«ÌÝèÌÃIAPIÈÇðÜÞ±ÆÉÈéD
+
+^C}hCoðÄÑo·½ßÉKvÈè`ðÜÞwb_t@CðC
+target_timer.hÉpÓ·éDÜ½C^C}hCoÌÀt@Cð
+target_timer.cÉpÓ·éD
+
+^CeBbNÌÊmÉæès¤Ì½­ÍC^XNÌN®âÒ¿ððs
+¤àÌÅ é½ßC^C}ÝÌÝDæxÍCÝÌÅÅáÌDæ
+xÅ\ªÅ éD½¾µCüúnhâA[nhÌÀsJnxêª
+âèÉÈéêÉÍC^C}ÝÌÝDæxðæè¢lÉÝèµ½¢D
+»±ÅC^C}ÝÌÝDæxðÏX·éû@ðC^[QbgË¶Ì
+[U[Y}j
+AÉLÚ·×«Å éD
+
+6.13.2 ^C}Ìú»EI¹EÝ
+
+(6-13-2-1) void target_timer_initialize(intptr_t exinf)
+
+^C}ðú»µC^C}ÝðüúIÉ­¶³¹éÖD^C}ÝÌ
+üúÍCTIC_NUMEÆTIC_DENOÅwè³ê½ÔÆêv³¹éiu5.3 ^C
+eBbNÌè`vÌßðQÆjD
+
+±ÌÖÍCtarget_timer.cfgÉLq·éÃIAPIÉæèCú»[`Æ
+µÄJ[lÉo^·é±ÆðzèµÄ¢éD
+
+(6-13-2-2) void target_timer_terminate(intptr_t exinf)
+
+^C}Ì®ìðâ~³¹C^C}Ýð­¶µÈ¢æ¤É·éÖD
+
+±ÌÖÍCtarget_timer.cfgÉLq·éÃIAPIÉæèCI¹[`
+ÆµÄJ[lÉo^·é±ÆðzèµÄ¢éD
+
+(6-13-2-3) void target_timer_handler(void)
+    Ü½Í void target_timer_isr(intptr_t exinf)
+
+^C}ÝÉæèN®³êéÝvODÝnhÆµÄ
+À»·éêÉÍtarget_timer_handlerCÝT[rX[`ÆµÄÀ»
+·éêÉÍtarget_timer_isrÌ¼ÌÆ·éD^[QbgñË¶Ì
+signal_timeðÄÑo·D
+
+target_timer_handlerÍCWIÉÍÌæ¤Éè`·éD
+
+----------------------------------------
+void
+target_timer_handler(void)
+{
+	i_begin_int(<^C}ÝÌÝÔ>);
+	signal_time();
+	i_end_int(<^C}ÝÌÝÔ>);
+}
+----------------------------------------
+
+±ÌÖÍCtarget_timer.cfgÉLq·éÃIAPIÉæèCÝnhÜ
+½ÍÝT[rX[`ÆµÄJ[lÉo^·é±ÆðzèµÄ¢éD
+
+6.13.3 «\]¿pVXeÌQÆÌ½ßÌ@\
+
+«\]¿pVXeÌQÆ@\iget_utmjðT|[g·éêÉÍC^C
+}hCoÅCÈºÌf[^^âÖÈÇðpÓ·éD
+
+(6-13-3-1) CLOCK
+
+^C}lÌà\»Ì½ßÌf[^^D
+
+(6-13-3-2) CLOCK target_timer_get_current(void)
+
+^C}Ì»ÝlðÇÝoµCà\»ÅÔ·ÖD^C}lÍCÔÌoßÆ
+ÆàÉÁ·é±ÆðzèµÄ¢éDn[hEFAÌ^C}ªC^C}lª¸
+­·éàÌÅ éêÉÍC±ÌÖàÅÁ·élÆÈéæ¤ÉÏ··éD
+
+(6-13-3-3) bool_t target_timer_probe_int(void)
+
+^C}Ývð`FbN·éÖD^C}Ýªv³êÄ¢éêÉ
+trueCv³êÄ¢È¢êÉfalseðÔ·D
+
+(6-13-3-4) TO_USEC(clock)
+
+^C}lÌà\»ðC1ÊbPÊÉÏ··é½ßÌ}NiÜ½ÍÖjD
+targettimer_get_currentÅÇÝoµ½lðC^C}Ý­¶©çÌoßÔ
+iPÊ: 1ÊbjÉÏ··é½ßÉp¢éD
+
+7. RtBM
+[^Ýèt@CÌ^[QbgË¶
+
+7.1 Ýèt@CÆ^[QbgË¶ÌÊut¯
+
+SSPJ[lÌRtBM
+[^ÍCÝèt@CÌLqÉ]ÁÄt@CÌ
+¶¬¨æÑG[`FbNðs¤DRtBM
+[^ÌÝèt@CÉÍC
+ÈºÌ4Âª éD
+
+(a) ÃIAPIe[u
+
+ÃIAPIÌêÆCeÃIAPIÌp[^ÉÂ¢ÄLqµ½t@CDÃI
+APIðg£·éêÈOÍÏX·éKvªÈ¢½ßC^[QbgñË¶ÅpÓ
+µÄ¢éikernel/kernel_api.csvjD
+
+(b) læ¾V{e[u
+
+RtBM
+[^ÌpX1É¨¢ÄCp[^vZpC¾êt@CÉoÍ
+µClðß½¢V{iêÊÉÍ®jðLq·é½ßÌt@CD^[Qb
+gñË¶ÅÍC^[QbgÉË¶¹¸ÉKvÆÈéV{ðLqµ½t@
+CðpÓµÄ¢éikernel/kernel_def.csvjD
+
+^[QbgÉË¶µÄKvÆÈéV{ª éêÉÍCtargetfBNg
+Éu©ê½target_def.csvÉLq·éDtarget_def.csvÉLqµÄlð
+ßé±ÆªÅ«éV{ÍCkernel/kernel_int.h¨æÑ»±©çCN[
+h³êét@CÅè`³êÄ¢È¯êÎÈçÈ¢Dkernel_int.h©çÍC
+target_stddef.hCtarget_kernel.hCtarget_config.hðiÔÚIÉjCN[
+hµÄ¢é½ßC±êçÌt@C¨æÑ»±©çCN[h³êét@C
+Åè`³êé^[QbgË¶ÌV{ÍCtarget_def.csvÉLq·é±
+ÆªÅ«éD
+
+±±Ålðß½V{ÌlÍCRtBM
+[^ÌpX2¨æÑpX3Ì
+ev[gt@CÅQÆ·é±ÆªÅ«éD
+
+(c) pX2Ìev[gt@C
+
+RtBM
+[^ÌpX2ÍCev[gt@CÉ]ÁÄCJ[lÌ\
+¬Eú»t@Cikernel_cfg.cjC\¬Eú»wb_t@C
+ikernel_cfg.hjÈÇð¶¬·éD±Ìev[gt@CÍC^[Qbg
+ñË¶Æ^[QbgË¶ÉØèª¯Ä éªC¼Ìt@CÌ^[Qbg
+Ë¶ÆÍtÉC^[QbgË¶©ç^[QbgñË¶ðCN[h·
+é`ÉÈÁÄ¢éD
+
+ïÌIÉÍCtargetfBNgÉu©ê½target.tfÅCKvÈÏðè`µ
+½ãCev[gt@CÌ^[QbgñË¶ikernel/kernel.tfjðC
+N[h·éDkernel.tfÅÍCJ[lÌ^[QbgñË¶Ågp·éÏ
+è`ð¶¬·éDkernel.tfðCN[hµ½ãCtarget.tfÅÍCJ[
+lÌ^[QbgË¶Ågp·éÏè`ð¶¬·éDtarget.tf©çCv
+ZbTË¶C`bvË¶ðCJ­Â«Ë¶ðØèª¯Äàæ¢D
+
+(d) pX3Ìev[gt@C
+
+RtBM
+[^ÌpX3ÍCev[gt@CÉ]ÁÄCÃIAPIÌê
+Êè®p[^Ì`FbNðs¤D±Ìev[gt@CàC^[Qb
+gñË¶Æ^[QbgË¶ÉØèª¯Ä èC^[QbgË¶©ç^[
+QbgñË¶ðCN[h·é`ÉÈÁÄ¢éD
+
+ïÌIÉÍCtargetfBNgÉu©ê½target_check.tfÅCKvÈÏð
+è`µ½ãCev[gt@CÌ^[QbgñË¶
+ikernel/kernel_check.tfjðCN[h·éDkernel_check.tfÅÍCJ[
+lÌ^[QbgñË¶Åú»ubNÉoÍµ½êÊè®p[^
+Ì`FbNðs¤Dkernel_check.tfðCN[hµ½ãCtarget_check.tf
+ÅÍC^[QbgÉË¶·é`FbNðs¤Dtarget_check.tf©çCvZb
+TË¶C`bvË¶ðCJ­Â«Ë¶ðØèª¯Äàæ¢D
+
+È¨CRtBM
+[^ÌÚ×dlÆÝèt@CÌLqû@ÉÂ¢ÄÍC
+ÊrPDFt@CÌ`ÅzzµÄ¢éuTOPPERSV¢ãJ[lpRtBM
+
+[^dlv¨æÑuTOPPERSV¢ãJ[lpRtBM
+[^à }N
+vZbTdlvðQÆ·é±ÆD
+
+7.2 pX2Ìev[gt@CÌ^[QbgË¶
+
+ÈºÅÍCpX2Ìev[gt@CÌ^[QbgË¶ðLq·éãÅK
+vÈÉÂ¢Äà¾·éD
+
+7.2.1 ^[QbgñË¶ðCN[h·éOÉè`·×«Ï
+
+target.tf©çkernel.tfðCN[h·éOÉCÌÏðè`µÄ¨©È
+¯êÎÈçÈ¢D
+
+(7-2-1) INTNO_ATTISR_VALID		ATT_ISRÅgpÅ«éÝÔ
+(7-2-2) INHNO_ATTISR_VALID		INTNO_ATTISR_VALIDÉÎ·énhÔ
+(7-2-3) INHNO_DEFINH_VALID		DEF_INTÅgpÅ«éÝnhÔ
+(7-2-4) EXCNO_DEFEXC_VALID		DEF_EXCÅgpÅ«éCPUáOnhÔ
+(7-2-5) INTNO_CFGINT_VALID		CFG_INTÅgpÅ«éÝÔ
+(7-2-6) INTPRI_CFGINT_VALID		CFG_INTÅgpÅ«éÝDæx
+
+APIÅgpÅ«éÝÔ^ÝnhÔ^CPUáOnhÔ^
+ÝDæxÌXgðCeÏÉè`·éDINHNO_ATTISR_VALIDÉÍC
+INTNO_ATTISR_VALIDÉXgAbvµ½ÝÔÉÎ·éÝnh
+ÔÌXgðè`·éD
+
+(7-2-7) TARGET_TSKATRiIvVj		^[Qbgè`Ì^XN®«
+(7-2-8) TARGET_ISRATRiIvVj		^[Qbgè`ÌISR®«
+(7-2-9) TARGET_INHATRiIvVj		^[Qbgè`ÌÝnh®«
+(7-2-10) TARGET_INTATRiIvVj	^[Qbgè`ÌÝ®«
+(7-2-11) TARGET_EXCATRiIvVj	^[Qbgè`ÌCPUáOnh®«
+
+eIuWFNgÌ®«ðC^[Qbgè`Ég£·éêÉCY·éIuWF
+Ng®«ð¦·ÏÉCg£Égp·érbgÌ_aðè`·éD±êÉæ
+èCg£Égp·érbgªÝè³êÄ¢éêÉCG[ÉÈéÌðh®D
+
+(7-2-12) INTNO_FIX_KERNELiIvVj		J[lÇÉÅè³êÄ¢é
+											ÝÔ
+(7-2-13) INHNO_FIX_KERNELiIvVj		J[lÇÉÅè³êÄ¢é
+		 									ÝnhÔ
+(7-2-14) INHNO_FIX_NONKERNELiIvVj	J[lÇOÉÅè³êÄ¢é
+											ÝÔ
+(7-2-15) INHNO_FIX_NONKERNELiIvVj	J[lÇOÉÅè³êÄ¢é
+		 									ÝnhÔ
+
+J[lÇÜ½ÍJ[lÇOÉÅè³êÄ¢éÝª éêÉÍC
+»êçÌÝÔÆÝnhÔÌXgðCeÏÉè`·éD
+
+(7-2-16) USE_INHINIB_TABLEiIvVj
+
+OMIT_INITIALIZE_INTERRUPTðè`µ½ªCÝnhÌú»ÉKvÈî
+ñðkernel_cfg.cÉ¶¬µ½¢êÉÍC±ÌÏð1ÉÝè·éDïÌIÉÍC
+TNUM_INHNOCtnum_inhnoCinhinib_tableÌè`ÆCÝnhÌoüû
+ð¶¬·é½ßÌLqiINTHDR_ENTRY}NÌXgjªC^[Qbgñ
+Ë¶ÉæÁÄ¶¬³êéD
+
+(7-2-17) USE_INTINIB_TABLEiIvVj
+
+OMIT_INITIALIZE_INTERRUPTðè`µ½ªCÝvCÌú»ÉKvÈ
+îñðkernel_cfg.cÉ¶¬µ½¢êÉÍC±ÌÏð1ÉÝè·éDïÌIÉ
+ÍCTNUM_INTNOCtnum_intnoCintinib_tableÌè`ªC^[QbgñË¶É
+æÁÄ¶¬³êéD
+
+(7-2-18) TARGET_MIN_STKSZiIvVj
+
+^[Qbgè`ÅC^XNÌX^bNTCYÌÅ¬lðÝè·éêÉÍC±
+ÌÏðX^bNTCYÌÅ¬lÉè`·éD
+
+(7-2-19) CHECK_STKSZ_ALIGNiIvVj
+
+X^bNÌæÌTCYª élÌ{ÅÈ¯êÎÈçÈ¢êÉC±ÌÏð
+»ÌlÉè`·éD±ÌÏðè`·é±ÆÅCkernel.tfÉ¨¢ÄCX^bN
+ÌæÌTCYª³µ­È¢i±ÌÏÉè`µ½lÌ{ÅÈ¢jêÌG[
+ð`FbN·éæ¤ÉÈéD`FbNªKvÈ¢êÉÍC±ÌÏðè`µ
+È¢D
+
+7.2.2 ^[QbgñË¶Åè`³êéÏ
+
+kernel.tfÌÅÍÌÏªè`³êé½ßCkernel.tfðCN[hµ½
+ãCtarget.tfÌÅ±êçðQÆ·é±ÆªÅ«éD
+
+(7-2-1) INTNO[inhno]		inhnoðÎ·éintnoÉÏ··é½ßÌAzzñ
+(7-2-2) INHNO[intno]		intnoðÎ·éinhnoÉÏ··é½ßÌAzzñ
+
+7.3 pX3Ìev[gt@CÌ^[QbgË¶
+
+ÈºÅÍCpX3Ìev[gt@CÌ^[QbgË¶ðLq·éãÅK
+vÈÉÂ¢Äà¾·éD
+
+target_check.tf©çkernel_check.tfðCN[h·éOÉCKvÉ¶ÄC
+ÌÏðè`µÄ¨©È¯êÎÈçÈ¢D
+
+(7-3-1) CHECK_FUNC_ALIGNiIvVj@ÖÌACPÊ
+(7-3-2) CHECK_FUNC_NONNULLiIvVjÖÌñNULL`FbN
+(7-3-3) CHECK_STACK_ALIGNiIvVj	X^bNÌæÌACPÊ
+(7-3-4) CHECK_STACK_NONNULLiIvVjX^bNÌæÌñNULL`FbN
+(7-3-5) CHECK_MPF_ALIGNiIvVj	Åè·v[ÌæÌACPÊ
+(7-3-6) CHECK_MPF_NONNULLiIvVj	Åè·v[ÌæÌñNULL`FbN
+
+Ö^X^bNÌæ^Åè·v[ÌæÌæªÔnÌACgÌ
+`FbNðs¤êÉÍC»ê¼êCCHECK_FUNC_ALIGN^CHECK_STACK_ALIGN^
+CHECK_MPF_ALIGNðACPÊÉè`·éDÖ^X^bNÌæ^Åè·
+v[ÌæÌæªÔnªNULLÅÈ¢©Ì`FbNðs¤êÉÍC»ê¼ê
+CHECK_FUNC_NONNULL^CHECK_STACK_NONNULL^CHECK_MPF_NONNULLð1Éè`·éD
+`FbNªKvÈ¢êÉÍCY·éÏðè`µÈ¢D
+
+7.4 cfg1_out.cÌNÉKvÈX^uÌè`t@C
+
+RtBM
+[^ÉÖµÄ^[QbgË¶ÉpÓ·éKvª ét@CÆ
+µÄCÝèt@CÈOÉCcfg1_out.cðN·é½ßÉKvÈX^uÌè
+`t@Cª éD
+
+RtBM
+[^ÌpX1ÅÍCÃIAPIÌ®è®p[^ÌlðCR
+pCðp¢Äßé½ßÉCcfg1_out.cð¶¬·éD±êðRpCC
+NµÄIuWFNgt@Cð¶¬·éÛÉCX^[gAbvW
+[©
+çQÆ³êéV{Ìè`ð^¦éKvª éD
+
+±Ìè`ð^¦é½ßÉCcfg1_out.c©çC^[QbgË¶Ì
+target_cfg1_out.hðCN[hµÄ¢éDtarget_cfg1_out.hiÜ½ÍC»
+±©çCN[h³êét@CjÉÍCX^[gAbvW
+[©çQ
+Æ³êéV{ÌX^uÌè`ðÜßéDT^IÉÍCÈºÌæ¤Èè`ð
+ÜßéKvª éD
+
+----------------------------------------
+void sta_ker(void)
+{
+}
+
+void hardware_init_hook(void)
+{
+}
+
+void software_init_hook(void)
+{
+}
+
+const SIZE		_kernel_istksz = 0;
+
+STK_T *const	_kernel_istk = NULL;
+----------------------------------------
+
+
+8. VXeT[rXÌ^[QbgË¶
+
+8.1 VXeT[rXÌ^[QbgË¶
+
+VA|[gâVXeO^XNÖAÌèÈÇCVXeT[rXÌ
+\¬ðè·é½ßÌè`ðtarget_syssvc.hÜ½Í»±©çCN[h³ê
+ét@CivZbTE`bvEJ­Â«Ë¶ÅpÓ³êéwb_t@C
+ÈÇjÉÜßéD
+
+È¨CTOPPERSgÝR|[lgVXeª±ü³êéÆC±Ìt@CÌ
+àeÍR|[lgLqt@CÉLq³êé±ÆÉÈèC±Ìt@CÍ
+³­ÈéiÜ½ÍCåÉk¬³êéj©ÝÅ éD
+
+8.2  VXeO@\Ì^[QbgË¶è`
+
+VXeO@\ðgp·éêÅCX^[gAbvW
+[ÅbssZNV
+ÌNAðÈªµÄ¢éêÉÍCsyslog_logmaskÆsyslog_lowmask_notð
+0Éú»·éR[hðÇÁ·éD±êÍCVXeO@\ªú»³êéO
+ÉoÍ³ê½OîñðCáxoÍ@\ðp¢ÄoÍ·é½ßÅ éD
+
+^[QbgË¶Åñ·×«VXeO@\Ì½ßÌè`ÍÌÊèÅ 
+éD
+
+(8-2-1)  TCNT_SYSLOG_BUFFER
+
+VXeO@\ÌOobt@ÌTCYðè`·é}NDè`µÈ¢ê
+ÌftHglÍ32D
+
+(8-2-2)  void target_fput_log(char c)
+
+VXeOÌáxoÍÌ½ßÌ¶oÍÖD^[QbgË¶Ìû@ÅC
+¶cð\¦/oÍ/Û¶·éD
+
+±ÌÖÍCGggÉÀµÈ¯êÎÈçÈ¢D±ÌÖàÅr¼§
+äªKvÈêÉÍCSILðp¢ÄSÝbNóÔÉ·é±ÆDÜ½CS
+ÝbNóÔÅÄÎêéêª é½ßCSÝbNóÔ©çÄÑo·
+±ÆªÅ«È¢ÖðÄÎÈ¢æ¤ÉÀµÈ¯êÎÈçÈ¢D
+
+áxoÍðVA|[goRÅs¤êÅCVAC^tF[Xh
+CoÆ|[gð¤pµÈ¢±Æª]Üµ¢ªC|[gª«èÈ¢½ßÉâ
+Þð¦¸¤p·éêÉÍC¼Òª£µÈ¢æ¤ÉÓªKvÅ éDïÌ
+IÉÍC¼Òª¯¶ÝèÅVAI/OfoCXðg¤æ¤ÉµCVAC
+^tF[XhCoÌ®ìÉáxoÍªsíêÄà·µx¦È¢æ¤É
+Ýv·éDÜ½CáxoÍª®ìJnãÉVAC^tF[XhC
+oªVAI/OfoCXðú»·éÆC¶»¯ªN±éÂ\«ª é½ßC
+¤p·é|[gÍCáxoÍ@\¤Åú»µCVAC^tF[X
+hCoÅÍú»µÈ¢æ¤É·éÆæ¢D
+
+È¨C±ÌÖÌ{ÌðCÇÌt@CÉLq·é©ªâèÉÈéDVXe
+T[rXÌ^[QbgË¶ÉÍCWÅÍCÖè`ðLq·é½ßÌt@
+CðpÓµÄ¢È¢D^[QbgË¶ÅpÓµÄàæ¢ªCáOIÉCJ[
+lÀÌ^[QbgË¶W
+[itarget_config.cjÉLqµÄàæ¢D
+±ÌêCtarget_fput_logðCl[Lqitarget_rename.defÈÇjÉÜ
+ßÄÍÈçÈ¢D
+
+8.3  O^XNÌ^[QbgË¶è`
+
+^[QbgË¶Åñ·×«O^XNÌ½ßÌè`ÍÌÊèÅ éD±
+êçÌè`ÍCtarget_syssvc.hÜ½Í»±©çCN[h³êét@CÉ
+ÜßéD
+
+(8-3-1)  LOGTASK_PRIORITYiIvVj
+
+O^XNÌDæxðè`·é}NDè`µÈ¢êÌftHglÍ3D
+
+(8-3-2)  LOGTASK_STACK_SIZEiIvVj
+
+O^XNÌX^bNTCYðè`·é}NDè`µÈ¢êÌftHg
+lÍ1024D
+
+(8-3-3)  LOGTASK_PORTIDiIvVj
+
+O^XNÌoÍæÌVA|[gÔDè`µÈ¢êÌftHglÍ1D
+
+(8-3-4)  LOGTASK_INTERVALiIvVj
+
+O^XNÌ®ìÔuiPÊÍ~bjDè`µÈ¢êÌftHglÍ10D
+
+(8-3-5)  LOGTASK_FLUSH_WAITiIvVj
+
+OoÍðÒ¿í¹éÉ¨¢ÄC^XNðÒ½¹éPÊÆÈéÔiP
+ÊÍ~bjDè`µÈ¢êÌftHglÍ1D
+
+8.4 VAC^tF[XhCoÌ^[QbgË¶
+
+^[QbgË¶Åñ·×«VAC^tF[XhCoÌ½ßÌè`
+ÍÌÊèÅ éD±êçÌè`ÍCÊÉwèªÈ¢ÀèCtarget_serial.hÜ
+½Í»±©çCN[h³êét@CÉÜßCKvÈRtBM
+[V
+îñðtarget_serial.cfgÉLq·éDÖÌÀÌªKvÈêÉÍC
+target_serial.cÌt@CðpÓ·éD
+
+VAC^tF[XhCoÌÅC^[QbgÌVAI/OfoCXÉ
+Ë¶·éªðCVAI/OfoCXhCoÆÄÔDVAI/OfoCX
+hCoÍC¨¨æ»CITRONfoCXhCoÝvKChCÌPDICÉ
+·éDPDICÉ·ét@CÅC¼ÌVXeÉà¤ÊÉg¦éÂ\«ª 
+éêÉÍCpdicfBNgÉu­D
+
+8.4.1 ÏCf[^^CÇÖ
+
+(8-4-1) TNUM_PORT
+
+VAC^tF[XhCoªT|[g·éVA|[gðè`·é
+}ND±Ì}NÌè`ÍCtarget_syssvc.hÜ½Í»±©çCN[h³
+êét@CÉÜßéD
+
+(8-4-2) void sio_initialize(intptr_t exinf)iIvVj
+
+VAI/OfoCXhCoÌú»Dtarget_serial.cfgÉC±ÌÖ
+ðú»[`ÆµÄo^·éÃIAPIðÜßéD
+
+(8-4-3) void sio_terminate(intptr_t exinf)iIvVj
+
+VAI/OfoCXhCoÌI¹Dtarget_serial.cfgÉC±ÌÖð
+I¹[`ÆµÄo^·éÃIAPIðÜßéD
+
+(8-4-4) void sio_isr(intptr_t exinf)
+
+VAI/OfoCXÌÝT[rX[`Dtarget_serial.cfgÉC±Ì
+ÖðÝT[rX[`ÆµÄo^·éÃIAPIðÜßéDÜ½C»ÌÃ
+IAPIÉKvÈVAI/OfoCXÌÝÔÈÇÍCtarget_serial.hÅ}
+Nè`·éDÝT[rX[`ÅÍÈ­CÝnhÆ·é±Æ
+àÅ«éD
+
+(8-4-5) SIOPCB
+
+VAI/O|[gÇubNÌf[^^itarget_serial.hÉÍCf[^^
+Ìé¾¾¯ÜÜêÄ¢êÎæ¢jD
+
+(8-4-6) SIO_RDY_SNDÆSIO_RDY_RCV
+
+MÂ\R[obNÌ¯ÊÔðSIO_RDY_SNDÉCóMÊmR[obNÌ¯
+ÊÔðSIO_RDY_RCVÉ}Nè`·éDR[obNÌÖ~^ÂðsÈ¤T[
+rXR[isio_ena_cbrÆsio_dis_cbrjÅp¢éD
+
+8.4.2 foCXT[rX[`
+
+ÈºÌfoCXT[r[`ÍCi­È­ÆàjVAI/O|[g©çÌ
+Ýª}XN³ê½óÔÅÄÑo³êéDÜ½C^XNReLXgCñ^
+XNReLXgÌ¢¸êÅÄÑo³êéêà éi¢¸êÅÄÑo³êÄ
+à®ì·éæ¤ÉµÈ¯êÎÈçÈ¢jD
+
+(8-4-2-1) SIOPCB *sio_opn_por(ID siopid, intptr_t exinf)
+
+siopidÅwè³êéVAI/O|[gðI[v·éÖDexinfÍVA
+I/O|[gÉÎ·ég£îñÅCR[obNðÄÔÉ|[gðæÊ·é½
+ßÉn·D
+
+(8-4-2-2) void sio_cls_por(SIOPCB *siopcb)
+
+siopcbÅwè³êéVAI/O|[gðN[Y·éÖD
+
+(8-4-2-3) bool_t sio_snd_chr(SIOPCB *siopcb, char c)
+
+siopcbÅwè³êéVAI/O|[gÉCcÅ¦³êé¶ðM·éÖD
+¶ðMWX^Éüê½êÉÍtrueðCOÉMµ½¶ÌMªIíÁ
+Ä¢È¢½ßÉC¶ðMWX^ÉüêçêÈ©Á½êÉÍfalseðÔ·D
+
+(8-4-2-4) int_t sio_rcv_chr(SIOPCB *siopcb)
+
+siopcbÅwè³êéVAI/O|[g©ç¶ðÇÞÖD¶ðóMµÄ¢
+½êCÇñ¾¶ÌR[hÍ³ÌlÆµÄÔµC¶ðóMµÄ¢È¢ê
+ÉÍ-1ðÔ·D
+
+(8-4-2-5) void sio_ena_cbr(SIOPCB *siopcb, uint_t cbrtn)
+
+siopcbÅwè³êéVAI/O|[g©çÌCcbrtnÅwè³êéR[ob
+NðÂ·éDcbrtnÉÍCSIO_RDY_SND©SIO_RDY_RCVðwèÅ«éD
+
+(8-4-2-6) void sio_dis_cbr(SIOPCB *siopcb, uint_t cbrtn)
+
+siopcbÅwè³êéVAI/O|[g©çÌCcbrtnÅwè³êéR[ob
+NðÖ~·éDcbrtnÉÍCSIO_RDY_SND©SIO_RDY_RCVðwèÅ«éD
+
+8.4.3 R[obN[`
+
+^[QbgË¶ÍCKvÈ^C~OÅCVAC^tF[XhCo
+Ì^[QbgñË¶ÉÜÜêéÈºÌR[obN[`ðÄÑoÑ¾³
+È¯êÎÈçÈ¢D½¾µC»ê¼êÌR[obNªÖ~³êÄ¢éÍC
+R[obN[`ðÄÑoµÄÍÈçÈ¢D
+
+R[obN[`ÍCi­È­ÆàjVAI/O|[g©çÌÝªÖ
+~³ê½óÔÅCñ^XNReLXgÅÄÑo·DexinfÉÍCVAI/O
+|[gÌI[vÉwè³ê½g£îñðn·D
+
+(8-4-3-1) void sio_irdy_snd(intptr_t exinf)
+
+MÂ\R[obN[`DVAI/O|[gÉÎµÄ¶ªMÅ«é
+óÔÉÈÁ½êÉÄÑo·DVAC^tF[XhCoÍC±ÌR[
+obN[`ÌÅCsio_snd_chrðÄÑoµÄÌ¶ðM·é©C
+M·×«¶ªÈ¢êÉÍMÂ\R[obNðÖ~·éD
+
+(8-4-3-2) void sio_irdy_rcv(intptr_t exinf)
+
+óMÊmR[obN[`DVAI/O|[g©ç¶ðóMµ½êÉ
+ÄÑo·DVAC^tF[XhCoÍC±ÌR[obN[`Ì
+ÅCK¸sio_rcv_chrðÄÑoµÄóMµ½¶ðæèo·D
+
+8.5 J[lN®bZ[WÌoÍÌ^[QbgË¶è`
+
+^[QbgË¶Åñ·×«J[lN®bZ[WÌoÍÌ½ßÌè`Í
+ÌÊèÅ éD
+
+(8-5-1) TARGET_NAME
+
+^[QbgÌ¼ÌÉè`·éD
+
+(8-5-2) TARGET_COPYRIGHTiIvVj
+
+J[lN®bZ[WÉC^[QbgË¶Ìì \¦ðÇÁ·é½ßÌ
+}NDftHgÅÍC^[QbgË¶Ìì \¦ðÇÁµÈ¢D
+
+8.6 TvvOÆeXgvOÌ^[QbgË¶è`
+
+^[QbgË¶Åñ·×«TvvO¨æÑeXgvOÌ
+½ßÌè`ÍÌÊèÅ éD±êçÌè`ÍCtarget_test.hiÜ½Í»êç
+©çCN[h³êét@CjÉÜßéD
+
+(8-6-1) STACK_SIZEiIvVj
+
+TvvO¨æÑeXgvOÌ^XNÌX^bNTCYðè`
+·é}NDè`µÈ¢êÌftHglÍ4096DftHgÝèÅÍ
+ªs«·éêâCV~
+[VÂ«ÈÇÅå«¢X^bNÌæªKv
+ÈêÉÍC^[QbgË¶Å±Ì}NðÝè·éX^bNTCYÉè`
+·éD
+
+(8-6-2) CPUEXC1iIvVj
+
+TvvO¨æÑeXgvOÅp¢éCPUáOÌCPUáOnh
+Ôðè`·é}ND±Ì}Nðè`µÈ¢êCCPUáOnhðg
+¤ªªTvvO©çO³êéDCPUáOnhÌeXgð·é
+eXgvOÍRpCÅ«È¢D
+
+(8-6-3) RAISE_CPU_EXCEPTIONiIvVj
+
+CPUEXC1Éè`µ½CPUáOð­¶³¹éC¾êÌvOðè`·é}ND
+CPUEXC1ðè`µ½êÉÍK¸è`µÈ¯êÎÈçÈ¢D
+
+(8-6-4) CANNOT_RETURN_CPUEXCiIvVj
+
+^[QbgVXeÌ§ñÉæèCCPUáOnh©ç^[µ½ãÉC^
+XNÌÀsðp±Å«È¢êÉè`·é}ND±Ì}Nðè`·éÆC
+CPUáOnhÌeXgð·éeXgvO©çCCPUáOnh©ç
+^[µ½ãÌªO³êéDTvvOÌYªÍ³µ­
+®ìµÈ¢D
+
+(8-6-5) TASK_PORTIDiIvVj
+
+TvvOÉ¨¢ÄCR}h¶ðÇÝÞVA|[gÔð
+è`·é}NDè`µÈ¢êÌftHglÍ1D
+
+(8-6-6) LOOP_REFiIvVj
+
+TvvOÉ¨¢ÄCvZbTÌ¬xðvª·é½ßÌ[vñ
+ðè`·é}NDè`µÈ¢êÌftHglÍ1000000DftHgÝè
+ÅÍClªå«ß¬ÄvªÉÔª©©è·¬éêâClª¬³ß¬Ävª
+ÊªÀèµÈ¢êÉC^[QbgË¶Å±Ì}NðÝè·é[vñ
+Éè`·éD
+
+(8-6-7) MEASURE_TWICEiIvVj
+
+TvvOÉ¨¢ÄCvZbTÌ¬xð2xvª·éêÉè`·é
+}NDV~
+[VÂ«ÈÇvZbTÌ¬xªÏ®·éÂ«ÅC1xÌ
+vªÅÍvªÊªÀèµÈ¢êÉè`·éD
+
+(8-6-8) TASK_LOOPiIvVj
+
+TvvOÉ¨¢ÄCvZbTÌ¬xðvª¹¸ÉC^XNàÅÌ
+[vñðÅè·éêÉC[vñðè`·é}ND[vSÌÌÀ
+sÔª0.4böxÉÈéæ¤È[vñðC±Ì}NÉè`·éD
+
+9. »Ì¼
+
+9.1 hL
+g
+
+^[QbgË¶Ì[U[Y}j
+AðCtarget_user.txtÉpÓ·éDv
+ZbTE`bvEJ­Â«Ë¶Ì[U[Y}j
+AðØèª¯Äàæ
+¢µCt@Cªå«­ÈéêÉÍ¡Ìt@CÉªµÄæ¢ªC»Ì
+êÉÍCtarget_user.txtÉ»êçÌt@C¼ðLq·é±ÆD
+
+^[QbgË¶Ì[U[Y}j
+AÉÍC­È­ÆàÌæ¤Èàeð
+Lq·é±Æª]Üµ¢D
+
+(1) ÎµÄ¢é^[QbgVXeÌíÞE\¬Co[WÔ
+	E^[Qbgn[hEFAi{[hjÌ¼ÌÆÎµÄ¢é\¬
+	E^[QbgªÌ
+	E^[QbgñË¶Ìo[WÔ
+	EvZbTC`bvCJ­Â«Ë¶Ì\¬Æo[WÔ
+	Egp·éPDICÆo[WÔ
+
+(2) gp·éJ­Â«Æ®ìØµ½ðio[WCIvVj
+	E¾êniRpCCAZuCJj
+	EfobOÂ«
+
+(3) ^[Qbgè`ÌKè
+
+(3-1) f[^^ÉÖ·éKè
+	Eint_t^Clong_t^ÌTCY
+	Echar^Cint_least8_t^Cvoid *^Cintptr_t^ÌTCY
+	Eint8_t^Cuint8_t^Cint64_t^Cuint64_t^Cint128_t^C
+	@uint128_t^Cfloat32_t^Cdouble64_t^ÌT|[gÌL³
+
+(3-2) ÝÉÖ·éKè
+	EÝnhÔÆÝÔÌÄC¼ÒÌÎ
+	EÝDæxÌiKiTMIN_INTPRIÌlj
+	Edis_intÆena_intÌT|[gÌL³C»Ì§À
+	ECFG_INTÌ§ÀÆg£i^[Qbgè`ÅgpÅ«éÝ®«j
+	ETOPPERSWÝf©çÌ»Ì¼ÌíE
+
+(3-3) J[lÇOÌÝÉÖ·éKè
+	ETMIN_INTPRIÍÅè©ÝèÅ«é©C»ÌÝèû@
+	ENMIÈOÉJ[lÇOÌÝðÝ¯é©iÝ¯çêéæ¤É·é©j
+	EJ[lÇOÌÝÌÝèû@
+	EJ[lÇOÌÝÉÎµÄDEF_INHCCFG_INTðT|[g·é©
+	EJ[lÇOÌÝnhªÀsJn³êéÌVXeóÔÆ
+	@ReLXg
+	EÝnhÌI¹Ésíêé
+	EJ[lÇOÌÝnhÌLqû@
+	EJ[làÌÝoüûÅN±éÂ\«Ì éCPUáO
+
+(3-4) CPUáOÉÖ·éKè
+	ECPUáOnhÔÌÄ
+	EÝDæx}XNðTMIN_INTPRIÆ¯¶©»êæèà¢lÉÝèµÄ
+	@¢éóÔÅ­¶µ½CPUáOðCJ[lÇOÌCPUáOÆµ¤©
+	EJ[làÌCPUáOoüûÅN±éÂ\«Ì éCPUáO
+
+(3-5) «\]¿pVXeÌQÆÉÖ·éKè
+	Eget_utmÌT|[gÌL³C»Ì§À
+
+(3-6) »Ì¼
+	E»Ì¼Ì§À
+	E»Ì¼Ìg£@\
+
+(4) J[lÌN®^I¹ÉÖ·éîñ
+	EpÓµÄ¢éX^[gAbvW
+[Ìàe
+	EX^[gAbvW
+[©çhardware_init_hookðÄÑoµÄ¢éê
+	@ÉÍChardware_init_hookðAvP[VÅpÓ·éêÌì¬
+	@û@â§ÀÈÇ
+	EJ[lðI¹µ½ãÌU¢
+
+(5) }bv
+	EftHgÌ}bvC»ÌÏXû@
+
+(6) ^C}hCoÖAÌîñ
+	E^CeBbNÌüúC»ÌÏXû@
+	Egp·é\[Xi^C}j
+	E^C}ÝÌÝDæxÌÏXû@
+	EI[o^C}ÝÌÝDæxÌÏXû@
+
+(7) VAC^tF[XhCoÌîñ
+	Egp·é\[XiSIORg[j
+	EÊMp[^i{[[gCrbgCpeBÌL³CXgbvrbgj
+
+(8) VXe\zè
+
+(9) ^[QbgVXeÅLÌÓ
+	E^XNReLXgÉÜÜêéWX^CÜÜêÈ¢WX^
+
+(10) ÞÌ^[QbgÉ|[eBO·éJ­Òü¯ÌQlîñ
+
+(11) fBNg\¬Et@C\¬
+
+(12) o[Wð
+
+Ü½CKvÉ¶ÄC^[QbgË¶ÌÝvðCtarget_design.txtÉp
+Ó·éDvZbTE`bvEJ­Â«Ë¶ÉÖ·éÝvðØèª¯Ä
+àæ¢µCt@Cªå«­ÈéêÉÍ¡Ìt@CÉªµÄàæ¢ªC
+»ÌêÉÍCtarget_design.txtÉ»êçÌt@C¼ðLq·é±ÆD
+
+9.2 pbP[WLqt@C
+
+[XpbP[WiÂÊpbP[W¨æÑÈÕpbP[Wjðì¬·é½ß
+ÉCpbP[WÉÜßét@CðLqµ½pbP[WLqt@CðpÓ·
+éDpbP[WLqt@CÌ¼ÌÍCÂÊpbP[WpðMANIFESTCÈÕpb
+P[WpðE_PACKAGEÆ·éD
+
+á¦ÎCarch/arm_gccfBNgÉu©ê½MANIFESTt@Cðp¢ÄÂÊ
+pbP[Wðì¬·éêÉÍCÌR}hðÀs·éD
+
+	% utils/makerelease arch/arm_gcc/MANIFEST
+
+±ÌR}hÉæèCRELEASE/ssp_arch_arm_gcc-<o[WÔ>.tar.gzª
+ì¬³êéDÜ½Ctarget/at91skyeye_gccfBNgÉu©ê½E_PACKAGE
+t@Cðp¢ÄÈÕpbP[Wðì¬·éêÉÍCÌR}hðÀs·
+éD
+
+	% utils/makerelease target/cq_starm_gcc/E_PACKAGE
+
+±ÌR}hÉæèCRELEASE/ssp_cq_starm_gcc_gcc-<o[WÔ>.tar.gz
+ªì¬³êéiRELEASEfBNgªÈ¢êÉÍCfBNgªìçê
+éjD
+
+È¨Cmakerelease[eBeBÍCSSPJ[lÌ\[Xt@Cªu©ê
+½fBNgªCsspÆ¢¤¼ÌÅ é±Æð¼èµÄ¢éiÙÈé¼ÌÌê
+ÅàpbP[WÍì¬Å«éªCpbP[WðWJµ½ÉWJ³êéfB
+NgªsspÅÈ­ÈéjDÜ½CWÌtarR}hªGNU tarÅ é±Æ
+i³mÉÍCzIvVÉÎµÄ¢é±ÆjðzèµÄ¢éD
+
+pbP[WLqt@CÉÍCpbP[WÉÜßét@C¼ðCpbP[W
+Lqt@Cªu©ê½fBNg©çÌÎpX¼ÅC1sÉ1Â¸ÂLq
+·éDÜ½CKvÉ¶ÄCÈºÌfBNeBuðÜßéD
+
+(a) E_PACKAGE <ÈÕpbP[W¼>
+
+ÈÕpbP[W¼ðwè·éDÈÕpbP[WLqt@CiE_PACKAGEjÌæ
+ªÉLq·éDÈÕpbP[W¼ÍCssp_<^[QbgªÌ>Æ·éDá¦ÎC
+^[QbgªÌªcq_starm_gccÌêÉÍCssp_cq_starm_gccÆÈéDÂ
+ÊpbP[WÆæÊ·é½ßÉCÈÕpbP[WÌt@C¼ÉÍ"target"ð
+ÜßÈ¢D
+
+(b) PACKAGE <ÂÊpbP[W¼>
+
+ÂÊpbP[W¼ðwè·éDÂÊpbP[WLqt@CiMANIFESTjÌæ
+ªÉLq·éDÜ½C»±©çCN[h³êéet@CÌæªÉàLq
+µC»êðCN[hµÄ¢éÂÊpbP[W¼ðwè·éD^[QbgË
+¶ÌÂÊpbP[W¼ÍCÂÊpbP[WLqt@Cªu©ê½fBN
+gÌÎpXÌ"/"ð"_"Éu«·¦½¶ñðC"ssp_"ÌãÉÂÈ°½à
+ÌÆ·éDá¦ÎCÂÊpbP[WLqt@Cªarch/arm_gcc/MANIFESTÌê
+ÉÍCssp_arch_arm_gccÆÈéD
+
+(c) VERSION <o[WÔ>
+
+pbP[WÌo[WÔðwè·éDÈÕpbP[WLqt@C¨æÑ
+ÂÊpbP[WLqt@CÌÉLq·éDÈÕpbP[WÉ¨¢ÄCo[
+WÔðpbP[W»µ½útÆ·éêÉÍCpbP[WÔÌãíè
+É%dateÆLq·éD
+
+o[WÔÌt^û@ÉÂ¢ÄÍCuTOPPERS/SSPJ[l [U[Y}
+j
+AvÌu2.2 ÈÕpbP[Wv¨æÑu2.3 ÂÊpbP[WvÌßðQ
+Æ·é±ÆD
+
+(d) INCLUDE <t@C¼>
+
+ÊÌpbP[WLqt@CðCN[h·éDÈÕpbP[WLqt@C
+©çÍCÂÊpbP[WLqt@CÌÝðCN[h·éÌð´¥Æ·
+éDÂÊpbP[WLqt@C©çCN[h³êét@CÅwè³
+êéÂÊpbP[W¼ÍC·×ÄêvµÄ¢È¯êÎÈçÈ¢D
+
+
+10. t@X
+
+10.1 ^[QbgË¶Ìt@Cê
+
+WIÈ^[QbgË¶Ìt@C\¬ÍÌÊèÅ éD
+
+Makefile.target		MakefileÌ^[QbgË¶iQÍjD
+
+target_stddef.h		TOPPERS¤Êè`it_stddef.hjÌ^[QbgË¶iR
+					ÍjDAvP[VÆJ[lÌ¼û©çCN[
+					h³êéD
+target_sil.h		VXeC^tF[XCisil.hjÌ^[QbgË
+					¶iSÍjDAvP[VÆJ[lÌ¼û©ç
+					CN[h³êéD
+target_kernel.h		J[lAPIikernel.hjÌ^[QbgË¶iTÍjD
+					AvP[VÆJ[lÌ¼û©çCN[h³
+					êéD
+
+target_config.h		J[lÀÌ^[QbgË¶Ìwb_t@CiU
+					ÍjDJ[lÌÝ©çCN[h³êéD
+target_config.c		J[lÀÌ^[QbgË¶ÌC¾êÅLq³êé
+					ªiUÍCIvVjD
+target_support.S	J[lÀÌ^[QbgË¶ÌAZu¾êÅL
+					q³êéªiUÍCIvVjD
+target_rename.def	J[lÀÌ^[QbgË¶Ì½ßÌl[Lq
+					i6.12ßjD
+target_rename.h		target_rename.def©ç¶¬³êét@Ci6.12ßjD
+target_unrename.h	target_rename.def©ç¶¬³êét@Ci6.12ßjD
+target_timer.cfg	^C}hCoÌVXeRtBM
+[Vt@
+					Ci6.13ßjD
+target_timer.h		^C}hCoÌwb_t@Ci6.13ßjDJ[l
+					ÌÝ©çCN[h³êéD
+target_timer.c		^C}hCoÌÀt@Ci6.13ßCIvVjD
+VXeªÌ.h		^[QbgÌn[hEFA¹iÝnhÔâ
+					CPUáOnhÔCfoCXWX^ÌÔnÈÇjÌ
+					è`ðÜÞwb_t@CDAvP[VÆJ[l
+					Ì¼û©çCN[h³êéiUÍCIvVjD
+
+target_def.csv		RtBM
+[^Ìlæ¾V{e[uÌ^[Qb
+					gË¶iVÍCIvVjD
+target.tf			RtBM
+[^ÌpX2Ìev[gt@CÌ
+					^[QbgË¶i7.2ßjD
+target_check.tf		RtBM
+[^ÌpX3Ìev[gt@Ci7.3
+					ßjD
+target_cfg1_out.h	cfg1_out.cÌNÉKvÈX^uÌè`t@Ci7.4
+					ßjD
+
+target_syssvc.h		VXeT[rXÌ^[QbgË¶è`i8.0ßjD
+target_serial.cfg	VAhCoÌVXeRtBM
+[Vt@
+					Ci8.3ßjD
+target_serial.h		VAhCoÌwb_t@Ci8.3ßjDVA
+					hCoÌÝ©çCN[h³êéD
+target_serial.c		VAhCoÌÀt@Ci8.3ßCIvVjD
+target_test.h		eXgvOÌ^[QbgË¶è`i8.4ßjD
+
+target_user.txt		[U[Y}j
+Ai9.1ßj
+target_design.txt	Ývi9.1ßCIvVj
+MANIFEST			ÂÊpbP[WÉÜßét@CÌXgi9.2ßCIv
+					Vj
+E_PACKAGE			ÈÕpbP[WÉÜßét@CÌXgi9.2ßCIv
+					Vj
+
+Èã
Index: /ssp_qb_r5f100le_cs/trunk/doc/ssp_spec.txt
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/doc/ssp_spec.txt	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/doc/ssp_spec.txt	(revision 93)
@@ -0,0 +1,176 @@
+
+		TOPPERS/SSPJ[lÌdlTv
+
+		Îo[W: Release1.3.0
+		ÅIXV: 2014N 3 6ú
+
+±ÌhL
+gÍCTOPPERS/SSPJ[lÌdlTvÉÂ¢Äà¾µ½àÌÅ
+ éDTOPPERS/ASPJ[l©çÌ·ª¨æÑÏXÓÆÊITRON4.0dlÌÅ¬
+Zbgvt@C©çÌ·ªðSÉà¾·éD
+
+----------------------------------------------------------------------
+
+----------------------------------------------------------------------
+ TOPPERS/SSP Kernel
+     Toyohashi Open Platform for Embedded Real-Time Systems/
+     Smallest Set Profile Kernel
+
+ Copyright (C) 2010-2013 by Meika Sugimoto
+ Copyright (C) 2014 by Naoki Saito
+             Nagoya Municipal Industrial Research Institute, JAPAN
+ 
+ ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+     XR[hÉÜÜêÄ¢é±ÆD
+ (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+     pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+     Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+     Ì³ÛØKèðfÚ·é±ÆD
+ (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+     pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+     ÆD
+   (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+       ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+   (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+       ñ·é±ÆD
+ (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+     Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+     Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+     RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+     ÆÓ·é±ÆD
+ 
+ {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ ÌÓCðíÈ¢D
+ 
+----------------------------------------------------------------------
+
+OñÆÈé¶
+
+[1] g¦ï: ÊITRON4.0dl, Ver.4.02.00, 2004N.
+
+[2] TOPPERSvWFNg: TOPPERSV¢ãJ[ldl Release 1.5.0
+
+[3] TOPPERSvWFNg: TOPPERSWÝf, ÅIXV: 2008N
+	411ú.
+
+dlÌTª
+
+TOPPERS/SSPJ[lÌdlÍCTOPPERS/ASPJ[lÌdlÉÎµÄC
+¬KÍAvP[Vü¯ÉdlðiÁ½àÌÅ éDÅ¬ZbgÉ
+¨¯é"Å¬"ÆÍCJ[lªgp·éROM/RAMgpÊð¬³­·é½ßÉ
+dlðÅK»·é±ÆðÓ¡·éD
+
+ñ·é@\ÍÊITRON4.0dlÌÅá@\ðx[XÆµÄCê
+©®Ô§äpvt@CÌ@\ðæèÞD
+
+Eñ·éVXeT[rXð§À·é
+E§ñ^XNÌÝðT|[g·é
+E1ÂÌ^XNDæxÉÎµÄo^Å«é^XNÍ1ÂÉÀè·é
+EROM/RAMgpÊð­È­·é½ßÌÝv/Àðs¤
+
+³çÉCSSPJ[lÆ©ÌdlÆµÄÈºÌ@\ð±ü·éD
+
+E^XNÌÀsDæx
+E¤LX^bNÌæ
+
+±Ì½ßCSSPJ[lÍASPJ[lÌºÊÝ·ÅàãÊÝ·ÅàÈ¢D
+
+ñ·éVXeT[rXð§À·é
+
+TOPPERS/ASPªñ·éVXeT[rXÌ¤¿CÊITRON4.0dl
+5.1.2ßÅKè³ê½VXeT[rXÆCTOPPERSV¢ãJ[l
+dlÅÇÁ³ê½êÌVXeT[rXÌÝðT|[g·éD
+
+T|[g·éVXeT[rXÍÈºÌÊèÅ éD
+
+ECRE_TSK
+EDEF_EPR
+Eact_tsk,iact_tsk
+Eloc_cpu,iloc_cpu
+Eunl_cpu,iunl_cpu
+Esns_ctx
+Esns_loc
+Esns_dsp
+Esns_dpn
+Esns_ker
+Eena_dsp
+Edis_dsp
+EDEF_INH
+EATT_ISR
+ECFG_INT
+Eena_int
+Edis_int
+EATT_INI
+EATT_TER
+Eext_ker
+EDEF_ICS
+EDEF_STK
+
+½¾µCg£pbP[WðKp·é±ÆÅ@\ðÇÁ·é±ÆªÅ«éD
+
+§ñ^XNÌÝðT|[g·é
+
+^XNÔÌX^bN¤LðOñÆ·é½ßC©®Ô§äpvt@CÉ
+Kè³êÄ¢é§ñ^XNð±üµCÊíÌ^XNÍp~·éD±êÍC
+L`ÌÒ¿óÔðT|[gµÈ¢±ÆðÓ¡·éD
+
+1ÂÌ^XNDæxÉÎµÄo^Å«é^XNÍ1ÂÉÀè·é
+
+1ÂÌ^XNDæxÉÎµÄo^Å«é^XNÍêÂÆ·éD^XNDæxÍ
+16Å é½ßCÅåÅo^Å«é^XNÍ16Å éD±Ì§ÀÍfBL
+[
+ðsvÆµCXPW
+[ÌÈª»ÆRAMgpÊÌí¸ð}é½ßÅ éD
+
+ROM/RAMgpÊð­È­·é½ßÌÝv/Àðs¤
+
+­È¢ROM/RAMÅ®ì³¹é½ßÉTCYðDæµ½Ýv/Àð
+s¤DÝvÅÍf[^\¢Ìzñ»ðåÆµ½ÅK»CÀÅÍ
+æèÚA«ð¹ÈíÈ¢ÍÍÅÌ¬³¢f[^^ÌgpâÂÇ«ð
+µ­áº³¹È¢ÍÍÅÌR[h`
+[jOðs¤DÜ½C
+RpCÉæéÅK»àp·é(½¾µRpCÅÌÅK»Í
+Â«Éæé·Ùªå«¢½ßC^[QbgË¶Å é)D
+
+^XNÌÀsDæx
+
+ÀsDæxÍ^XNªN®³ê½ãCÅÉÀsóÔÉÈé
+É^XNÌx[XDæxªÉÝè³êé^XNDæxÅ éDÀs
+DæxÌ@\ÍCN®Dæxæèà¢DæxÅ^XNðÀs·é±ÆÅC
+¯úÉ¤LX^bNÌæðgpµÄ¢éóÔÉÈé^XNÌgÝí¹ðÀ
+èµCX^bNÌæðßñ·é½ßÌ@\Å éD
+
+¤LX^bNÌæ
+
+SSPJ[lÅÍSÄÌ^XNÆÝnhÅA±µ½X^bNÌæðgp·éD
+±êð¤LX^bNÌæÆÄÔD¤LX^bNÌæð±ü·é±ÆÅ^XNÌ
+ÀsDæxÉæé^XNX^bNÌæðßñ·é±ÆªÅ«éD
+
+pÓµÄ¢ég£pbP[W
+
+ÔÇg£pbP[WÆ¯úEÊM@\g£pbP[WðpÓµÄ¢éD
+
+ÔÇg£pbP[WÉÍÈºÌ@\ªÜÜêéD
+
+Eüúnh@\
+EA[nh@\
+EVXeÇ@\
+
+¯úEÊM@\g£pbP[WÉÍÈºÌ@\ªÜÜêéD
+
+Ef[^L
+[@\
+ECxgtO@\
+
+Èã
Index: /ssp_qb_r5f100le_cs/trunk/doc/user.txt
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/doc/user.txt	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/doc/user.txt	(revision 93)
@@ -0,0 +1,1445 @@
+
+		TOPPERS/SSPJ[l
+		[U[Y}j
+A
+
+		Îo[W: Release 1.3.0
+		ÅIXV: 2015N519ú
+
+±ÌhL
+gÍCTOPPERS/SSPJ[lðgp·é½ßÉKvÈðà¾
+·éàÌÅ éD
+
+----------------------------------------------------------------------
+     TOPPERS/SSP Kernel
+         Smallest Set Profile Kernel
+ 
+     Copyright (C) 2011-2013 by Meika Sugimoto
+     Copyright (C) 2014,2015 by Naoki Saito
+                Nagoya Municipal Industrial Research Institute, JAPAN
+
+ ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+     XR[hÉÜÜêÄ¢é±ÆD
+ (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+     pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+     Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+     Ì³ÛØKèðfÚ·é±ÆD
+ (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+     pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+     ÆD
+   (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+       ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+   (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+       ñ·é±ÆD
+ (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+     Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+     Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+     RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+     ÆÓ·é±ÆD
+ 
+ {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ ÌÓCðíÈ¢D
+ 
+----------------------------------------------------------------------
+
+Ú
+
+PDTOPPERS/SSPJ[lÌTv
+	1.1 TOPPERS/SSPJ[lÌÊut¯
+	1.2 TOPPERS/SSPJ[lÌdl
+	1.3 ùmÌâè
+QD^[QbgË¶
+	2.1 ^[QbgË¶ÌTv
+	2.2 ÈÕpbP[W
+	2.3 ÂÊpbP[W
+RDNCbNX^[gKCh
+	3.1 J­Â«Ìõ
+	3.2 RtBM
+[^Ì\z
+	3.3 TvvOÌ\zÆÀs
+	3.4 J[lðÖPÊÅCu»·éû@
+	3.5 AvP[VÆJ[lðÊXÉ\z·éû@
+SDfBNg\¬Et@C\¬
+	4.1 zzpbP[WÌfBNg\¬
+	4.2 ^[QbgñË¶Ìt@C\¬
+TDRtBM
+[VXNvgÌg¢û
+UDMakefileÌC³û@
+	6.1 MakefileÌÏè`
+	6.2 RpCIvV
+VDRtBM
+[^Ìg¢û
+WDVXeT[rX
+	8.1 VAC^tF[XhCo
+		8.1.1 VAC^tF[XhCoÌT[rXR[
+		8.1.2 VAC^tF[XhCoÌ»Ì¼ÌT[rX
+	8.2 J[lN®bZ[WÌoÍ
+XDT|[gCu
+	9.1 L
+[ìCuÖ
+PODgpãÌÓÆqg
+	10.1 ^C}hCoÌgÝ
+	10.2 assert}NÌ
+	10.3 IuWFNgIDÌÇ
+	10.4 J[lÌàV{Ìl[
+	10.5 VXeÌN®Ìú»
+PPDQlîñ
+	11.1 pðÆpñ
+	11.2 ÛØEKp«ET|[g
+	11.3 oO|[g
+	11.4 EFuTCg
+	11.5 TOPPERS[U[Y[OXg
+	11.6 TOPPERSvWFNgÌoü¯ÌT[rX
+	11.7 TOPPERSvWFNgÖÌQÁ
+PQD
+	12.1 T[rXR[ê
+	12.2 ÃIAPIê
+	12.3 o[Wð
+
+
+PDTOPPERS/SSPJ[lÌTv
+
+1.1.  TOPPERS/SSPJ[lÌÊut¯
+
+TOPPERS/SSPJ[lÍCTOPPERS/ASPJ[lÌdlÉÎµÄC
+¬KÍAvP[Vü¯ÉdlðiÁ½àÌÅ éDÅ¬ZbgÉ
+¨¯é"Å¬"ÆÍCJ[lªgp·éROM/RAMgpÊð¬³­·é½ßÉ
+dlðÅK»·é±ÆðÓ¡·éD
+
+ñ·é@\ÍÊITRON4.0dlÌÅá@\ðx[XÆµÄCê
+©®Ô§äpvt@CÌ@\ðæèÞD
+
+±Ì½ßCSSPJ[lÍASPJ[lÌºÊÝ·ÅàãÊÝ·ÅàÈ¢D
+½¾µC§ñ^XNg£pbP[WðKpµ½êCSSPJ[lÍ
+SSPJ[lÌãÊÝ·ÆÈéD
+
+1.2. TOPPERS/SSPJ[lÌdl
+
+SSPJ[lÌdlÌTvÉÂ¢ÄÍCuTOPPERSV¢ãJ[ldlvð
+QÆÌ±ÆD
+
+1.3. ùmÌâè
+
+kernel_cfg.ci¨æÑcfg1_out.cjÍCJ[lCVXeT[rXCAv
+P[VÌ¢¸êÌCN[ht@CàCN[hµC¢¸êÌV
+{àQÆ·éÂ\«ª éD»Ì½ßCJ[lCVXeT[rXCAv
+P[VÅV{ªÕËµÄ¢éêâCRpCIvVªH
+¢áÁÄ¢éêÉCkernel_cfg.ci¨æÑcfg1_out.cjª³µ­RpC
+Å«È­Èéêªl¦çêéDJ[lÌV{ðl[·éÈÇÌû
+@Åy¸³êÄÍ¢éªCâèªÈ­ÈÁÄ¢éí¯ÅÍÈ¢D
+
+VXeRtBM
+[Vt@C©çCRtBM
+[^ÉÎ·é
+INCLUDEfBNeBuÉæè¼ÌRtBM
+[Vt@CðCN[
+hµÄ¢éêÉC»ÌÉÜÜêéC¾êvvZbTÌCN[hfB
+NeBui#includejÅCRtBM
+[Vt@CÌu©êÄ¢é
+fBNgªCt@Cðõ·épXÉÍ¢çÈ¢Æ¢¤âèª éDá
+¦ÎCsyssvc/syslog.cfgÉu#include "syslog.h"vÆLqÅ«È¢ÌÍC±
+Ìâèª é½ßÅ éD
+
+»_ÅÍCAhXª64rbgÌÂ«ÉÍÎµÄ¢È¢D64rbgAh
+XÂ«ðT|[g·é½ßÌÅåÌÛèÍCg[SR[htH[}bg
+ª64rbgAhXÉÎµÄ¢È¢±ÆÅ éD
+
+QD^[QbgË¶
+
+2.1. ^[QbgË¶ÌTv
+
+SSPJ[lÌ^[QbgñË¶ÆCeíÌ^[QbgVXeÉÎ·é½
+ßÌ^[QbgË¶ÍCÊXÉJ­³êÄ¢éD»Ì½ßCSSPJ[lªÎ
+µÄ¢é·×ÄÌ^[QbgË¶ðCo[Wð®³¹ÄpbP[W
+»·é±ÆÍ¢ïÅ éD»±ÅCåÉÌ[UðÎÛÉµ½ÈÕpbP[
+WÆCãÌ[UâJ[lJ­ÒðÎÛÉµ½ÂÊpbP[WðpÓµÄ
+¢éD
+
+SSPJ[lð¢T|[gÌ^[QbgVXeÖ|[eBO·é½ßÉKv
+ÈìÆÍCJ­Â«Ì\zÆWÌJ­Â«ÆÌ·ÙÌzûCJ[l©gÌ
+|[eBOCVXeT[rXÌ|[eBOÈÇ©çÈéDÚµ­ÍC
+u^[QbgË¶ |[eBOKChvðQÆ·é±ÆD
+
+¦ ^[QbgË¶ |[eBOKChÍ»ÝÍ¢®Å é
+
+2.2. ÈÕpbP[W
+
+ÈÕpbP[WÍCSSPJ[lªÎµÄ¢é^[QbgVXeÉpÓ³
+êC»Ì^[QbgVXeãÅSSPJ[lð®ì³¹é½ßÉKvÈt@C
+ê®ðpbP[W»µ½àÌÅ éDÈÕpbP[WÉÜÜêét@CÍC
+o[Wª®µÄ¢é±ÆªmF³êÄ¢éD
+
+ÈÕpbP[WÌo[WÔÍCpbP[W»µ½útÆ·é±Æð´¥
+Æ·éªC^[QbgVXeÌîÉæè±Ì´¥É]íÈ¢êª éD
+
+ÈÕpbP[WÍCî{IÉÍCÉà¾·éÂÊpbP[Wð¡ÜÆß½
+àÌÅ éD»Ì½ßCÎÛ^[QbgVXeÉKvÌÈ¢t@CàÜÜ
+êÄ¢éDÜ½CÈÕpbP[WÉÜÜêÄ¢éÂÊpbP[WÌo[W
+ÍCÂÊpbP[WÌMANIFESTt@CðQÆ·é±ÆÅmé±ÆªÅ«éD
+
+2.3. ÂÊpbP[W
+
+ÂÊpbP[WÍCSSPJ[lÌJ­PÊÉC»ÌJ­PÊÅJ­ðSµ
+Ä¢ét@Cê®ðpbP[W»µ½àÌÅ éDSSPJ[lÌ^[Qbg
+ñË¶àCêÂÌÂÊpbP[WÆµÄzz³êéD éÂÊpbP[Wð
+gp·é½ßÉÍCêÊÉÍC¼ÌÂÊpbP[WªKvÆÈéD^[Qbg
+Ë¶ÌÂÊpbP[Wðgp·é½ßÉKvÆÈéÂÊpbP[WÆ»Ìo[
+WÉÂ¢ÄÍC^[QbgË¶Ì[U[Y}j
+AðQÆ·é±ÆD
+gp·éÂÊpbP[WÌo[Wð®³¹é±ÆÍC[UÌÓCÅ 
+éD
+
+ÂÊpbP[WÌo[WÔÍCX.Y.ZÌ`Å\»³êéD^[QbgñË
+¶Ìo[WÔðCSSPJ[lSÌÌ[XÔÆ·éD^[Qbg
+Ë¶Ìo[WÔÍCXÆYªC»êªË¶·é^[QbgñË¶Æê
+vµÄ¢éD»êÉÎµÄCZÍêvµÄ¢éÆÍÀçÈ¢Dá¦ÎC^[Qb
+gñË¶Ìo[W1.1.0ÉÎ·é^[QbgË¶ÍCo[W
+1.1.ZÌ`ÆÈéD^[QbgË¶ÌÝªo[WAbvµ½êÉÍCZ
+ªÏX³êéD
+
+gp·éÂÊpbP[WÍCÌáÌæ¤ÉC^[QbgñË¶ÌÂÊpb
+P[WðWJµ½ÌÆ¯¶fBNgÅWJ·éD
+
+	% tar xvfz ssp-1.3.0.tar.gz
+	% tar xvfz ssp_arch_rx_rxc-1.3.0.tar.gz
+
+^[QbgñË¶ÌÂÊpbP[WÉÍCÈºÌ^[QbgË¶ªÜÜê
+Ä¢éD
+
+	target/cq_frk_fm3_gcc	Interfacet®Cortex-M3îÂ
+					iGNUJ­Â«jp^[QbgË¶
+	arch/arm_m_gcc		Cortex-M3iGNUJ­Â«jpvZbTË¶
+
+
+RDNCbNX^[gKCh
+
+±±ÅÍC^[QbgË¶ªpÓ³êÄ¢é^[QbgVXeãÅCSSPJ[
+lãÅ®ì·éTvvOð\zE®ì³¹éÜÅÌèð¦·D
+
+3.1. J­Â«Ìõ
+
+SSPJ[lðp¢½VXe\zÉÍCÈºÌc[ªKvÅ éD
+
+	zXgVXepÌc[
+		perl		®ìmFF5.16.2
+		GNU Make	®ìmFF3.81
+
+	TOPPERSV¢ãJ[lpRtBM
+[^
+		cfg			®ìmFF1.8.0
+					¦ 1.6.0ÈOÌo[WÅÍ®ìµÈ¢D
+
+	^[QbgVXepÌc[iNXJ­Â«j
+		WKiÉµ½CRpC
+		AZuCJCCuA
+		V{t@CoÍc[CwLTt@CoÍc[
+		WCCuiK{ÅÍÈ¢j
+
+^[QbgVXepÌc[ÉGNUJ­Â«ðp¢éêÉÍCÈºÌc[
+ªKvÅ éD
+
+	^[QbgVXepÌGNUJ­Â«c[
+		BINUTILSiasCldCarCnmCranlibCobjcopyCobjdumpj
+		GCCÜ½ÍGCC-COREigcc¨æÑ»±©çÄÑo³êéc[j
+		NEWLIBiWCCuCK{ÅÍÈ¢j
+
+®ìmF³êÄ¢é^[QbgVXepÌc[ÉÂ¢ÄÍC^[QbgË
+¶Ì[U[Y}j
+AðQÆ·é±ÆD
+
+^[QbgVXepÌWCCuÍCAvP[VªWCCu
+ðgpµÈ¢êÉÍCKvÈ¢D½¾µCRpCªWCCu
+ÖimemcpyCmemsetÈÇjðÄÑo·R[hð¶¬·éêª èC»Ìê
+ÉÍWCCuªKvÅ éDWCCuðpÓ·éãíèÉC
+¶¬µ½R[hªÄÑo·ÖÌÝð©ªÅpÓµÄàæ¢D
+
+È¨CperlXNvgÍ}`oCg¶ðµ¤¶R[hªEUCCüsR[hª
+LFÅ é±Æð¼èµÄ¢éD»êÈOÌ¶R[hCüsR[hÅ®ì³¹é
+½ßÉÍperlXNvgÌC³ªKvÆÈé±Æª éD
+
+ÈºÅÍC±êçÌc[ªpÓÅ«Ä¢é±ÆðOñÉCUNIX}VãÅÌ
+\zèðà¾·éDÜ½ÈºÌà¾ÅÍCmakeR}hªGNU MakeÅ éà
+ÌÆ·éiSSPJ[lÌTvÌMakefileÍCGNU MakeÌg£@\ðp¢Ä
+¢éjD
+
+3.2. RtBM
+[^Ì\z
+
+J[lð\z·éOÉCÜ¸CTOPPERSV¢ãJ[lpRtBM
+[^
+ð\z·éKvª éDÈÕpbP[WÉÜÜêÄ¢½êÈÇCRtBM
+
+[^ðÀst@C`®Åüèµ½êÉÍC±ÌXebvÍKvÈ¢D
+
+RtBM
+[^Ì\zÉÍCÈºÌc[ªKvÅ éD
+
+	zXgVXepÌc[iZtJ­Â«j
+		C++RpCCC++Cu
+					®ìmFiMac OS XÂ«jFApple LLVM version 5.0 (clang-500.2.79)
+		Boost		®ìmFF1.55.0
+		Visual Studio (WindowsÌê)
+
+ÅÉCpbP[WÉRtBM
+[^Ì\[Xt@CªÜÜêÄ¢È¢
+êÉÍCRtBM
+[^ÌpbP[WðCSSPJ[lÌ\[Xt@C
+ðWJµ½fBNgÌºÉWJ·éD
+
+	% cd ssp
+	% tar xvfz cfg-1.8.0.tar.gz
+
+Ü½ÍCRtBM
+[^ÌpbP[Wð¼ÌfBNgÉWJµCSSPJ[
+lÌ\[Xt@CðWJµ½fBNg©çV{bNNðÍÁ
+Äàæ¢D
+
+\[Xt@CªWJÅ«éÆCcfgfBNgÉÚ®µCRtBM
+[
+VXNvgiconfigurejÅMakefileÌÂ«Ë¶iMakefile.configj
+ð¶¬µ½ãCmakeR}hÉæèRtBM
+[^icfgvOjª\
+zÅ«éD
+
+	% cd cfg
+	% ./configure
+	% make
+
+½¾µCBoostðCXg[µ½fBNg¨æÑ¼ÌªWÅzèµÄ¢
+éàÌÆÍá¤êÉÍCconfigureÌ--with-headers¨æÑ--with-libraries
+IvVÉæèCwb_t@C¨æÑCuÌu©ê½fBNg
+ðwè·éKvª éD
+
+Ü½CzXgVXeÉæÁÄÍCÅK»xðã°éÆ³µ­RpC
+Å«È¢±ÆªmçêÄ¢éD»Ìæ¤ÈêÉÍCÅK»xðº°é©C
+ÅK»ð}~·éæ¤ÉCMakefileðC³·éKvª éD
+
+È¨CRtBM
+[^Ìgpû@ÉÂ¢ÄÍCuVDRtBM
+[^
+Ìg¢ûvÌÍÅà¾·éD
+
+3.3. TvvOÌ\zÆÀs
+
+ÉCSSPJ[lãÅ®ì·éTvvOð\z·éû@ðà¾·éD
+
+Ü¸CTvvOÌIuWFNgt@Cðu­fBNgðì¬
+µCRtBM
+[VXNvgðÀs·éDá¦ÎCIuWFNgt@
+Cðu­fBNgðCSSPJ[lÌ\[Xt@CðWJµ½fB
+NgÌºÌOBJÆ¢¤¼ÌÌfBNgÉ·éêÉÍCÌR}hð
+Às·éifBNgÌêÆ¼ÌÍCÓÉßÄæ¢jD
+
+	% cd ssp
+	% mkdir OBJ
+	% cd OBJ
+	% perl ../configure -T <^[QbgªÌ>
+
+±±ÅC<^[QbgªÌ>ÍCtargetfBNgÌºÉu©êÄ¢é^[Qb
+gË¶fBNgÌ¼ÌÅ éDRtBM
+[VXNvgÌI
+vVÉÂ¢ÄÍCuTDRtBM
+[VXNvgÌg¢ûvÌ
+ÍÅà¾·éD
+
+RtBM
+[VXNvgÌÀsÉæèCJgfBNgÉÍC
+TvvOð\z·é½ßÌMakefileCTvvOpÌR
+tBM
+[Vt@Cisample1.cfgjCTvvO{Ì
+isample1.h¨æÑsample1.cjª¶¬³êéD
+
+RtBM
+[VXNvgÌÀsãCKvÅ êÎMakefileðC³·
+éDMakefileÌC³û@ÉÂ¢ÄÍCuUDMakefileÌC³û@vÌÍÅà¾
+·éD
+
+»ÌãCmake dependÅË¶ÖWt@CiMakefile.dependjð¶¬µ½ãC
+makeR}hÉæèTvvOÌ[hW
+[iSSPÜ½Í
+SSP.exejª¶¬Å«éDË¶ÖWt@CÌ¶¬ÉÍá±Ôª©©éD
+
+	% make depend
+	% make
+
+±±Å\zµ½TvvOisample1.hCsample1.cCsample1.cfgj
+ÍCSSPJ[lÌî{IÈ®ìðmF·é½ßÌàÌÅ éD±ÌvO
+ÌTvà¾ÍCsample1.cÌæªÌRgÉ éD
+
+3.4. J[lðÖPÊÅCu»·éû@
+
+OßÌèÅÍCJ[lðt@CPÊÅRpCµCCu»µÄ
+¢½ªCJ[lÌR[hTCYðk¬·é½ßÉÍCgpµÈ¢T[rXR[
+ÍNµÈ¢ûª]Üµ¢D»±ÅSSPJ[lÅÍCJ[lðÖPÊ
+ÅRpCµCCu»·éû@ðpÓµÄ¢éD
+
+±Ìû@ÅTvvOð\z·éÉÍCRtBM
+[VXN
+vgÉC»êðw¦·éIvVi-fjðtÁ·é¾¯Åæ¢D
+
+	% mkdir OBJ_LIB
+	% cd OBJ_LIB
+	% perl ../configure -T <^[QbgªÌ> -f
+
+±±ÅCOBJ_LIBÆ¢¤fBNgÌêÆ¼ÌÍCCÓÉßÄæ¢D±ê
+È~ÌèÍCOßÆ¯¶Å éD
+
+3.5. AvP[VÆJ[lðÊXÉ\z·éû@
+
+OßÅà¾µ½û@ÅÍCAvP[VÆJ[lð¯É¶¬·é½ßC
+IuWFNgt@Cðu­fBNgÉñíÉ½­Ìt@Cªì¬³ê
+ÄCµ¢É­­ÈéD»±ÅCJ[lðC³·épxªá¢êÉÍCJ[
+lÍOÉ\zµÄ¨«CãÅAvP[V¾¯ð\z·éû@ðpÓ
+µÄ¢éDÈºÅÍCTvvOð\zðáÉC»ÌèÉÂ¢Äà
+¾·éD
+
+Ü¸CJ[lð\z·éfBNgðì¬µCRtBM
+[VX
+NvgðÀs·éDá¦ÎCJ[lð\z·éfBNgðCSSPJ[
+lÌ\[Xt@CðWJµ½fBNgÌºÌKERNEL_LIBÆ¢¤¼ÌÌ
+fBNgÉ·éêÉÍCÌR}hðÀs·éifBNgÌê
+Æ¼ÌÍCÓÉßÄæ¢jD
+
+	% mkdir KERNEL_LIB
+	% cd KERNEL_LIB
+	% perl ../configure -T <^[QbgªÌ> -f
+
+±êÉæèCJ[lð\z·éfBNgÉCMakefileCsample1.cfgC
+sample1.hCsample1.cª¶¬³êéªCMakefileÈOÍÀ¿IÉÍgpµÈ¢D
+
+make dependÅË¶ÖWt@CiMakefile.dependjð¶¬µ½ãCmake
+libkernel.aÉæèJ[lCuilibkernel.ajª¶¬Å«éD
+
+	% make depend
+	% make libkernel.a
+
+ÉCAvP[Vð\z·éfBNgðì¬µCRtBM
+[
+VXNvgðÀs·éDá¦ÎCAvP[Vð\z·éfBN
+gðCSSPJ[lÌ\[Xt@CðWJµ½fBNgÌºÌAPLÆ¢
+¤¼ÌÌfBNgÉ·éêÉÍCÌR}hðÀs·éifBNg
+ÌêÆ¼ÌÍCÓÉßÄæ¢jD
+
+	% cd ..
+	% mkdir APL
+	% cd APL
+	% perl ../configure -T <^[QbgªÌ> -L ../KERNEL_LIB
+
+±±Å-LIvVÉÍCJ[lð\zµ½fBNgÌpXðwè·éD
+
+ÅãÉCmake dependÅË¶ÖWt@CiMakefile.dependjð¶¬µ½ãC
+makeR}hÉæèTvvOÌ[hW
+[iSSPÜ½Í
+SSP.exejª¶¬Å«éD
+
+	% make depend
+	% make
+
+±ÌèÅÍCAvP[V\zÉÍJ[lÌÄ\zªKv©`Fb
+NµÈ¢½ßCJ[lÌ\[XR[hðC³µ½êÉÍCJ[lð\z
+µ½fBNgÅmake libkernel.aðÄÀs·éKvª éD
+
+ÈãÅÍCJ[lÆAvP[VðÊXÌfBNgÅ\zµ½ªC
+-LIvVÉJgfBNgi½¾µC"."Æ¢¤LqÅÍsÂjðw
+è·é±ÆÅCJ[lÆAvP[Vð¯¶fBNgÅÊXÉ\z
+·é±ÆàÅ«éDïÌIÉÍCÌèÆÈéD
+
+	% mkdir OBJ
+	% cd OBJ
+	% perl ../configure -T <^[QbgªÌ> -L ../OBJ
+	% make depend
+	% make libkernel.a
+	% make cleankernel
+	% make
+
+±±ÅCmake cleankernelÍCJ[lCuð¶¬·é½ßÌÔt@
+Cðí·éàÌÅ éD±ÌèÅÍCmake dependÉæèJ[lC
+uÉÖ·éË¶ÖWð¶¬µÈ¢½ßCJ[lÌ\[XR[hðC³µ
+½êÉÍCK¸make cleankerneliÜ½ÍCmake cleanjµÄ©çCmake
+libkernel.a·éKvª éÌÅÓ·é±ÆD
+
+È¨Cmake realclean·éÆCmake dependÆmakeÉæè¶¬µ½t@Cð·
+×Äí·éD»êÉÎµÄCmake cleanÅÍCmake dependÉæè¶¬µ½Ë
+¶ÖWt@CÍíµÈ¢D
+
+
+SDfBNg\¬Et@C\¬
+
+4.1. zzpbP[WÌfBNg\¬
+
+	include/		AvP[Vü¯wb_t@C
+	kernel/			J[l\[Xt@C
+	syssvc/			VXeT[rXwb_t@CC\[Xt@C
+	target/			^[QbgË¶
+	arch/			^[QbgË¶Ì¤Êª
+		gcc/		GCCJ­Â«Ë¶
+	pdic/			PDICifoCXhCoÌOSñË¶ªj
+	utils/			[eBeBvO
+	sample/			TvvOÆMakefile
+	doc/			hL
+g
+	extension/		g£pbP[W
+
+4.2. ^[QbgñË¶Ìt@C\¬
+
+^[QbgñË¶ieXgvOÆg£pbP[WÍ­jÌet@C
+ÌTvÍÌÊèD
+
+	README.txt					TOPPERS/SSPJ[lÌÈPÈÐî
+	configure					RtBM
+[VXNvgiGNUJ­Â«pj
+	MANIFEST					ÂÊpbP[WÌt@CXg
+
+	include/
+		kernel.h				SSPJ[lðgp·é½ßÌè`
+		sil.h					VXeC^tF[XCðgp·é½ßÌè`
+		t_stddef.h				TOPPERS¤Êwb_t@C
+		itron.h					ITRONdl¤ÊKèÌf[^^EèE}N
+
+	kernel/
+		Makefile.kernel			J[lÌt@C\¬Ìè`
+		kernel_impl.h			J[lÀpWwb_t@C
+		kernel_int.h			kernel_cfg.cpÌwb_t@C
+		kernel_rename.def		J[lÌà¯Ê¼Ìl[è`
+		kernel_rename.h			J[lÌà¯Ê¼Ìl[
+		kernel_unrename.h		J[lÌà¯Ê¼Ìl[ð	
+		kernel_api.csv			RtBM
+[^ÌÃIAPIe[u
+		kernel_def.csv			RtBM
+[^Ìlæ¾V{e[u
+		kernel.tf				RtBM
+[^ÌpX2Ìev[gt@C
+		kernel_check.tf			RtBM
+[^ÌpX3Ìev[gt@C
+		allfunc.h				·×ÄÌÖðRpC·é½ßÌè`
+		check.h					G[`FbNp}N
+		startup.c				J[lÌú»ÆI¹
+		task.h					^XNì[`ÖAÌè`
+		task.c					^XNì[`
+		task_manage.c			^XNÇ@\
+		sys_manage.c			VXeóÔÇ@\
+		interrupt.h				ÝÇ@\ÖAÌè`
+		interrupt.c				ÝÇ@\
+		exception.h				CPUáOÇ@\ÖAÌè`
+		exception.c				CPUáOÇ@\
+		queue.h					L
+[ìCuðgp·é½ßÌè`
+
+	syssvc/
+		banner.h				J[lN®bZ[WÌoÍÌ½ßÌè`
+		banner.c				J[lN®bZ[WÌoÍ
+		banner.cfg				J[lN®bZ[WÌoÍÌRtBM
+[
+								Vt@C
+		serial.h				VAC^tF[XhCoðgp·é½ßÌè`
+		serial.c				VAC^tF[XhCo
+		serial.cfg				VAhCoÌRtBM
+[Vt@C
+		syssvc_def.csv			VXeT[rXÌRtBM
+[VÌÛÉKvÈ
+								RtBM
+[^Ìlæ¾V{e[u
+
+	arch/gcc/
+		MANIFEST				ÂÊpbP[WÌt@CXg
+		tool_stddef.h			t_stddef.hÌJ­Â«Ë¶iGCCpj
+
+	utils/
+		applyrename				t@CÉl[ðKp
+		genrename				l[wb_t@CÌ¶¬
+		makedep					Ë¶ÖWXgÌ¶¬iGNUJ­Â«pj
+		makerelease				[XpbP[WÌ¶¬
+
+	sample/
+		Makefile				TvÌMakefileiGNUJ­Â«pj
+		sample1.h				TvvO(1)ÉÖ·éè`
+		sample1.c				TvvO(1)
+		sample1.cfg				TvvO(1)ÌRtBM
+[Vt@C
+
+	extension/
+		alarm.h					A[nh@\ÖAÌè`
+		alarm.c					A[nh@\
+		cyclic.h				üúnh@\ÖAÌè`
+		cyclic.c				üúnh@\
+        dataqueue.h             f[^L
+[@\ÖAÌè`
+        dataqueue.c             f[^L
+[@\
+		time_event.h			^CCxgÇÖAÌè`
+        eventflag.h             CxgtOÖAÌè`
+        eventflag.c             CxgtO@\
+		time_event.c			^CCxgÇ
+		time_manage.c			VXeÇ@\
+		MANIFEST				g£pbP[WÌt@CXg
+
+	doc/
+		user.txt				[U[Y}j
+A
+		ssp_spec.txt			TOPPERS/SSPJ[lÌdlTv
+		extension.txt			@\g£E`
+[jOKCh
+		porting.txt				^[QbgË¶ |[eBOKCh
+		configurator.txt		RtBM
+[^dl
+		version.txt				ÏXð
+
+
+TDRtBM
+[VXNvgÌg¢û
+
+RtBM
+[VXNvgiconfigurejÍCSSPJ[l¨æÑAv
+P[VvOð\z·é½ßÉKvÈî{IÈRtBM
+[V
+ðs¤½ßÌvOÅ éD
+
+SSPJ[lðp¢ÄAvP[Vðì¬·éêÉÍCÜ¸IuWFNg
+t@Cðu­fBNgðì¬µC»ÌfBNgÅRtBM
+[
+VXNvgðÀs·éDIuWFNgt@Cðu­fBNgÌê
+Æ¼ÌÍCCÓÉßÄæ¢D
+
+RtBM
+[VXNvgÉÎ·éIvVÍÌÊèD
+
+	-T <^[QbgªÌ>
+		^[QbgVXeÌ¼ÌðCtargetfBNgÌºÉu©êÄ¢
+		é^[QbgË¶fBNgÌ¼ÌÅwè·éiK{jD
+
+	-A <AvP[VvO¼>
+		AvP[VvOÌ¼Ìðwè·éDÈªµ½êÉÍC
+		TvvOisample1jÆÈéD
+
+	-a <AvP[VÌfBNg¼>
+		AvP[VvOÌ\[Xt@CiVXeRtBM
+
+		[Vt@Cð­jðu¢½fBNg¼ðwè·éDÈ
+		ªµ½êÉÍCIuWFNgt@Cðu­fBNgÉu©ê
+		Ä¢é±Æð¼è·éDVXeRtBM
+[Vt@CÍC
+		IuWFNgt@Cðu­fBNgÉu­±ÆD
+
+	-U <IuWFNgt@C¼>
+		AvP[VvOÌCÌIuWFNgt@Ci-A 
+		Åwèµ½AvP[VvO¼É".o"ðtÁµ½àÌjÈ
+		OÉCN·×«IuWFNgt@CÌ¼ÌðC".o"ðtÁµ½
+		`Åwè·éD""ÅÍÞ±ÆÉæÁÄC¡Ìt@Cðwè·é±
+		ÆàÂ\Å éi-UIvVð¡gÁÄÍÈçÈ¢jD
+
+	-L <J[lCuÌfBNg¼>
+		OÉ\zµ½J[lCuilibkernel.ajðp¢ÄCAv
+		P[VÌÝð\z·éêÉÍC±ÌIvVÉJ[lC
+		uÌu©ê½fBNg¼ðwè·éD±ÌIvVÌgp
+		áÉÂ¢ÄÍCu3.5 AvP[VÆJ[lðÊXÉ\z·é
+		û@vÌßðQÆ·é±ÆD
+
+	-f
+		J[lðÖPÊÅRpCµCu»·éêÉC±ÌI
+		vVðwè·éD±ÌIvVÌgpáÉÂ¢ÄÍCu3.4 J[
+		lðÖPÊÅCu»·éû@vÌßðQÆ·é±ÆD
+
+	-D <SSPJ[lÌ\[XfBNg¼>
+		SSPJ[lÌ\[Xt@Cðu¢½fBNg¼ðwè·éDÈ
+		ªµ½êÉÍCconfigureÌu©êÄ¢éfBNgÆÈéD
+
+	-l <vO~O¾ê>
+		AvP[VvOÌvO~O¾êðwè·éD»
+		_ÅÍCcÆc++ÌÝðT|[gµÄ¢éD
+
+	-t <ev[gfBNg¼>
+		MakefileâTvvOÌev[gÌu©ê½fBNg
+		¼ðwè·éDÈªµ½êÉÍCSSPJ[lÌ\[Xt@Cð
+		u¢½fBNgÌºÌsamplefBNgÆÈéD
+
+	-m <ev[gMakefile¼>
+		MakefileÌev[gÆ·ét@C¼ðwè·éDÈªµ½ê
+		ÉÍCMakefileÆÈéD
+
+	-d <ÀsÂ«¼>
+		^[QbgVXeãÅÌvOÌÀsÂ«iÈ¢µÍCfob
+		OÂ«jÌ¼Ìðwè·éD±ÌIvVðwè·éÆCÀsÂ«
+		ðwè·éV{iTOPPERS_<fobOÂ«¼>jª}Nè`³ê
+		éDÈªµ½êÉÍCÀsÂ«ðwè·éV{Í}Nè`³
+		êÈ¢D
+
+	-r
+		g[XOL^ÌTvR[hðLøÉ·éêÉC±ÌIvV
+		ðwè·éD±ÌIvVÌgpáÉÂ¢ÄÍCu11.5 g[X
+		OL^ÌTvR[hÌgpû@vÌßðQÆ·é±ÆD
+
+	-p <perlÌpX¼>
+		perlÌpX¼ðwè·éDÈªµ½êÉÍC/usr/local/binÆ
+		/usr/binðTõµCperlÌpX¼ðè·éD
+
+	-g <RtBM
+[^ÌpX¼>
+		RtBM
+[^icfgjÌpX¼ðwè·éDÈªµ½êÉÍC
+		ftHgÌpX¼iSSPJ[lÌ\[XfBNgÌºÌ
+		cfg/cfg/cfgjÆÈéD
+
+RtBM
+[VXNvgªs¤ÍÌÊèÅ éD
+
+(1) MakefileÌ¶¬
+
+ev[gfBNgiftHgÅÍCsamplej©çKØÈMakefileð
+IðµCKvÈÓð«·¦ÄCMakefileð¶¬·éD
+
+(2) TvvOÌ¶¬
+
+wèµ½AvP[VvOªev[gfBNgÉ éêC
+KØÈAvP[VvOÌ\[Xt@CðIðµCKvÈÓð
+«·¦ÄCAvP[VvOÌ\[Xt@Ciá¦ÎC
+sample1.hCsample1.cCsample1.cfgjð¶¬·éD
+
+(3) RtBM
+[^ªpÓÅ«Ä¢é©Ì`FbN
+
+RtBM
+[^icfgjÌÀst@Cª é©`FbNµCt@CªÈ
+¢êÉÍC»Ì|ðoÍ·éD
+
+
+UDMakefileÌC³û@
+
+OÌÍÅà¾µ½æ¤ÉCRtBM
+[VXNvgÉ^¦éIvV
+©çMakefileª¶¬³êéªCRtBM
+[VXNvgÅÎ
+Å«È¢êÉÍCMakefileð¼ÚC³·éKvª éD±±ÅÍCMakefile
+ÌÅCC³ªKvÆÈéÂ\«Ì¢ÓÉÂ¢Äà¾·éD
+
+È¨CMakefileðC³µ½ãÉRtBM
+[VXNvgðÄÀs·
+éÆCC³µ½Makefileªã«³êÄµÜ¤ÌÅÓ·é±ÆiÃ¢àÌª
+Makefile.bakÉÛ¶³êéjD
+
+6.1. MakefileÌÏè`
+
+(A) ^[QbgªÌ
+
+TARGETÉÍC^[QbgVXeÌ¼ÌðCtargetfBNgÌºÉu©ê
+Ä¢é^[QbgË¶fBNgÌ¼ÌÅwè·éD±Ìè`ÍCÊíÍC
+RtBM
+[VXNvgÉÎ·é-TIvVÉæès¤D
+
+(B) IuWFNgt@CÌg£q
+
+CygwinÂ«ÅRpC·éÉÍCOBJEXTð"exe"Éè`·éKvª éD±
+êÍCCygwinÂ«ÅÍC[hW
+[Ìt@C¼Ég£q".exe"ªtÁ
+³êéÌÉÎ·é½ßÌàÌÅ éDCygwinÂ«Å é±Æð»èÅ«êÎC
+RtBM
+[VXNvgª±Ìè`ðs¤D
+
+(C) ÀsÂ«i^[QbgË¶j
+
+^[QbgÉæÁÄÍCÀsÂ«ÉÎµÄ^[QbgË¶ÌR[hð·µ
+·¦éêª éD±êðÂ\É·é½ßÉCÀsÂ«Ì¼ÌðDBGENVÉè`
+µÄ¢éD±Ìè`ÍCÊíÍCRtBM
+[VXNvgÉÎ·
+é-DIvVÉæès¤DÇÌ^[QbgªÇÌÀsÂ«ÉÎµÄ¢é©
+ÍC^[QbgË¶Ì[U[Y}j
+AðQÆ·é±ÆD
+
+(D) J[lCuÌfBNg¼
+
+KERNEL_LIBÉÍCJ[lCuÌu©ê½fBNg¼ðè`·éD
+±Ìè`ÍCÊíÍCRtBM
+[VXNvgÉÎ·é-LIvV
+Éæès¤D
+
+(E) J[lðÖPÊÅRpC·é©Ç¤©
+
+KERNEL_FUNCOBJSÍCJ[lðÖPÊÅRpC·éêÉÍtrueÉè`
+µCt@CPÊÅRpC·éêÉÍ¢è`Æ·éD±Ìè`ÍCÊí
+ÍCRtBM
+[VXNvgÉÎ·é-fIvVÉæès¤D
+
+(F) ¤ÊRpCIvV
+
+·×ÄÌvOÉ¤Ê·éRpCIvVÌÇÁªKvÈêÉÍC
+ºÌÏÌè`ðÏX·éD»ÌRpCIvVªCÁèÌ^[Qbg
+ÅíÉKvÈêÉÍC^[QbgË¶Ìè`ðüê½Makefile.targetðC
+³·×«Å éD
+
+	CDEFS		RpCÉÎ·é-DIvVðLq·éD
+	INCLUDES	RpCÉÎ·é-IIvVðLq·éD
+	COPTS		RpCÉÎ·é»Ì¼ÌIvVðLq·éD
+	LDFLAGS		JÉÎ·éIvVðLq·éD
+	LIBS		CuNÌ½ßÌIvVðLq·éD
+
+ÇÁÌÂ\«Ì éRpCIvVÉÂ¢ÄÍCu6.2 RpCIv
+VvÌßðQÆÌ±ÆD
+
+(G) AvP[VvO¼
+
+APPLNAMEÉÍCAvP[VvO¼ðè`·éDVXeRtB
+M
+[Vt@C¼ÍCAPPLNAMEÉè`µ½¼OÉg£q".cfg"ðtÁ
+µ½¼OÆ·éDÜ½CAvP[VÌCt@CÍCAPPLNAMEÉè
+`µ½¼OÉg£q".c"ðtÁµ½¼OÆ·éD±Ìè`ÍCÊíÍCRtB
+M
+[VXNvgÉÎ·é-AIvVÉæès¤D
+
+(H) AvP[VÌfBNg¼
+
+AvP[VÌ\[Xt@CðCIuWFNgt@Cðu­ÌÆÍÊ
+ÌfBNgÉu­êÉÍCAPPLDIRÉ»ÌfBNg¼ðè`·éD±
+Ìè`ÍCÊíÍCRtBM
+[VXNvgÉÎ·é-aIvV
+Éæès¤DAvP[VÌ\[Xt@Cðu­fBNgª¡ 
+éêÉÍCAPPL_DIRÌè`ðÏX·é±ÆÅÎ·éD
+
+(I) AvP[VÌvOt@C¼
+
+AvP[Vª¡Ì\[Xt@CÅ\¬³êéêÉÍC»ÌIuWF
+Ngt@C¼ðCAPPL_ASMOBJSCAPPL_COBJSCAPPL_CXXOBJSÉñ·éD
+
+(J) AvP[VÌRpCIvV
+
+AvP[VÌRpCÉKvÈRpCIvVâCAvP[
+VªCuðKvÆ·éêÉÍCAPPL_CFLAGS¨æÑAPPL_LIBSÉè
+`·éD
+
+(K) [hW
+[Ìt@C¼
+
+WÌ[hW
+[Ìt@C¼ðOBJNAMEÉè`·éDftHgÍSSP
+Å éD
+
+(L) ^[Qbgt@CÌè`
+
+^[Qbg"all"ÌË¶t@CÆµÄC[hW
+[Ì`®ðwè·éD
+ïÌIÉÍCELF`®ÌÍ$(OBJFILE)CoCi`®ÌÍ$(OBJNAME).binC
+g[ S`®ÌÍ$(OBJNAME).srecðwè·éD$(OBJFILE)ÍCCygwin
+Â«ÅOBJEXTð"exe"Éè`µ½ÉÍ$(OBJNAME).exeC»¤ÅÈ¢êÉÍ
+$(OBJNAME)ÆÈéD
+
+(M) makedepÌIvVÌè`
+
+CygwinÂ«Å[gfBNgª"cygdrive"ÅÈ¢êÉÍCmakedepÌ-RI
+vVÅ[gfBNg¼ð^¦éKvª éDmakedepÌIvVÍC
+ÌáÌæ¤ÉCMAKEDEP_OPTSÉè`·éD
+
+MAKEDEP_OPTS = -R cygdrive
+
+6.2. RpCIvV
+
+SSPJ[lÌR[hÉÍCassert}NªgíêÄ¢éDassert}NÍC
+NDEBUGðè`·é±ÆÅCIuWFNgR[h©çÁ·±ÆªÅ«éDJ[
+lÌfobOªI¹·êÎC-DNDEBUGðwèµÄRpCµ½ûªø¦ª
+æ­ÈéD
+
+^[QbgË¶É¨¢ÄCRpCIvVÉ-WerrorixðG[µ
+¢·éjðwèµÄ¢éêª éD»Ìæ¤È^[QbgÉ¨¢ÄCAv
+P[VÅxªð¯çêÈ¢êÉÍC^[QbgË¶ðC³µÄR
+pCIvVðí·éKvª éD
+
+
+VDRtBM
+[^Ìg¢û
+
+RtBM
+[^icfgjÍCTOPPERSV¢ãJ[ldlÌ2.12.5ß
+ÌLqÌÊèC3ÂÌpXÅ\¬³êéD
+
+RtBM
+[^ÍCVXeRtBM
+[Vt@C¼ðp[
+^ÉæèCÈºÌIvVðÂidvÈàÌÌÝjD
+
+	--help
+		IvVÌXgÆà¾ð\¦·éD
+
+	-vm--versionn
+		RtBM
+[^Ìo[Wð\¦·éD
+
+	-km--kerneln<J[l¼>
+		J[lÌ¼Ìðwè·éDftHgÍSSPD
+
+	-pm--passn<pXÔ>
+		pXÔðwè·éD1`3Ì¢¸ê©D
+
+	-Im--include-pathn<CN[hpX¼>
+		INCLUDEfBNeBuÉ¨¢ÄCCN[h·éRtBM
+[
+		Vt@CðT·pX¼ðwè·éD
+
+	-Tm--template-filen<ev[gt@C¼>
+		ev[gt@CÌ¼Ìðwè·éDpX2ÆpX3ÅLøD
+
+	--api-table <ÃIAPIe[ut@C¼>
+		ÃIAPIe[uÌt@C¼ðwè·éD
+
+	--cfg1-def-table <læ¾V{e[ut@C¼>
+		læ¾V{e[uÌt@C¼ðwè·éD
+
+	-rm--rom-imagen<[hW
+[¼>
+		[hW
+[ðSR[htH[}bgÌ`ÉÏ·µ½t@CÌ
+		¼Ìðwè·éDpX3ÅÌÝLøD
+
+	-s [--symbol-table] <V{t@C¼>
+		[hW
+[ÌeV{ÆAhXÌÎ\ðÜÞV{
+		t@CÌ¼Ìðwè·éDpX3ÅÌÝLøD
+
+	--id-output-file <IDÔoÍt@C¼>
+		SSPJ[lÅÍgpµÄÍÈçÈ¢BÚ×Íconfigurator.txtÌ
+		uJ[l\¬Eú»t@Cikernel_cfg.cjvÌ(5)ðQÆÌ±ÆB
+
+	--id-input-file <IDÔüÍt@C¼>
+		SSPJ[lÅÍgpµÄÍÈçÈ¢BÚ×Íconfigurator.txtÌ
+		uJ[l\¬Eú»t@Cikernel_cfg.cjvÌ(5)ðQÆÌ±ÆB
+
+	--external-id
+		IuWFNgÌIDÔðÛ·éÏÌè`ð¶¬·éDpX2ÅÌÝ
+		LøD
+
+	-Mm--print-dependenciesn<^[QbgV{>
+		VXeRtBM
+[Vt@CÌË¶ÖWðoÍ·éD
+		MakefileÌË¶ÖWð¶¬·éÛÉp¢éD
+
+RtBM
+[^ÌÚ×dlÉÂ¢ÄÍCÊrPDFt@CÌ`ÅzzµÄ¢
+éuTOPPERSV¢ãJ[lpRtBM
+[^dlvðQÆ·é±ÆD
+
+
+WDVXeT[rX
+
+
+8.1. VAC^tF[XhCo
+
+VAC^tF[XhCoÍCVA|[gðµ¤½ßÌhCoÅ
+ éD
+
+VAC^tF[XhCoÍCVXeRtBM
+[Vt@C
+Åserial.cfgðCN[h·é±ÆÅCVXeÉgÝÞ±ÆªÅ«éD
+VAC^tF[XhCoðÄÑo·\[Xt@CÅÍCserial.hð
+CN[h·éD
+
+8.1.1. VAC^tF[XhCoÌT[rXR[
+
+VAC^tF[XhCoðÄÑo·T[rXR[ÌdlÍÌÊè
+Å éD±ÌÅCVA|[gÌIDÔiportidjÌðßÍ^[QbgË
+¶ÆÈéD
+
+±êçÌT[rXR[ÍCñ^XNReLXg©çÄÑo·±ÆÍÅ«È
+¢DÜ½Cserial_rea_datÆserial_wri_datÍCfBXpb`Û¯óÔÅÄÑ
+o·±ÆÍÅ«È¢D¢¸êàCÄÑoµ½êÉÍE_CTXG[ÆÈéD
+
+(1) ER serial_opn_por(ID portid)
+
+portidÅwè³ê½VA|[gðI[vµCóM^MªÂ\ÈóÔÉ
+·éD
+
+(2) ER serial_cls_por(ID portid)
+
+portidÅwè³ê½VA|[gðN[Y·éD
+
+(3) ER_UINT serial_rea_dat(ID portid, char *buf, uint_t len)
+
+portidÅwè³ê½VA|[g©çClenoCgÌ¶ñðóMµCbuf©
+çÌÌæÉüêéDVA|[gÌóMobt@Éi[³êÄ¢éoCgª
+len oCgæè­È¢êCæ¾Â\Èf[^ðbufÉi[µ½ç¦ÀÉ^[
+·éDóMµ½¶Ü½ÍG[R[hðÔ·D
+
+(4) ER_UINT serial_wri_dat(ID portid, const char *buf, uint_t len)
+
+portidÅwè³ê½VA|[gÉCbuf©çÌlenoCgÌ¶ñðM·
+éDMÉVA|[gÌMobt@ªtÉÈÁ½êC»Ì_Å
+¦ÀÉ^[·éDMµ½¶Ü½ÍG[R[hðÔ·D
+
+(5) ER serial_ctl_por(ID portid, uint_t ioctl)
+
+portidÅwè³ê½VA|[gÌ§äîñðCioctlÅ¦³êélÉÝè·
+éD
+
+ioctlÉÍCÈºÌ§äîñð\·èðCrbgÉ_aðÆÁ½àÌð
+wè·éD
+
+	IOCTL_ECHOiGR[obN[hj
+		±ÌrbgðÝè·éÆCVAC^tF[XhCoªGR[
+		obNðs¤DïÌIÉÍCobt@©ç¶ðæèo·xÉC»Ì
+		¶ð«o·D
+
+	IOCTL_CRLFiüs[hj
+		LFiline feedjð«o·ÆCCRicarriage returnj{LFÉÏ·µ
+		Ä«o·D
+
+
+È¨CI[v¼ãÌftHgÌÝèlÍ(IOCTL_ECHO | IOCTL_CRLF)Å éD
+
+
+8.1.2. VAC^tF[XhCoÌ»Ì¼ÌT[rX
+
+VAC^tF[XhCoÍCOLÌT[rXR[ÉÁ¦ÄCú»
+Æ¢M¶ÌæoµðÂDú»ÍCJ[lÉú»[
+`ÆµÄo^·éDÜ½C^[QbgË¶ÅCú»CI¹C
+ÝT[rX[`ðÂD±êçÌo^Íserial.cfgÉÜÜêéD
+
+(1) void serial_initialize(intptr_t exinf)
+
+VAC^tF[XhCoðú»·éDJ[lÉú»[`Æ
+µÄo^·éDexinfÍ³·éD
+
+(2) bool_t serial_get_chr(ID portid, char *p_c)
+
+portidÅwè³ê½VA|[gÌMobt@Ì¶ðCp_cÌw·Ôn
+ÉæèoµCtrueðÔ·ÖD¶ªÈ©Á½ÉÍCfalseðÔ·DI¹
+[`ÅÄÑo·±ÆðzèµÄ¢éD
+
+
+8.2. J[lN®bZ[WÌoÍ
+
+J[lN®bZ[WÌoÍÍCJ[lÌN®ÉCJ[lÌ¼Ìâo[
+WÔCì \¦ÈÇðoÍ·é½ßÌ@\Å éD
+
+J[lN®bZ[WÌoÍÍCVXeRtBM
+[Vt@C
+Åbanner.cfgðCN[h·é±ÆÅCVXeÉgÝÞ±ÆªÅ«éD
+
+J[lN®bZ[WÌoÍÍCÌÖÅ\¬³êéD
+
+(1) void print_banner(intptr_t exinf)
+
+VXeO@\ðp¢ÄCJ[lN®bZ[WðoÍ·éDbanner.cfg
+ÉæÁÄCJ[lÉú»[`ÆµÄo^³êéDexinfÍ³³êéD
+
+
+XDT|[gCu
+
+T|[gCuÍCAvP[VâVXeT[rXðì¬·é½ß
+ÉpÅ«éCuÖQÅ éD
+
+
+9.1. L
+[ìCuÖ
+
+L
+[ìCuÍCL
+[wb_ðÜÞO\¢Ì_uNL
+[
+ðµ¤CuÅ éDL
+[wb_ÌGgÍL
+[ÌæªÌGg
+COGgÍL
+[ÌöÌGgÆ·éDÜ½CL
+[ÌæªÌG
+gÌOGgÆCL
+[ÌöÌGgÌGgÍCL
+[wb_
+Æ·éDóÌL
+[ÍCGgCOGgÆà©ª©gðw·L
+[wb
+_Å çí·D
+
+L
+[ìCuÖðp¢éêÉÍCqueue.hðCN[h·éD
+
+L
+[wb_ÆGgÌ½ßÌf[^\¢ÆµÄCQUEUE\¢Ìðp¢éD
+QUEUE\¢ÌÌè`ÍÌÊèDQUEUE^ÌÏÍzñÆµÄè`·é±ÆðOñÆ
+µÄ¢éD
+
+	typedef struct
+	{
+		QUEIDX	next;
+		QUEIDX	prev;
+	} QUEUE;
+
+QUEIDXÍQUEUE^ÌzñÌCfbNXlð\·f[^^Å éD
+
+typedef uint8_t QUEIDX;
+
+
+L
+[ìÌ½ßÉpÓµÄ¢éÖÍÌÊèD
+
+(1) queue_initialize(QUEUE *queue , QUEIDX queue_null)
+
+L
+[ðú»·éDqueueÉÍL
+[wb_ðCqueue_nullÉÍ
+³øÈL
+[wb_ð¦·CfbNXlðwè·éD
+
+(2) queue_insert_prev(QUEUE *top , QUEIDX queue , QUEIDX entry)
+
+queueÅwè·éGgÌOÉCentryÅwè·éGgð}ü·éD
+topÍqueueCentryðÜÞQUEUE^zñÌæªAhXÅ éD
+queueÉL
+[wb_ðwèµ½êÉÍCL
+[ÌöÉp_entryÅwè·
+éGgð}ü·é±ÆÉÈéD
+
+(3) queue_delete_next(QUEUE *top , QUEIDX queue)
+
+queueÅwè·éGgÌÌGgðíµCíµ½GgÌ
+L
+[zñÌCfbNXðÔ·D
+topÍqueueCentryðÜÞQUEUE^zñÌæªAhXÅ éD
+
+(6) queue_empty(QUEUE *queue , QUEIDX queue_null)
+
+L
+[ªóÌêÉÍtrueC»¤ÅÈ¢êÉÍfalseðÔ·DqueueÉÍ
+L
+[wb_ðCqueue_nullÉÍ³øÈL
+[wb_ð¦·CfbNXlð
+wè·éD
+
+
+PODgpãÌÓÆqg
+
+10.1. ^C}hCoÌgÝ
+
+^C}hCoðVXeÉgÝÞ½ßÉCVXeRtBM
+[V
+t@CÌæªÅtarget_timer.cfgðCN[h·éKvª éD
+
+10.2. assert}NÌ
+
+SSPJ[lÌR[hÉÍCassert}NªgíêÄ¢éDassert}NÌè
+`Ít_stddef.hÉÜÜêCassertª¸sµ½êÌÅãÌiÊíÍCv
+Oðâ~³¹éjÍC^[QbgË¶ÌTOPPERS_assert_abortÅ
+è³êéD
+
+assertª¸sµ½êCVXeJ­ÍfobKÉÆ·Ìª]Üµ¢ªC
+VXeÒ­ÌÎ@ÍCVXeÉÎ·évÉË¶·éD»±ÅC^[
+QbgË¶ÌTOPPERS_assert_abortðCVXevÉvµ½KØÈ
+Éu«·¦éKvª éDVXevÉæÁÄÍCNDEBUGðè`µÄassert
+}NÌðIuWFNgR[h©çÁ·iu6.2 RpCIvVv
+ÌßðQÆjû@àl¦çêéD
+
+
+10.3. IuWFNgIDÌÇ
+
+TOPPERS/SSPJ[lÅÍCIuWFNgÌIDÔðCRtBM
+[^ª
+èt¯éû@ªî{ÆÈÁÄ¢éD
+
+AvP[VvOÅIuWFNgÌIDÔðQÆ·éêÉÍC
+Ì2ÂÌû@ªl¦çêéD
+
+(1) IuWFNg¯Ê¼ðp¢é
+
+IuWFNg¶¬Ì½ßÌÃIAPIiCRE_YYYjÌæ1p[^ÉLqµ½Iu
+WFNg¯Ê¼ðCAvP[VvOÅàp¢éû@D
+
+RtBM
+[^ÍCIuWFNg¯Ê¼ðCèt¯½IDÔÉ}Nè
+`·éC¾êvvZbTÌfBNeBui#definejðkernel_cfg.hÉ¶
+¬·é½ßCAvP[VvO©çkernel_cfg.hðCN[h·
+éKvª éD
+
+±Ìû@ÍCIuWFNgR[hÉIDÔª¼ÚßÜêé½ßÉÀsø
+¦ªÇ¢êûÅCRtBM
+[^ªÀs³êÄkernel_cfg.hª«·íé
+xÉCAvP[VvOÌÄRpCªKvÉÈéÆ¢¤_ª
+ éD»Ì½ßCAvP[VvOð\¬·ét@CÌÅCê
+Ìt@CÌÝÅIuWFNg¯Ê¼ðQÆ·é\¬É·éÆ¢Á½Hvð
+·é±Æª]Üµ¢D
+
+(2) IuWFNgÌIDÔðÛ·éÏðp¢é
+
+IuWFNgÌIDÔðÛ·éconst®«ðtÁµ½ÏðpÓµCAvP[
+VvOÅÍC»ÌÏðp¢éû@D
+
+á¦ÎCTASK1Æ¢¤IuWFNg¯Ê¼Ì^XNÉÎµÄCÌæ¤ÈÏð
+pÓ·éD
+
+const ID TASK1_id = TASK1;
+
+AvP[VvOÅÍC±ÌÏiTASK1_idjðp¢é±ÆÅC
+RtBM
+[^ªÀs³êÄkernel_cfg.hª«·íéxÉCãLÌÏ
+è`ðÜñ¾t@CÌÝðÄRpC·êÎæ¢±ÆÉÈéD
+
+±Ìû@ÍCAvP[VvOÌÄRpCðÅ¬ÀÉÅ«é
+_ª éêûÅCÏÌ½ßÌÌæªKvÉÈé±ÆÉÁ¦ÄCiv
+ZbTÉæÁÄÍjÏANZXÌ½ßÌI[owbhª¶¶éÆ¢¤_ª
+ éDÜ½CèÅÍÈ­ÏÅ é±Æ©çC¼ÌÏÌú»ÉÍg¦È
+¢Æ¢¤§Àª éD
+
+È¨CTOPPERS/SSPJ[lÌRtBM
+[^ÍC--external-idIvV
+ðtÁ·é±ÆÉæèCãLÌÏè`ðkernel_cfg.cÉ¶¬·é@\ð
+ÁÄ¢éÌÅC·×ÄÌIuWFNgIDð±Ìû@ÅQÆ·éêÉÍC±
+Ì@\ðp¢é±Æð§·éD
+
+RtBM
+[^ÉæéIDÔt¯Ìà¤1ÂÌÛèÆµÄCRtBM
+
+[Vt@CÌC³ÉæèCIuWFNgIDÌt¯ªÏíÁÄµÜ¤
+±Æª°çêéD±êÍCAvP[V\tgEFAÌÝvdlÉID
+ÔªLÚ³êÄ¢éêâCfobOìÆÉ¨¢ÄIDÔð¦lÆµÄ\¦
+âmFªÅ«È¢êÉCìÆø¦ðáº³¹éÂ\«ªl¦çêéD
+
+±ÌâèÉÎ·é½ßÉCTOPPERSV¢ãJ[lpRtBM
+[^ÉÍC
+IDÔÌt¯Êðt@CÉ«o·@\i--id-output-fileIvVj
+ÆCIDÔÌt¯ðt@C©çæèÞ@\i--id-input-fileIvVj
+ÆªpÓ³êÄ¢éD½¾µSSPJ[lÌêC»_ÅÍ®ìãÌâèª è
+gp·é±ÆªÅ«È¢DÚ×Í configurator.txt ÌuJ[l\¬Eú
+»t@Cikernel_cfg.cjvÌ (5) ðQÆÌ±ÆD
+
+10.4. J[lÌàV{Ìl[
+
+SSPJ[lÅÍCW
+[àÌ¼Ìª¼ÌW
+[àÌ¼ÌÆÕË·
+é±Æðð¯é½ßÉCJ[lÌàV{ÍCC¾êxÅCæªª
+"_kernel_"Ü½Í"_KERNEL_"Å é¼ÌÆµÄ¢éD
+
+±êð\[XR[hÌÂÇ«Æ¼§³¹é½ßÉCSSPJ[lÅÍC\[XR[
+hÍ©RÈ¼Oðp¢ÄLqµCC¾êvvZbTÌ}Nè`i#definej
+ðp¢ÄC»êð"_kernel_"Ü½Í"_KERNEL_"ÅnÜé¼Oi©RÈ¼Oª
+yyyyyÌêÉÍC_kernel_yyyyyjÉl[·édgÝðp¢Ä¢éD
+
+ïÌIÉÍCÖA·éfBNgÉxxx_rename.defðu«C»±©çl[
+Ì½ßÌwb_t@Cixxx_rename.h¨æÑxxx_unrename.hjð¶¬·é
+c[iutils/genrenamejðpÓµÄ¢éD
+
+±ÌdgÝÍC\[XR[hÌÂÇ«üãÉð§ÂêûÅC¾Qà éDá¦
+ÎC½­ÌfobKÅC\[XR[hÌ¼ÌÆIuWFNgR[hÌ¼Ì
+ªÙÈé½ßÉC\[XR[hÌÏ¼ðwèµÄlðÇñ¾èCÖ¼ð
+wèµÄu[N|Cgðu­Æ¢Á½±ÆªÅ«È¢D
+
+±ÌóµÉÎ·é½ßÉCSSPJ[lÅÍC\[XR[hÌY·é¼Ì
+ðl[·é½ßÌ[eBeBiutils/applyrenamejðpÓµÄ¢éD
+applyrename[eBeBÉCl[è`t@Cixxx_rename.defjÌv
+tBbNXixxxÌªjÆCl[µ½¢t@CXgð^¦éÆC
+l[ðsÈ¤Dá¦ÎCkernelfBNgÌ·×ÄÌt@CÉÎµ
+ÄCJ[lÌàV{ðl[·éÉÍCÌR}hðÀs·êÎ
+æ¢D
+
+	% cd kernel
+	% ../utils/applyrename kernel *
+
+Ü½C^[QbgË¶ÌfBNgÌ·×ÄÌt@CÉÎµÄCJ[l
+ÌàV{ðl[·éÉÍCÌæ¤ÈR}hðÀs·êÎæ¢D
+
+	% cd target/cq_starm_gcc/
+	% ../../utils/applyrename target *
+	% ../../utils/applyrename ../../kernel/kernel *
+
+10.5. VXeÌN®Ìú»
+
+VXeÌN®ÉAvP[VÅKvÆÈéú»ðs¤½ßÌ@
+\ÆµÄú»[`ªpÓ³êÄ¢éªCú»[`ªÀs³êéæ
+èà¢^C~OÅÀs·é±ÆªKvÈú»ª éêª éD
+
+±Ìæ¤ÈêÉp¢é½ßÉCWIÈX^[gAbvW
+[©çC^[
+QbgVXeË¶Ìú»tbNihardware_init_hookjðÄÑo·±ÆÆ
+µÄ¢éDhardware_init_hookÍCJ[lÌ^[QbgË¶ÅpÓ³êÄ
+¢éÌªWÅ éªC±êðAvP[VÅpÓµ½àÌÉu«·¦C
+»ÌÅAvP[VÅKvÆÈéú»ðs¤±ÆªÅ«éD
+
+½¾µChardware_init_hookÌì¬·éêÉÍCbssZNVÆdataZNV
+ªú»³êÄ¢È¢±ÆâCCuªú»³êÄ¢È¢±ÆCC¾ê
+ÅLqÅ«éÆÍÀçÈ¢±ÆÈÇÉÓªKvÅ éDì¬É ½ÁÄÍC
+u^[QbgË¶ |[eBOKChvðQÆ·é±ÆD
+
+J[lÌX^[gAbvW
+[ªhardware_init_hookðÄÑo·æ¤É
+À³êÄ¢È¢êÉÍCX^[gAbvW
+[ðAvP[VÅ
+pÓµ½àÌÉu«·¦éû@ð§·éD
+
+PPDQlîñ
+
+11.1. pðÆpñ
+
+SSPJ[lÌpðÍCet@CÌæªÉ\¦³êÄ¢éDì ÍCe
+t@CÌæªÉ\¦³êÄ¢éì ÒªÛLµÄ¢éD
+
+pðÌ(3)Ì(b)É¨¢ÄCpÌ`ÔðTOPPERSvWFNgÉñ·éû
+@ÆµÄÍCSSPJ[lðpµ½»iÌ¼ÌÆpªìC»i»µ½ïÐ¼
+ÆÆíÌîñðCÈºÌURLÌy[W©çñ·éàÌÆ·éD
+
+	http://www.toppers.jp/report.html
+
+Ü½»ÌÛÉCSSPJ[lðgpµÄÌRgâ²Ó©à¢½¾¯éÆK¢
+Å éD
+
+11.2. ÛØEKp«ET|[g
+
+SSPJ[lÍ³ÛØÅñ³êÄ¢éàÌÅ éDJ­Ò¨æÑTOPPERSv
+WFNgÍCSSPJ[lÉÖµÄCÁèÌgpÚIÉÎ·éK«àÜßÄC
+¢©ÈéÛØàsíÈ¢DÜ½CSSPJ[lÌpÉæè¼ÚIÜ½ÍÔÚI
+É¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCðíÈ¢D
+
+J­Ò¨æÑTOPPERSvWFNgÍCSSPJ[lÉÖ·éT|[gÌñ©Í
+µÄ¢È¢DSSPJ[lÉÖµÄ¿âª éêÍCãqÌTOPPERS[U[
+Y[OXgðpµÄ¢½¾¯éÆK¢Å éDmÀÈT|[gªK
+vÈêÉÍCLÅT|[gT[rXðñµÄ¢éïÐÉk³ê½¢D
+
+11.3. oO|[g
+
+SSPJ[lÉoOââè_ð­©³ê½êÉÍCãqÌTOPPERS[U[Y
+[OXgÉñµÄ~µ¢D
+
+[OXgÉoOââè_ÈÇðñ·éêÉÍCKvÉ¶ÄÌ
+îñðmç¹Ä~µ¢D
+
+	gpµÄ¢éJ[lÉÖ·éîñ
+		E^[QbgñË¶Ìo[W
+		EgpµÄ¢é^[QbgË¶Æ»Ìo[W
+		ETOPPERSvWFNg©çÌ[XÉÎ·éü¢Ói êÎj
+
+	^[QbgVXeÉÖ·éîñ
+		E^[QbgvZbTÌíÞ
+		E^[Qbg{[hÌíÞ
+
+	zXgÉÖ·éîñ
+		EOSÌo[WiT[rXpbNÌKpóµàj
+		ERpCÈÇÌJ­Â«Ìo[WiCygwinÌo[Wàj
+
+11.4. EFuTCg
+
+TOPPERSvWFNgÌEFuTCgÍCÈºÌURLÉ éD
+
+	http://www.toppers.jp/
+
+TOPPERSvWFNgâSSPJ[lÉÖ·éÅVîñÍC±ÌEFuTCg©
+ç¾é±ÆªÅ«éDÜ½CSSPJ[lÌÅVÅÍC±ÌEFuTCg©ç_
+E[h·é±ÆªÅ«éD
+
+11.5. TOPPERS[U[Y[OXg
+
+SSPJ[lðÜÞTOPPERSvWFNgÌJ­¬Ê¨Ì[UÉÎ·éîññ
+¨æÑ[UÝÔÌîñð·ðeÕÉ·é½ßÉCTOPPERS[U[Y[
+OXgiusers@toppers.jpjðpÓµÄ¢éD
+
+±Ì[OXgÉÍCNÅà©RÉo^µC[ðt·é±ÆªÅ
+«éio^ÒÈOÍ[ðtÅ«È¢jDÜ½Ct³ê½[ÍCN
+Åà©RÉEFuTCgÅÇÞ±ÆªÅ«éD
+
+[OXgÖÌo^û@ÉÂ¢ÄÍCÈºÌURLÌy[WÉà¾ª éD
+
+	http://www.toppers.jp/community.html
+
+11.6. TOPPERSvWFNgÌoü¯ÌT[rX
+
+TOPPERSvWFNgÌoÉÎµÄÍCãLÉÁ¦ÄCSSPJ[lÉÖA
+µÄÌT[rXðpÓµÄ¢éD
+
+(1) TOPPERSJ­Ò[OXg
+
+TOPPERSvWFNgÌoÍCSSPJ[lÉÖ·é¿âCoOââè_È
+ÇÌñÉCTOPPERSJ­Ò[OXgidev@toppers.jpjðp·é±
+ÆªÅ«éD
+
+(2) SSPJ[lÌJ­xTCg
+
+SSPJ[lÌJ­xÌ½ßÌTRACioOgbLOVXejªCÈºÌ
+URLÉ éiTRACÖÌANZXÉÍCïõpX[hªKvÅ éjD
+
+	http://dev.toppers.jp/trac/ssp_core
+
+TOPPERSvWFNgÌoÍC±ÌTCg©çCEFuC^tF[X¨æ
+ÑsubversionT[oÉæèCSSPJ[lÌJ­Ìo[Wð¾é±ÆªÅ
+«éDÜ½CoOgbLOf[^x[XÉANZX·é±ÆªÅ«Cß
+ÌoOðÖÌANZXâCoOÌo^ð·é±ÆªÅ«éD
+
+11.7. TOPPERSvWFNgÖÌQÁ
+
+TOPPERSvWFNgÅÍC½©çÌ`ÅvWFNgÉv£µÄ¢½¾¯éûC
+vWFNgÅJ­µ½\tgEFAð¨g¢ÌûCvWFNgÉ»¡ð¨
+¿ÌûÌQÁðßÄ¢éDTOPPERSvWFNgÖÌQÁû@ÉÂ¢ÄÍC
+ÈºÌy[WÉà¾ª éD
+
+	http://www.toppers.jp/joinus.html
+
+
+PQDt@X
+
+12.1. T[rXR[ê
+
+(1) ^XNÇ@\
+
+	ER ercd = act_tsk(ID tskid)
+	ER ercd = iact_tsk(ID tskid)
+
+(2) VXeóÔÇ@\
+
+	ER ercd = loc_cpu(void)
+	ER ercd = iloc_cpu(void)
+	ER ercd = unl_cpu(void)
+	ER ercd = iunl_cpu(void)
+	ER ercd = dis_dsp(void)
+	ER ercd = ena_dsp(void)
+	bool_t state = sns_ctx(void)
+	bool_t state = sns_loc(void)
+	bool_t state = sns_dsp(void)
+	bool_t state = sns_dpn(void)
+	bool_t state = sns_ker(void)
+	ER ercd = ext_ker(void)
+
+(3) ÝÇ@\
+
+	ER ercd = dis_int(INTNO intno)
+	ER ercd = ena_int(INTNO intno)
+
+12.2. ÃIAPIê
+
+(1) ^XNÇ@\
+
+	CRE_TSK(ID tskid, { ATR tskatr, intptr_t exinf, TASK task,
+								PRI itskpri, SIZE stksz, STK_T *stk })
+	DEF_EPR(ID tskid,{ PRI etskpri })
+
+(2) ÝÇ@\
+
+	ATT_ISR({ ATR isratr, intptr_t exinf, INTNO intno, ISR isr, PRI isrpri })
+	DEF_INH(INHNO inhno, { ATR inhatr, INTHDR inthdr })
+	CFG_INT(INTNO intno, { ATR intatr, PRI intpri })
+
+(3) CPUáOÇ@\
+
+	DEF_EXC(EXCNO excno, { ATR excatr, EXCHDR exchdr })
+
+(4) VXe\¬Ç@\
+
+	DEF_ICS({ SIZE istksz, STK_T *istk })
+	DEF_STK({SIZE stksz, STK_T *stk})
+	ATT_INI({ ATR iniatr, intptr_t exinf, INIRTN inirtn })
+	ATT_TER({ ATR teratr, intptr_t exinf, TERRTN terrtn })
+
+12.3. o[Wð
+
+	2011N 331ú	Release	1.0.0		ú[X
+	2011N1116ú	Release	1.1.0		ÅÌêÊ[X
+	2011N 323ú	Release	1.1.1		y÷ÈC³ÆoOtBbNX
+	2013N 423ú	Release	1.2.0		^XNÌN®vL
+[CO@\ÌÇÁ
+                                        DEF_ICSÌdlÏX
+                                        DEF_STKÌÇÁ
+                                        ¯úEÊM@\g£pbP[WÌÇÁ
+	2014N 3 6ú	Release	1.2.1		oOtBbNX
+	2015N 519ú	Release	1.3.0		
+
+Èã
Index: /ssp_qb_r5f100le_cs/trunk/doc/version.txt
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/doc/version.txt	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/doc/version.txt	(revision 93)
@@ -0,0 +1,203 @@
+
+		TOPPERS/SSPJ[l
+		ÏXð
+
+		Îo[W: Release 1.3.0
+		ÅIXV: 2015N 519ú
+
+±ÌhL
+gÍCTOPPERS/SSPJ[lÌRelease 1.0.0È~ÌÏXððC
+Vµ¢û©çÉLqµ½àÌÅ éD
+
+----------------------------------------------------------------------
+     TOPPERS/SSP Kernel
+         Smallest Set Profile Kernel
+ 
+     Copyright (C) 2011-2013 by Meika Sugimoto
+     Copyright (C) 2014,2015 by Naoki Saito
+                 Nagoya Municipal Industrial Research Institute, JAPAN
+ 
+ ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+     XR[hÉÜÜêÄ¢é±ÆD
+ (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+     pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+     Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+     Ì³ÛØKèðfÚ·é±ÆD
+ (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+     pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+     ÆD
+   (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+       ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+   (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+       ñ·é±ÆD
+ (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+     Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+     Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+     RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+     ÆÓ·é±ÆD
+ 
+ {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ ÌÓCðíÈ¢D
+ 
+----------------------------------------------------------------------
+
+		TOPPERS/SSPJ[l
+		Release 1.2.1 ©ç 1.3.0 ÖÌÏX_
+
+ET[rXR[ ista_alm, istp_alm ðÇÁ
+Echar_t ^Ìp~
+EVAhCoÌÏX
+	Eserial_wri_dat, serial_rea_dat Ìr¼§äæÔÆr¼§äû@ÉÖ·éC³
+	Eserial_wri_dat Ìobt@tÌ®ÉÖ·éC³
+	Eserial_rea_dat Åobt@GveBÌ®ÉÖ·éC³
+EOMIT_INITIALIZE_EXCEPTION è`ÏÝÌêÉNG[ÆÈéâèÌC³
+
+E(toppers-users 4235) ÌwEÖÌÎ(kernel.tf Ìsª$¼ãÌó²¯)
+E(toppers-users 4245)ÌwEÖÌÎ(ARMü¯gccIvVÌÇÁ)
+EüúnhCA[nhÌÅåÂð¦·\¬}NÌè`
+Edoc/configurator.txt Ì¤LX^bNÉÖ·éLq~XÌC³D
+Etask.c Ìd¡·évg^Cvé¾Ìí
+El[t@CÌd¡GgÌí
+Ecall_almhdr (alarm.c) ÌøÌ^ð uintptr_t ÖÏX
+
+Esample1 AvÉ¨¯éVXeOÌ}XNÝèÉÖ·éC³(O^XNÌú»ÄÑoµÇÁ)
+Esample1.c Ì SVC }NÅsÔª³µ­\¦³êÈ¢âèÌC³
+Ehello_world.c Ì task VA|[gÌI[vÌÇÁ
+Ehello_world.c ÌbZ[W\¦p}NÌC³
+
+Earm_m_gcc ^[QbgË¶Ì prc_terminate ÖÌ NoReturn ®«ÇÁ
+Ecq_frk_fm3_gcc^[QbgË¶Ì hardware_init_hook (prc_support.S) É function ®«ÌÝèÇÁ
+
+EMISRA-C[Éî­ÏX
+	EÈµ®èÖÚöêÌtÁ
+	Einitialize_eventflag Å[vÏ i Ì^ð uint_t ©ç int_t ÉÏX
+	Esyslog_print Ì switch É default ßðÇÁD
+	Eserial_initialize, serial_terminate Ì for¶Å[vJE^ÌÝðgp·éæ¤ÉÏX
+	Eserial_rea_dat ÅÌÙÈé^ÖÌãüÓðC³
+	Etarget_timer_handler ÅßèlðgpµÈ¢ÖÄÑoµðvoidÅLXgµ½D
+	Esample1.c ÌforÌ{Ìð¡¶ÉÏXµCRgÇÁ
+
+^[QbgË¶ÌvC³Ói1.2.1 ¨ 1.3.0j
+
+(1) char_t Ìp~Éº¢Cchar_t ð char ÉÏX·é
+
+----------------------------------------------------------------------
+
+		TOPPERS/SSPJ[l
+		Release 1.2.0 ©ç 1.2.1 ÖÌÏX_
+
+ECRE_FLG Ì iflgptn ÉÎ·é`FbNÇÁ¨æÑG[ððÏX
+ECxgtOÌrbgp^[ÉÎ·érbgè`ðÇÁ
+Edequeue_dataÖÌø^wè²¯ÌC³
+E(toppers-users 4129)ÅwEÌC³
+    Esample1 ÌC³
+    Eenqueue_data, dequeue_data ð static Ö©çÊíÌÖÖÏX
+    EMakefile.kernel ÌC³
+Esample1 ÌAvÌà¾¶ðsample1.c ÌRgÆµÄÇÁ
+EVXeRtBM
+[Vt@CÅ serial.cfg ð INCLUDE µÈ¢
+  êÉ TARGET_NAME ª¢è`ÆÈéâèÌC³(banner.tf)
+
+^[QbgË¶ÌvC³Ói1.2.0 ¨ 1.2.1j
+    ^[QbgË¶ÖÌe¿ÍÈ¢½ßCC³ÍsvÅ éD
+
+----------------------------------------------------------------------
+
+		TOPPERS/SSPJ[l
+		Release 1.1.1 ©ç 1.2.0 ÖÌÏX_
+
+E^XNN®vL
+[COÌT|[g
+  ^XNN®vð1ñÜÅL
+[CO·éæ¤ÉC³D
+
+EDEF_STKÌÇÁ
+
+EDEF_ICSÌ@\C³
+
+Eg£pbP[WÌÇÁ
+  - f[^L
+[@\
+  - CxgtO@\
+
+ETvvOÌC³
+  - ^XNI¹ÌbZ[WoÍC³
+  - f[^L
+[ÌeXg@\ÌÇÁ
+  - CxgtOÌeXg@\ÌÇÁ
+
+
+^[QbgË¶ÌvC³Ói1.1.1 ¨ 1.2.0j
+
+(1) TEST_EXC}NÌíÉº¢CCPUEXC1}NððRpCÉgp·éæ¤É
+    ÏX·éD
+
+(2) TvvOÉdataqueue.cCeventflag.cðrhÎÛÉÜßéæ¤ÉÏXD
+    (MakefileðgpµÈ¢^[QbgË¶ÌÝ)
+
+(3) ³À[vÌÀû@ðiTOPPERS_assert_abortCtarget_exitÈÇjtecsgenÅ
+    ðßÅ«éLqû@ÉÏX·éD
+
+----------------------------------------------------------------------
+
+		TOPPERS/SSPJ[l
+		Release 1.1.0 ©ç 1.1.1 ÖÌÏX_
+
+EJ[lo[W}NÌC³
+  (Release1.1.0ÅÍJ[lo[W}NÌlÉëèª Á½j
+
+EÀsDæxðÝèµÄ¢é^XNªact_tsk(TSK_SELF)ðÄÑoµ½êÌ
+  sïÌC³
+
+E\[XR[hÌt@N^O
+  - task.c/hÖÌRgÇÁAÁÉúDæxÆÀsDæxÌá¢Ì¾mj»
+
+EDEF_EPRICDEF_ICSÌdlè`ðÇÁ(doc/original_static_api.txt)
+  (½¾µTOPPERSdl1.4.0ÆÌêÑ«ÍÈ¢½ßÓj
+
+EVXeT[rXÌÇÁ
+  - syslog@\
+  - O\¦^XN@\
+
+Esvt@CÌí
+  - utilsfBNgÈºÌsvÈXNvgÌí
+  - confkernelXNvgÉÖAµ½t@CÌí
+
+EutilsfBNgÌXNvgÌC³
+  - vV[WÄÑoµÌÛÌdo¶Ìí
+
+ETvvOÌ@\ÇÁ
+  - A[nhÌeXg@\ÌÇÁ
+  - ObZ[Wðsyslog@\ðgpµÄoÍ·éæ¤ÉC³
+
+
+----------------------------------------------------------------------
+
+		TOPPERS/SSPJ[l
+		Release 1.0.0 ©ç 1.1.0 ÖÌÏX_
+
+EeXgvOÌÇÁ
+
+EÝT[rX[`ÉÖ·éoOtBbNX
+	- ÝT[rX[`¶¬ÉKvÈ^[QbgË¶Ìè`ªÈ©Á½âèÌC³
+	  (x_get_ipm, t_get_ipm, i_get_ipm, x_set_ipm, t_set_ipm, i_set_ipmÌÇÁj
+
+EMISRA-CR[fBOX^_[hÉÎ·é½ßÌR[hC³
+
+E^[QbgË¶ÆÌC^[tF[XC³
+	- TOPPERS_SUPPORT_DIS_INTðTOPPERS_TARGET_SUPPORT_DIS_INTÉC³
+	- TOPPERS_SUPPORT_ENA_INTðTOPPERS_TARGET_SUPPORT_ENA_INTÉC³
+
+
+----------------------------------------------------------------------
Index: /ssp_qb_r5f100le_cs/trunk/extension/MANIFEST
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/extension/MANIFEST	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/extension/MANIFEST	(revision 93)
@@ -0,0 +1,15 @@
+PACKAGE ssp
+
+MANIFEST
+
+alarm.c
+alarm.h
+cyclic.c
+cyclic.h
+time_event.c
+time_event.h
+time_manage.c
+dataqueue.h
+dataqueue.c
+eventflag.h
+eventflag.c
Index: /ssp_qb_r5f100le_cs/trunk/extension/alarm.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/extension/alarm.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/extension/alarm.c	(revision 93)
@@ -0,0 +1,290 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2011 by Meika Sugimoto
+ *  Copyright (C) 2015 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+/*
+ *  A[nh@\
+ */
+
+#include "alarm.h"
+#include "check.h"
+#include "time_event.h"
+
+/*
+ *  g[XO}NÌftHgè`
+ */
+
+#ifndef LOG_ALM_ENTER
+#define LOG_ALM_ENTER(almidx)
+#endif /* LOG_ALM_ENTER */
+
+#ifndef LOG_ALM_LEAVE
+#define LOG_ALM_LEAVE(almidx)
+#endif /* LOG_ALM_LEAVE */
+
+#ifndef LOG_STA_ALM_ENTER
+#define LOG_STA_ALM_ENTER(almid, almtim)
+#endif /* LOG_STA_ALM_ENTER */
+
+#ifndef LOG_STA_ALM_LEAVE
+#define LOG_STA_ALM_LEAVE(ercd)
+#endif /* LOG_STA_ALM_LEAVE */
+
+#ifndef LOG_ISTA_ALM_ENTER
+#define LOG_ISTA_ALM_ENTER(almid, almtim)
+#endif /* LOG_ISTA_ALM_ENTER */
+
+#ifndef LOG_ISTA_ALM_LEAVE
+#define LOG_ISTA_ALM_LEAVE(ercd)
+#endif /* LOG_ISTA_ALM_LEAVE */
+
+#ifndef LOG_STP_ALM_ENTER
+#define LOG_STP_ALM_ENTER(almid)
+#endif /* LOG_STP_ALM_ENTER */
+
+#ifndef LOG_STP_ALM_LEAVE
+#define LOG_STP_ALM_LEAVE(ercd)
+#endif /* LOG_STP_ALM_LEAVE */
+
+#ifndef LOG_ISTP_ALM_ENTER
+#define LOG_ISTP_ALM_ENTER(almid)
+#endif /* LOG_ISTP_ALM_ENTER */
+
+#ifndef LOG_ISTP_ALM_LEAVE
+#define LOG_ISTP_ALM_LEAVE(ercd)
+#endif /* LOG_ISTP_ALM_LEAVE */
+
+
+/* üúnhIDð^CCxgIDÉÏ· */
+#define ALM_EVTID(almid)	((ID)(INDEX_ALM(almid) + almevtid_offset))
+#define INDEX_ALM(almid)	((uint_t)((almid) - TMIN_ALMID))
+
+/* A[nhÌÂ */
+#define tnum_alm			((uint_t)(tmax_almid - TMIN_ALMID + 1))
+
+/* A[Ì®ìóÔð\·rbg}bv */
+#define ALMACT_BIT(index)	(1U << (index))
+
+
+/* A[nhÀs^CCxg */
+void call_almhdr(uintptr_t almidx);
+
+
+/*
+ *  A[nh@\Ìú»
+ */
+
+#ifdef TOPPERS_almcal
+
+void
+initialize_alarm(void)
+{
+	/* SÄÌA[ðâ~óÔÉ·é */
+	almcb_almact = 0U;
+}
+
+#endif /* TOPPERS_almcal */
+
+/*
+ *  A[ÌJn
+ */
+
+#ifdef TOPPERS_sta_alm
+
+ER
+sta_alm(ID almid , RELTIM almtim)
+{
+	ER ercd;
+	uint_t index = INDEX_ALM(almid);
+	
+	LOG_STA_ALM_ENTER(almid, almtim);
+	CHECK_TSKCTX_UNL();
+	CHECK_ALMID(almid);
+	
+	t_lock_cpu();
+	
+	if((almcb_almact & ALMACT_BIT(index)) != 0U) {
+		time_event_dequeue(ALM_EVTID(almid));
+	}
+	else {
+		almcb_almact |= ALMACT_BIT(index);
+	}
+	
+	time_event_enqueue(ALM_EVTID(almid) ,
+		current_time + (EVTTIM)almtim , (CBACK)call_almhdr , index);
+	
+	ercd = E_OK;
+	t_unlock_cpu();
+	
+  error_exit:
+	LOG_STA_ALM_LEAVE(ercd);
+	return ercd;
+}
+
+#endif /* TOPPERS_sta_alm */
+
+/*
+ *  A[ÌJn(ñ^XNReLXgp)
+ */
+
+#ifdef TOPPERS_ista_alm
+
+ER
+ista_alm(ID almid , RELTIM almtim)
+{
+	ER ercd;
+	uint_t index = INDEX_ALM(almid);
+	
+	LOG_ISTA_ALM_ENTER(almid, almtim);
+	CHECK_INTCTX_UNL();
+	CHECK_ALMID(almid);
+	
+	i_lock_cpu();
+	
+	if((almcb_almact & ALMACT_BIT(index)) != 0U) {
+		time_event_dequeue(ALM_EVTID(almid));
+	}
+	else {
+		almcb_almact |= ALMACT_BIT(index);
+	}
+	
+	time_event_enqueue(ALM_EVTID(almid) ,
+		current_time + (EVTTIM)almtim , (CBACK)call_almhdr , index);
+	
+	ercd = E_OK;
+	i_unlock_cpu();
+	
+  error_exit:
+	LOG_ISTA_ALM_LEAVE(ercd);
+	return ercd;
+}
+
+#endif /* TOPPERS_ista_alm */
+
+/*
+ *  A[Ìâ~
+ */
+
+#ifdef TOPPERS_stp_alm
+
+ER
+stp_alm(ID almid)
+{
+	ER ercd;
+	uint_t index = INDEX_ALM(almid);
+	
+	LOG_STP_ALM_ENTER(almid);
+	CHECK_TSKCTX_UNL();
+	CHECK_ALMID(almid);
+	
+	t_lock_cpu();
+	
+	if((almcb_almact & ALMACT_BIT(index)) != 0U) {
+		almcb_almact &= ~ALMACT_BIT(index);
+		time_event_dequeue(ALM_EVTID(almid));
+	}
+	ercd = E_OK;
+	t_unlock_cpu();
+	
+  error_exit:
+	LOG_STP_ALM_LEAVE(ercd);
+	return ercd;
+}
+
+#endif /* TOPPERS_stp_alm */
+
+/*
+ *  A[Ìâ~(ñ^XNReLXgp)
+ */
+
+#ifdef TOPPERS_istp_alm
+
+ER
+istp_alm(ID almid)
+{
+	ER ercd;
+	uint_t index = INDEX_ALM(almid);
+	
+	LOG_ISTP_ALM_ENTER(almid);
+	CHECK_INTCTX_UNL();
+	CHECK_ALMID(almid);
+	
+	i_lock_cpu();
+	
+	if((almcb_almact & ALMACT_BIT(index)) != 0U) {
+		almcb_almact &= ~ALMACT_BIT(index);
+		time_event_dequeue(ALM_EVTID(almid));
+	}
+	ercd = E_OK;
+	i_unlock_cpu();
+	
+  error_exit:
+	LOG_ISTP_ALM_LEAVE(ercd);
+	return ercd;
+}
+
+#endif /* TOPPERS_istp_alm */
+
+/*
+ *  A[nhN®[`
+ */
+
+#ifdef TOPPERS_almcal
+
+void
+call_almhdr(uintptr_t almidx)
+{
+	/* A[nhðâ~óÔÉ·é */
+	almcb_almact &= ~ALMACT_BIT(almidx);
+	
+	i_unlock_cpu();
+	
+	/* A[nhÌÀs */
+	LOG_ALM_ENTER(almidx);
+	(*alminib_almhdr[almidx])(alminib_exinf[almidx]);
+	LOG_ALM_LEAVE(almidx);
+	
+	if (!i_sense_lock()) {
+		i_lock_cpu();
+	}
+}
+
+#endif /* TOPPERS_almcal */
+
Index: /ssp_qb_r5f100le_cs/trunk/extension/alarm.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/extension/alarm.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/extension/alarm.h	(revision 93)
@@ -0,0 +1,75 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2011 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+#ifndef TOPPERS_ALARM_H
+#define TOPPERS_ALARM_H
+
+#include "kernel_impl.h"
+
+
+/*
+ *  RtBM
+[Vf[^
+ */
+
+/* A[nhÌ^CCxgIDItZbg */
+extern const uint_t almevtid_offset;
+
+/* A[nhÌÅåIDl */
+extern const ID tmax_almid;
+
+/* A[nhæªÔn */
+extern const ALMHDR alminib_almhdr[];
+
+/* A[nhg£îñ */
+extern const intptr_t alminib_exinf[];
+
+/* A[nhóÔ */
+extern uint16_t almcb_almact;
+
+
+/*
+ *  A[nh@\Ìú»
+ */
+extern void
+initialize_alarm(void);
+
+
+
+#endif /* TOPPERS_ALARM_H */
Index: /ssp_qb_r5f100le_cs/trunk/extension/cyclic.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/extension/cyclic.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/extension/cyclic.c	(revision 93)
@@ -0,0 +1,207 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2011 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+/*
+ *  üúnh@\
+ */
+
+#include "kernel_impl.h"
+#include "check.h"
+#include "time_event.h"
+#include "cyclic.h"
+
+/*
+ *  g[XO}NÌftHgè`
+ */
+#ifndef LOG_CYC_ENTER
+#define LOG_CYC_ENTER(cycidx)
+#endif /* LOG_CYC_ENTER */
+
+#ifndef LOG_CYC_LEAVE
+#define LOG_CYC_LEAVE(cycidx)
+#endif /* LOG_CYC_LEAVE */
+
+#ifndef LOG_STA_CYC_ENTER
+#define LOG_STA_CYC_ENTER(cycid)
+#endif /* LOG_STA_CYC_ENTER */
+
+#ifndef LOG_STA_CYC_LEAVE
+#define LOG_STA_CYC_LEAVE(ercd)
+#endif /* LOG_STA_CYC_LEAVE */
+
+#ifndef LOG_STP_CYC_ENTER
+#define LOG_STP_CYC_ENTER(cycid)
+#endif /* LOG_STP_CYC_ENTER */
+
+#ifndef LOG_STP_CYC_LEAVE
+#define LOG_STP_CYC_LEAVE(ercd)
+#endif /* LOG_STP_CYC_LEAVE */
+
+
+/* üúnhIDð^CCxgIDÉÏ· */
+#define CYC_EVTID(cycidx)	((ID)((cycidx) + cycevtid_offset))
+#define INDEX_CYC(cycid)	((uint_t)((cycid) - TMIN_CYCID))
+
+
+/* üúnhÌ®ìóÔð\·rbg}bv */
+#define CYCACT_BIT(index)	(1U << (index))
+
+/*
+ *  üúnhN®[`
+ */
+void call_cychdr(uintptr_t cycidx);
+
+/*
+ *  üúnh@\Ìú»
+ */
+
+#ifdef TOPPERS_cycini
+
+void
+initialize_cyclic(void)
+{
+	uint_t i;
+	
+	/* üúnhÌóÔÝè */
+	cyccb_cycact = cycinib_cycact;
+	
+	for(i = 0U ; i < tnum_cyc ; i++) {
+		cyccb_evttim[i] = 0U;
+		
+		/* üúnhÌúN® */
+		if((cycinib_cycact & CYCACT_BIT(i)) != 0U) {
+			time_event_enqueue(CYC_EVTID(i) ,
+				(EVTTIM)cycinib_cycphs[i] , call_cychdr , i);
+			cyccb_evttim[i] = cycinib_cycphs[i];
+		}
+	}
+}
+
+#endif /* TOPPERS_cycini */
+
+#ifdef TOPPERS_sta_cyc
+
+ER
+sta_cyc(ID cycid)
+{
+	ER ercd;
+	uint_t index = INDEX_CYC(cycid);
+	EVTTIM evttim;
+	
+	LOG_STA_CYC_ENTER(cycid);
+	CHECK_TSKCTX_UNL();
+	CHECK_CYCID(cycid);
+	
+	t_lock_cpu();
+	
+	if((cyccb_cycact & CYCACT_BIT(index)) != 0U) {
+		time_event_dequeue(CYC_EVTID(index));
+	}
+	else {
+		cyccb_cycact |= CYCACT_BIT(index);
+	}
+
+	evttim = current_time + cycinib_cycphs[index];
+	time_event_enqueue(CYC_EVTID(index) ,
+		 evttim , call_cychdr , index);
+	cyccb_evttim[index] = evttim;
+	
+	ercd = E_OK;
+	t_unlock_cpu();
+	
+  error_exit:
+	LOG_STA_CYC_LEAVE(ercd);
+	return ercd;
+}
+
+#endif /* TOPPERS_sta_cyc */
+
+
+#ifdef TOPPERS_stp_cyc
+
+ER
+stp_cyc(ID cycid)
+{
+	ER ercd;
+	uint_t index = INDEX_CYC(cycid);
+	
+	LOG_STP_CYC_ENTER(cycid);
+	CHECK_TSKCTX_UNL();
+	CHECK_CYCID(cycid);
+	
+	t_lock_cpu();
+	
+	if((cyccb_cycact & CYCACT_BIT(index)) != 0U) {
+		cyccb_cycact &= ~CYCACT_BIT(index);
+		time_event_dequeue(CYC_EVTID(index));
+	}
+	ercd = E_OK;
+	t_unlock_cpu();
+	
+  error_exit:
+	LOG_STA_CYC_LEAVE(ercd);
+	return ercd;
+}
+
+#endif /* TOPPERS_stp_cyc */
+
+#ifdef TOPPERS_cyccal
+
+void
+call_cychdr(uintptr_t cycidx)
+{
+	cyccb_evttim[cycidx] += cycinib_cyctim[cycidx];
+
+	/* üúÌ^CCxgðo^ */
+	time_event_enqueue((ID)cycidx ,
+		cyccb_evttim[cycidx] , call_cychdr , cycidx);
+	
+	i_unlock_cpu();
+	
+	/* üúnhðÀs */
+	LOG_CYC_ENTER(cycidx);
+	(*cycinib_cychdr[cycidx])(cycinib_exinf[cycidx]);
+	LOG_CYC_LEAVE(cycidx);
+	
+	if (!i_sense_lock()) {
+		i_lock_cpu();
+	}
+}
+
+#endif /* TOPPERS_cyccal */
Index: /ssp_qb_r5f100le_cs/trunk/extension/cyclic.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/extension/cyclic.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/extension/cyclic.h	(revision 93)
@@ -0,0 +1,87 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2011 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+#ifndef TOPPERS_CYCLIC_H
+#define TOPPERS_CYCLIC_H
+
+/*
+ *  üúnhú»ubN
+ *
+ *  RtBM
+[^ÉæÁÄ¶¬·éD
+ */
+
+/* üúnhIDÌÅål */
+extern const ID tmax_cycid;
+
+/* üúnh®« */
+extern const uint16_t cycinib_cycact;
+
+/* üúnhAhX */
+extern const CYCHDR cycinib_cychdr[];
+
+/* üúnhüú */
+extern const RELTIM cycinib_cyctim[];
+
+/* üúnhÊ */
+extern const RELTIM cycinib_cycphs[];
+
+/* üúnhg£îñ */
+extern const intptr_t cycinib_exinf[];
+
+/* üúnh®ìóÔ */
+extern uint16_t cyccb_cycact;
+
+/* üúnhÌñN® */
+extern EVTTIM cyccb_evttim[];
+
+/* üúnhÌ^CCxgIDItZbg */
+extern const uint_t cycevtid_offset;
+
+#define tnum_cyc	((uint_t)(tmax_cycid - TMIN_CYCID + 1))
+
+
+/*
+ *  üúnh@\Ìú»
+ */
+extern void
+initialize_cyclic(void);
+
+
+#endif /* TOPPERS_CYCLIC_H */
Index: /ssp_qb_r5f100le_cs/trunk/extension/dataqueue.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/extension/dataqueue.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/extension/dataqueue.c	(revision 93)
@@ -0,0 +1,303 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2005-2010 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2011 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+ 
+/*
+ *		f[^L
+[@\
+ */
+
+#include "kernel_impl.h"
+#include "check.h"
+#include "dataqueue.h"
+
+/*
+ *  g[XO}NÌftHgè`
+ */
+#ifndef LOG_PSND_DTQ_ENTER
+#define LOG_PSND_DTQ_ENTER(dtqid, data)
+#endif /* LOG_PSND_DTQ_ENTER */
+
+#ifndef LOG_PSND_DTQ_LEAVE
+#define LOG_PSND_DTQ_LEAVE(ercd)
+#endif /* LOG_PSND_DTQ_LEAVE */
+
+#ifndef LOG_IPSND_DTQ_ENTER
+#define LOG_IPSND_DTQ_ENTER(dtqid, data)
+#endif /* LOG_IPSND_DTQ_ENTER */
+
+#ifndef LOG_IPSND_DTQ_LEAVE
+#define LOG_IPSND_DTQ_LEAVE(ercd)
+#endif /* LOG_IPSND_DTQ_LEAVE */
+
+#ifndef LOG_PRCV_DTQ_ENTER
+#define LOG_PRCV_DTQ_ENTER(dtqid, p_data)
+#endif /* LOG_PRCV_DTQ_ENTER */
+
+#ifndef LOG_PRCV_DTQ_LEAVE
+#define LOG_PRCV_DTQ_LEAVE(ercd, data)
+#endif /* LOG_PRCV_DTQ_LEAVE */
+
+/*
+ *  f[^L
+[ÖÌf[^M
+ */
+void
+enqueue_data(intptr_t* const data , uint8_t* const tail , const uint8_t size , const intptr_t sdata);
+
+/*
+ *  f[^L
+[©çÌf[^óM
+ */
+void
+dequeue_data(intptr_t* const data , uint8_t* const head , const uint8_t size , intptr_t* rdata);
+
+
+/*
+ *  f[^L
+[Ì
+ */
+#define tnum_dtq	((uint_t)(tmax_dtqid - TMIN_DTQID + 1))
+
+/*
+ *  f[^L
+[ID©çf[^L
+[ÇubNðæèo·½ßÌ}N
+ */
+#define INDEX_DTQ(dtqid)	((uint_t)((dtqid) - TMIN_DTQID))
+
+/*
+ *  f[^L
+[@\Ìú»
+ */
+#ifdef TOPPERS_dtqini
+
+void
+initialize_dataqueue(void)
+{
+	uint_t	i;
+
+	for (i = 0U ; i < tnum_dtq ; i++) {
+		dtqcb_count[i] = 0U;
+		dtqcb_head[i] = 0U;
+		dtqcb_tail[i] = 0U;
+	}
+}
+
+#endif /* TOPPERS_dtqini */
+
+
+/*
+ *  f[^L
+[ªt©Ì`FbN
+ */
+
+Inline bool_t
+data_full(uint8_t count , uint8_t size)
+{
+	return (count >= size)? true : false;
+}
+
+/*
+ *  f[^L
+[ªó©Ì`FbN
+ */
+
+Inline bool_t
+data_empty(uint8_t count)
+{
+	return (count == 0)? true : false;
+}
+
+
+/*
+ *  f[^L
+[ÖÌf[^M
+ */
+
+
+#ifdef TOPPERS_dtqenq
+
+void
+enqueue_data(intptr_t* const data , uint8_t* const tail , const uint8_t size , const intptr_t sdata)
+{
+	data[*tail] = sdata;
+	(*tail)++;
+	if (*tail >= size) {
+		*tail = 0U;
+	}
+}
+
+#endif /* TOPPERS_dtqenq */
+
+/*
+ *  MÒ¿L
+[Ìæª^XN©çÌf[^óM
+ */
+#ifdef TOPPERS_dtqdeq
+
+void
+dequeue_data(intptr_t* const data , uint8_t* const head , const uint8_t size , intptr_t* rdata)
+{
+	*rdata = data[*head];
+	(*head)++;
+	if (*head >= size) {
+		*head = 0U;
+	}
+	
+}
+
+#endif /* TOPPERS_dtqdeq */
+
+/*
+ *  f[^L
+[ÖÌMi|[Oj
+ */
+#ifdef TOPPERS_psnd_dtq
+
+ER
+psnd_dtq(ID dtqid, intptr_t data)
+{
+	ER		ercd;
+	int_t	index;
+	
+	LOG_PSND_DTQ_ENTER(dtqid, data);
+	CHECK_TSKCTX_UNL();
+	CHECK_DTQID(dtqid);
+	
+	t_lock_cpu();
+	index = INDEX_DTQ(dtqid);
+	
+	if (!data_full(dtqcb_count[index] , dtqinib_size[index]))
+	{
+		enqueue_data(dtqinib_data[index] , &(dtqcb_tail[index]) , 
+					dtqinib_size[index] , data);
+		dtqcb_count[index]++;
+		ercd = E_OK;
+	}
+	else {
+		ercd = E_TMOUT;
+	}
+	t_unlock_cpu();
+	
+  error_exit:
+	LOG_PSND_DTQ_LEAVE(ercd);
+	return(ercd);
+}
+
+#endif /* TOPPERS_psnd_dtq */
+
+/*
+ *  f[^L
+[ÖÌMi|[OCñ^XNReLXgpj
+ */
+#ifdef TOPPERS_ipsnd_dtq
+
+ER
+ipsnd_dtq(ID dtqid, intptr_t data)
+{
+	ER		ercd;
+	int_t	index;
+
+	LOG_IPSND_DTQ_ENTER(dtqid, data);
+	CHECK_INTCTX_UNL();
+	CHECK_DTQID(dtqid);
+
+	i_lock_cpu();
+	index = INDEX_DTQ(dtqid);
+	
+	if (!data_full(dtqcb_count[index] , dtqinib_size[index]))
+	{
+		enqueue_data(dtqinib_data[index] , &(dtqcb_tail[index]) , 
+					dtqinib_size[index] , data);
+		dtqcb_count[index]++;
+		ercd = E_OK;
+	}
+	else {
+		ercd = E_TMOUT;
+	}
+	i_unlock_cpu();
+
+  error_exit:
+	LOG_IPSND_DTQ_LEAVE(ercd);
+	return(ercd);
+}
+
+#endif /* TOPPERS_ipsnd_dtq */
+
+/*
+ *  f[^L
+[©çÌóMi|[Oj
+ */
+#ifdef TOPPERS_prcv_dtq
+
+ER
+prcv_dtq(ID dtqid, intptr_t *p_data)
+{
+	ER		ercd;
+	int_t	index;
+
+	LOG_PRCV_DTQ_ENTER(dtqid, p_data);
+	CHECK_TSKCTX_UNL();
+	CHECK_DTQID(dtqid);
+
+	t_lock_cpu();
+	index = INDEX_DTQ(dtqid);
+	
+	if (!data_empty(dtqcb_count[index]))
+	{
+		dequeue_data(dtqinib_data[index] , &(dtqcb_head[index]) , 
+					dtqinib_size[index] , p_data);
+		dtqcb_count[index]--;
+		ercd = E_OK;
+	}
+	else {
+		ercd = E_TMOUT;
+	}
+	t_unlock_cpu();
+
+  error_exit:
+	LOG_PRCV_DTQ_LEAVE(ercd, *p_data);
+	return(ercd);
+}
+
+#endif /* TOPPERS_prcv_dtq */
Index: /ssp_qb_r5f100le_cs/trunk/extension/dataqueue.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/extension/dataqueue.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/extension/dataqueue.h	(revision 93)
@@ -0,0 +1,95 @@
+/*
+ *  TOPPERS/ASP Kernel
+ *      Toyohashi Open Platform for Embedded Real-Time Systems/
+ *      Advanced Standard Profile Kernel
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2005-2010 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ *		f[^L
+[@\
+ */
+
+#ifndef TOPPERS_DATAQUEUE_H
+#define TOPPERS_DATAQUEUE_H
+
+#include <queue.h>
+
+/*
+ *  f[^L
+[ú»ubN
+ */
+extern const ATR dtqinib_atr[];			/* f[^L
+[®« */
+extern intptr_t* const dtqinib_data[];	/* f[^i[ÌæÌæªÔn */
+extern const uint8_t dtqinib_size[];	/* f[^L
+[ÌeÊ */
+
+/*
+ *  f[^L
+[ÇubN
+ */
+extern uint8_t dtqcb_count[];				/* f[^L
+[Éi[³êÄ¢éf[^Ì */
+extern uint8_t dtqcb_head[];				/* ÅÌf[^Ìi[ê */
+extern uint8_t dtqcb_tail[];				/* ÅãÌf[^Ìi[êÌ */
+
+
+/*
+ *  f[^L
+[IDÌÅålikernel_cfg.cj
+ */
+extern const ID	tmax_dtqid;
+
+/*
+ *  f[^L
+[ÇubN©çf[^L
+[IDðæèo·½ßÌ}N
+ */
+#define	DTQID(p_dtqcb)	((ID)(((p_dtqcb) - dtqcb_table) + TMIN_DTQID))
+
+/*
+ *  f[^L
+[@\Ìú»
+ */
+extern void	initialize_dataqueue(void);
+
+#endif /* TOPPERS_DATAQUEUE_H */
Index: /ssp_qb_r5f100le_cs/trunk/extension/eventflag.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/extension/eventflag.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/extension/eventflag.c	(revision 93)
@@ -0,0 +1,257 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2005-2010 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2011 by Meika Sugimoto
+ *  Copyright (C) 2015 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+/*
+ *  CxgtO@\
+ */
+
+
+#include "kernel_impl.h"
+#include "check.h"
+#include "eventflag.h"
+
+/*
+ *  g[XO}NÌftHgè`
+ */
+#ifndef LOG_SET_FLG_ENTER
+#define LOG_SET_FLG_ENTER(flgid, setptn)
+#endif /* LOG_SET_FLG_ENTER */
+
+#ifndef LOG_SET_FLG_LEAVE
+#define LOG_SET_FLG_LEAVE(ercd)
+#endif /* LOG_SET_FLG_LEAVE */
+
+#ifndef LOG_ISET_FLG_ENTER
+#define LOG_ISET_FLG_ENTER(flgid, setptn)
+#endif /* LOG_ISET_FLG_ENTER */
+
+#ifndef LOG_ISET_FLG_LEAVE
+#define LOG_ISET_FLG_LEAVE(ercd)
+#endif /* LOG_ISET_FLG_LEAVE */
+
+#ifndef LOG_CLR_FLG_ENTER
+#define LOG_CLR_FLG_ENTER(flgid, clrptn)
+#endif /* LOG_CLR_FLG_ENTER */
+
+#ifndef LOG_CLR_FLG_LEAVE
+#define LOG_CLR_FLG_LEAVE(ercd)
+#endif /* LOG_CLR_FLG_LEAVE */
+
+#ifndef LOG_POL_FLG_ENTER
+#define LOG_POL_FLG_ENTER(flgid, waiptn, wfmode, p_flgptn)
+#endif /* LOG_POL_FLG_ENTER */
+
+#ifndef LOG_POL_FLG_LEAVE
+#define LOG_POL_FLG_LEAVE(ercd, flgptn)
+#endif /* LOG_POL_FLG_LEAVE */
+
+
+
+/* CxgtOIDID©çÌzñItZbgÖÌÏ·}N */
+#define INDEX_FLG(flgid)	((uint_t)((flgid) - TMIN_FLGID))
+
+#ifdef TOPPERS_iniflg
+
+void initialize_eventflag(void)
+{
+	int_t i;
+	
+	for(i = 0 ; i < tmax_flgid ; i++)
+	{
+		/* rbgp^[Ìú» */
+		flgcb_flgptn[i] = flginib_iflgptn[i];
+	}
+}
+
+#endif /* TOPPERS_iniflg */
+
+/*
+ *  CxgtOðª¬§µÄ¢é©Ì`FbN
+ */
+Inline bool_t
+check_flg_cond(FLGPTN curptn , FLGPTN waiptn, MODE wfmode)
+{
+	bool_t flgset = false;
+	
+	if ((wfmode & TWF_ORW) != 0U)
+	{
+		if((curptn & waiptn) != 0U)
+		{
+			flgset = true;
+		}
+	}
+	else	/* (wfmode & TWF_ANDW) != 0U  */
+	{
+		if((curptn & waiptn) == waiptn)
+		{
+			flgset = true;
+		}
+	}
+	
+	return (flgset);
+}
+
+/*
+ *  CxgtOÌZbg
+ */
+#ifdef TOPPERS_set_flg
+
+ER
+set_flg(ID flgid, FLGPTN setptn)
+{
+	ER		ercd;
+	
+	LOG_SET_FLG_ENTER(flgid, setptn);
+	CHECK_TSKCTX_UNL();
+	CHECK_FLGID(flgid);
+	
+	t_lock_cpu();
+	flgcb_flgptn[INDEX_FLG(flgid)] |= setptn;
+	ercd = E_OK;
+	t_unlock_cpu();
+	
+  error_exit:
+	LOG_SET_FLG_LEAVE(ercd);
+	return(ercd);
+}
+
+
+#endif /* TOPPERS_set_flg */
+
+/*
+ *  CxgtOÌZbgiñ^XNReLXgpj
+ */
+#ifdef TOPPERS_iset_flg
+
+ER
+iset_flg(ID flgid, FLGPTN setptn)
+{
+	ER		ercd;
+	
+	LOG_ISET_FLG_ENTER(flgid, setptn);
+	CHECK_INTCTX_UNL();
+	CHECK_FLGID(flgid);
+	
+	i_lock_cpu();
+	flgcb_flgptn[INDEX_FLG(flgid)] |= setptn;
+	ercd = E_OK;
+	i_unlock_cpu();
+	
+  error_exit:
+	LOG_ISET_FLG_LEAVE(ercd);
+	return(ercd);
+}
+
+#endif /* TOPPERS_iset_flg */
+
+/*
+ *  CxgtOÌNA
+ */
+#ifdef TOPPERS_clr_flg
+
+ER
+clr_flg(ID flgid, FLGPTN clrptn)
+{
+	ER		ercd;
+	
+	LOG_CLR_FLG_ENTER(flgid, clrptn);
+	CHECK_TSKCTX_UNL();
+	CHECK_FLGID(flgid);
+	
+	t_lock_cpu();
+	flgcb_flgptn[INDEX_FLG(flgid)] &= clrptn; 
+	ercd = E_OK;
+	t_unlock_cpu();
+	
+  error_exit:
+	LOG_CLR_FLG_LEAVE(ercd);
+	return(ercd);
+}
+
+#endif /* TOPPERS_clr_flg */
+
+
+/*
+ *  CxgtOÒ¿i|[Oj
+ */
+#ifdef TOPPERS_pol_flg
+
+ER
+pol_flg(ID flgid, FLGPTN waiptn, MODE wfmode, FLGPTN *p_flgptn)
+{
+	ER		ercd;
+	int_t	index;
+	
+	LOG_POL_FLG_ENTER(flgid, waiptn, wfmode, p_flgptn);
+	CHECK_TSKCTX_UNL();
+	CHECK_FLGID(flgid);
+	CHECK_PAR(waiptn != 0U);
+	CHECK_PAR(wfmode == TWF_ORW || wfmode == TWF_ANDW);
+	
+	t_lock_cpu();
+	
+	index = INDEX_FLG(flgid);
+	
+	if (check_flg_cond(flgcb_flgptn[index], waiptn, wfmode)) {
+		ercd = E_OK;
+		*p_flgptn = flgcb_flgptn[index];
+
+		if((flginib_atr[index] & TA_CLR) != 0U)
+		{
+			flgcb_flgptn[index] = 0U;
+		}
+	}
+	else {
+		ercd = E_TMOUT;
+	}
+	t_unlock_cpu();
+
+  error_exit:
+	LOG_POL_FLG_LEAVE(ercd, *p_flgptn);
+	return(ercd);
+}
+
+#endif /* TOPPERS_pol_flg */
+
+
Index: /ssp_qb_r5f100le_cs/trunk/extension/eventflag.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/extension/eventflag.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/extension/eventflag.h	(revision 93)
@@ -0,0 +1,78 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2005-2010 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2011 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+ 
+#ifndef TOPPERS_EVENTFLAG_H
+#define TOPPERS_EVENTFLAG_H
+
+
+/*
+ *  CxgtOú»ubN
+ */
+
+/* CxgtO®« */
+extern const ATR flginib_atr[];
+
+/* CxgtOúl */
+extern const FLGPTN flginib_iflgptn[];
+
+/*
+ *  CxgtOÇubN
+ */
+
+/* CxgtO»Ýp^[ */
+extern FLGPTN flgcb_flgptn[];
+
+
+/*
+ *  CxgtOIDÌÅålikernel_cfg.cj
+ */
+extern const ID	tmax_flgid;
+
+/*
+ *  CxgtO@\Ìú»
+ */
+extern void	initialize_eventflag(void);
+
+
+#endif /*TOPPERS_EVENTFLAG_H  */
+
Index: /ssp_qb_r5f100le_cs/trunk/extension/time_event.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/extension/time_event.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/extension/time_event.c	(revision 93)
@@ -0,0 +1,173 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2011 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+#include "kernel_impl.h"
+
+#include "time_event.h"
+
+
+/*
+ *  »ÝÌVXeiPÊ: 1~bj
+ *
+ *  µ§ÉÍCOÌ^CeBbNÌVXeD
+ */
+EVTTIM	current_time;
+
+/*
+ *  ^CCxgq[vÅLøÈÅ¬ÌVXeiPÊ: 1~bj
+ */
+EVTTIM	min_time;
+
+
+/*
+ *  ^CCxgL
+[ÌL
+[wb_
+ *
+ *  ^CCxgL
+[ubNÌI[ÉmÛ·éD
+ */
+#define TMEVT_HEAD()	(tmevt_queue[tnum_tmevt_queue])
+#define TMEVT_NULL		((QUEIDX)tnum_tmevt_queue)
+
+/*
+ *  Cxg­¶är}N
+ *
+ *  Cxg­¶ÍCmin_time©çÌÎlÅär·éD·Èí¿C
+ *  min_timeðÅ¬liÅàß¢jCmit_time-1ªÅåliÅà¢j
+ *  ÆÝÈµÄär·éD
+ */
+#define	EVTTIM_LT(t1, t2) (((t1) - min_time) < ((t2) - min_time))
+#define	EVTTIM_LE(t1, t2) (((t1) - min_time) <= ((t2) - min_time))
+
+/*
+ *  ^CCxgÌú»
+ */
+
+#ifdef TOPPERS_tmevtini
+
+void
+initialize_time_event(void)
+{
+	/* ÏÌú» */
+	current_time = 0U;
+	min_time = 0U;
+	
+	/* ^CCxgL
+[Ìú» */
+	queue_initialize(&TMEVT_HEAD() , (QUEIDX)tnum_tmevt_queue);
+}
+
+#endif /* TOPPERS_tmevtini */
+
+/*
+ *  ^CCxgÌo^
+ */
+
+#ifdef TOPPERS_tmevtenq
+
+void
+time_event_enqueue(ID tmevtid , EVTTIM evttim , CBACK callback , uintptr_t arg)
+{
+	QUEIDX pos = TMEVT_HEAD().next;
+	
+	/* }üÊuðõ */
+	while((pos != TMEVT_NULL)
+			&& (EVTTIM_LE(tmevt_time[pos] , evttim))) {
+		pos = tmevt_queue[pos].next;
+	}
+	
+	/* L
+[É}ü */
+	queue_insert_prev(&(tmevt_queue[0]) , pos , (QUEIDX)tmevtid);
+	tmevt_callback[tmevtid] = (CBACK)callback;
+	tmevt_arg[tmevtid] = arg;
+	tmevt_time[tmevtid] = evttim;
+}
+
+#endif /* TOPPERS_tmevtenq */
+
+/*
+ *  ^CCxgÌí
+ */
+
+#ifdef TOPPERS_tmevtdeq
+
+void
+time_event_dequeue(ID tmevtid)
+{
+	/* L
+[©çí */
+	(void)queue_delete_next(&(tmevt_queue[0]) , (QUEIDX)tmevtid);
+}
+
+#endif /* TOPPERS_tmevtdeq */
+
+/*
+ *  VXeÌÊm
+ */
+
+#ifdef TOPPERS_sig_tim
+
+void
+signal_time(void)
+{
+	QUEIDX pos = TMEVT_HEAD().next , evtid;
+	
+	i_lock_cpu();
+	
+	/* »ÝÌXV */
+	current_time += (EVTTIM)TIC_NUME;
+	
+	/* R[obNÌÀs */
+	while((pos != TMEVT_NULL)
+			&& EVTTIM_LT(tmevt_time[pos] , current_time)) {
+		(void)queue_delete_next(&(tmevt_queue[0]) , pos);
+		evtid = pos;
+		pos = tmevt_queue[pos].next;
+		(*tmevt_callback[evtid])(tmevt_arg[evtid]);
+	}
+
+	/* min_timeÌXV */
+	min_time = current_time;
+	
+	i_unlock_cpu();
+}
+
+#endif /* TOPPERS_sig_tim */
Index: /ssp_qb_r5f100le_cs/trunk/extension/time_event.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/extension/time_event.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/extension/time_event.h	(revision 93)
@@ -0,0 +1,108 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2011 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+#ifndef TOPPERS_TIME_EVENT_H
+#define TOPPERS_TIME_EVENT_H
+
+#include "kernel_impl.h"
+#include "queue.h"
+
+/* Cxg */
+typedef ulong_t	EVTTIM;
+
+/*
+ *  ^CCxgR[obNÖ
+ */
+
+typedef void (*CBACK)(uintptr_t arg);
+
+/*
+ *  ^CCxgubN
+ *
+ *  RtBM
+[^ÉæÁÄ¶¬·éD
+ */
+
+/* ^CCxgubNÌTCY */
+extern const uint_t tnum_tmevt_queue;
+
+/* ^CCxgL
+[ */
+extern QUEUE tmevt_queue[];
+
+/* ^CCxgÔ */
+extern EVTTIM tmevt_time[];
+
+/* ^CCxgÌR[obN */
+extern CBACK tmevt_callback[];
+
+/* ^CCxgR[obNÌø */
+extern uintptr_t tmevt_arg[];
+
+
+/* »ÝÌVXe */
+extern EVTTIM current_time;
+
+
+/*
+ *  ^CCxgÌú»
+ */
+extern void
+initialize_time_event(void);
+
+/*
+ *  ^CCxgÌo^
+ */
+extern void
+time_event_enqueue(ID tmevtid , EVTTIM evttim , CBACK callback , uintptr_t arg);
+
+/*
+ *  ^CCxgÌí
+ */
+extern void
+time_event_dequeue(ID tmevtid);
+
+/*
+ *  ^CeBbNÌ
+ */
+extern void
+signal_time(void);
+
+
+#endif	/* TOPPERS_TIME_EVENT_H */
Index: /ssp_qb_r5f100le_cs/trunk/extension/time_manage.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/extension/time_manage.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/extension/time_manage.c	(revision 93)
@@ -0,0 +1,67 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2011 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+/*
+ *		VXeÔÇ
+ */
+
+#include "kernel_impl.h"
+#include "check.h"
+#include "time_event.h"
+
+#ifdef TOPPERS_get_tim
+
+ER
+get_tim(SYSTIM *p_systim)
+{
+	ER		ercd;
+	
+	CHECK_TSKCTX_UNL();
+	
+	t_lock_cpu();
+	*p_systim = current_time;
+	ercd = E_OK;
+	t_unlock_cpu();
+	
+  error_exit:
+	return(ercd);
+}
+
+#endif /* TOPPERS_get_tim */
Index: /ssp_qb_r5f100le_cs/trunk/include/itron.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/include/itron.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/include/itron.h	(revision 93)
@@ -0,0 +1,144 @@
+/*
+ *  TOPPERS Software
+ *      Toyohashi Open Platform for Embedded Real-Time Systems
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2004-2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: itron.h 1014 2008-05-10 08:28:40Z ertl-hiro $
+ */
+
+/*
+ *		ITRONdl¤ÊKèÌf[^^EèE}N
+ *
+ *  ±Ìwb_t@CÍCITRONdl¤ÊKèÌf[^^EèE}NÌ
+ *  ÅCTOPPERS¤Êwb_t@CÉÜÜêÈ¢àÌÌè`ðÜÞDITRONd
+ *  lÆÌÝ·«ðKvÆ·éAvP[VªCN[h·é±Æðz
+ *  èµÄ¢éD
+ *
+ *  AZu¾êÌ\[Xt@C©ç±Ìt@CðCN[h·é
+ *  ÍCTOPPERS_MACRO_ONLYðè`µÄ¨­D±êÉæèC}Nè`ÈOð
+ *  ­æ¤ÉÈÁÄ¢éD
+ */
+
+#ifndef TOPPERS_ITRON_H
+#define TOPPERS_ITRON_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ *  TOPPERS¤Êwb_t@C
+ */
+#include "t_stddef.h"
+
+/*
+ *  ITRONdl¤Êf[^^
+ */
+#ifndef TOPPERS_MACRO_ONLY
+
+#ifdef INT8_MAX
+typedef	int8_t			B;			/* t«8rbg® */
+#endif /* INT8_MAX */
+
+#ifdef UINT8_MAX
+typedef	uint8_t			UB;			/* ³µ8rbg® */
+typedef	uint8_t			VB;			/* ^ªèÜçÈ¢8rbgÌl */
+#endif /* UINT8_MAX */
+
+typedef	int16_t			H;			/* t«16rbg® */
+typedef	uint16_t		UH;			/* ³µ16rbg® */
+typedef	uint16_t		VH;			/* ^ªèÜçÈ¢16rbgÌl */
+
+typedef	int32_t			W;			/* t«32rbg® */
+typedef	uint32_t		UW;			/* ³µ32rbg® */
+typedef	uint32_t		VW;			/* ^ªèÜçÈ¢32rbgÌl */
+
+#ifdef INT64_MAX
+typedef	int64_t			D;			/* t«64rbg® */
+#endif /* INT64_MAX */
+
+#ifdef UINT64_MAX
+typedef	uint64_t		UD;			/* ³µ64rbg® */
+typedef	uint64_t		VD;			/* ^ªèÜçÈ¢64rbgÌl */
+#endif /* UINT64_MAX */
+
+typedef	void			*VP;		/* ^ªèÜçÈ¢àÌÖÌ|C^ */
+
+typedef int_t			INT;		/* ©RÈTCYÌt«® */
+typedef uint_t			UINT;		/* ©RÈTCYÌ³µ® */
+
+typedef bool_t			BOOL;		/* ^Ul */
+
+typedef	intptr_t		VP_INT;		/* |C^Ü½Ít«® */
+
+#endif /* TOPPERS_MACRO_ONLY */
+
+/*
+ *  ITRONdl¤Êè
+ */
+#define	TRUE		true			/* ^ */
+#define	FALSE		false			/* U */
+
+/*
+ *  IuWFNg®«Ìè`
+ */
+#define TA_HLNG			UINT_C(0x00)	/* ¾êpC^tF[X */
+#define TA_TFIFO		UINT_C(0x00)	/* ^XNÌÒ¿sñðFIFOÉ */
+#define TA_MFIFO		UINT_C(0x00)	/* bZ[WL
+[ðFIFOÉ */
+#define TA_WSGL			UINT_C(0x00)	/* Ò¿^XNÍ1ÂÌÝ */
+#define TA_DISINT		UINT_C(0x00)	/* ÝvÖ~tOðZbg */
+#define TA_LEVEL		UINT_C(0x00)	/* xgK */
+
+/*
+ *  lXgñÌÅål
+ */
+#define TMAX_SUSCNT		UINT_C(1)		/* ­§Ò¿vlXgÌÅål */
+
+/*
+ *  ­§Ò¿óÔ©çÌ­§ÄJ
+ */
+#define frsm_tsk(tskid)		rsm_tsk(tskid)
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* TOPPERS_ITRON_H */
Index: /ssp_qb_r5f100le_cs/trunk/include/kernel.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/include/kernel.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/include/kernel.h	(revision 93)
@@ -0,0 +1,274 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2004-2009 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2010-2015 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ *  Copyright (C) 2010-2012 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+/*
+ *		TOPPERS/SSPJ[l Wwb_t@C
+ *
+ *  TOPPERS/SSPJ[lªT|[g·éT[rXR[Ìé¾ÆCKvÈf[
+ *  ^^CèC}NÌè`ðÜÞwb_t@CD
+ *
+ *  AZu¾êÌ\[Xt@C©ç±Ìt@CðCN[h·é
+ *  ÍCTOPPERS_MACRO_ONLYðè`µÄ¨­D±êÉæèC}Nè`ÈOð
+ *  ­æ¤ÉÈÁÄ¢éD
+ *
+ *  ±Ìt@CðCN[h·éOÉCN[hµÄ¨­×«t@C
+ *  ÍÈ¢D
+ */
+
+#ifndef TOPPERS_KERNEL_H
+#define TOPPERS_KERNEL_H
+
+/*
+ *	TOPPERS¤ÊÌf[^^EèE}N
+ */
+#include <t_stddef.h>
+
+/*
+ *  ^[QbgË¶
+ */
+#include "target_kernel.h"
+#ifndef TOPPERS_MACRO_ONLY
+
+/*
+ *  f[^^Ìè`
+ */
+
+/*
+ *  rbgp^[âIuWFNgÔÌ^è`
+ */
+typedef	uint_t			INTNO;		/* ÝÔ */
+typedef	uint_t			INHNO;		/* ÝnhÔ */
+typedef	uint_t			EXCNO;		/* CPUáOnhÔ */
+typedef unsigned long	FLGPTN;		/* CxgtOp^[ */
+
+
+/*
+ *  PÊÌ^è`
+ */
+typedef void	(*TASK)(intptr_t exinf);
+typedef void	(*ISR)(intptr_t exinf);
+typedef void	(*INTHDR)(void);
+typedef void	(*EXCHDR)(void *p_excinf);
+typedef void	(*INIRTN)(intptr_t exinf);
+typedef void	(*TERRTN)(intptr_t exinf);
+typedef void	(*CYCHDR)(intptr_t exinf);
+typedef void	(*ALMHDR)(intptr_t exinf);
+
+/*
+ *  ÌæmÛÌ½ßÌ^è`
+ */
+#ifndef TOPPERS_STK_T
+#define TOPPERS_STK_T	intptr_t
+#endif /* TOPPERS_STK_T */
+typedef	TOPPERS_STK_T	STK_T;	/* X^bNÌæðmÛ·é½ßÌ^ */
+
+
+/*
+ *  T[rXR[Ìé¾
+ */
+
+/*
+ *  ^XNÇ@\
+ */
+extern ER		act_tsk(ID tskid);
+extern ER		iact_tsk(ID tskid);
+
+/*
+ *  ¯úEÊM@\
+ */
+
+/* f[^L
+[ */
+extern ER psnd_dtq(ID dtqid, intptr_t data);
+extern ER ipsnd_dtq(ID dtqid, intptr_t data);
+extern ER prcv_dtq(ID dtqid, intptr_t *p_data);
+
+/* CxgtO */
+extern ER set_flg(ID flgid, FLGPTN setptn);
+extern ER iset_flg(ID flgid, FLGPTN setptn);
+extern ER clr_flg(ID flgid, FLGPTN clrptn);
+extern ER pol_flg(ID flgid, FLGPTN waiptn, MODE wfmode, FLGPTN *p_flgptn);
+
+/*
+ *  VXeóÔÇ@\
+ */
+extern ER		loc_cpu(void);
+extern ER		iloc_cpu(void);
+extern ER		unl_cpu(void);
+extern ER		iunl_cpu(void);
+extern ER		dis_dsp(void);
+extern ER		ena_dsp(void);
+extern bool_t	sns_ctx(void);
+extern bool_t	sns_loc(void);
+extern bool_t	sns_dsp(void);
+extern bool_t	sns_dpn(void);
+extern bool_t	sns_ker(void);
+extern ER		ext_ker(void);
+
+/*
+ *  ÝÇ@\
+ */
+extern ER		dis_int(INTNO intno);
+extern ER		ena_int(INTNO intno);
+
+/*
+ *  üúnh@\
+ */
+extern ER		sta_cyc(ID cycid);
+extern ER		stp_cyc(ID cycid);
+
+/*
+ *  A[nh@\
+ */
+extern ER		sta_alm(ID almid , RELTIM almtim);
+extern ER		ista_alm(ID almid , RELTIM almtim);
+extern ER		stp_alm(ID almid);
+extern ER		istp_alm(ID almid);
+
+/*
+ *  VXeÇ@\
+ */
+extern ER		get_tim(SYSTIM *p_systim);
+
+#endif /* TOPPERS_MACRO_ONLY */
+
+/*
+ *  IuWFNg®«Ìè`
+ */
+#define TA_RSTR			UINT_C(0x04)	/* §ñ^XN */
+
+#define TA_CLR			UINT_C(0x04)	/* CxgtOÌNAwè */
+
+#define TA_ACT			UINT_C(0x02)	/* ^XNðN®³ê½óÔÅ¶¬ */
+
+#define TA_STA			UINT_C(0x02)	/* üúnhð®ìóÔÅ¶¬ */
+
+#define TA_NONKERNEL	UINT_C(0x02)	/* J[lÇOÌÝ */
+
+#define TA_ENAINT		UINT_C(0x01)	/* ÝvÖ~tOðNA */
+#define TA_EDGE			UINT_C(0x02)	/* GbWgK */
+
+/*
+ *  T[rXR[Ì®ì[hÌè`
+ */
+#define TWF_ORW			UINT_C(0x01)	/* CxgtOÌORÒ¿ */
+#define TWF_ANDW		UINT_C(0x02)	/* CxgtOÌANDÒ¿ */
+
+/*
+ *  »Ì¼ÌèÌè`
+ */
+#define TSK_SELF		0			/* ©^XNwè */
+#define TSK_NONE		0			/* Y·é^XNªÈ¢ */
+
+#define TPRI_INI		0			/* ^XNÌN®Dæx */
+
+#define TIPM_ENAALL		0			/* ÝDæx}XNSð */
+
+/*
+ *  \¬èÆ}N
+ */
+
+/*
+ *  DæxÌÍÍ
+ */
+#define TMIN_TPRI		1			/* ^XNDæxÌÅ¬liÅlj*/
+#ifndef TMAX_TPRI
+	#define TMAX_TPRI		16			/* ^XNDæxÌÅåliÅálj*/
+#elif (TMAX_TPRI != 8) && (TMAX_TPRI != 16)
+	#error "TMAX_TPRI must defined 8 or 16."
+#endif	/* TMAX_TPRI */
+
+#define TMIN_ISRPRI		1			/* ÝT[rX[`DæxÌÅ¬l */
+#ifndef TMAX_ISRPRI
+	#define TMAX_ISRPRI		16			/* ÝT[rX[`DæxÌÅål */
+#elif (TMAX_ISRPRI != 8) && (TMAX_ISRPRI != 16)
+	#error "TMAX_ISRPRI must defined 8 or 16."
+#endif	/* TMAX_ISRPRI */
+
+/*
+ *  o[Wîñ
+ */
+#define TKERNEL_MAKER	UINT_C(0x0118)	/* J[lÌ[J[R[h */
+#define TKERNEL_PRID	UINT_C(0x0007)	/* J[lÌ¯ÊÔ */
+#define TKERNEL_SPVER	UINT_C(0xf511)	/* J[ldlÌo[WÔ */
+#define TKERNEL_PRVER	UINT_C(0x1030)	/* J[lÌo[WÔ */
+
+/*
+ *  L
+[COñÌÅål
+ */
+#define TMAX_ACTCNT		UINT_C(1)		/* N®vL
+[COÌÅål */
+
+/*
+ *  rbgp^[Ìrbg
+ */
+#ifndef TBIT_FLGPTN                     /* CxgtOÌrbg */
+#define TBIT_FLGPTN             (sizeof(FLGPTN) * CHAR_BIT)
+#endif /* TBIT_FLGPTN */
+
+/*
+ *  ÌæmÛÌ½ßÌ}N
+ *
+ *  ÈºÌTOPPERS_COUNT_SZÆTOPPERS_ROUND_SZÌè`ÍCunitª2ÌÐæÅ 
+ *  é±Æð¼èµÄ¢éD
+ */
+#ifndef TOPPERS_COUNT_SZ
+#define TOPPERS_COUNT_SZ(sz, unit)	(((sz) + (unit) - 1) / (unit))
+#endif /* TOPPERS_COUNT_SZ */
+#ifndef TOPPERS_ROUND_SZ
+#define TOPPERS_ROUND_SZ(sz, unit)	(((sz) + (unit) - 1) & ~((unit) - 1))
+#endif /* TOPPERS_ROUND_SZ */
+
+#define COUNT_STK_T(sz)		TOPPERS_COUNT_SZ((sz), sizeof(STK_T))
+#define ROUND_STK_T(sz)		TOPPERS_ROUND_SZ((sz), sizeof(STK_T))
+
+/*
+ *  »Ì¼Ì\¬è
+ */
+#define TMAX_MAXCYC             UINT_C(16)        /* üúnhÌÅå */
+#define TMAX_MAXALM             UINT_C(16)        /* A[nhÌÅå */
+
+#endif /* TOPPERS_KERNEL_H */
Index: /ssp_qb_r5f100le_cs/trunk/include/log_output.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/include/log_output.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/include/log_output.h	(revision 93)
@@ -0,0 +1,90 @@
+/*
+ *  TOPPERS Software
+ *      Toyohashi Open Platform for Embedded Real-Time Systems
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2004-2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2015 by Naoki Saito
+ *              Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: log_output.h 1176 2008-07-01 10:24:46Z ertl-hiro $
+ */
+
+/*
+ *		VXeOÌtH[}bgoÍ
+ */
+
+#ifndef TOPPERS_LOG_OUTPUT_H
+#define TOPPERS_LOG_OUTPUT_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <t_syslog.h>
+
+/*
+ *  ¶ñ®`oÍ
+ *
+ *  formatÅwè³êétH[}bgLqÆp_argsÅwè³êéøñ©çì
+ *  ¬µ½bZ[WðC1¶oÍÖputcðp¢ÄoÍ·éD
+ */
+extern void	syslog_printf(const char *format, const intptr_t *p_args,
+										void (*putc)(char)) throw();
+
+/*
+ *  OîñÌoÍ
+ *
+ *  p_syslogÅwè³êéOîñð¶ñÉ®`µC1¶oÍÖputcðp
+ *  ¢ÄoÍ·éD
+ */
+extern void	syslog_print(const SYSLOG *p_syslog, void (*putc)(char)) throw();
+
+/*
+ *  Oîñr¸bZ[W¶ñ
+ *
+ *  lostÂÌOîñª¸íê½|ÌbZ[WðC1¶oÍÖputcðp¢
+ *  ÄoÍ·éD
+ */
+extern void	syslog_lostmsg(uint_t lost, void (*putc)(char)) throw();
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* TOPPERS_LOG_OUTPUT_H */
Index: /ssp_qb_r5f100le_cs/trunk/include/sil.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/include/sil.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/include/sil.h	(revision 93)
@@ -0,0 +1,287 @@
+/*
+ *  TOPPERS Software
+ *      Toyohashi Open Platform for Embedded Real-Time Systems
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2004-2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2015 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: sil.h 883 2008-04-11 10:45:20Z hiro $
+ */
+
+/*
+ *		VXeC^tF[XC
+ *
+ *  VXeC^tF[XCÌT[rXR[Ìè`Eé¾Æ}NÈ
+ *  ÇÌè`ðÜÞwb_t@CD
+ *
+ *  AZu¾êÌ\[Xt@C©ç±Ìt@CðCN[h·é
+ *  ÍCTOPPERS_MACRO_ONLYðè`µÄ¨­±ÆÅC}Nè`ÈOÌLqð
+ *  ­±ÆªÅ«éD
+ *
+ *  ±Ìt@CðCN[h·éOÉCN[hµÄ¨­×«t@C
+ *  ÍÈ¢D
+ */
+
+#ifndef TOPPERS_SIL_H
+#define TOPPERS_SIL_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ *	TOPPERS¤ÊÌf[^^EèE}N
+ */
+#include <t_stddef.h>
+
+/*
+ *  ^[QbgË¶
+ */
+#include "target_sil.h"
+
+#ifndef TOPPERS_MACRO_ONLY
+
+/*
+ *  SÝbNóÔÌ§ä
+ *
+ *  SIL_PRE_LOCCSIL_LOC_INT()CSIL_UNL_INT()ÍC^[QbgË¶Åp
+ *  Ó·éDftHgÌè`ÍpÓµÄ¢È¢D
+ */
+
+/*
+ *  ÷­ÔÒ¿
+ */
+extern void	sil_dly_nse(ulong_t dlytim) throw();
+
+/*
+ *  GfBAÌ½]
+ */
+#ifndef TOPPERS_SIL_REV_ENDIAN_UINT16
+#define	TOPPERS_SIL_REV_ENDIAN_UINT16(data) \
+				((((data) & 0xffU) << 8U) | (((data) >> 8U) & 0xffU))
+#endif /* TOPPERS_SIL_REV_ENDIAN_UINT16 */
+
+#ifndef TOPPERS_SIL_REV_ENDIAN_UINT32
+#define	TOPPERS_SIL_REV_ENDIAN_UINT32(data) \
+				((((data) & 0xffU) << 24U) | (((data) & 0xff00U) << 8U) \
+					| (((data) >> 8U) & 0xff00U) | (((data) >> 24U) & 0xffU))
+#endif /* TOPPERS_SIL_REV_ENDIAN_UINT32 */
+
+/*
+ *  óÔANZXÖ
+ */
+#ifndef TOPPERS_OMIT_SIL_ACCESS
+
+/*
+ *  8rbgPÊÌÇoµ^Ý
+ */
+#ifdef UINT8_MAX
+
+Inline uint8_t
+sil_reb_mem(void *mem)
+{
+	uint8_t	data;
+
+	data = *((volatile uint8_t *) mem);
+	return(data);
+}
+
+Inline void
+sil_wrb_mem(void *mem, uint8_t data)
+{
+	*((volatile uint8_t *) mem) = data;
+}
+
+#endif /* UINT8_MAX */
+
+/*
+ *  16rbgPÊÌÇoµ^Ý
+ */
+
+Inline uint16_t
+sil_reh_mem(void *mem)
+{
+	uint16_t	data;
+
+	data = *((volatile uint16_t *) mem);
+	return(data);
+}
+
+Inline void
+sil_wrh_mem(void *mem, uint16_t data)
+{
+	*((volatile uint16_t *) mem) = data;
+}
+
+#ifdef SIL_ENDIAN_BIG			/* rbOGfBAvZbT */
+
+#define	sil_reh_bem(mem)		sil_reh_mem(mem)
+#define	sil_wrh_bem(mem, data)	sil_wrh_mem(mem, data)
+
+#ifndef TOPPERS_OMIT_SIL_REH_LEM
+
+Inline uint16_t
+sil_reh_lem(void *mem)
+{
+	uint16_t	data;
+
+	data = *((volatile uint16_t *) mem);
+	return(TOPPERS_SIL_REV_ENDIAN_UINT16(data));
+}
+
+#endif /* TOPPERS_OMIT_SIL_REH_LEM */
+#ifndef TOPPERS_OMIT_SIL_WRH_LEM
+
+Inline void
+sil_wrh_lem(void *mem, uint16_t data)
+{
+	*((volatile uint16_t *) mem) = TOPPERS_SIL_REV_ENDIAN_UINT16(data);
+}
+
+#endif /* TOPPERS_OMIT_SIL_WRH_LEM */
+#else /* SIL_ENDIAN_BIG */		/* gGfBAvZbT */
+
+#define	sil_reh_lem(mem)		sil_reh_mem((mem))
+#define	sil_wrh_lem(mem, data)	sil_wrh_mem((mem), (data))
+
+#ifndef TOPPERS_OMIT_SIL_REH_BEM
+
+Inline uint16_t
+sil_reh_bem(void *mem)
+{
+	uint16_t	data;
+
+	data = *((volatile uint16_t *) mem);
+	return(TOPPERS_SIL_REV_ENDIAN_UINT16(data));
+}
+
+#endif /* TOPPERS_OMIT_SIL_REH_BEM */
+#ifndef TOPPERS_OMIT_SIL_WRH_BEM
+
+Inline void
+sil_wrh_bem(void *mem, uint16_t data)
+{
+	*((volatile uint16_t *) mem) = TOPPERS_SIL_REV_ENDIAN_UINT16(data);
+}
+
+#endif /* TOPPERS_OMIT_SIL_WRH_BEM */
+#endif /* SIL_ENDIAN_BIG */
+
+/*
+ *  32rbgPÊÌÇoµ^Ý
+ */
+
+Inline uint32_t
+sil_rew_mem(void *mem)
+{
+	uint32_t	data;
+
+	data = *((volatile uint32_t *) mem);
+	return(data);
+}
+
+Inline void
+sil_wrw_mem(void *mem, uint32_t data)
+{
+	*((volatile uint32_t *) mem) = data;
+}
+
+#ifdef SIL_ENDIAN_BIG			/* rbOGfBAvZbT */
+
+#define	sil_rew_bem(mem)		sil_rew_mem(mem)
+#define	sil_wrw_bem(mem, data)	sil_wrw_mem(mem, data)
+
+#ifndef TOPPERS_OMIT_SIL_REW_LEM
+
+Inline uint32_t
+sil_rew_lem(void *mem)
+{
+	uint32_t	data;
+
+	data = *((volatile uint32_t *) mem);
+	return(TOPPERS_SIL_REV_ENDIAN_UINT32(data));
+}
+
+#endif /* TOPPERS_OMIT_SIL_REW_LEM */
+#ifndef TOPPERS_OMIT_SIL_WRW_LEM
+
+Inline void
+sil_wrw_lem(void *mem, uint32_t data)
+{
+	*((volatile uint32_t *) mem) = TOPPERS_SIL_REV_ENDIAN_UINT32(data);
+}
+
+#endif /* TOPPERS_OMIT_SIL_WRW_LEM */
+#else /* SIL_ENDIAN_BIG */		/* gGfBAvZbT */
+
+#define	sil_rew_lem(mem)		sil_rew_mem((mem))
+#define	sil_wrw_lem(mem, data)	sil_wrw_mem((mem), (data))
+
+#ifndef TOPPERS_OMIT_SIL_REW_BEM
+
+Inline uint32_t
+sil_rew_bem(void *mem)
+{
+	uint32_t	data;
+
+	data = *((volatile uint32_t *) mem);
+	return(TOPPERS_SIL_REV_ENDIAN_UINT32(data));
+}
+
+#endif /* TOPPERS_OMIT_SIL_REW_BEM */
+#ifndef TOPPERS_OMIT_SIL_WRW_BEM
+
+Inline void
+sil_wrw_bem(void *mem, uint32_t data)
+{
+	*((volatile uint32_t *) mem) = TOPPERS_SIL_REV_ENDIAN_UINT32(data);
+}
+
+#endif /* TOPPERS_OMIT_SIL_WRW_BEM */
+#endif /* SIL_ENDIAN_BIG */
+#endif /* TOPPERS_OMIT_SIL_ACCESS */
+
+#endif /* TOPPERS_MACRO_ONLY */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* TOPPERS_SIL_H */
Index: /ssp_qb_r5f100le_cs/trunk/include/t_stddef.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/include/t_stddef.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/include/t_stddef.h	(revision 93)
@@ -0,0 +1,283 @@
+/*
+ *  TOPPERS Software
+ *      Toyohashi Open Platform for Embedded Real-Time Systems
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2004-2009 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2015 by Naoki Saito
+ *              Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: t_stddef.h 1513 2009-04-22 07:35:20Z ertl-hiro $
+ */
+
+/*
+ *		TOPPERS¤Êwb_t@C
+ *
+ *  TOPPERSÖAÌ·×ÄÌ\[Xt@CÅCN[h·×«wb_t@C
+ *  DeíÌJ[lâ\tgEFAiÅ¤ÊÉp¢é±ÆðzèµÄ¢
+ *  éDTOPPERSÌeíÌJ[lâ\tgEFAiÅ¤ÊÉp¢éf[^^C
+ *  èC}NÌè`ÈÇðÜÞD
+ *
+ *  AZu¾êÌ\[Xt@C©ç±Ìt@CðCN[h·é
+ *  ÍCTOPPERS_MACRO_ONLYðè`µÄ¨­D±êÉæèC}Nè`ÈOð
+ *  ­æ¤ÉÈÁÄ¢éD
+ *
+ *  ±Ìt@CðCN[h·éOÉCN[hµÄ¨­×«t@C
+ *  ÍÈ¢D
+ */
+
+#ifndef TOPPERS_T_STDDEF_H
+#define TOPPERS_T_STDDEF_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ *  ^[QbgË¶
+ */
+#include "target_stddef.h"
+
+/*
+ *  C¾ê/EC++Åthrow()ÉÎ·é½ßÌè`
+ */
+#if !defined(__cplusplus) || defined(__embedded_cplusplus)
+#define throw()
+#endif
+
+#ifndef TOPPERS_MACRO_ONLY
+
+/*
+ *  ^[QbgË¶Ìf[^^Ì}NÌftHgè`
+ */
+#ifndef TOPPERS_bool
+#define TOPPERS_bool	int				/* u[^ */
+#endif /* TOPPERS_bool */
+
+#ifndef TOPPERS_size
+#define TOPPERS_size	uintptr_t		/* TCY^ */
+#endif /* TOPPERS_size */
+
+#ifndef TOPPERS_fp
+struct TOPPERS_dummy_t { int TOPPERS_dummy_field; };
+typedef	void			(*TOPPERS_fp_t)(struct TOPPERS_dummy_t);
+#define TOPPERS_fp		TOPPERS_fp_t	/* vOÌN®Ôn */
+#endif /* TOPPERS_fp */
+
+/*
+ *  ¤Êf[^^
+ */
+typedef TOPPERS_bool	bool_t;		/* ^Ul */
+
+typedef signed int		int_t;		/* ©RÈTCYÌt«® */
+typedef unsigned int	uint_t;		/* ©RÈTCYÌ³µ® */
+
+typedef signed long		long_t;		/* ·ßÌTCYÌt«® */
+typedef unsigned long	ulong_t;	/* ·ßÌTCYÌ³µ® */
+
+typedef int_t			FN;			/* @\R[h */
+typedef	int_t			ER;			/* G[R[h */
+typedef	int_t			ID;			/* IuWFNgÌIDÔ */
+typedef	uint_t			ATR;		/* IuWFNgÌ®« */
+typedef	uint_t			STAT;		/* IuWFNgÌóÔ */
+typedef	uint_t			MODE;		/* T[rXR[Ì®ì[h */
+typedef	int_t			PRI;		/* Dæx */
+typedef	TOPPERS_size	SIZE;		/* ÌæÌTCY */
+
+typedef	int_t			TMO;		/* ^CAEgwè */
+typedef	uint_t			RELTIM;		/* ÎÔ */
+typedef	ulong_t			SYSTIM;		/* VXe */
+typedef	ulong_t			SYSUTM;		/* «\]¿pVXe */
+
+typedef	TOPPERS_fp		FP;			/* vOÌN®Ôn */
+
+typedef	int_t			ER_BOOL;	/* G[R[hÜ½Í^Ul */
+typedef	int_t			ER_ID;		/* G[R[hÜ½ÍIDÔ */
+typedef	int_t			ER_UINT;	/* G[R[hÜ½Í³µ® */
+
+typedef	uint32_t		ACPTN;		/* ANZXÂp^[ */
+typedef	struct acvct {				/* ANZXÂxN^ */
+	ACPTN		acptn1;				/* Êíì1ÌANZXÂp^[ */
+	ACPTN		acptn2;				/* Êíì2ÌANZXÂp^[ */
+	ACPTN		acptn3;				/* ÇìÌANZXÂp^[ */
+	ACPTN		acptn4;				/* QÆìÌANZXÂp^[ */
+} ACVCT;
+
+#endif /* TOPPERS_MACRO_ONLY */
+
+/*
+ *  ®èðìé}N
+ */
+#ifndef UINT_C
+#define UINT_C(val)		(val ## U)		/* uint_t^Ìèðìé}N */
+#endif /* UINT_C */
+
+#ifndef ULONG_C
+#define ULONG_C(val)	(val ## UL)		/* ulong_t^Ìèðìé}N */
+#endif /* ULONG_C */
+
+/*
+ *  êÊè
+ */
+#ifndef NULL
+#define NULL		0			/* ³ø|C^ */
+#endif /* NULL */
+
+#ifndef true
+#define true		1			/* ^ */
+#endif /* true */
+
+#ifndef false
+#define false		0			/* U */
+#endif /* false */
+
+#define E_OK		0			/* ³íI¹ */
+
+/*
+ *  CG[R[h
+ */
+#define E_SYS		(-5)		/* VXeG[ */
+#define E_NOSPT		(-9)		/* ¢T|[g@\ */
+#define E_RSFN		(-10)		/* \ñ@\R[h */
+#define E_RSATR		(-11)		/* \ñ®« */
+#define E_PAR		(-17)		/* p[^G[ */
+#define E_ID		(-18)		/* s³IDÔ */
+#define E_CTX		(-25)		/* ReLXgG[ */
+#define E_MACV		(-26)		/* ANZXá½ */
+#define E_OACV		(-27)		/* IuWFNgANZXá½ */
+#define E_ILUSE		(-28)		/* T[rXR[s³gp */
+#define E_NOMEM		(-33)		/* s« */
+#define E_NOID		(-34)		/* IDÔs« */
+#define E_NORES		(-35)		/* ¹s« */
+#define E_OBJ		(-41)		/* IuWFNgóÔG[ */
+#define E_NOEXS		(-42)		/* IuWFNg¢¶¬ */
+#define E_QOVR		(-43)		/* L
+[COI[o[t[ */
+#define E_RLWAI		(-49)		/* Ò¿óÔÌ­§ð */
+#define E_TMOUT		(-50)		/* |[O¸sÜ½Í^CAEg */
+#define E_DLT		(-51)		/* Ò¿IuWFNgÌí */
+#define E_CLS		(-52)		/* Ò¿IuWFNgÌóÔÏ» */
+#define E_WBLK		(-57)		/* mubLOót¯ */
+#define E_BOVR		(-58)		/* obt@I[o[t[ */
+
+/*
+ *  IuWFNg®«
+ */
+#define TA_NULL		UINT_C(0)	/* IuWFNg®«ðwèµÈ¢ */
+
+/*
+ *  ^CAEgwè
+ */
+#define TMO_POL		0			/* |[O */
+#define TMO_FEVR	(-1)		/* ivÒ¿ */
+#define TMO_NBLK	(-2)		/* mubLO */
+
+/*
+ *  ANZXÂp^[
+ */
+#define TACP_KERNEL		(0U)	/* J[lhC¾¯ÉANZXðÂ */
+#define TACP_SHARED		(~0U)	/* ·×ÄÌhC©çANZXðÂ */
+
+/*
+ *  ^ÉÖ·éîñðæèo·½ßÌ}N
+ */
+#ifndef offsetof
+#define	offsetof(structure, field)	((uintptr_t) &(((structure *) 0)->field))
+#endif /* offsetof */
+
+#ifndef alignof
+#define alignof(type)	offsetof(struct { char field1; type field2; }, field2)
+#endif /* alignof */
+
+#ifndef ALIGN_TYPE				/* ACgÌ`FbN */
+#define ALIGN_TYPE(addr, type) \
+						((((uintptr_t)(addr)) & (alignof(type) - 1)) == 0U)
+#endif /* ALIGN_TYPE */
+
+/*
+ *  assert}N
+ */
+#undef assert
+#ifndef NDEBUG
+#define assert(exp)		((void)((exp) ? 0 : (TOPPERS_assert_fail(#exp, \
+							__FILE__, __LINE__), TOPPERS_assert_abort(), 0)))
+#else /* NDEBUG */
+#define assert(exp)		((void) 0)
+#endif /* NDEBUG */
+
+#ifdef __cplusplus
+}
+#endif
+
+/*
+ *  G[R[h¶¬Eªð}N
+ *
+ *  ÈºÌ}Nè`ÍCt«®ª2ÌâÅ\»³êÄ¨èCEVtg
+ *  Zqi>>jªZpVtg³êé±Æð¼èµÄ¢éD»¤ÅÈ¢J­Â
+ *  «ÅÍCtarget_stddef.hÅ±êçÌè`ðã«µÈ¯êÎÈçÈ¢D
+ *
+ *  MERCD}NÌè`ÍCCG[R[hªÅ é±Æð¼èµÄ¢éD
+ *  »¤ÅÈ¢êC2ÂÌè`ªêvµÈ­ÈéD
+ */
+#ifndef ERCD
+#define ERCD(mercd, sercd) \
+				((ER)(((((uint_t) (sercd))) << 8) | ((((uint_t) (mercd))) & 0xffU)))
+#endif /* ERCD */
+
+#ifndef MERCD
+#ifdef INT8_MAX
+#define MERCD(ercd)		((ER)((int8_t)(ercd)))
+#else /* INT8_MAX */
+#define MERCD(ercd)		((ER)((((uint_t) (ercd))) | ~0xffU))
+#endif /* INT8_MAX */
+#endif /* MERCD */
+
+#ifndef SERCD
+#define SERCD(ercd)		((ER)((ercd) >> 8))
+#endif /* SERCD */
+
+/*
+ *  ÎÔiRELTIMjÉwèÅ«éÅål
+ */
+#if UINT_MAX < LONG_MAX
+#define TMAX_RELTIM		((RELTIM) UINT_MAX)
+#else /* UINT_MAX < LONG_MAX */
+#define TMAX_RELTIM		((RELTIM) LONG_MAX)
+#endif /* UINT_MAX < LONG_MAX */
+
+#endif /* TOPPERS_T_STDDEF_H */
Index: /ssp_qb_r5f100le_cs/trunk/include/t_syslog.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/include/t_syslog.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/include/t_syslog.h	(revision 93)
@@ -0,0 +1,329 @@
+/*
+ *  TOPPERS/ASP Kernel
+ *      Toyohashi Open Platform for Embedded Real-Time Systems/
+ *      Advanced Standard Profile Kernel
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2004-2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: t_syslog.h 1900 2010-08-14 02:31:44Z ertl-hiro $
+ */
+
+/*
+ *		VXeOoÍðs¤½ßÌè`
+ *
+ *  VXeOT[rXÍCVXeÌOîñðoÍ·é½ßÌT[rX
+ *  Å éDJ[l©çÌOîñÌoÍÉàp¢é½ßCàÅÒ¿óÔ
+ *  ÉÍ¢é±ÆÍÈ¢D
+ *
+ *  OîñÍCJ[làÌOobt@É«Þ©CáxÌ¶o
+ *  ÍÖðp¢ÄoÍ·éDÇ¿çðg¤©ÍCg£T[rXR[ÅØè
+ *  ·¦é±ÆªÅ«éD
+ *
+ *  Oobt@ÌæªI[ot[µ½êÉÍCÃ¢OîñðÁµÄã
+ *  «·éD
+ *
+ *  AZu¾êÌ\[Xt@C©ç±Ìt@CðCN[h·é
+ *  ÍCTOPPERS_MACRO_ONLYðè`µÄ¨­±ÆÅC}Nè`ÈOÌLqð
+ *  ­±ÆªÅ«éD
+ *
+ *  ±Ìt@CðCN[h·éOÉCt_stddef.hðCN[hµÄ¨
+ *  ­±ÆªKvÅ éD
+ */
+
+#ifndef TOPPERS_T_SYSLOG_H
+#define TOPPERS_T_SYSLOG_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ *  OîñÌíÊÌè`
+ */
+#define LOG_TYPE_COMMENT	UINT_C(0x01)	/* Rg */
+#define LOG_TYPE_ASSERT		UINT_C(0x02)	/* AT[VÌ¸s */
+
+#define LOG_TYPE_INH		UINT_C(0x11)	/* Ýnh */
+#define LOG_TYPE_ISR		UINT_C(0x12)	/* ÝT[rX[` */
+#define LOG_TYPE_CYC		UINT_C(0x13)	/* üúnh */
+#define LOG_TYPE_ALM		UINT_C(0x14)	/* A[nh */
+#define LOG_TYPE_OVR		UINT_C(0x15)	/* I[onh */
+#define LOG_TYPE_EXC		UINT_C(0x16)	/* CPUáOnh */
+#define LOG_TYPE_TEX		UINT_C(0x17)	/* ^XNáO[` */
+#define LOG_TYPE_TSKSTAT	UINT_C(0x18)	/* ^XNóÔÏ» */
+#define LOG_TYPE_DSP		UINT_C(0x19)	/* fBXpb` */
+#define LOG_TYPE_SVC		UINT_C(0x1a)	/* T[rXR[ */
+
+#define LOG_ENTER			UINT_C(0x00)	/* üû^Jn */
+#define LOG_LEAVE			UINT_C(0x80)	/* oû^I¹ */
+
+/*
+ *  OîñÌdvxÌè`
+ */
+#define LOG_EMERG			UINT_C(0)		/* Vbg_EÉl·éG[ */
+#define LOG_ALERT			UINT_C(1)
+#define LOG_CRIT			UINT_C(2)
+#define LOG_ERROR			UINT_C(3)		/* VXeG[ */
+#define LOG_WARNING			UINT_C(4)		/* xbZ[W */
+#define LOG_NOTICE			UINT_C(5)
+#define LOG_INFO			UINT_C(6)
+#define LOG_DEBUG			UINT_C(7)		/* fobOpbZ[W */
+
+#ifndef TOPPERS_MACRO_ONLY
+
+/*
+ *  OîñÌf[^\¢
+ */
+
+#define TMAX_LOGINFO	6
+
+typedef struct {
+	uint_t		logtype;				/* OîñÌíÊ */
+	SYSTIM		logtim;					/* O */
+	intptr_t	loginfo[TMAX_LOGINFO];	/* »Ì¼ÌOîñ */
+} SYSLOG;
+
+/*
+ *  OîñÌdvxÌrbg}bvðìé½ßÌ}N
+ */
+#define LOG_MASK(prio)		(1U << (prio))
+#define LOG_UPTO(prio)		((1U << ((prio) + 1)) - 1)
+
+/*
+ *  OîñðoÍ·é½ßÌCuÖ
+ */
+
+#ifndef TOPPERS_OMIT_SYSLOG
+
+extern ER	syslog_wri_log(uint_t prio, const SYSLOG *p_syslog) throw();
+
+Inline void
+_syslog_0(uint_t prio, uint_t type)
+{
+	SYSLOG	syslog;
+
+	syslog.logtype = type;
+	(void) syslog_wri_log(prio, &syslog);
+}
+
+Inline void
+_syslog_1(uint_t prio, uint_t type, intptr_t arg1)
+{
+	SYSLOG	syslog;
+
+	syslog.logtype = type;
+	syslog.loginfo[0] = arg1;
+	(void) syslog_wri_log(prio, &syslog);
+}
+
+Inline void
+_syslog_2(uint_t prio, uint_t type, intptr_t arg1, intptr_t arg2)
+{
+	SYSLOG	syslog;
+
+	syslog.logtype = type;
+	syslog.loginfo[0] = arg1;
+	syslog.loginfo[1] = arg2;
+	(void) syslog_wri_log(prio, &syslog);
+}
+
+Inline void
+_syslog_3(uint_t prio, uint_t type, intptr_t arg1, intptr_t arg2,
+														intptr_t arg3)
+{
+	SYSLOG	syslog;
+
+	syslog.logtype = type;
+	syslog.loginfo[0] = arg1;
+	syslog.loginfo[1] = arg2;
+	syslog.loginfo[2] = arg3;
+	(void) syslog_wri_log(prio, &syslog);
+}
+
+Inline void
+_syslog_4(uint_t prio, uint_t type, intptr_t arg1, intptr_t arg2,
+										intptr_t arg3, intptr_t arg4)
+{
+	SYSLOG	syslog;
+
+	syslog.logtype = type;
+	syslog.loginfo[0] = arg1;
+	syslog.loginfo[1] = arg2;
+	syslog.loginfo[2] = arg3;
+	syslog.loginfo[3] = arg4;
+	(void) syslog_wri_log(prio, &syslog);
+}
+
+Inline void
+_syslog_5(uint_t prio, uint_t type, intptr_t arg1, intptr_t arg2,
+							intptr_t arg3, intptr_t arg4, intptr_t arg5)
+{
+	SYSLOG	syslog;
+
+	syslog.logtype = type;
+	syslog.loginfo[0] = arg1;
+	syslog.loginfo[1] = arg2;
+	syslog.loginfo[2] = arg3;
+	syslog.loginfo[3] = arg4;
+	syslog.loginfo[4] = arg5;
+	(void) syslog_wri_log(prio, &syslog);
+}
+
+Inline void
+_syslog_6(uint_t prio, uint_t type, intptr_t arg1, intptr_t arg2,
+				intptr_t arg3, intptr_t arg4, intptr_t arg5, intptr_t arg6)
+{
+	SYSLOG	syslog;
+
+	syslog.logtype = type;
+	syslog.loginfo[0] = arg1;
+	syslog.loginfo[1] = arg2;
+	syslog.loginfo[2] = arg3;
+	syslog.loginfo[3] = arg4;
+	syslog.loginfo[4] = arg5;
+	syslog.loginfo[5] = arg6;
+	(void) syslog_wri_log(prio, &syslog);
+}
+
+/*
+ *  OîñiRgjðoÍ·é½ßÌCuÖivasyslog.cj
+ */
+extern void	syslog(uint_t prio, const char *format, ...) throw();
+
+#else /* TOPPERS_OMIT_SYSLOG */
+
+/*
+ *  VXeOoÍð}~·éê
+ */
+
+Inline void
+_syslog_0(uint_t prio, uint_t type)
+{
+}
+
+Inline void
+_syslog_1(uint_t prio, uint_t type, intptr_t arg1)
+{
+}
+
+Inline void
+_syslog_2(uint_t prio, uint_t type, intptr_t arg1, intptr_t arg2)
+{
+}
+
+Inline void
+_syslog_3(uint_t prio, uint_t type, intptr_t arg1, intptr_t arg2,
+														intptr_t arg3)
+{
+}
+
+Inline void
+_syslog_4(uint_t prio, uint_t type, intptr_t arg1, intptr_t arg2,
+										intptr_t arg3, intptr_t arg4)
+{
+}
+
+Inline void
+_syslog_5(uint_t prio, uint_t type, intptr_t arg1, intptr_t arg2,
+							intptr_t arg3, intptr_t arg4, intptr_t arg5)
+{
+}
+
+Inline void
+_syslog_6(uint_t prio, uint_t type, intptr_t arg1, intptr_t arg2,
+				intptr_t arg3, intptr_t arg4, intptr_t arg5, intptr_t arg6)
+{
+}
+
+Inline void
+syslog(uint_t prio, const char *format, ...)
+{
+}
+
+#endif /* TOPPERS_OMIT_SYSLOG */
+
+/*
+ *  OîñiRgjðoÍ·é½ßÌ}N
+ *
+ *  format¨æÑã±Ìø©çì¬µ½bZ[WðCdåxprioÅOî
+ *  ñÆµÄoÍ·é½ßÌ}NDarg1`argnÍintptr_t^ÉLXg·é
+ *  ½ßCintptr_t^É^Ï·Å«éCÓÌ^Åæ¢D
+ */
+
+#define syslog_0(prio, format) \
+				_syslog_1(prio, LOG_TYPE_COMMENT, (intptr_t) format)
+
+#define syslog_1(prio, format, arg1) \
+				_syslog_2(prio, LOG_TYPE_COMMENT, (intptr_t) format, \
+														(intptr_t)(arg1))
+
+#define syslog_2(prio, format, arg1, arg2) \
+				_syslog_3(prio, LOG_TYPE_COMMENT, (intptr_t) format, \
+										(intptr_t)(arg1), (intptr_t)(arg2))
+
+#define syslog_3(prio, format, arg1, arg2, arg3) \
+				_syslog_4(prio, LOG_TYPE_COMMENT, (intptr_t) format, \
+						(intptr_t)(arg1), (intptr_t)(arg2), (intptr_t)(arg3))
+
+#define syslog_4(prio, format, arg1, arg2, arg3, arg4) \
+				_syslog_5(prio, LOG_TYPE_COMMENT, (intptr_t) format, \
+						(intptr_t)(arg1), (intptr_t)(arg2), (intptr_t)(arg3), \
+														(intptr_t)(arg4))
+
+#define syslog_5(prio, format, arg1, arg2, arg3, arg4, arg5) \
+				_syslog_6(prio, LOG_TYPE_COMMENT, (intptr_t) format, \
+						(intptr_t)(arg1), (intptr_t)(arg2), (intptr_t)(arg3), \
+										(intptr_t)(arg4), (intptr_t)(arg5))
+
+/*
+ *  OîñiAT[VÌ¸sjðoÍ·é½ßÌ}N
+ */
+#ifndef TOPPERS_assert_fail
+#define TOPPERS_assert_fail(exp, file, line) \
+				_syslog_3(LOG_EMERG, LOG_TYPE_ASSERT, (intptr_t)(file), \
+										(intptr_t)(line), (intptr_t)(exp))
+#endif /* TOPPERS_assert_fail */
+
+#endif /* TOPPERS_MACRO_ONLY */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* TOPPERS_T_SYSLOG_H */
Index: /ssp_qb_r5f100le_cs/trunk/kernel/Makefile.kernel
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/kernel/Makefile.kernel	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/kernel/Makefile.kernel	(revision 93)
@@ -0,0 +1,104 @@
+#
+#  TOPPERS/ASP Kernel
+#      Toyohashi Open Platform for Embedded Real-Time Systems/
+#      Advanced Standard Profile Kernel
+# 
+#  Copyright (C) 2003 by Embedded and Real-Time Systems Laboratory
+#                              Toyohashi Univ. of Technology, JAPAN
+#  Copyright (C) 2005-2008 by Embedded and Real-Time Systems Laboratory
+#              Graduate School of Information Science, Nagoya Univ., JAPAN
+#  Copyright (C) 2010 by Meika Sugimoto
+#  Copyright (C) 2015 by Naoki Saito
+#             Nagoya Municipal Industrial Research Institute, JAPAN
+# 
+#  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+#  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+#  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+#  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+#       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+#      XR[hÉÜÜêÄ¢é±ÆD
+#  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+#      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+#      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+#      Ì³ÛØKèðfÚ·é±ÆD
+#  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+#      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+#      ÆD
+#    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+#        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+#    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+#        ñ·é±ÆD
+#  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+#      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+#      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+#      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+#      ÆÓ·é±ÆD
+# 
+#  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+#  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+#  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+#  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+#  ÌÓCðíÈ¢D
+# 
+
+#
+#		J[lÌt@C\¬Ìè`
+#
+
+#
+#  1ÂÌ\[Xt@C©ç¡ÌIuWFNgt@Cð¶¬·éæ¤Éì
+#  ¬³ê½\[Xt@CÌXg
+#
+KERNEL_FCSRCS = startup.c task.c task_manage.c					\
+				interrupt.c exception.c sys_manage.c cyclic.c	\
+				alarm.c time_manage.c time_event.c \
+				eventflag.c dataqueue.c
+
+#
+#  e\[Xt@C©ç¶¬³êéIuWFNgt@CÌXg
+#
+startup = sta_ker.o ext_ker.o
+
+task = tskini.o get_ipri.o get_ipriself.o tsksched.o \
+			tskact.o tskrun.o tskdsp.o tskdmt.o
+
+time_event = tmevtini.o tmevtenq.o tmevtdeq.o sig_tim.o
+
+task_manage = act_tsk.o iact_tsk.o
+
+time_manage = get_tim.o
+
+eventflag = iniflg.o set_flg.o iset_flg.o clr_flg.o pol_flg.o
+
+dataqueue = dtqini.o dtqenq.o dtqdeq.o psnd_dtq.o ipsnd_dtq.o prcv_dtq.o
+
+cyclic = cycini.o sta_cyc.o stp_cyc.o cyccal.o
+
+alarm = almini.o sta_alm.o ista_alm.o stp_alm.o istp_alm.o almcal.o
+
+sys_manage = loc_cpu.o iloc_cpu.o unl_cpu.o iunl_cpu.o dis_dsp.o ena_dsp.o \
+		sns_ctx.o sns_loc.o sns_dsp.o sns_dpn.o sns_ker.o
+
+interrupt = intini.o dis_int.o ena_int.o
+
+exception = excini.o
+
+#
+#  ¶¬³êéIuWFNgt@CÌË¶ÖWÌè`
+#
+$(startup) $(startup:.o=.s) $(startup:.o=.d): startup.c
+$(task) $(task:.o=.s) $(task:.o=.d): task.c
+$(time_event) $(time_event:.o=.s) $(time_event:.o=.d): time_event.c
+$(task_manage) $(task_manage:.o=.s) $(task_manage:.o=.d): task_manage.c
+$(time_manage) $(time_manage:.o=.s) $(time_manage:.o=.d): time_manage.c
+$(eventflag) $(eventflag:.o=.s) $(eventflag:.o=.d): eventflag.c
+$(dataqueue) $(dataqueue:.o=.s) $(dataqueue:.o=.d): dataqueue.c
+$(cyclic) $(cyclic:.o=.s) $(cyclic:.o=.d): cyclic.c
+$(alarm) $(alarm:.o=.s) $(alarm:.o=.d): alarm.c
+$(sys_manage) $(sys_manage:.o=.s) $(sys_manage:.o=.d): sys_manage.c
+$(interrupt) $(interrupt:.o=.s) $(interrupt:.o=.d): interrupt.c
+$(exception) $(exception:.o=.s) $(exception:.o=.d): exception.c
Index: /ssp_qb_r5f100le_cs/trunk/kernel/allfunc.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/kernel/allfunc.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/kernel/allfunc.h	(revision 93)
@@ -0,0 +1,131 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2005-2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2010-2015 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ *  Copyright (C) 2011-2012 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+/*
+ *		·×ÄÌÖðRpC·é½ßÌè`
+ */
+
+#ifndef TOPPERS_ALLFUNC_H
+#define TOPPERS_ALLFUNC_H
+
+/* startup.c */
+#define TOPPERS_sta_ker
+#define TOPPERS_ext_ker
+
+/* task.c */
+#define TOPPERS_get_ipriself
+#define TOPPERS_get_ipri
+#define TOPPERS_tskini
+#define TOPPERS_tsksched
+#define TOPPERS_tskrun
+#define TOPPERS_tskdsp
+#define TOPPERS_tskact
+#define TOPPERS_tskdmt
+
+
+/* task_manage.c */
+#define TOPPERS_act_tsk
+#define TOPPERS_iact_tsk
+
+/* sys_manage.c */
+#define TOPPERS_loc_cpu
+#define TOPPERS_iloc_cpu
+#define TOPPERS_unl_cpu
+#define TOPPERS_iunl_cpu
+#define TOPPERS_dis_dsp
+#define TOPPERS_ena_dsp
+#define TOPPERS_sns_ctx
+#define TOPPERS_sns_loc
+#define TOPPERS_sns_dsp
+#define TOPPERS_sns_dpn
+#define TOPPERS_sns_ker
+
+/* interrupt.c */
+#define TOPPERS_intini
+#define TOPPERS_dis_int
+#define TOPPERS_ena_int
+
+/* exception.c */
+#define TOPPERS_excini
+
+/* time_event.c */
+#define TOPPERS_tmevtini
+#define TOPPERS_tmevtenq
+#define TOPPERS_tmevtdeq
+#define TOPPERS_sig_tim
+
+/* cyclic.c */
+#define TOPPERS_cycini
+#define TOPPERS_sta_cyc
+#define TOPPERS_stp_cyc
+#define TOPPERS_cyccal
+
+/* alarm.c */
+#define TOPPERS_almini
+#define TOPPERS_sta_alm
+#define TOPPERS_ista_alm
+#define TOPPERS_stp_alm
+#define TOPPERS_istp_alm
+#define TOPPERS_almcal
+
+/* time_manage.c */
+#define TOPPERS_get_tim
+
+/* eventflag.c */
+#define TOPPERS_iniflg
+#define TOPPERS_flgcnd
+#define TOPPERS_set_flg
+#define TOPPERS_iset_flg
+#define TOPPERS_clr_flg
+#define TOPPERS_pol_flg
+
+/* dataqueue.c */
+#define TOPPERS_dtqini
+#define TOPPERS_dtqenq
+#define TOPPERS_dtqdeq
+#define TOPPERS_psnd_dtq
+#define TOPPERS_ipsnd_dtq
+#define TOPPERS_prcv_dtq
+
+
+#endif /* TOPPERS_ALLFUNC_H */
Index: /ssp_qb_r5f100le_cs/trunk/kernel/check.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/kernel/check.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/kernel/check.h	(revision 93)
@@ -0,0 +1,230 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2005-2007 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2010 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ *  Copyright (C) 2011 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: exception.h 648 2007-12-15 09:35:35Z hiro $
+ */
+/*
+ *  TOPPERS/ASP Kernel
+ *      Toyohashi Open Platform for Embedded Real-Time Systems/
+ *      Advanced Standard Profile Kernel
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2005-2007 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: check.h 1139 2008-06-19 07:03:34Z ertl-hiro $
+ */
+
+/*
+ *		G[`FbNp}N
+ */
+
+#ifndef TOPPERS_CHECK_H
+#define TOPPERS_CHECK_H
+
+/*
+ *  ^XNDæxÌÍÍÌ»è
+ */
+#define VALID_TPRI(tpri)	(TMIN_TPRI <= (tpri) && (tpri) <= TMAX_TPRI)
+
+/*
+ *  ÝÔÌ`FbNiE_PARj
+ */
+#define CHECK_INTNO_DISINT(intno) {							\
+	if (!VALID_INTNO_DISINT(intno)) {						\
+		ercd = E_PAR;										\
+		goto error_exit;									\
+	}														\
+}
+
+/*
+ *  »Ì¼Ìp[^G[Ì`FbNiE_PARj
+ */
+#define CHECK_PAR(exp) {									\
+	if (!(exp)) {											\
+		ercd = E_PAR;										\
+		goto error_exit;									\
+	}														\
+}
+
+/*
+ *  IuWFNgIDÌÍÍÌ»è
+ */
+#define VALID_TSKID(tskid)	\
+	(((ID)TMIN_TSKID <= (tskid)) && ((ID)(tskid) <= tmax_tskid))
+#define VALID_FLGID(flgid)	\
+	(((ID)TMIN_FLGID <= (flgid)) && ((ID)(flgid) <= tmax_flgid))
+#define VALID_DTQID(dtqid)	\
+	(((ID)TMIN_DTQID <= (dtqid)) && ((ID)(dtqid) <= tmax_dtqid))
+#define VALID_CYCID(cycid)	\
+	((((ID)TMIN_CYCID) <= (cycid)) && ((ID)(cycid) <= tmax_cycid))
+#define VALID_ALMID(almid)	\
+	(((ID)TMIN_ALMID <= (almid)) && ((ID)(almid) <= tmax_almid))
+
+/*
+ *  IuWFNgIDÌ`FbNiE_IDj
+ */
+#define CHECK_TSKID(tskid) {								\
+	if ((!VALID_TSKID(tskid))) {							\
+		ercd = E_ID;										\
+		goto error_exit;									\
+	}														\
+}
+
+#define CHECK_TSKID_SELF(tskid) {							\
+	if (!(VALID_TSKID(tskid) || ((tskid) == TSK_SELF))) {	\
+		ercd = E_ID;										\
+		goto error_exit;									\
+	}														\
+}
+
+
+#define CHECK_FLGID(flgid) {								\
+	if (!VALID_FLGID(flgid)) {								\
+		ercd = E_ID;										\
+		goto error_exit;									\
+	}														\
+}
+
+#define CHECK_DTQID(dtqid) {								\
+	if (!VALID_DTQID(dtqid)) {								\
+		ercd = E_ID;										\
+		goto error_exit;									\
+	}														\
+}
+
+#define CHECK_CYCID(cycid) {								\
+	if ((!VALID_CYCID(cycid))) {							\
+		ercd = E_ID;										\
+		goto error_exit;									\
+	}														\
+}
+
+#define CHECK_ALMID(almid) {								\
+	if (!VALID_ALMID(almid)) {								\
+		ercd = E_ID;										\
+		goto error_exit;									\
+	}														\
+}
+
+/*
+ *  ÄoµReLXgÌ`FbNiE_CTXj
+ */
+#define CHECK_TSKCTX() {									\
+	if (sense_context()) {									\
+		ercd = E_CTX;										\
+		goto error_exit;									\
+	}														\
+}
+
+#define CHECK_INTCTX() {									\
+	if (!sense_context()) {									\
+		ercd = E_CTX;										\
+		goto error_exit;									\
+	}														\
+}
+
+/*
+ *  ÄoµReLXgÆCPUbNóÔÌ`FbNiE_CTXj
+ */
+#define CHECK_TSKCTX_UNL() {								\
+	if ((sense_context()) || (t_sense_lock())) {			\
+		ercd = E_CTX;										\
+		goto error_exit;									\
+	}														\
+}
+
+#define CHECK_INTCTX_UNL() {								\
+	if ((!sense_context()) || (i_sense_lock())) {			\
+		ercd = E_CTX;										\
+		goto error_exit;									\
+	}														\
+}
+
+/*
+ *  »Ì¼ÌReLXgG[Ì`FbNiE_CTXj
+ */
+#define CHECK_CTX(exp) {									\
+	if (!(exp)) {											\
+		ercd = E_CTX;										\
+		goto error_exit;									\
+	}														\
+}
+
+#endif /* TOPPERS_CHECK_H */
Index: /ssp_qb_r5f100le_cs/trunk/kernel/exception.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/kernel/exception.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/kernel/exception.c	(revision 93)
@@ -0,0 +1,71 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2005-2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2010 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ *  Copyright (C) 2010 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+/*
+ *		CPUáOÇ@\
+ */
+
+#include "kernel_impl.h"
+#include "exception.h"
+
+/* 
+ *  CPUáOnhÇ@\Ìú»
+ */
+
+#ifdef TOPPERS_excini
+#ifndef OMIT_INITIALIZE_EXCEPTION
+
+void
+initialize_exception(void)
+{
+	uint_t i;
+	
+	for (i = 0U ; i < tnum_excno; i++) {
+		x_define_exc(excinib_excno[i], (FP)(excinib_entry[i]));
+	}
+}
+
+#endif /* OMIT_INITIALIZE_EXCEPTION */
+#endif /* TOPPERS_excini */
Index: /ssp_qb_r5f100le_cs/trunk/kernel/exception.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/kernel/exception.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/kernel/exception.h	(revision 93)
@@ -0,0 +1,76 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2000 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2005-2007 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2010 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ *  Copyright (C) 2011 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ *		CPUáOÇ@\
+ */
+
+#ifndef TOPPERS_EXCEPTION_H
+#define TOPPERS_EXCEPTION_H
+
+#ifndef OMIT_INITIALIZE_EXCEPTION
+
+extern const EXCNO	excinib_excno[];	/* CPUáOnhÔ */
+extern const ATR	excinib_excatr[];	/* CPUáOnh®« */
+extern const FP		excinib_entry[];	/* CPUáOnhÌoüûÌÔn */
+
+/*
+ *  CPUáOnhÔÌikernel_cfg.cj
+ */
+extern const uint_t	tnum_excno;
+
+
+#endif /* OMIT_INITIALIZE_EXCEPTION */
+
+/*
+ *  CPUáOnhÇ@\Ìú»
+ */
+extern void
+initialize_exception(void);
+
+
+#endif /* TOPPERS_EXCEPTION_H */
Index: /ssp_qb_r5f100le_cs/trunk/kernel/interrupt.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/kernel/interrupt.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/kernel/interrupt.c	(revision 93)
@@ -0,0 +1,154 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2005-2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2010 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ *  Copyright (C) 2010-2011 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+/*
+ *		ÝÇ@\
+ */
+
+#include "kernel_impl.h"
+#include "check.h"
+#include "task.h"
+#include "interrupt.h"
+
+
+/* 
+ *  ÝÇ@\Ìú»
+ */
+#ifdef TOPPERS_intini
+#ifndef OMIT_INITIALIZE_INTERRUPT
+
+void
+initialize_interrupt(void)
+{
+	uint_t			i;
+	
+	for (i = 0U; i < tnum_inhno; i++) {
+		x_define_inh(inhinib_inhno[i], (FP)(inhinib_entry[i]));
+	}
+	for (i = 0U; i < tnum_intno; i++) {
+		x_config_int(intinib_intno[i], intinib_intatr[i], intinib_intpri[i]);
+	}
+}
+
+#endif /* OMIT_INITIALIZE_INTERRUPT */
+#endif /* TOPPERS_intini */
+
+/*
+ *  ÝÌÖ~
+ */
+#ifdef TOPPERS_dis_int
+#ifdef TOPPERS_TARGET_SUPPORT_DIS_INT
+
+ER
+dis_int(INTNO intno)
+{
+	bool_t	locked;
+	ER		ercd;
+	
+	CHECK_TSKCTX();
+	CHECK_INTNO_DISINT(intno);
+	
+	locked = t_sense_lock();
+	
+	if (!locked) {
+		t_lock_cpu();
+	}
+	
+	if (t_disable_int(intno)) {
+		ercd = E_OK;
+	}
+	else {
+		ercd = E_OBJ;
+	}
+	
+	if (!locked) {
+		t_unlock_cpu();
+	}
+
+  error_exit:
+	return(ercd);
+}
+
+#endif /* TOPPERS_SUPPORT_DIS_INT */
+#endif /* TOPPERS_dis_int */
+
+
+/*
+ *  ÝÌÂ
+ */
+#ifdef TOPPERS_ena_int
+#ifdef TOPPERS_TARGET_SUPPORT_ENA_INT
+
+ER
+ena_int(INTNO intno)
+{
+	bool_t	locked;
+	ER		ercd;
+
+	CHECK_TSKCTX();
+	CHECK_INTNO_DISINT(intno);
+
+	locked = t_sense_lock();
+	if (!locked) {
+		t_lock_cpu();
+	}
+	
+	if (t_enable_int(intno)) {
+		ercd = E_OK;
+	}
+	else {
+		ercd = E_OBJ;
+	}
+	
+	if (!locked) {
+		t_unlock_cpu();
+	}
+
+  error_exit:
+	return(ercd);
+}
+
+#endif /* TOPPERS_SUPPORT_ENA_INT */
+#endif /* TOPPERS_ena_int */
Index: /ssp_qb_r5f100le_cs/trunk/kernel/interrupt.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/kernel/interrupt.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/kernel/interrupt.h	(revision 93)
@@ -0,0 +1,90 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2000 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2005-2007 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2010 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ *		ÝÇ@\
+ */
+
+#ifndef TOPPERS_INTERRUPT_H
+#define TOPPERS_INTERRUPT_H
+
+#ifndef OMIT_INITIALIZE_INTERRUPT
+
+/*
+ *  Ýnhú»ubNÌGAikernel_cfg.cj
+ */
+extern const INHNO	inhinib_inhno[];		/* ÝnhÔ */
+extern const ATR	inhinib_inhatr[];		/* Ýnh®« */
+extern const FP		inhinib_entry[];		/* ÝnhÌoüûÌÔn */
+
+/*
+ *  ÝvCú»ubNÌGAikernel_cfg.cj
+ */
+extern const INTNO	intinib_intno[];		/* ÝÔ */
+extern const ATR	intinib_intatr[];		/* Ý®« */
+extern const PRI	intinib_intpri[];		/* ÝDæx */
+
+/*
+ *  ÝnhÔÌikernel_cfg.cj
+ */
+extern const uint_t	tnum_inhno;
+
+/*
+ *  ÝvCÌikernel_cfg.cj
+ */
+extern const uint_t	tnum_intno;
+
+
+#endif /* OMIT_INITIALIZE_INTERRUPT */
+
+/*
+ *  ÝÇ@\Ìú»
+ */
+extern void
+initialize_interrupt(void);
+
+
+#endif /* TOPPERS_INTERRUPT_H */
Index: /ssp_qb_r5f100le_cs/trunk/kernel/kernel.tf
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/kernel/kernel.tf	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/kernel/kernel.tf	(revision 93)
@@ -0,0 +1,1434 @@
+$ ======================================================================
+$ 
+$  TOPPERS/SSP Kernel
+$      Smallest Set Profile Kernel
+$ 
+$   Copyright (C) 2007 by TAKAGI Nobuhisa
+$   Copyright (C) 2007-2009 by Embedded and Real-Time Systems Laboratory
+$               Graduate School of Information Science, Nagoya Univ., JAPAN
+$   Copyright (C) 2010-2015 by Naoki Saito
+$               Nagoya Municipal Industrial Research Institute, JAPAN
+$ 
+$  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+$  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+$  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+$  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+$      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+$      R[hÉÜÜêÄ¢é±ÆD
+$  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+$      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+$      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+$      ØKèðfÚ·é±ÆD
+$  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+$      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+$    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+$         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+$    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+$        ·é±ÆD
+$  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+$      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+$      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+$      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+$ 
+$  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+$  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+$  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+$  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+$  íÈ¢D
+$ 
+$ ======================================================================
+
+$ OoÍ
+$   wèµ½¾¯sªÉ^uðÂ¯Ä\¦·éD
+$   R[hyÑoÍÌÂÇ«ð°é½ßÉg¤D
+$     ø : ARGV[1] : sªÉ}ü·é^uÌ
+$     Ôl : ó¶ñ
+$     Ó : RESULTðìµÄ¢é½ßC¼ÌÖÌoÍðÛ¶·éOÉÄÑo·Æã«³êéD
+$ 
+$FUNCTION LOG$
+	$FOREACH i RANGE(1,ARGV[1])$$TAB$$END$
+	$RESULT = {}$
+$END$
+
+$ =====================================================================
+$ OÌ`FbN
+$ =====================================================================
+
+$ ^XNª1ÂÈã¶Ý·é±ÆÌ`FbN
+$IF !LENGTH(TSK.ID_LIST)$
+	$ERROR$$FORMAT("no task is registered")$$END$
+$END$
+
+$ =====================================================================
+$ kernel_cfg.h Ì¶¬
+$ =====================================================================
+
+$FILE "kernel_cfg.h"$
+
+/* kernel_cfg.h */$NL$
+#ifndef TOPPERS_KERNEL_CFG_H$NL$
+#define TOPPERS_KERNEL_CFG_H$NL$
+$NL$
+#define TNUM_TSKID	$LENGTH(TSK.ID_LIST)$$NL$
+#define TNUM_FLGID	$LENGTH(FLG.ID_LIST)$$NL$
+#define TNUM_DTQID	$LENGTH(DTQ.ID_LIST)$$NL$
+#define TNUM_CYCID	$LENGTH(CYC.ORDER_LIST)$$NL$
+#define TNUM_ALMID	$LENGTH(ALM.ORDER_LIST)$$NL$
+$NL$
+
+$ // ^XNIDðN®Dæx(tskapri)Ì¢É reallocate_tskapri ÖèÄC
+$ // è`ð kernel_cfg.h ÖoÍ·éD
+$tsk_apriorder_list={}$
+$tsk_epri_list={}$
+$tsk_index = 1$
+$FOREACH id SORT(TSK.ORDER_LIST, "TSK.ATSKPRI")$
+	$tsk_apriorder_list = APPEND(tsk_apriorder_list, TSK.TSKID[id])$
+	$reallocate_tskapri[TSK.TSKID[id]] = tsk_index$
+	#define $TSK.TSKID[id]$	$tsk_index$$NL$
+
+$	DEF_EPR Åè`³êÄ¢È¢^XNÌÀsDæxªCN®DæxÆ¯¶ÉÈéæ¤É·éD
+	$tsk_epri_list = APPEND(tsk_epri_list, ALT(TSK.EXEPRI[TSK.TSKID[id]], TSK.ATSKPRI[TSK.TSKID[id]]))$
+	$tsk_index = tsk_index + 1$
+$END$
+$FOREACH id FLG.ID_LIST$
+	#define $id$	$+id$$NL$
+$END$
+$FOREACH id DTQ.ID_LIST$
+	#define $id$	$+id$$NL$
+$END$
+$FOREACH id CYC.ID_LIST$
+	#define $id$	$+id$$NL$
+$END$
+$FOREACH id ALM.ID_LIST$
+	#define $id$	$+id$$NL$
+$END$
+
+#endif /* TOPPERS_KERNEL_CFG_H */$NL$
+
+$ =====================================================================
+$ kernel_cfg.cÌ¶¬
+$ =====================================================================
+
+$FILE "kernel_cfg.c"$
+
+/* kernel_cfg.c */$NL$
+#include "kernel/kernel_int.h"$NL$
+#include "kernel_cfg.h"$NL$
+$NL$
+#ifndef TOPPERS_EMPTY_LABEL$NL$
+#define TOPPERS_EMPTY_LABEL(x,y) x y[0]$NL$
+#endif$NL$
+$NL$
+
+$ ---------------------------------------------------------------------
+$  CN[hfBNeBui#includej
+$ ---------------------------------------------------------------------
+/*$NL$
+$SPC$*  Include Directives (#include)$NL$
+$SPC$*/$NL$
+$NL$
+$INCLUDES$
+$NL$
+
+$ ---------------------------------------------------------------------
+$  IuWFNgÌIDÔðÛ·éÏ
+$ ---------------------------------------------------------------------
+$IF USE_EXTERNAL_ID$
+	/*$NL$
+	$SPC$*  Variables for Object ID$NL$
+	$SPC$*/$NL$
+	$NL$
+	$FOREACH id TSK.ID_LIST$
+		const ID $id$_id$SPC$=$SPC$$+id$;$NL$
+	$END$
+	$FOREACH id FLG.ID_LIST$
+		const ID $id$_id$SPC$=$SPC$$+id$;$NL$
+	$END$
+	$FOREACH id DTQ.ID_LIST$
+		const ID $id$_id$SPC$=$SPC$$+id$;$NL$
+	$END$
+	$FOREACH id CYC.ID_LIST$
+		const ID $id$_id$SPC$=$SPC$$+id$;$NL$
+	$END$
+	$FOREACH id ALM.ID_LIST$
+		const ID $id$_id$SPC$=$SPC$$+id$;$NL$
+	$END$
+$END$
+
+$ ---------------------------------------------------------------------
+$  g[XO}NÌftHgè`
+$ ---------------------------------------------------------------------
+/*$NL$
+$SPC$*  Default Definitions of Trace Log Macros$NL$
+$SPC$*/$NL$
+$NL$
+#ifndef LOG_ISR_ENTER$NL$
+#define LOG_ISR_ENTER(intno)$NL$
+#endif /* LOG_ISR_ENTER */$NL$
+$NL$
+#ifndef LOG_ISR_LEAVE$NL$
+#define LOG_ISR_LEAVE(intno)$NL$
+#endif /* LOG_ISR_LEAVE */$NL$
+$NL$
+
+
+$ ---------------------------------------------------------------------
+$  ^XNÉÖ·éoÍ
+$ ---------------------------------------------------------------------
+
+$ 
+$ ÀsDæxÌRtBM
+[VÉ¬÷µ½©Ç¤©
+$ 
+$ DEF_EPR ÉG[ª­¶µ½êC±ÌÏª0ÉÈéD
+$ DEF_EPR ÉG[ª­¶µ½©Ç¤©ð»fµÄ
+$ ÁèÌÀsðubN·é½ßÉgp·éD
+$ 
+$configurated_defepr_successfully = 1$
+
+/*$NL$
+$SPC$*  Task Management Functions$NL$
+$SPC$*/$NL$
+$NL$
+
+$ ^XNIDÔÌÅål
+const ID _kernel_tmax_tskid = (TMIN_TSKID + TNUM_TSKID - 1);$NL$
+$NL$
+
+$ ready_primap Ìúl
+$init_rdypmap = 0$
+$tsk_index = 1$
+
+$ ^XN®«D
+const ATR     	_kernel_tinib_tskatr[TNUM_TSKID]    = {
+$JOINEACH tskid tsk_apriorder_list ","$
+$	// TA_ACT , TA_RSTR Ü½Í TA_NULL Å éiE_RSATRj
+	$IF (TSK.TSKATR[tskid] & ~(TA_ACT | TA_RSTR | ALT(TARGET_TSKATR,0))) != 0$
+		$ERROR TSK.TEXT_LINE[tskid]$E_RSATR: $FORMAT(_("illegal %1% `%2%\' of `%3%\' in %4%"), "tskatr", TSK.TSKATR[tskid], tskid, "CRE_TSK")$$END$
+	$END$
+
+	($TSK.TSKATR[tskid]$)
+	
+	$IF TSK.TSKATR[tskid] & TA_ACT$
+		$init_rdypmap = init_rdypmap + tsk_index$
+	$END$
+	$tsk_index = tsk_index << 1$
+$END$
+};$NL$
+
+const uint_t$TAB$_kernel_init_rdypmap = $init_rdypmap$U;$NL$
+
+$ g£îñ(exinf)D G[ÍRpCÜ½ÍAvÌeXgÅo·é½ßC±±ÅÍµÈ¢D
+const intptr_t	_kernel_tinib_exinf[TNUM_TSKID]     = {
+$JOINEACH tskid tsk_apriorder_list ","$
+	(intptr_t)($TSK.EXINF[tskid]$)
+$END$
+};$NL$
+
+$ N®Ôn(task)DG[ÍRpCÜ½ÍAvÌeXgÅo·é½ßC±±ÅÍµÈ¢D
+const TASK    	_kernel_tinib_task[TNUM_TSKID]      = {
+$JOINEACH tskid tsk_apriorder_list ","$
+	($TSK.TASK[tskid]$)
+$END$
+};$NL$
+
+$ N®Dæx(atskpri)D
+$FOREACH tskid tsk_apriorder_list$
+$	// atskpri Í TMIN_TPRI ÈãCTMAX_TPRI ÈºÅ éDiE_PARj
+ 	$IF !(TMIN_TPRI <= TSK.ATSKPRI[tskid] && TSK.ATSKPRI[tskid] <= TMAX_TPRI)$
+ 		$ERROR TSK.TEXT_LINE[tskid]$E_PAR: $FORMAT(_("illegal %1% `%2%\' of `%3%\' in %4%"), "atskpri", TSK.ATSKPRI[tskid], tskid, "CRE_TSK")$$END$
+ 	$END$
+
+$	// atskpri Íd¡ªÈ¢DiE_PARj
+	$FOREACH tskid2 tsk_apriorder_list$
+		$IF tskid != tskid2 && TSK.ATSKPRI[tskid] == TSK.ATSKPRI[tskid2] $
+			$ERROR TSK.TEXT_LINE[tskid]$E_PAR: $FORMAT(_("%1% of %2% (%3%) in %4% is duplicated"), "atskpri", tskid, TSK.ATSKPRI[tskid], "CRE_TSK")$$END$
+		$END$
+	$END$
+$END$
+
+$ ÀsDæx(exepri)D
+const uint_t  	_kernel_tinib_epriority[TNUM_TSKID] = {
+$epri_allocated = 0$
+$tsk_index = 0$
+$JOINEACH tskid tsk_apriorder_list ","$
+	$epri = AT(tsk_epri_list, tsk_index)$
+
+$	// exepri Í TMIN_TPRI Èã©Â TMAX_TPRI ÈºÅ éD(E_PAR)
+	$IF TMIN_TPRI > epri || TMAX_TPRI < epri$
+		$configurated_defepr_successfully = 0$
+		$ERROR TSK.TEXT_LINE[tskid]$E_PAR: $FORMAT(_("illegal %1% `%2%\' of `%3%\' in %4%"), "exepri", epri, tskid, "DEF_EPR")$$END$
+	$END$
+
+$	// exepri Í atskpri ÈºÌlðàÂ(DæxÆµÄÍ¯¶©»êæè¢)D(E_ILUSE)
+	$IF epri <= TMAX_TPRI && epri > TSK.ATSKPRI[tskid]$
+		$configurated_defepr_successfully = 0$
+		$ERROR TSK.TEXT_LINE[tskid]$E_ILUSE: $FORMAT(_("illegal %1% `%2%\' of `%3%\' in %4%"), "exepri", epri, tskid, "DEF_EPR")$$END$
+	$END$
+
+$	// exepri Ìà\»ðèµ reallocate_tskepri Éi[D
+	$FOREACH tskid2 tsk_apriorder_list $
+	 	$IF epri_allocated != 1 && epri <= TSK.ATSKPRI[tskid2]$
+			INT_PRIORITY($reallocate_tskapri[TSK.TSKID[tskid2]]$)
+				$reallocate_tskepri[tskid] = reallocate_tskapri[TSK.TSKID[tskid2]]$
+			$epri_allocated = 1$
+		$END$
+	$END$
+	$epri_allocated = 0$
+	$tsk_index = tsk_index + 1$
+$END$
+};$NL$$NL$
+
+$ 
+$ // DæxèÄÊðoÍ
+$ 
+/*$NL$
+$SPC$* Task priority configuration result:$NL$
+$FOREACH tskid SORT(TSK.ORDER_LIST, "TSK.ATSKPRI")$
+$SPC$*  $TAB$$TSK.TSKID[tskid]$:$TAB$ IPRI = $reallocate_tskapri[TSK.TSKID[tskid]]$, EXEPRI = $reallocate_tskepri[tskid]$$NL$
+$END$
+$SPC$*/$NL$$NL$
+
+$ 
+$  ^XNÌÅåX^bNgpÊÌvZ
+$ 
+
+$ X^bNTCYÉÖ·éG[`FbN
+$FOREACH tskid TSK.ID_LIST$
+$	// stkszª0©C^[Qbgè`ÌÅ¬liTARGET_MIN_STKSZjæèà¬³¢êiE_PARj
+	$IF TSK.STKSZ[tskid] == 0 || (LENGTH(TARGET_MIN_STKSZ) && 
+										TSK.STKSZ[tskid] < TARGET_MIN_STKSZ)$
+		$ERROR TSK.TEXT_LINE[tskid]$E_PAR: $FORMAT(_("%1% `%2%\' of `%3%\' in %4% is too small"), "stksz", TSK.STKSZ[tskid], tskid, "CRE_TSK")$$END$
+	$END$
+$END$
+
+$  
+$ Öè`
+$ 
+$ 
+$ Ö1: N®DæxÌá¢É\[eBO·é½ßÌärÖ
+$ 
+$FUNCTION compare_tskapri_rev$
+	$RESULT = reallocate_tskapri[ARGV[2]] - reallocate_tskapri[ARGV[1]]$
+$END$
+
+$ 
+$ Ö2: wèµ½^XNÉÎ·éX^bNgpÊÌÅåðvZ·éÖ
+$    ø : ARGV[1] : ^XNID(à\», N®DæxÌà\»Éµ¢)
+$    Ôl : RESULT  : Y^XNÉÎ·éX^bNgpÊÌÅålD
+$                     ±ÌlÍCY^XNÌÀsJn©çI¹ÜÅÌÔÉ
+$                     »Ì^XNÉÎ·évGvgðl¶µÄX^bNgpÊð
+$                     vZµ½êÉCÂ\«Ì égÝí¹ÌÅÅåÆÈélðÔ·D
+$ 
+$nest_level = 0$
+$ 
+$FUNCTION calc_stksz$
+$	// ÏXg
+	$nest_level = nest_level + 1$
+	$arg[nest_level] = ARGV[1]$
+	$calculated_stack_size = 0$
+
+$	// Jn
+$SPC$* $LOG(nest_level-1)$Calculation start (Task ID = $arg[nest_level]$, StackSize[$arg[nest_level]$]=$TSK.STKSZ[arg[nest_level]]$)$NL$
+
+$	// wèµ½^XNID ÌX^bNvZª®¹µÄ¢é©
+	$IF	LENGTH(done[arg[nest_level]]) == 0$
+
+$SPC$* $LOG(nest_level)$Task list with higher priority than $arg[nest_level]$ = $higher_pri_tsklist[arg[nest_level]]$$NL$
+
+$		// (1) ®¹µÄ¢È¢ê
+$		// ÏÌú»
+		$max_stksz[arg[nest_level]] = 0$
+		$higher_pri_maxstksz[arg[nest_level]] = 0$
+
+$		// Y^XNID ÌÀsDæxæè¢N®DæxðÂ^XNª¶Ý·éê
+		$IF LENGTH(higher_pri_tsklist[arg[nest_level]]) > 0$
+$			// »ê¼êÌDæx^XNÉÎµ
+			$FOREACH id higher_pri_tsklist[arg[nest_level]]$
+$				// ÄAÄo·éÆÏªã«³êé½ßCÛ¶µÄ¨­
+				$id_saved[nest_level] = id$
+$				// X^bNvZðÀs·é
+				$calculated_stack_size = calc_stksz(id_saved[nest_level])$
+$				// Û¶µ½ÏðA
+				$id = id_saved[nest_level]$
+
+				$IF higher_pri_maxstksz[arg[nest_level]] < calculated_stack_size$
+$					// L¯µÄ¨­
+					$higher_pri_maxstksz[arg[nest_level]] = calculated_stack_size$
+				$END$
+			$END$
+		$END$
+
+$SPC$* $LOG(nest_level)$higher_pri_maxstksz[$arg[nest_level]$] = $higher_pri_maxstksz[arg[nest_level]]$$NL$
+
+$		// Dæx^XNÌX^bNgpÊÉCY^XNÌgpÊðÁZ·é
+		$max_stksz[arg[nest_level]] = higher_pri_maxstksz[arg[nest_level]] + TSK.STKSZ[arg[nest_level]]$
+
+$SPC$* $LOG(nest_level)$DONE(max_stksz[$arg[nest_level]$] = $max_stksz[arg[nest_level]]$)$NL$
+
+$		// Y^XNIDÉÎµÄÍvZðÏÜ¹½Æ¢¤L^ðcµÄ¨­
+		$done[arg[nest_level]] = 1$
+
+	$ELSE$
+$		// (2) vZªùÉ®¹µÄ¢éêCvZðXLbv·éD
+
+$SPC$* $LOG(nest_level)$SKIP(max_stksz[$arg[nest_level]$] = $max_stksz[arg[nest_level]]$)$NL$
+	$END$
+
+$	// ©ÏàèÌÅålðÔ·
+	$RESULT = max_stksz[arg[nest_level]]$
+	$nest_level = nest_level - 1$
+$END$
+
+$ 
+$ Öè`±±ÜÅC±±©çX^bNvZÌJn
+$ 
+
+$ 
+$ Ü¸ÍØ\¢Ìf[^\¢ì¬
+$ 
+$FOREACH id LSORT(tsk_apriorder_list, "compare_tskapri_rev")$
+
+$	// e^XNÉC»ÌÀsDæxæèà¢N®DæxðÂ^XNÌXgðìéD
+$	// »êÍvGvg³êéÂ\«Ì é^XNÌêÆÈéD
+	$FOREACH id2 LSORT(tsk_apriorder_list, "compare_tskapri_rev")$
+		$IF reallocate_tskepri[id] > reallocate_tskapri[id2]$
+			$higher_pri_tsklist[id] = APPEND(higher_pri_tsklist[id], id2)$
+		$END$
+	$END$
+
+$	// vGvg·éE³êéÖWð¦·Ø\¢Ìª(root)ÆÈé^XNÌTõD
+$	//   ÎÛ^XN(id)ÌN®Dæx(reallocate_tskapri[id])æèá¢
+$	//   (lÆµÄÍå«¢)N®DæxðàÂ^XNÌ higher_pri_tsklist ÉC
+$	//   ÎÛ^XN(id) ªÜÜêÈ¯êÎCªÆÈéD
+	$is_root = 1$
+	$FOREACH id2 LSORT(tsk_apriorder_list, "compare_tskapri_rev")$
+		$IF (is_root == 1) && (reallocate_tskapri[id] < reallocate_tskapri[id2])$
+			$IF LENGTH(FIND(higher_pri_tsklist[id2], id)) > 0$
+				$is_root = 0$
+			$END$
+		$END$
+	$END$
+$	// ª(root)ÆÈé^XNÈçÎCXgÖÇÁ
+	$IF is_root == 1$
+		$root_apri = APPEND(root_apri, id)$
+	$END$
+$END$
+
+$ 
+$ oÍJn
+$ 
+
+/* $NL$
+$SPC$* Task Stack Size Estimation: $NL$
+$SPC$* $NL$
+
+$ // ªÆÈée^XNÉÎµÄC»ÌÅå^XNgpÊðvZµCXgÖÇÁ·éD
+$FOREACH root_id root_apri$
+	$stksz_estimated = APPEND(stksz_estimated, calc_stksz(root_id))$
+$END$
+
+$ // ^XNÌX^bNgpÊÌÅålðè
+$ // XgÌvfÌÅålª^XNÌÅåX^bNgpÊÆÈéD
+$max_tsk_stksz = 0$
+$FOREACH size stksz_estimated$
+	$IF size > max_tsk_stksz$
+		$max_tsk_stksz = size$
+	$END$
+$END$
+
+$ // mF
+$SPC$* List of Estimated Total Stack Sizes of Tasks = $stksz_estimated$$NL$
+$SPC$* Estimated Maximum Total Stack Size of Tasks = $max_tsk_stksz$$NL$
+$SPC$*/ $NL$
+#define TOPPERS_TSTKSZ		($max_tsk_stksz$)$NL$$NL$
+
+
+$ SÄÌPÊÌX^bNÍ¤L³êéD
+$ »Ì½ßCX^bNTCYÉÖ·é`FbNÍ
+$ ¤LX^bNÝèÌÆ±ëÅÜÆßÄs¤D
+
+$ X^bNÌæªÔn(stk)D
+$FOREACH tskid tsk_apriorder_list$
+$	// íÉ NULL Å éD(E_PAR)
+	$IF !EQ(TSK.STK[tskid], "NULL")$
+		$ERROR TSK.TEXT_LINE[tskid]$E_PAR: $FORMAT(("'%1%' of %2% must be NULL."), "stk", "CRE_TSK")$$END$
+	$END$
+$END$
+
+$ ---------------------------------------------------------------------
+$  CxgtO
+$ ---------------------------------------------------------------------
+/*$NL$
+$SPC$*  Eventflag Functions$NL$
+$SPC$*/$NL$
+$NL$
+
+$ Ggª (UINT8_MAX - TMIN_FLGID)Âæè½¢êÍCG[Æ·é --> »_ÅÍRgAEg
+$ $IF LENGTH(ALM.ORDER_LIST) > (UINT8_MAX - TMIN_FLGID)$
+$ 	$ERROR$$FORMAT("The number of CRE_FLG must be equal to or less than (UINT8_MAX - TMIN_FLGID).")$$END$
+$ $END$
+
+$ CxgtOIDÔÌÅål
+const ID _kernel_tmax_flgid = (TMIN_FLGID + TNUM_FLGID - 1);$NL$
+$NL$
+
+$	// iflgptnªFLGPTNÉi[Å«È¢êiE_PARj 
+$FOREACH flgid FLG.ORDER_LIST$
+	$IF (FLG.IFLGPTN[flgid] & ~((1 << TBIT_FLGPTN) - 1)) != 0$ 
+		$ERROR FLG.TEXT_LINE[flgid]$E_PAR: $FORMAT(_("too large %1% `%2%\' of `%3%\' in %4%"), "iflgptn", FLG.IFLGPTN[flgid], flgid, "CRE_FLG")$$END$ 
+	$END$ 
+$END$
+
+$ CxgtOú»ubNÌ¶¬
+$IF LENGTH(FLG.ID_LIST)$
+
+$	CxgtO®«
+	const ATR _kernel_flginib_atr[TNUM_FLGID] = {
+		$JOINEACH flgid FLG.ORDER_LIST ","$
+$			// flgatrªimTA_CLRnjÅÈ¢êiE_RSATRj
+			$IF (FLG.FLGATR[flgid] & ~(TA_CLR)) != 0$
+				$ERROR FLG.TEXT_LINE[flgid]$E_RSATR: $FORMAT(_("illegal %1% `%2%\' of `%3%\' in %4%"), "flgatr", FLG.FLGATR[flgid], flgid, "CRE_FLG")$$END$
+			$END$
+			($FLG.FLGATR[flgid]$)
+		$END$
+	};$NL$
+	
+$	CxgtOp^[Ìúl
+	const FLGPTN _kernel_flginib_iflgptn[TNUM_FLGID] = {
+		$JOINEACH flgid FLG.ORDER_LIST ","$
+			($FLG.IFLGPTN[flgid]$)
+		$END$
+	};$NL$
+
+$       // CxgtOÌ»ÝÌtOp^[ði[·éÏ
+        FLGPTN _kernel_flgcb_flgptn[TNUM_FLGID];$NL$
+$ELSE$
+        TOPPERS_EMPTY_LABEL(const ATR, _kernel_flginib_atr);$NL$
+        TOPPERS_EMPTY_LABEL(const FLGPTN, _kernel_flginib_iflgptn);$NL$
+        TOPPERS_EMPTY_LABEL(FLGPTN, _kernel_flgcb_flgptn);$NL$
+$END$
+$NL$
+
+$ ---------------------------------------------------------------------
+$  f[^L
+[
+$ ---------------------------------------------------------------------
+/*$NL$
+$SPC$*  Dataqueue Functions$NL$
+$SPC$*/$NL$
+$NL$
+
+$ f[^L
+[IDÔÌÅål
+const ID _kernel_tmax_dtqid = (TMIN_DTQID + TNUM_DTQID - 1);$NL$
+$NL$
+
+$IF LENGTH(DTQ.ID_LIST)$
+        $FOREACH dtqid DTQ.ORDER_LIST$
+$               // dtqatrª TA_NULL ÅÈ¢êiE_RSATRj
+                $IF (DTQ.DTQATR[dtqid] != TA_NULL) $
+                        $ERROR DTQ.TEXT_LINE[dtqid]$E_RSATR: $FORMAT(_("illegal %1% `%2%\' of `%3%\' in %4%"), "dtqatr", DTQ.DTQATR[dtqid], dtqid, "CRE_DTQ")$$END$
+                $END$
+
+$               // dtqmbªNULLÅÈ¢êiE_NOSPTj
+                $IF !EQ(DTQ.DTQMB[dtqid], "NULL")$
+                        $ERROR DTQ.TEXT_LINE[dtqid]$E_NOSPT: $FORMAT(_("illegal %1% `%2%\' of `%3%\' in %4%"), "dtqmb", DTQ.DTQMB[dtqid], dtqid, "CRE_DTQ")$$END$
+                $END$
+
+$               // dtqcntª0Å éê
+                $IF EQ(+DTQ.DTQCNT[dtqid], 0)$
+                        $ERROR DTQ.TEXT_LINE[dtqid]$E_PAR: $FORMAT(_("illegal %1% `%2%\' of `%3%\' in %4%"), "dtqmb", DTQ.DTQCNT[dtqid], dtqid, "CRE_DTQ")$$END$
+                $END$
+				
+
+$               // f[^L
+[Ìæ
+                $IF DTQ.DTQCNT[dtqid]$
+                        static intptr_t _kernel_dtqmb_$dtqid$[$DTQ.DTQCNT[dtqid]$];$NL$
+                $END$
+        $END$
+
+$       // f[^L
+[ú»ubNÌ¶¬(®«)
+        const ATR _kernel_dtqinib_atr[TNUM_DTQID] = {
+        	$JOINEACH dtqid DTQ.ORDER_LIST ",\n"$
+            	$SPC$($DTQ.DTQATR[dtqid]$)
+        	$END$
+        };$NL$
+        $NL$
+
+$       // f[^L
+[ú»ubNÌ¶¬(TCY)
+        const uint8_t _kernel_dtqinib_size[TNUM_DTQID] = {
+        	$JOINEACH dtqid DTQ.ORDER_LIST ",\n"$
+            	$SPC$($DTQ.DTQCNT[dtqid]$)
+        	$END$
+        };$NL$
+        $NL$
+
+$       // f[^L
+[ú»ubNÌ¶¬(ÇÌæ)
+        intptr_t * const _kernel_dtqinib_data[TNUM_DTQID] = {
+        	$JOINEACH dtqid DTQ.ORDER_LIST ",\n"$
+            	$IF DTQ.DTQCNT[dtqid]$(_kernel_dtqmb_$dtqid$)$ELSE$NULL$END$
+        	$END$
+        };$NL$
+        $NL$
+
+$       // f[^L
+[Rg[ubN
+        uint8_t _kernel_dtqcb_count[TNUM_DTQID];$NL$
+        uint8_t _kernel_dtqcb_head[TNUM_DTQID];$NL$
+        uint8_t _kernel_dtqcb_tail[TNUM_DTQID];$NL$
+$ELSE$
+        TOPPERS_EMPTY_LABEL(const ATR, _kernel_dtqinib_atr);$NL$
+        TOPPERS_EMPTY_LABEL(intptr_t * const, _kernel_dtqinib_data);$NL$
+        TOPPERS_EMPTY_LABEL(const uint8_t, _kernel_dtqinib_size);$NL$
+        TOPPERS_EMPTY_LABEL(uint8_t, _kernel_dtqcb_count);$NL$
+        TOPPERS_EMPTY_LABEL(uint8_t, _kernel_dtqcb_head);$NL$
+        TOPPERS_EMPTY_LABEL(uint8_t, _kernel_dtqcb_tail);$NL$
+$END$
+$NL$
+
+
+$ ---------------------------------------------------------------------
+$  ÝÇ@\
+$ ---------------------------------------------------------------------
+/*$NL$
+$SPC$*  Interrupt Management Functions$NL$
+$SPC$*/$NL$
+$NL$
+
+$ // INTNO_ATTISR_VALID Ìvfªd¡µÄ¢È¢©Ç¤©Ì`FbN
+$i = 0$
+$FOREACH intno INTNO_ATTISR_VALID$
+	$j = 0$
+	$FOREACH intno2 INTNO_ATTISR_VALID$
+		$IF i < j && intno == intno2$
+			$ERROR$ $FORMAT(_("intno (%1%) of INTNO_ATTISR_VALID is duplicated"), intno)$$END$
+		$END$
+		$j = j + 1$
+	$END$
+	$i = i + 1$
+$END$
+
+$ // INHNO_ATTISR_VALID Ìvfªd¡µÄ¢È¢©Ç¤©Ì`FbN
+$i = 0$
+$FOREACH intno INHNO_ATTISR_VALID$
+	$j = 0$
+	$FOREACH intno2 INHNO_ATTISR_VALID$
+		$IF i < j && intno == intno2$
+			$ERROR$ $FORMAT(_("intno (%1%) of INHNO_ATTISR_VALID is duplicated"), intno)$$END$
+		$END$
+		$j = j + 1$
+	$END$
+	$i = i + 1$
+$END$
+
+
+$ // ATT_ISR ÅgpÂ\ÈÝÔÆC»êÉÎ·éÝnhÔÌª¯¶©Ç¤©
+$ // eXgÌvfÍd¡µÄ¢È¢±ÆðOñÆµÄ¢éD
+$IF LENGTH(INTNO_ATTISR_VALID) != LENGTH(INHNO_ATTISR_VALID)$
+	$ERROR$length of `INTNO_ATTISR_VALID' is different from length of `INHNO_ATTISR_VALID'$END$
+$END$
+
+
+$ // ÝÔÆÝnhÔÌÏ·e[uÌì¬
+$ //  ÝÔÌXgÆÝnhÔÌXgÍÎ·évfª¯¶ÔÅ
+$ //  »êéæ¤ÉÀ×çêÄ¢é±ÆðOñÆ·éD
+$i = 0$
+$FOREACH intno INTNO_ATTISR_VALID$
+
+$	// INTNO_ATTISR_VALID ÉÜÜêélÍ INTNO_CFGINT_VALID ÉàÜÜêé×«Å éD
+$	// INTNO_ATTISR_VALID Í INTNO_CFGINT_VALID ÌªWÉÈéÍ¸D
+	$IF LENGTH(FIND(INTNO_CFGINT_VALID, intno)) == 0$
+		$ERROR$all elements of `INTNO_ATTISR_VALID' must be included in `INTNO_CFGINT_VALID'$END$
+	$END$
+
+	$inhno = AT(INHNO_ATTISR_VALID, i)$
+	$INHNO[intno] = inhno$
+	$INTNO[inhno] = intno$
+	$i = i + 1$
+$END$
+
+
+$ // INTNO_CFGINT_VALID Ìvfª INTNO_VALID ÉÜÜêé©Ç¤©Ì`FbN
+$ // INTNO_CFGINT_VALID Í INTNO_VALID ÌªWÉÈéÍ¸D
+$FOREACH intno INTNO_CFGINT_VALID$
+	$IF LENGTH(FIND(INTNO_VALID, intno)) == 0$
+		$ERROR$all elements of `INTNO_CFGINT_VALID' must be included in `INTNO_VALID'$END$
+	$END$
+$END$
+
+
+$ // INHNO_ATTISR_VALID Ìvfª INHNO_VALID ÉÜÜêé©Ç¤©Ì`FbN
+$ // INHNO_ATTISR_VALID Í INHNO_VALID ÌªWÉÈéÍ¸D
+$FOREACH inhno INHNO_ATTISR_VALID$
+	$IF LENGTH(FIND(INHNO_VALID, inhno)) == 0$
+		$ERROR$all elements of `INHNO_ATTISR_VALID' must be included in `INHNO_VALID'$END$
+	$END$
+$END$
+
+
+$ // ÝvCÉÖ·éG[`FbN
+$i = 0$
+$FOREACH intno INT.ORDER_LIST$
+$	// intnoªCFG_INTÉÎ·éÝÔÆµÄ³µ­È¢êiE_PARj
+	$IF !LENGTH(FIND(INTNO_CFGINT_VALID, INT.INTNO[intno]))$
+		$ERROR INT.TEXT_LINE[intno]$E_PAR: $FORMAT(_("illegal %1% `%2%\' in %3%"), "intno", INT.INTNO[intno], "CFG_INT")$$END$
+	$END$
+
+$	// intnoªCFG_INTÉæÁÄÝèÏÝÌêiE_OBJj
+	$j = 0$
+	$FOREACH intno2 INT.ORDER_LIST$
+ 		$IF INT.INTNO[intno] == INT.INTNO[intno2] && j < i$
+			$ERROR INT.TEXT_LINE[intno]$E_OBJ: $FORMAT(_("%1% `%2%\' in %3% is duplicated"), "intno", INT.INTNO[intno], "CFG_INT")$$END$
+		$END$
+		$j = j + 1$
+	$END$
+
+$	// intatrª TA_ENAINT, TA_EDGE, Ü½Í»Ì¼^[QbgÅpÂ\È®«Ì¢¸êÅàÈ¢êiE_RSATRj
+	$IF (INT.INTATR[intno] & ~(TA_ENAINT|TA_EDGE|ALT(TARGET_INTATR,0))) != 0$
+		$ERROR INT.TEXT_LINE[intno]$E_RSATR: $FORMAT(_("illegal %1% `%2%\' of %3% `%4%\' in %5%"), "intatr", INT.INTATR[intno], "intno", INT.INTNO[intno], "CFG_INT")$$END$
+	$END$
+
+$	// intpriªCFG_INTÉÎ·éÝDæxÆµÄ³µ­È¢êiE_PARj
+	$IF !LENGTH(FIND(INTPRI_CFGINT_VALID, INT.INTPRI[intno]))$
+		$ERROR INT.TEXT_LINE[intno]$E_PAR: $FORMAT(_("illegal %1% `%2%\' in %3%"), "intpri", INT.INTPRI[intno], "CFG_INT")$$END$
+	$END$
+
+$	// J[lÇÌÝÆµÄÅè³êÄ¢éÝÉCTMIN_INTPRI æèà¬³¢lªwè³ê½êiE_OBJj
+	$IF LENGTH(FIND(INTNO_FIX_KERNEL, intno))$
+		$IF INT.INTPRI[intno] < TMIN_INTPRI$
+			$ERROR INT.TEXT_LINE[intno]$E_OBJ: $FORMAT(_("%1% `%2%\' must not have higher priority than %3%"), "intno", INT.INTNO[intno], "TMIN_INTPRI")$$END$
+		$END$
+	$END$
+
+$	// J[lÇOÌÝÆµÄÅè³êÄ¢éÝÉCTMIN_INTPRI æèà¬³¢lªwè³êÈ©Á½êiE_OBJj
+	$IF LENGTH(FIND(INTNO_FIX_NONKERNEL, intno))$
+		$IF INT.INTPRI[intno] >= TMIN_INTPRI$
+			$ERROR INT.TEXT_LINE[intno]$E_OBJ: $FORMAT(_("%1% `%2%\' must have higher priority than %3%"), "intno", INT.INTNO[intno], "TMIN_INTPRI")$$END$
+		$END$
+	$END$
+	$i = i + 1$
+$END$
+
+
+$ ÝnhÉÖ·éG[`FbN
+$i = 0$
+$FOREACH inhno INH.ORDER_LIST$
+$	// ÝnhÔ(inhno)ª³µ­È¢êiE_PARj
+	$IF !LENGTH(FIND(INHNO_DEFINH_VALID, INH.INHNO[inhno]))$
+		$ERROR INH.TEXT_LINE[inhno]$E_PAR: $FORMAT(_("illegal %1% `%2%\' in %3%"), "inhno", INH.INHNO[inhno], "DEF_INH")$$END$
+	$END$
+
+$	// ¯¶ÝnhÔÉÎ·éDEF_INHª¡¶Ý·éêiE_OBJj
+	$j = 0$
+	$FOREACH inhno2 INH.ORDER_LIST$
+		$IF INH.INHNO[inhno] == INH.INHNO[inhno2] && j < i$
+			$ERROR INH.TEXT_LINE[inhno]$E_OBJ: $FORMAT(_("%1% `%2%\' in %3% is duplicated"), "inhno", INH.INHNO[inhno], "DEF_INH")$$END$
+		$END$
+		$j = j + 1$
+	$END$
+
+$	// Ýnh®«(inhatr) ª TA_NULL, TA_NONKERNEL, yÑ»Ì¼^[QbgË¶ÅpÂ\È®«Ì¢¸êÅàÈ¢iE_RSATRj
+	$IF (INH.INHATR[inhno] & ~(TA_NONKERNEL|ALT(TARGET_INHATR,0))) != 0$
+		$ERROR INH.TEXT_LINE[inhno]$E_RSATR: $FORMAT(_("illegal %1% `%2%\' of %3% `%4%\' in %5%"), "inhatr", INH.INHATR[inhno], "inhno", INH.INHNO[inhno], "DEF_INH")$$END$
+	$END$
+
+$	// J[lÇÉÅè³êÄ¢éÝnhÉCTA_NONKERNEL ®«ªÝè³êÄ¢éiE_RSATRj
+	$IF LENGTH(FIND(INHNO_FIX_KERNEL, inhno))$
+		$IF (INH.INHATR[inhno] & TA_NONKERNEL) != 0$
+			$ERROR INH.TEXT_LINE[inhno]$E_RSATR: $FORMAT(_("%1% `%2%\' must not be non-kernel interrupt"), "inhno", INH.INHNO[inhno])$$END$
+		$END$
+	$END$
+
+$	// J[lÇOÉÅè³êÄ¢éÝnhÉCTA_NONKERNEL ®«ªÝè³êÄ¢È¢iE_RSATRj
+	$IF LENGTH(FIND(INHNO_FIX_NONKERNEL, inhno))$
+		$IF (INH.INHATR[inhno] & TA_NONKERNEL) == 0$
+			$ERROR INH.TEXT_LINE[inhno]$E_RSATR: $FORMAT(_("%1% `%2%\' must be non-kernel interrupt"), "inhno", INH.INHNO[inhno])$$END$
+		$END$
+	$END$
+
+
+$	// ÝÔÆ1Î1Î·éÝnhÔ(ATT_ISRÅwèÂ\ÈÝnhÔ)ÍCÈºÌ`FbNàs¤D
+$	// INHNO_ATTISR_VALID ÉÜÜêÈ¢ÝnhÔÍ`FbN³êÈ¢±ÆÉÈéD
+	$IF LENGTH(INTNO[INH.INHNO[inhno]]) > 0$
+		$intno = INTNO[INH.INHNO[inhno]]$
+
+$		// Ýnho^æÌÝvCª®«Ýè³êÄ¢È¢(CFG_INTªÈ¢)iE_OBJj
+		$IF !LENGTH(INT.INTNO[intno])$
+			$ERROR INH.TEXT_LINE[inhno]$E_OBJ: $FORMAT(_("%1% `%2%\' corresponding to %3% `%4%\' is not configured with %5%"), "intno", INT.INTNO[intno], "inhno", INH.INHNO[inhno], "CFG_INT")$$END$
+		$ELSE$
+			$IF (INH.INHATR[inhno] & TA_NONKERNEL) == 0$
+$				// inhatrÉTA_NONKERNELªwè³êÄ¨ç¸CinhnoÉÎ
+$				// ·éintnoÉÎµÄCFG_INTÅÝè³ê½ÝDæxª
+$				// TMIN_INTPRIæèà¬³¢êiE_OBJj
+				$IF INT.INTPRI[intno] < TMIN_INTPRI$
+					$ERROR INT.TEXT_LINE[intno]$E_OBJ: $FORMAT(_("%1% `%2%\' configured for %3% `%4%\' is higher than %5%"), "intpri", INT.INTPRI[intno], "inhno", INH.INHNO[inhno], "TMIN_INTPRI")$$END$
+				$END$
+			$ELSE$
+$				// inhatrÉTA_NONKERNELªwè³êÄ¨èCinhnoÉÎ
+$				// ·éintnoÉÎµÄCFG_INTÅÝè³ê½ÝDæxª
+$				// TMIN_INTPRIÈãÅ éêiE_OBJj
+				$IF INT.INTPRI[intno] >= TMIN_INTPRI$
+					$ERROR INT.TEXT_LINE[intno]$E_OBJ: $FORMAT(_("%1% `%2%\' configured for %3% `%4%\' is lower than or equal to %5%"), "intpri", INT.INTPRI[intno], "inhno", INH.INHNO[inhno], "TMIN_INTPRI")$$END$
+				$END$
+			$END$
+		$END$
+	$END$
+	$i = i + 1$
+$END$
+
+$ ÝT[rX[`iISRjÉÖ·éG[`FbNÆÝnhÌ¶¬
+$FOREACH order ISR.ORDER_LIST$
+$	// isratrªiTA_NULLjÅÈ¢êiE_RSATRj
+	$IF (ISR.ISRATR[order] & ~ALT(TARGET_ISRATR,0)) != 0$
+		$ERROR ISR.TEXT_LINE[order]$E_RSATR: $FORMAT(_("illegal %1% `%2%\' of %3% `%4%\' in %5%"), "isratr", ISR.ISRATR[order], "isr", ISR.ISR[order], "ATT_ISR")$$END$
+	$END$
+
+$	// intnoªATT_ISRÉÎ·éÝÔÆµÄ³µ­È¢êiE_PARj
+	$IF !LENGTH(FIND(INTNO_ATTISR_VALID, ISR.INTNO[order]))$
+		$ERROR ISR.TEXT_LINE[order]$E_PAR: $FORMAT(_("illegal %1% `%2%\' in %3%"), "intno", ISR.INTNO[order], "ATT_ISR")$$END$
+	$END$
+
+$	// (TMIN_ISRPRI <= isrpri && isrpri <= TMAX_ISRPRI)ÅÈ¢êiE_PARj
+	$IF !(TMIN_ISRPRI <= ISR.ISRPRI[order] && ISR.ISRPRI[order] <= TMAX_ISRPRI)$
+		$ERROR ISR.TEXT_LINE[order]$E_PAR: $FORMAT(_("illegal %1% `%2%\' in %3%"), "isrpri", ISR.ISRPRI[order], "ATT_ISR")$$END$
+	$END$
+$END$
+
+
+$FOREACH intno INTNO_ATTISR_VALID$
+	$inhno = INHNO[intno]$
+
+$	// ÝÔintnoÉÎµÄo^³ê½ISRÌXgÌì¬
+	$isr_order_list = {}$
+	$FOREACH order ISR.ORDER_LIST$
+		$IF ISR.INTNO[order] == intno$
+			$isr_order_list = APPEND(isr_order_list, order)$
+			$order_for_error = order$
+		$END$
+	$END$
+
+$	// ÝÔintnoÉÎµÄo^³ê½ISRª¶Ý·éê
+	$IF LENGTH(isr_order_list) > 0$
+$		// intnoÉÎ·éinhnoÉÎµÄDEF_INHª éêiE_OBJj
+		$IF LENGTH(INH.INHNO[inhno])$
+			$ERROR ISR.TEXT_LINE[order_for_error]$E_OBJ: $FORMAT(_("%1% `%2%\' in %3% is duplicated with %4% `%5%\'"), "intno", ISR.INTNO[order_for_error], "ATT_ISR", "inhno", INH.INHNO[inhno])$$END$
+		$END$
+
+$		// intnoÉÎ·éCFG_INTªÈ¢êiE_OBJj
+		$IF !LENGTH(INT.INTNO[intno])$
+			$ERROR ISR.TEXT_LINE[order_for_error]$E_OBJ: $FORMAT(_("%1% `%2%\' is not configured with %3%"), "intno", ISR.INTNO[order_for_error], "CFG_INT")$$END$
+		$ELSE$
+$			// intnoÉÎµÄCFG_INTÅÝè³ê½ÝDæxªTMIN_INTPRI
+$			// æèà¬³¢êiE_OBJj
+			$IF INT.INTPRI[intno] < TMIN_INTPRI$
+				$ERROR INT.TEXT_LINE[intno]$E_OBJ: $FORMAT(_("%1% `%2%\' configured for %3% `%4%\' is higher than %5%"), "intpri", INT.INTPRI[intno], "intno", ISR.INTNO[order_for_error], "TMIN_INTPRI")$$END$
+			$END$
+		$END$
+
+$		// DEF_INH(inhno, { TA_NULL, _kernel_inthdr_<intno> } );
+		$INH.INHNO[inhno] = inhno$
+		$INH.INHATR[inhno] = VALUE("TA_NULL", 0)$
+		$INH.INTHDR[inhno] = CONCAT("_kernel_inthdr_", intno)$
+		$INH.ORDER_LIST = APPEND(INH.ORDER_LIST, inhno)$
+
+$		// ISRpÌÝnh
+		void$NL$
+		_kernel_inthdr_$intno$(void)$NL$
+		{$NL$
+		$IF LENGTH(isr_order_list) > 1$
+			$TAB$PRI	saved_ipm;$NL$
+			$NL$
+			$TAB$i_begin_int($intno$);$NL$
+			$TAB$saved_ipm = i_get_ipm();$NL$
+		$ELSE$
+			$TAB$i_begin_int($intno$);$NL$
+		$END$
+$		// ISRðDæxÉÄÑo·
+		$JOINEACH order SORT(isr_order_list, "ISR.ISRPRI") "\tif (i_sense_lock()) {\n\t\ti_unlock_cpu();\n\t}\n\ti_set_ipm(saved_ipm);\n"$
+			$TAB$LOG_ISR_ENTER($intno$);$NL$
+			$TAB$((ISR)($ISR.ISR[order]$))((intptr_t)($ISR.EXINF[order]$));$NL$
+			$TAB$LOG_ISR_LEAVE($intno$);$NL$
+		$END$
+		$TAB$i_end_int($intno$);$NL$
+		}$NL$
+	$END$
+$END$
+$NL$
+
+$ 
+$ ÝÇ@\Ì½ßÌWIÈú»îñÌ¶¬
+$ 
+$ ÝnhÌú»ÉKvÈîñ
+$IF !OMIT_INITIALIZE_INTERRUPT || ALT(USE_INHINIB_TABLE,0)$
+
+$ Ýnh
+#define TNUM_INHNO	$LENGTH(INH.ORDER_LIST)$$NL$
+const uint_t _kernel_tnum_inhno = TNUM_INHNO;$NL$
+$NL$
+$FOREACH inhno INH.ORDER_LIST$
+	INTHDR_ENTRY($INH.INHNO[inhno]$, $+INH.INHNO[inhno]$, $INH.INTHDR[inhno]$)$NL$$NL$
+$END$
+
+$ Ýnhú»e[u
+$IF LENGTH(INH.ORDER_LIST)$
+	const INHNO _kernel_inhinib_inhno[TNUM_INHNO] = {
+	$JOINEACH inhno INH.ORDER_LIST ","$
+		($INH.INHNO[inhno]$)
+	$END$
+	};$NL$
+
+	const ATR _kernel_inhinib_inhatr[TNUM_INHNO] = {
+	$JOINEACH inhno INH.ORDER_LIST ","$
+		($INH.INHATR[inhno]$)
+	$END$
+	};$NL$
+
+	const FP _kernel_inhinib_entry[TNUM_INHNO] = {
+	$JOINEACH inhno INH.ORDER_LIST ","$
+		(FP)(INT_ENTRY($INH.INHNO[inhno]$, $INH.INTHDR[inhno]$))
+	$END$
+	};$NL$
+$ELSE$
+	TOPPERS_EMPTY_LABEL(const INHNO, _kernel_inhinib_inhno);$NL$
+	TOPPERS_EMPTY_LABEL(const ATR, _kernel_inhinib_inhatr);$NL$
+	TOPPERS_EMPTY_LABEL(const FP, _kernel_inhinib_entry);$NL$
+$END$$NL$
+$END$
+
+$ ÝvCÌú»ÉKvÈîñ
+$IF !OMIT_INITIALIZE_INTERRUPT || ALT(USE_INTINIB_TABLE,0)$ 
+
+$ ÝvC
+#define TNUM_INTNO	$LENGTH(INT.ORDER_LIST)$$NL$
+const uint_t _kernel_tnum_intno = TNUM_INTNO;$NL$
+$NL$
+
+$ ÝvCú»e[u
+$IF LENGTH(INT.ORDER_LIST)$
+	const INTNO _kernel_intinib_intno[TNUM_INTNO] = {
+	$JOINEACH intno INT.ORDER_LIST ","$
+		($INT.INTNO[intno]$)
+	$END$
+	};$NL$
+
+	const ATR _kernel_intinib_intatr[TNUM_INTNO] = {
+	$JOINEACH intno INT.ORDER_LIST ","$
+		($INT.INTATR[intno]$)
+	$END$
+	};$NL$
+
+	const PRI _kernel_intinib_intpri[TNUM_INTNO] = {
+	$JOINEACH intno INT.ORDER_LIST ","$
+		($INT.INTPRI[intno]$)
+	$END$
+	};$NL$
+$ELSE$
+	TOPPERS_EMPTY_LABEL(const INTNO, _kernel_intinib_intno);$NL$
+	TOPPERS_EMPTY_LABEL(const ATR, _kernel_intinib_intatr);$NL$
+	TOPPERS_EMPTY_LABEL(const PRI, _kernel_intinib_intpri);$NL$
+$END$
+$NL$
+$END$
+
+$ ---------------------------------------------------------------------
+$  CPUáOnh
+$ ---------------------------------------------------------------------
+/*$NL$
+$SPC$*  CPU Exception Handler$NL$
+$SPC$*/$NL$
+$NL$
+
+$ // EXCNO_DEFEXC_VALID Ìvfª EXCNO_VALID ÉÜÜêé©Ç¤©Ì`FbN
+$ // EXCNO_DEFEXC_VALID Í EXCNO_VALID ÌªWÉÈéÍ¸D
+$FOREACH excno EXCNO_DEFEXC_VALID$
+	$IF LENGTH(FIND(EXCNO_VALID, excno)) == 0$
+		$ERROR$all elements of `EXCNO_DEFEXC_VALID' must be included in `EXCNO_VALID'$END$
+	$END$
+$END$
+
+
+$ CPUáOnhÉÖ·éG[`FbN
+$i = 0$
+$FOREACH excno EXC.ORDER_LIST$
+$	// excnoªDEF_EXCÉÎ·éCPUáOnhÔÆµÄ³µ­È¢êiE_PARj
+	$IF !LENGTH(FIND(EXCNO_DEFEXC_VALID, EXC.EXCNO[excno]))$
+		$ERROR EXC.TEXT_LINE[excno]$E_PAR: $FORMAT(_("illegal %1% `%2%\' in %3%"), "excno", EXC.EXCNO[excno], "DEF_EXC")$$END$
+	$END$
+
+$	// excnoªDEF_EXCÉæÁÄÝèÏÝÌêiE_OBJj
+	$j = 0$
+	$FOREACH excno2 EXC.ORDER_LIST$
+		$IF EXC.EXCNO[excno] == EXC.EXCNO[excno2] && j < i$
+			$ERROR EXC.TEXT_LINE[excno]$E_OBJ: $FORMAT(_("%1% `%2%\' in %3% is duplicated"), "excno", EXC.EXCNO[excno], "DEF_EXC")$$END$
+		$END$
+		$j = j + 1$
+	$END$
+
+$	// excatrªiTA_NULLjÅÈ¢êiE_RSATRj
+	$IF (EXC.EXCATR[excno] & ~ALT(TARGET_EXCATR,0)) != 0$
+		$ERROR EXC.TEXT_LINE[excno]$E_RSATR: $FORMAT(_("illegal %1% `%2%\' of %3% `%4%\' in %5%"), "excatr", EXC.EXCATR[excno], "excno", EXC.EXCNO[excno], "DEF_EXC")$$END$
+	$END$
+	$i = i + 1$
+$END$
+
+$ CPUáOnhÌ½ßÌWIÈú»îñÌ¶¬
+$IF !ALT(OMIT_INITIALIZE_EXCEPTION,0)$
+
+$ CPUáOnh
+#define TNUM_EXCNO	$LENGTH(EXC.ORDER_LIST)$$NL$
+const uint_t _kernel_tnum_excno = TNUM_EXCNO;$NL$
+$NL$
+$FOREACH excno EXC.ORDER_LIST$
+	EXCHDR_ENTRY($EXC.EXCNO[excno]$, $+EXC.EXCNO[excno]$, $EXC.EXCHDR[excno]$)$NL$$NL$
+$END$
+
+$ CPUáOnhú»e[u
+$IF LENGTH(EXC.ORDER_LIST)$
+	const EXCNO _kernel_excinib_excno[TNUM_EXCNO] = {
+	$JOINEACH excno EXC.ORDER_LIST ","$
+		($EXC.EXCNO[excno]$)
+	$END$
+	};$NL$
+
+	const ATR _kernel_excinib_excatr[TNUM_EXCNO] = {
+	$JOINEACH excno EXC.ORDER_LIST ","$
+		($EXC.EXCATR[excno]$)
+	$END$
+	};$NL$
+
+	const FP _kernel_excinib_entry[TNUM_EXCNO] = {
+	$JOINEACH excno EXC.ORDER_LIST ","$
+		(FP)(EXC_ENTRY($EXC.EXCNO[excno]$, $EXC.EXCHDR[excno]$))
+	$END$
+	};$NL$
+$ELSE$
+	TOPPERS_EMPTY_LABEL(const EXCNO, _kernel_excinib_excno);$NL$
+	TOPPERS_EMPTY_LABEL(const ATR, _kernel_excinib_excatr);$NL$
+	TOPPERS_EMPTY_LABEL(const FP, _kernel_excinib_entry);$NL$
+$END$
+$NL$
+$END$
+
+
+$ ---------------------------------------------------------------------
+$  üúnh
+$ ---------------------------------------------------------------------
+
+/*$NL$
+$SPC$*  Cyclic Handler Functions$NL$
+$SPC$*/$NL$
+$NL$
+
+$ üúnhIDÔÌÅål
+const ID _kernel_tmax_cycid = (TMIN_CYCID + TNUM_CYCID - 1);$NL$
+
+$ üúnhÌ^CCxgIDItZbg
+$ üúnhÌ^CCxgIDÍ0©çJn
+const uint_t _kernel_cycevtid_offset = 0;$NL$
+$NL$
+
+$ Ggª TMAX_MAXCYC(kernel.h) Âæè½¢êÍCG[Æ·é
+$IF LENGTH(CYC.ORDER_LIST) > TMAX_MAXCYC$
+	$ERROR$$FORMAT(_("The number of CRE_CYC must be equal to or less than %1%."), +VALUE("TMAX_MAXCYC", TMAX_MAXCYC))$$END$
+$END$
+
+$IF LENGTH(CYC.ORDER_LIST)$
+$	üúnh®«
+	$CYCACT = 0$
+	$FOREACH cycid CYC.ORDER_LIST$
+$		// üúnh®«(cycatr) ª TA_NULL, TA_STA Ì¢¸êÅàÈ¢iE_RSATRj
+		$IF (CYC.CYCATR[cycid] & ~TA_STA) != 0$
+			$ERROR CYC.TEXT_LINE[cycid]$E_RSATR: $FORMAT(_("illegal %1% `%2%\' of `%3%\' in %4%"), "cycatr", CYC.CYCATR[cycid], cycid, "CRE_CYC")$$END$
+		$END$
+
+		$IF(CYC.CYCATR[cycid] & TA_STA)$
+			$CYCACT = CYCACT | (1 << (cycid-1))$
+		$END$
+	$END$
+	const uint16_t _kernel_cycinib_cycact = $CYCACT$;$NL$
+
+$	üúnhg£îñ
+	const intptr_t _kernel_cycinib_exinf[TNUM_CYCID] = {
+	$JOINEACH cycid CYC.ORDER_LIST ","$
+		(intptr_t)($CYC.EXINF[cycid]$)
+	$END$
+	};$NL$
+
+$	üúnhAhX
+	const CYCHDR _kernel_cycinib_cychdr[TNUM_CYCID] = {
+	$JOINEACH cycid CYC.ORDER_LIST ","$
+		($CYC.CYCHDR[cycid]$)
+	$END$
+	};$NL$
+
+$	üúnhüú
+	const RELTIM _kernel_cycinib_cyctim[TNUM_CYCID] = {
+	$JOINEACH cycid CYC.ORDER_LIST ","$
+$		// cyctim Í 0 æèå«­CTMAX_RELTIM ÈºÅ éD(E_PAR)
+		$IF CYC.CYCTIM[cycid] <= 0 || TMAX_RELTIM < CYC.CYCTIM[cycid] $
+			$ERROR CYC.TEXT_LINE[cycid]$E_PAR: $FORMAT(_("illegal %1% `%2%\' of `%3%\' in %4%"), "cyctim", CYC.CYCTIM[cycid], cycid, "CRE_CYC")$$END$
+		$END$
+
+		($CYC.CYCTIM[cycid]$)
+	$END$
+	};$NL$
+
+$	üúnhÊ
+	const RELTIM _kernel_cycinib_cycphs[TNUM_CYCID] = {
+	$JOINEACH cycid CYC.ORDER_LIST ","$
+$		// cycphs Í 0 ÈãCTMAX_RELTIM ÈºÅ éD(E_PAR)
+		$IF CYC.CYCPHS[cycid] < 0 || TMAX_RELTIM < CYC.CYCPHS[cycid] $
+			$ERROR CYC.TEXT_LINE[cycid]$E_PAR: $FORMAT(_("illegal %1% `%2%\' of `%3%\' in %4%"), "cycphs", CYC.CYCPHS[cycid], cycid, "CRE_CYC")$$END$
+		$END$
+
+$		// Êª0©ÂC®«ª TA_STA ÌêÍx
+		$IF CYC.CYCPHS[cycid] == 0 && (CYC.CYCATR[cycid] & TA_STA) != 0$
+			$WARNING CYC.TEXT_LINE[cycid]$$FORMAT(_("%1% is not recommended when %2% is set to %3% in %4%"), "cycphs==0", "TA_STA", "cycatr", "CRE_CYC")$$END$
+		$END$
+
+		($CYC.CYCPHS[cycid]$)
+	$END$
+	};$NL$
+	$NL$
+
+$	üúnhÌñN®
+EVTTIM _kernel_cyccb_evttim[TNUM_CYCID];$NL$
+
+$ELSE$
+	const uint16_t _kernel_cycinib_cycact = 0;$NL$
+	TOPPERS_EMPTY_LABEL(const intptr_t, _kernel_cycinib_exinf);$NL$
+	TOPPERS_EMPTY_LABEL(const CYCHDR, _kernel_cycinib_cychdr);$NL$
+	TOPPERS_EMPTY_LABEL(const RELTIM, _kernel_cycinib_cyctim);$NL$
+	TOPPERS_EMPTY_LABEL(const RELTIM, _kernel_cycinib_cycphs);$NL$
+	TOPPERS_EMPTY_LABEL(EVTTIM, _kernel_cyccb_evttim);$NL$
+$END$
+
+$	üúnh®ìóÔ
+uint16_t _kernel_cyccb_cycact;$NL$
+
+$NL$
+$NL$
+
+$ ---------------------------------------------------------------------
+$  A[nh
+$ ---------------------------------------------------------------------
+
+/*$NL$
+$SPC$*  Alarm Handler Functions$NL$
+$SPC$*/$NL$
+$NL$
+
+$ Ggª TMAX_MAXALM(kernel.h) Âæè½¢êÍCG[Æ·é
+$IF LENGTH(ALM.ORDER_LIST) > TMAX_MAXALM$
+	$ERROR$$FORMAT(_("The number of CRE_ALM must be equal to or less than %1%."), +VALUE("TMAX_MAXALM",TMAX_MAXALM))$$END$
+$END$
+
+$ A[nhÌÅåIDl
+const ID _kernel_tmax_almid = (TMIN_ALMID + TNUM_ALMID - 1);$NL$
+
+$ A[nhÌ^CCxgIDItZbg
+const uint_t _kernel_almevtid_offset = $LENGTH(CYC.ORDER_LIST)$;$NL$
+$NL$
+
+$FOREACH almid ALM.ORDER_LIST$
+$	// almatrªiTA_NULLjÅÈ¢êiE_RSATRj
+	$IF ALM.ALMATR[almid] != 0$
+		$ERROR ALM.TEXT_LINE[almid]$E_RSATR: $FORMAT(_("illegal %1% `%2%\' of `%3%\' in %4%"), "almatr", ALM.ALMATR[almid], almid, "CRE_ALM")$$END$
+	$END$
+$END$
+
+$IF LENGTH(ALM.ORDER_LIST)$
+$	A[nhæªÔn
+	const ALMHDR _kernel_alminib_almhdr[TNUM_ALMID] = {
+	$JOINEACH almid ALM.ORDER_LIST ","$
+		($ALM.ALMHDR[almid]$)
+	$END$
+	};$NL$
+
+$	A[nhg£îñ
+	const intptr_t _kernel_alminib_exinf[TNUM_ALMID] = {
+	$JOINEACH almid ALM.ORDER_LIST ","$
+		(intptr_t)($ALM.EXINF[almid]$)
+	$END$
+	};$NL$
+$NL$
+$ELSE$
+	TOPPERS_EMPTY_LABEL(const ALMHDR, _kernel_alminib_almhdr);$NL$
+	TOPPERS_EMPTY_LABEL(const intptr_t, _kernel_alminib_exinf);$NL$
+$NL$
+$END$
+
+$ A[nhóÔ
+uint16_t _kernel_almcb_almact;$NL$
+$NL$
+
+
+$ ---------------------------------------------------------------------
+$  ^CCxgÇ
+$ ---------------------------------------------------------------------
+
+/*$NL$
+$SPC$*  Time Event Management$NL$
+$SPC$*/$NL$
+$NL$
+
+$TNUM_TMEVT = LENGTH(CYC.ORDER_LIST) + LENGTH(ALM.ORDER_LIST)$
+
+#define TNUM_TMEVT $TNUM_TMEVT$$NL$
+$NL$
+
+$ ^CCxgubNÌTCY
+const uint_t _kernel_tnum_tmevt_queue = TNUM_TMEVT;$NL$$NL$
+
+$IF TNUM_TMEVT != 0$
+$	^CCxgL
+[
+	QUEUE _kernel_tmevt_queue[TNUM_TMEVT+1];$NL$
+$	^CCxgÔ
+	EVTTIM _kernel_tmevt_time[TNUM_TMEVT];$NL$
+$	^CCxgÌR[obN
+	CBACK _kernel_tmevt_callback[TNUM_TMEVT];$NL$
+$	^CCxgR[obNÌø
+	uintptr_t _kernel_tmevt_arg[TNUM_TMEVT];$NL$
+	$NL$$NL$
+$ELSE$
+	TOPPERS_EMPTY_LABEL(QUEUE, _kernel_tmevt_queue);$NL$
+	TOPPERS_EMPTY_LABEL(EVTTIM, _kernel_tmevt_time);$NL$
+	TOPPERS_EMPTY_LABEL(CBACK, _kernel_tmevt_callback);$NL$
+	TOPPERS_EMPTY_LABEL(uintptr_t, _kernel_tmevt_arg);$NL$
+	$NL$$NL$
+$END$
+
+$ ---------------------------------------------------------------------
+$  ñ^XNReLXgpX^bNÌæ
+$ ---------------------------------------------------------------------
+/*$NL$
+$SPC$*  Interrupt Context Stack Size$NL$
+$SPC$*/$NL$$NL$
+
+$ // Ïè`
+$ // ñ^XNReLXgpX^bNÌæÌTCY
+$interrupt_context_stksz = 0$
+
+$ // DEF_ICS ÌGgª¶Ý·é©?
+$IF !LENGTH(ICS.ORDER_LIST)$
+$	// È¢êDTCYÍùèl (DEFAULT_ISTKSZ) ðg¤
+	#define TOPPERS_ISTKSZ		DEFAULT_ISTKSZ$NL$$NL$
+	$interrupt_context_stksz = DEFAULT_ISTKSZ$
+$ELSE$
+$	// DEF_ICS ÌGgª éê
+
+$ 
+$	// G[`FbN
+$ 
+$	// ÃIAPIuDEF_ICSvª¡ éiE_OBJj
+	$IF LENGTH(ICS.ORDER_LIST) > 1$
+		$ERROR$E_OBJ: $FORMAT(_("too many %1%"), "DEF_ICS")$$END$
+	$END$
+$	// DEF_ICS Å0ðwèµ½ê(E_PAR)
+	$IF ICS.ISTKSZ[1] == 0$
+		$ERROR ICS.TEXT_LINE[1]$E_PAR: $FORMAT(_("%1% in %2% is 0"), "istksz", "DEF_ICS")$$END$
+	$END$
+$	// íÉ NULL Å éD(E_PAR)
+	$IF !EQ(ICS.ISTK[1], "NULL")$
+		$ERROR ICS.TEXT_LINE[1]$E_PAR: $FORMAT(("'%1%' of %2% must be NULL."), "istk", "DEF_ICS")$$END$
+	$END$
+
+	#define TOPPERS_ISTKSZ		($ICS.ISTKSZ[1]$)$NL$
+	$interrupt_context_stksz = ICS.ISTKSZ[1]$
+	$NL$
+$END$
+$NL$
+
+$ ---------------------------------------------------------------------
+$  ¤LX^bNÌæ
+$      SSPÅÍ·×ÄÌPÊÌX^bNð¤L·é½ßC
+$      ±±ÅVXeSÌÌX^bNÌæðmÛ·éD
+$ ---------------------------------------------------------------------
+
+$ 
+$ ¤LX^bNÌRtBM
+[VÉ¬÷µ½©Ç¤©
+$ 
+$ DEF_STK ÉG[ª­¶µ½êC±ÌÏª0ÉÈéD
+$ DEF_STK ÉG[ª­¶µ½©Ç¤©ð»fµÄ
+$ ÁèÌÀsðubN·é½ßÉgp·éD
+$ 
+$configurated_defstk_successfully = 1$
+
+/*$NL$
+$SPC$*  Stack Area for System$NL$
+$SPC$*/$NL$
+$NL$
+
+$ // Ïè`
+$ // èÄçê½¤LX^bNÌæÌTCY
+$allocated_stack_size = 0$
+
+$ // DEF_STK ÌGgª¶Ý·é©?
+$IF !LENGTH(STK.ORDER_LIST)$
+$	// (1) DEF_STK ÌGgªÈ¢ê
+	static STK_T          		_kernel_stack[COUNT_STK_T(TOPPERS_TSTKSZ+TOPPERS_ISTKSZ)];$NL$
+	#define TOPPERS_STK   		_kernel_stack$NL$
+	#define TOPPERS_STKSZ		ROUND_STK_T(TOPPERS_TSTKSZ+TOPPERS_ISTKSZ)$NL$
+	$NL$
+
+	$allocated_stack_size = max_tsk_stksz + interrupt_context_stksz$
+$ELSE$
+$	// (2) DEF_STK ÌGgª éê
+
+$	// G[`FbN
+$	// ÃIAPIuDEF_STKvª¡ éiE_OBJj
+	$IF LENGTH(STK.ORDER_LIST) > 1$
+		$configurated_defstk_successfully = 0$
+		$ERROR$E_OBJ: $FORMAT(_("too many %1%"), "DEF_STK")$$END$
+	$END$
+$	// DEF_STK Ì stksz Å 0 ðwèµ½ê(E_PAR)
+	$IF STK.STKSZ[1] == 0$
+		$configurated_defstk_successfully = 0$
+		$ERROR STK.TEXT_LINE[1]$E_PAR: $FORMAT(_("%1% in %2% is 0"), "stksz", "DEF_STK")$$END$
+	$END$
+
+	$IF EQ(STK.STK[1], "NULL")$
+$		// stk ª NULL ÌêCX^bNÌæð©®t¯
+		static STK_T         		_kernel_stack[COUNT_STK_T($STK.STKSZ[1]$)];$NL$
+		#define TOPPERS_STK  		_kernel_stack$NL$
+		#define TOPPERS_STKSZ		ROUND_STK_T($STK.STKSZ[1]$)$NL$
+	$ELSE$
+$		// stk ª NULL ÈOÌêiAv¤ÅX^bNÌæðpÓ·éêj
+
+$ 		// stkszª^[QbgÉèÜéACgTCYÌ{ÉACg³êÄ¢È¢êiE_PARj
+		$IF LENGTH(CHECK_STKSZ_ALIGN) && (STK.STKSZ[1] & (CHECK_STKSZ_ALIGN - 1))$
+			$configurated_defstk_successfully = 0$
+			$ERROR STK.TEXT_LINE[1]$E_PAR: $FORMAT(_("%1% `%2%\' in %3% is not aligned"), "stksz", STK.STKSZ[1], "DEF_STK")$$END$
+		$END$
+
+		#define TOPPERS_STK   		($STK.STK[1]$)$NL$
+		#define TOPPERS_STKSZ		($STK.STKSZ[1]$)$NL$
+	$END$
+
+	$allocated_stack_size = STK.STKSZ[1]$
+$END$
+$NL$
+
+$ ¤LX^bNpÌX^bNÌæ
+const SIZE		_kernel_stksz = TOPPERS_STKSZ;$NL$
+STK_T *const	_kernel_stk = TOPPERS_STK;$NL$
+$NL$
+#ifdef TOPPERS_ISTKPT$NL$
+STK_T *const	_kernel_istkpt = TOPPERS_ISTKPT(TOPPERS_STK, TOPPERS_STKSZ);$NL$
+#endif /* TOPPERS_ISTKPT */$NL$
+$NL$
+
+$ 
+$ // DæxèÄ¨æÑX^bNÝèÉÖ·éÊðWoÍÖ\¦
+$ 
+$IF configurated_defepr_successfully == 1 && configurated_defstk_successfully == 1$
+	$FILE "stdout"$
+	=====================================$NL$
+	Task priority configuration result:$NL$
+	$FOREACH tskid SORT(TSK.ORDER_LIST, "TSK.ATSKPRI")$
+		$TAB$$TSK.TSKID[tskid]$:$TAB$ IPRI = $reallocate_tskapri[TSK.TSKID[tskid]]$, EXEPRI = $reallocate_tskepri[tskid]$$NL$
+	$END$
+	=====================================$NL$
+
+	=====================================$NL$
+	Stack size configuration result:$NL$
+	$TAB$Estimated task stack size = $max_tsk_stksz$$NL$
+	$TAB$Specified interrupt stack size = $interrupt_context_stksz$(value=$FORMAT("%d",+interrupt_context_stksz)$)$NL$
+	$TAB$Allocated total stack size = $allocated_stack_size$(value=$FORMAT("%d",+allocated_stack_size)$)$NL$
+$ 	// TCYÌ`FbNDX^bNTCYÌèlªÀÛÉÄçê½TCYæèå«¢êCx·éD
+	$IF (max_tsk_stksz+interrupt_context_stksz) > allocated_stack_size$
+		$TAB$!!!WARNING!!!: Estimated stack size is more than the allocated stack size.$NL$
+		$WARNING STK.TEXT_LINE[1]$ $FORMAT("Estimated stack size is more than the allocated stack size.")$$END$
+	$END$
+	=====================================$NL$
+$END$
+$ 
+$ // oÍæð³ÉßµÄ¨­
+$ 
+$FILE "kernel_cfg.c"$
+
+
+$ ---------------------------------------------------------------------
+$  eW
+[Ìú»Ö
+$ ---------------------------------------------------------------------
+/*$NL$
+$SPC$*  Module Initialization Function$NL$
+$SPC$*/$NL$
+$NL$
+void$NL$
+_kernel_initialize_object(void)$NL$
+{$NL$
+$IF TNUM_TMEVT > 0$
+$TAB$_kernel_initialize_time_event();$NL$
+$END$
+$TAB$_kernel_initialize_task();$NL$
+$TAB$_kernel_initialize_interrupt();$NL$
+$TAB$_kernel_initialize_exception();$NL$
+$IF LENGTH(CYC.ID_LIST)$
+	$TAB$_kernel_initialize_cyclic();$NL$
+$END$
+$IF LENGTH(ALM.ID_LIST)$
+	$TAB$_kernel_initialize_alarm();$NL$
+$END$
+$IF LENGTH(FLG.ID_LIST)$
+	$TAB$_kernel_initialize_eventflag();$NL$
+$END$
+$IF LENGTH(DTQ.ID_LIST)$
+	$TAB$_kernel_initialize_dataqueue();$NL$
+$END$
+}$NL$
+$NL$
+
+$ ---------------------------------------------------------------------
+$  ú»[`ÌÀsÖ
+$ ---------------------------------------------------------------------
+/*$NL$
+$SPC$*  Initialization Routine$NL$
+$SPC$*/$NL$
+$NL$
+void$NL$
+_kernel_call_inirtn(void)$NL$
+{$NL$
+$FOREACH order INI.ORDER_LIST$
+$ 	// iniatrªiTA_NULLjÅÈ¢êiE_RSATRj
+	$IF INI.INIATR[order] != 0$
+		$ERROR INI.TEXT_LINE[order]$E_RSATR: $FORMAT(_("illegal %1% `%2%\' of %3% `%4%\' in %5%"), "iniatr", INI.INIATR[order], "inirtn", INI.INIRTN[order], "ATT_INI")$$END$
+	$END$
+	$TAB$((INIRTN)($INI.INIRTN[order]$))((intptr_t)($INI.EXINF[order]$));$NL$
+$END$
+}$NL$
+$NL$
+
+$ ---------------------------------------------------------------------
+$  I¹[`ÌÀsÖ
+$ ---------------------------------------------------------------------
+/*$NL$
+$SPC$*  Termination Routine$NL$
+$SPC$*/$NL$
+$NL$
+void$NL$
+_kernel_call_terrtn(void)$NL$
+{$NL$
+$FOREACH rorder TER.RORDER_LIST$
+$ 	// teratrªiTA_NULLjÅÈ¢êiE_RSATRj
+	$IF TER.TERATR[rorder] != 0$
+		$ERROR TER.TEXT_LINE[rorder]$E_RSATR: $FORMAT(_("illegal %1% `%2%\' of %3% `%4%\' in %5%"), "teratr", TER.TERATR[rorder], "terrtn", TER.TERRTN[rorder], "ATT_TER")$$END$
+	$END$
+	$TAB$((TERRTN)($TER.TERRTN[rorder]$))((intptr_t)($TER.EXINF[rorder]$));$NL$
+$END$
+}$NL$
+$NL$
+
+
Index: /ssp_qb_r5f100le_cs/trunk/kernel/kernel_impl.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/kernel/kernel_impl.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/kernel/kernel_impl.h	(revision 93)
@@ -0,0 +1,180 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2004-2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2010 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+/*
+ *		TOPPERS/SSPJ[làü¯Wwb_t@C
+ *
+ *  ±Ìwb_t@CÍCJ[lð\¬·évOÌ\[Xt@C
+ *  ÅK¸CN[h·é×«Wwb_t@CÅ éD
+ *
+ *  AZu¾êÌ\[Xt@C©ç±Ìt@CðCN[h·é
+ *  ÍCTOPPERS_MACRO_ONLYðè`µÄ¨­D±êÉæèC}Nè`ÈOð
+ *  ­æ¤ÉÈÁÄ¢éD
+ */
+
+#ifndef TOPPERS_KERNEL_IMPL_H
+#define TOPPERS_KERNEL_IMPL_H
+
+/*
+ *  J[lÌà¯Ê¼Ìl[
+ */
+#include "kernel_rename.h"
+
+/*
+ *  AvP[VÆ¤ÊÌwb_t@C
+ */
+#include <kernel.h>
+
+/*
+ *  VXeO@\Ì½ßÌè`
+ */
+#include <t_syslog.h>
+
+/*
+ *  ^LXgðs¤}NÌè`
+ */
+#ifndef CAST
+#define CAST(type, val)		((type)(val))
+#endif /* CAST */
+
+/*
+ *  ^[QbgË¶îñÌè`
+ */
+#include "target_config.h"
+
+/*
+ *  ·×ÄÌÖðRpC·é½ßÌè`
+ */
+#ifdef ALLFUNC
+#include "allfunc.h"
+#endif /* ALLFUNC */
+
+/*
+ *  rbgtB[hÅÌ³µ®^
+ *
+ *  8rbgÈºÌÌrbgtB[hÅC³µ®lðÛµ½¢ê
+ *  Ép¢é×«f[^^DANSI CÅÍCrbgtB[hÌf[^^ÉÍ
+ *  intÆunsigned intµ©³êÈ¢½ßCftHgÌè`Íunsigned
+ *  intÆµÄ¢éªC^[Qbg¨æÑc[Ë¶ÅCunsigned charÜ½Í
+ *  unsigned shortÉè`µ½ûªø¦ªÇ¢êª éD
+ */
+#ifndef BIT_FIELD_UINT
+#define BIT_FIELD_UINT		unsigned int
+#endif /* BIT_FIELD_UINT */
+
+/*
+ *  rbgtB[hÅÌu[^
+ *
+ *  1rbgÌrbgtB[hÅCu[lðÛµ½¢êÉp¢é×«
+ *  f[^^DftHgÅÍBIT_FIELD_UINTÆ¯êÉè`µÄ¢éªCu[
+ *  lðÛ·é±Æð¾¦·é½ßÉÊÌ¼ÌÆµÄ¢éD
+ */
+#ifndef BIT_FIELD_BOOL
+#define BIT_FIELD_BOOL		BIT_FIELD_UINT
+#endif /* BIT_FIELD_BOOL */
+
+/*
+ *  IuWFNgIDÌÅ¬lÌè`
+ */
+#define TMIN_TSKID		1		/* ^XNIDÌÅ¬l */
+#define TMIN_FLGID		1		/* CxgtOIDÌÅ¬l */
+#define TMIN_DTQID		1		/* f[^L
+[IDÌÅ¬l */
+#define TMIN_CYCID		1		/* üúnhIDÌÅ¬l */
+#define TMIN_ALMID		1		/* A[nhIDÌÅ¬l */
+
+/*
+ *  DæxÌiKÌè`
+ */
+#define TNUM_TPRI		(TMAX_TPRI - TMIN_TPRI + 1)
+#define TNUM_INTPRI		(TMAX_INTPRI - TMIN_INTPRI + 1)
+
+/*
+ *  wb_t@Cð½È¢W
+[ÌÖEÏÌé¾
+ */
+#ifndef TOPPERS_MACRO_ONLY
+
+/*
+ *  eW
+[Ìú»ikernel_cfg.cj
+ */
+extern void	initialize_object(void);
+
+/*
+ *  ú»[`ÌÀsikernel_cfg.cj
+ */
+extern void	call_inirtn(void);
+
+/*
+ *  I¹[`ÌÀsikernel_cfg.cj
+ */
+extern void	call_terrtn(void);
+
+/*
+ *  ñ^XNReLXgpÌX^bNÌæikernel_cfg.cj
+ */
+extern const SIZE	istksz;		/* X^bNÌæÌTCYiÛß½lj */
+extern STK_T *const	istk;		/* X^bNÌæÌæªÔn */
+#ifdef TOPPRES_ISTKPT
+extern STK_T *const	istkpt;		/* X^bN|C^Ìúl */
+#endif /* TOPPERS_ISTKPT */
+
+/*
+ *  J[l®ìóÔtOistartup.cj
+ */
+extern bool_t	kerflg;
+
+/*
+ *  J[lÌN®istartup.cj
+ */
+extern void	sta_ker(void);
+
+/*
+ *  J[lÌI¹istartup.cj
+ */
+extern void	exit_kernel(void);
+
+#endif /* TOPPERS_MACRO_ONLY */
+#endif /* TOPPERS_KERNEL_IMPL_H */
Index: /ssp_qb_r5f100le_cs/trunk/kernel/kernel_int.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/kernel/kernel_int.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/kernel/kernel_int.h	(revision 93)
@@ -0,0 +1,80 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2005-2007 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2010 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ *  Copyright (C) 2011 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+/*
+ *		kernel_cfg.ci¨æÑcfg1_out.cjpwb_t@C
+ */
+
+#ifndef TOPPERS_KERNEL_INT_H
+#define TOPPERS_KERNEL_INT_H
+
+/*
+ *  J[lWwb_t@C
+ */
+#include "kernel_impl.h"
+
+/*
+ *  J[lÌewb_t@C
+ */
+#include "task.h"
+#include "interrupt.h"
+#include "exception.h"
+
+/*
+ *  g£pbP[WÌwb_t@C
+ */
+#include "time_event.h"
+#include "cyclic.h"
+#include "alarm.h"
+#include "eventflag.h"
+#include "dataqueue.h"
+
+/*
+ *  l[µ½V{ð³Éß·½ßÌwb_t@C
+ */
+#include "kernel_unrename.h"
+
+
+#endif /* TOPPERS_KERNEL_INT_H */
Index: /ssp_qb_r5f100le_cs/trunk/kernel/kernel_rename.def
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/kernel/kernel_rename.def	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/kernel/kernel_rename.def	(revision 93)
@@ -0,0 +1,130 @@
+# startup.c
+kerflg
+exit_kernel
+
+# task.c
+runtsk_curpri
+runtsk_ipri
+ready_primap
+actque_bitmap
+reqflg
+disdsp
+get_ipri_self
+get_ipri
+bitmap_search_table
+bitmap_search
+primap_empty
+primap_test
+primap_search
+primap_set
+primap_clear
+search_schedtsk
+test_dormant
+initialize_task
+make_active
+run_task
+dispatcher
+
+# interrupt.c
+initialize_interrupt
+
+# exception.c
+initialize_exception
+
+
+# alarm.c
+initialize_alarm
+call_almhdr
+
+# cyclic.c
+initialize_cyclic
+call_cychdr
+
+# dataqueue.c
+initialize_dataqueue
+send_data
+receive_data
+
+# eventflag.c
+initialize_eventflag
+
+# time_event.c
+current_time
+min_time
+initialize_time_event
+time_event_enqueue
+time_event_dequeue
+signal_time
+
+
+# kernel_cfg.c
+tmax_tskid
+tinib_tskatr
+init_rdypmap
+tinib_exinf
+tinib_task
+tinib_epriority
+
+tmax_flgid
+flginib_atr
+flginib_iflgptn
+flgcb_flgptn
+
+tmax_dtqid
+dtqinib_atr
+dtqinib_size
+dtqinib_data
+dtqcb_count
+dtqcb_head
+dtqcb_tail
+
+tnum_inhno
+inhinib_inhno
+inhinib_inhatr
+inhinib_entry
+
+tnum_intno
+intinib_intno
+intinib_intatr
+intinib_intpri
+
+tnum_excno
+excinib_excno
+excinib_excatr
+excinib_entry
+
+tmax_cycid
+cycevtid_offset
+cycinib_cycact
+cycinib_exinf
+cycinib_cychdr
+cycinib_cyctim
+cycinib_cycphs
+cyccb_evttim
+cyccb_cycact
+
+tmax_almid
+almevtid_offset
+alminib_almhdr
+alminib_exinf
+almcb_almact
+
+tnum_tmevt_queue
+tmevt_queue
+tmevt_time
+tmevt_callback
+tmevt_arg
+
+stksz
+stk
+istkpt
+
+initialize_object
+call_inirtn
+call_terrtn
+
+# target_config.c
+target_initialize
+target_exit
+
+INCLUDE "target"
Index: /ssp_qb_r5f100le_cs/trunk/kernel/kernel_rename.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/kernel/kernel_rename.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/kernel/kernel_rename.h	(revision 93)
@@ -0,0 +1,316 @@
+/* This file is generated from kernel_rename.def by genrename. */
+
+#ifndef TOPPERS_KERNEL_RENAME_H
+#define TOPPERS_KERNEL_RENAME_H
+
+/*
+ *  startup.c
+ */
+#define kerflg						_kernel_kerflg
+#define exit_kernel					_kernel_exit_kernel
+
+/*
+ *  task.c
+ */
+#define runtsk_curpri				_kernel_runtsk_curpri
+#define runtsk_ipri					_kernel_runtsk_ipri
+#define ready_primap				_kernel_ready_primap
+#define actque_bitmap				_kernel_actque_bitmap
+#define reqflg						_kernel_reqflg
+#define disdsp						_kernel_disdsp
+#define get_ipri_self				_kernel_get_ipri_self
+#define get_ipri					_kernel_get_ipri
+#define bitmap_search_table			_kernel_bitmap_search_table
+#define bitmap_search				_kernel_bitmap_search
+#define primap_empty				_kernel_primap_empty
+#define primap_test					_kernel_primap_test
+#define primap_search				_kernel_primap_search
+#define primap_set					_kernel_primap_set
+#define primap_clear				_kernel_primap_clear
+#define search_schedtsk				_kernel_search_schedtsk
+#define test_dormant				_kernel_test_dormant
+#define initialize_task				_kernel_initialize_task
+#define make_active					_kernel_make_active
+#define run_task					_kernel_run_task
+#define dispatcher					_kernel_dispatcher
+
+/*
+ *  interrupt.c
+ */
+#define initialize_interrupt		_kernel_initialize_interrupt
+
+/*
+ *  exception.c
+ */
+#define initialize_exception		_kernel_initialize_exception
+
+
+/*
+ *  alarm.c
+ */
+#define initialize_alarm			_kernel_initialize_alarm
+#define call_almhdr					_kernel_call_almhdr
+
+/*
+ *  cyclic.c
+ */
+#define initialize_cyclic			_kernel_initialize_cyclic
+#define call_cychdr					_kernel_call_cychdr
+
+/*
+ *  dataqueue.c
+ */
+#define initialize_dataqueue		_kernel_initialize_dataqueue
+#define send_data					_kernel_send_data
+#define receive_data				_kernel_receive_data
+
+/*
+ *  eventflag.c
+ */
+#define initialize_eventflag		_kernel_initialize_eventflag
+
+/*
+ *  time_event.c
+ */
+#define current_time				_kernel_current_time
+#define min_time					_kernel_min_time
+#define initialize_time_event		_kernel_initialize_time_event
+#define time_event_enqueue			_kernel_time_event_enqueue
+#define time_event_dequeue			_kernel_time_event_dequeue
+#define signal_time					_kernel_signal_time
+
+
+/*
+ *  kernel_cfg.c
+ */
+#define tmax_tskid					_kernel_tmax_tskid
+#define tinib_tskatr				_kernel_tinib_tskatr
+#define init_rdypmap				_kernel_init_rdypmap
+#define tinib_exinf					_kernel_tinib_exinf
+#define tinib_task					_kernel_tinib_task
+#define tinib_epriority				_kernel_tinib_epriority
+
+#define tmax_flgid					_kernel_tmax_flgid
+#define flginib_atr					_kernel_flginib_atr
+#define flginib_iflgptn				_kernel_flginib_iflgptn
+#define flgcb_flgptn				_kernel_flgcb_flgptn
+
+#define tmax_dtqid					_kernel_tmax_dtqid
+#define dtqinib_atr					_kernel_dtqinib_atr
+#define dtqinib_size				_kernel_dtqinib_size
+#define dtqinib_data				_kernel_dtqinib_data
+#define dtqcb_count					_kernel_dtqcb_count
+#define dtqcb_head					_kernel_dtqcb_head
+#define dtqcb_tail					_kernel_dtqcb_tail
+
+#define tnum_inhno					_kernel_tnum_inhno
+#define inhinib_inhno				_kernel_inhinib_inhno
+#define inhinib_inhatr				_kernel_inhinib_inhatr
+#define inhinib_entry				_kernel_inhinib_entry
+
+#define tnum_intno					_kernel_tnum_intno
+#define intinib_intno				_kernel_intinib_intno
+#define intinib_intatr				_kernel_intinib_intatr
+#define intinib_intpri				_kernel_intinib_intpri
+
+#define tnum_excno					_kernel_tnum_excno
+#define excinib_excno				_kernel_excinib_excno
+#define excinib_excatr				_kernel_excinib_excatr
+#define excinib_entry				_kernel_excinib_entry
+
+#define tmax_cycid					_kernel_tmax_cycid
+#define cycevtid_offset				_kernel_cycevtid_offset
+#define cycinib_cycact				_kernel_cycinib_cycact
+#define cycinib_exinf				_kernel_cycinib_exinf
+#define cycinib_cychdr				_kernel_cycinib_cychdr
+#define cycinib_cyctim				_kernel_cycinib_cyctim
+#define cycinib_cycphs				_kernel_cycinib_cycphs
+#define cyccb_evttim				_kernel_cyccb_evttim
+#define cyccb_cycact				_kernel_cyccb_cycact
+
+#define tmax_almid					_kernel_tmax_almid
+#define almevtid_offset				_kernel_almevtid_offset
+#define alminib_almhdr				_kernel_alminib_almhdr
+#define alminib_exinf				_kernel_alminib_exinf
+#define almcb_almact				_kernel_almcb_almact
+
+#define tnum_tmevt_queue			_kernel_tnum_tmevt_queue
+#define tmevt_queue					_kernel_tmevt_queue
+#define tmevt_time					_kernel_tmevt_time
+#define tmevt_callback				_kernel_tmevt_callback
+#define tmevt_arg					_kernel_tmevt_arg
+
+#define stksz						_kernel_stksz
+#define stk							_kernel_stk
+#define istkpt						_kernel_istkpt
+
+#define initialize_object			_kernel_initialize_object
+#define call_inirtn					_kernel_call_inirtn
+#define call_terrtn					_kernel_call_terrtn
+
+/*
+ *  target_config.c
+ */
+#define target_initialize			_kernel_target_initialize
+#define target_exit					_kernel_target_exit
+
+
+#ifdef TOPPERS_LABEL_ASM
+
+/*
+ *  startup.c
+ */
+#define _kerflg						__kernel_kerflg
+#define _exit_kernel				__kernel_exit_kernel
+
+/*
+ *  task.c
+ */
+#define _runtsk_curpri				__kernel_runtsk_curpri
+#define _runtsk_ipri				__kernel_runtsk_ipri
+#define _ready_primap				__kernel_ready_primap
+#define _actque_bitmap				__kernel_actque_bitmap
+#define _reqflg						__kernel_reqflg
+#define _disdsp						__kernel_disdsp
+#define _get_ipri_self				__kernel_get_ipri_self
+#define _get_ipri					__kernel_get_ipri
+#define _bitmap_search_table		__kernel_bitmap_search_table
+#define _bitmap_search				__kernel_bitmap_search
+#define _primap_empty				__kernel_primap_empty
+#define _primap_test				__kernel_primap_test
+#define _primap_search				__kernel_primap_search
+#define _primap_set					__kernel_primap_set
+#define _primap_clear				__kernel_primap_clear
+#define _search_schedtsk			__kernel_search_schedtsk
+#define _test_dormant				__kernel_test_dormant
+#define _initialize_task			__kernel_initialize_task
+#define _make_active				__kernel_make_active
+#define _run_task					__kernel_run_task
+#define _dispatcher					__kernel_dispatcher
+
+/*
+ *  interrupt.c
+ */
+#define _initialize_interrupt		__kernel_initialize_interrupt
+
+/*
+ *  exception.c
+ */
+#define _initialize_exception		__kernel_initialize_exception
+
+
+/*
+ *  alarm.c
+ */
+#define _initialize_alarm			__kernel_initialize_alarm
+#define _call_almhdr				__kernel_call_almhdr
+
+/*
+ *  cyclic.c
+ */
+#define _initialize_cyclic			__kernel_initialize_cyclic
+#define _call_cychdr				__kernel_call_cychdr
+
+/*
+ *  dataqueue.c
+ */
+#define _initialize_dataqueue		__kernel_initialize_dataqueue
+#define _send_data					__kernel_send_data
+#define _receive_data				__kernel_receive_data
+
+/*
+ *  eventflag.c
+ */
+#define _initialize_eventflag		__kernel_initialize_eventflag
+
+/*
+ *  time_event.c
+ */
+#define _current_time				__kernel_current_time
+#define _min_time					__kernel_min_time
+#define _initialize_time_event		__kernel_initialize_time_event
+#define _time_event_enqueue			__kernel_time_event_enqueue
+#define _time_event_dequeue			__kernel_time_event_dequeue
+#define _signal_time				__kernel_signal_time
+
+
+/*
+ *  kernel_cfg.c
+ */
+#define _tmax_tskid					__kernel_tmax_tskid
+#define _tinib_tskatr				__kernel_tinib_tskatr
+#define _init_rdypmap				__kernel_init_rdypmap
+#define _tinib_exinf				__kernel_tinib_exinf
+#define _tinib_task					__kernel_tinib_task
+#define _tinib_epriority			__kernel_tinib_epriority
+
+#define _tmax_flgid					__kernel_tmax_flgid
+#define _flginib_atr				__kernel_flginib_atr
+#define _flginib_iflgptn			__kernel_flginib_iflgptn
+#define _flgcb_flgptn				__kernel_flgcb_flgptn
+
+#define _tmax_dtqid					__kernel_tmax_dtqid
+#define _dtqinib_atr				__kernel_dtqinib_atr
+#define _dtqinib_size				__kernel_dtqinib_size
+#define _dtqinib_data				__kernel_dtqinib_data
+#define _dtqcb_count				__kernel_dtqcb_count
+#define _dtqcb_head					__kernel_dtqcb_head
+#define _dtqcb_tail					__kernel_dtqcb_tail
+
+#define _tnum_inhno					__kernel_tnum_inhno
+#define _inhinib_inhno				__kernel_inhinib_inhno
+#define _inhinib_inhatr				__kernel_inhinib_inhatr
+#define _inhinib_entry				__kernel_inhinib_entry
+
+#define _tnum_intno					__kernel_tnum_intno
+#define _intinib_intno				__kernel_intinib_intno
+#define _intinib_intatr				__kernel_intinib_intatr
+#define _intinib_intpri				__kernel_intinib_intpri
+
+#define _tnum_excno					__kernel_tnum_excno
+#define _excinib_excno				__kernel_excinib_excno
+#define _excinib_excatr				__kernel_excinib_excatr
+#define _excinib_entry				__kernel_excinib_entry
+
+#define _tmax_cycid					__kernel_tmax_cycid
+#define _cycevtid_offset			__kernel_cycevtid_offset
+#define _cycinib_cycact				__kernel_cycinib_cycact
+#define _cycinib_exinf				__kernel_cycinib_exinf
+#define _cycinib_cychdr				__kernel_cycinib_cychdr
+#define _cycinib_cyctim				__kernel_cycinib_cyctim
+#define _cycinib_cycphs				__kernel_cycinib_cycphs
+#define _cyccb_evttim				__kernel_cyccb_evttim
+#define _cyccb_cycact				__kernel_cyccb_cycact
+
+#define _tmax_almid					__kernel_tmax_almid
+#define _almevtid_offset			__kernel_almevtid_offset
+#define _alminib_almhdr				__kernel_alminib_almhdr
+#define _alminib_exinf				__kernel_alminib_exinf
+#define _almcb_almact				__kernel_almcb_almact
+
+#define _tnum_tmevt_queue			__kernel_tnum_tmevt_queue
+#define _tmevt_queue				__kernel_tmevt_queue
+#define _tmevt_time					__kernel_tmevt_time
+#define _tmevt_callback				__kernel_tmevt_callback
+#define _tmevt_arg					__kernel_tmevt_arg
+
+#define _stksz						__kernel_stksz
+#define _stk						__kernel_stk
+#define _istkpt						__kernel_istkpt
+
+#define _initialize_object			__kernel_initialize_object
+#define _call_inirtn				__kernel_call_inirtn
+#define _call_terrtn				__kernel_call_terrtn
+
+/*
+ *  target_config.c
+ */
+#define _target_initialize			__kernel_target_initialize
+#define _target_exit				__kernel_target_exit
+
+
+#endif /* TOPPERS_LABEL_ASM */
+
+#include "target_rename.h"
+
+#endif /* TOPPERS_KERNEL_RENAME_H */
Index: /ssp_qb_r5f100le_cs/trunk/kernel/kernel_unrename.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/kernel/kernel_unrename.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/kernel/kernel_unrename.h	(revision 93)
@@ -0,0 +1,317 @@
+/* This file is generated from kernel_rename.def by genrename. */
+
+/* This file is included only when kernel_rename.h has been included. */
+#ifdef TOPPERS_KERNEL_RENAME_H
+#undef TOPPERS_KERNEL_RENAME_H
+
+/*
+ *  startup.c
+ */
+#undef kerflg
+#undef exit_kernel
+
+/*
+ *  task.c
+ */
+#undef runtsk_curpri
+#undef runtsk_ipri
+#undef ready_primap
+#undef actque_bitmap
+#undef reqflg
+#undef disdsp
+#undef get_ipri_self
+#undef get_ipri
+#undef bitmap_search_table
+#undef bitmap_search
+#undef primap_empty
+#undef primap_test
+#undef primap_search
+#undef primap_set
+#undef primap_clear
+#undef search_schedtsk
+#undef test_dormant
+#undef initialize_task
+#undef make_active
+#undef run_task
+#undef dispatcher
+
+/*
+ *  interrupt.c
+ */
+#undef initialize_interrupt
+
+/*
+ *  exception.c
+ */
+#undef initialize_exception
+
+
+/*
+ *  alarm.c
+ */
+#undef initialize_alarm
+#undef call_almhdr
+
+/*
+ *  cyclic.c
+ */
+#undef initialize_cyclic
+#undef call_cychdr
+
+/*
+ *  dataqueue.c
+ */
+#undef initialize_dataqueue
+#undef send_data
+#undef receive_data
+
+/*
+ *  eventflag.c
+ */
+#undef initialize_eventflag
+
+/*
+ *  time_event.c
+ */
+#undef current_time
+#undef min_time
+#undef initialize_time_event
+#undef time_event_enqueue
+#undef time_event_dequeue
+#undef signal_time
+
+
+/*
+ *  kernel_cfg.c
+ */
+#undef tmax_tskid
+#undef tinib_tskatr
+#undef init_rdypmap
+#undef tinib_exinf
+#undef tinib_task
+#undef tinib_epriority
+
+#undef tmax_flgid
+#undef flginib_atr
+#undef flginib_iflgptn
+#undef flgcb_flgptn
+
+#undef tmax_dtqid
+#undef dtqinib_atr
+#undef dtqinib_size
+#undef dtqinib_data
+#undef dtqcb_count
+#undef dtqcb_head
+#undef dtqcb_tail
+
+#undef tnum_inhno
+#undef inhinib_inhno
+#undef inhinib_inhatr
+#undef inhinib_entry
+
+#undef tnum_intno
+#undef intinib_intno
+#undef intinib_intatr
+#undef intinib_intpri
+
+#undef tnum_excno
+#undef excinib_excno
+#undef excinib_excatr
+#undef excinib_entry
+
+#undef tmax_cycid
+#undef cycevtid_offset
+#undef cycinib_cycact
+#undef cycinib_exinf
+#undef cycinib_cychdr
+#undef cycinib_cyctim
+#undef cycinib_cycphs
+#undef cyccb_evttim
+#undef cyccb_cycact
+
+#undef tmax_almid
+#undef almevtid_offset
+#undef alminib_almhdr
+#undef alminib_exinf
+#undef almcb_almact
+
+#undef tnum_tmevt_queue
+#undef tmevt_queue
+#undef tmevt_time
+#undef tmevt_callback
+#undef tmevt_arg
+
+#undef stksz
+#undef stk
+#undef istkpt
+
+#undef initialize_object
+#undef call_inirtn
+#undef call_terrtn
+
+/*
+ *  target_config.c
+ */
+#undef target_initialize
+#undef target_exit
+
+
+#ifdef TOPPERS_LABEL_ASM
+
+/*
+ *  startup.c
+ */
+#undef _kerflg
+#undef _exit_kernel
+
+/*
+ *  task.c
+ */
+#undef _runtsk_curpri
+#undef _runtsk_ipri
+#undef _ready_primap
+#undef _actque_bitmap
+#undef _reqflg
+#undef _disdsp
+#undef _get_ipri_self
+#undef _get_ipri
+#undef _bitmap_search_table
+#undef _bitmap_search
+#undef _primap_empty
+#undef _primap_test
+#undef _primap_search
+#undef _primap_set
+#undef _primap_clear
+#undef _search_schedtsk
+#undef _test_dormant
+#undef _initialize_task
+#undef _make_active
+#undef _run_task
+#undef _dispatcher
+
+/*
+ *  interrupt.c
+ */
+#undef _initialize_interrupt
+
+/*
+ *  exception.c
+ */
+#undef _initialize_exception
+
+
+/*
+ *  alarm.c
+ */
+#undef _initialize_alarm
+#undef _call_almhdr
+
+/*
+ *  cyclic.c
+ */
+#undef _initialize_cyclic
+#undef _call_cychdr
+
+/*
+ *  dataqueue.c
+ */
+#undef _initialize_dataqueue
+#undef _send_data
+#undef _receive_data
+
+/*
+ *  eventflag.c
+ */
+#undef _initialize_eventflag
+
+/*
+ *  time_event.c
+ */
+#undef _current_time
+#undef _min_time
+#undef _initialize_time_event
+#undef _time_event_enqueue
+#undef _time_event_dequeue
+#undef _signal_time
+
+
+/*
+ *  kernel_cfg.c
+ */
+#undef _tmax_tskid
+#undef _tinib_tskatr
+#undef _init_rdypmap
+#undef _tinib_exinf
+#undef _tinib_task
+#undef _tinib_epriority
+
+#undef _tmax_flgid
+#undef _flginib_atr
+#undef _flginib_iflgptn
+#undef _flgcb_flgptn
+
+#undef _tmax_dtqid
+#undef _dtqinib_atr
+#undef _dtqinib_size
+#undef _dtqinib_data
+#undef _dtqcb_count
+#undef _dtqcb_head
+#undef _dtqcb_tail
+
+#undef _tnum_inhno
+#undef _inhinib_inhno
+#undef _inhinib_inhatr
+#undef _inhinib_entry
+
+#undef _tnum_intno
+#undef _intinib_intno
+#undef _intinib_intatr
+#undef _intinib_intpri
+
+#undef _tnum_excno
+#undef _excinib_excno
+#undef _excinib_excatr
+#undef _excinib_entry
+
+#undef _tmax_cycid
+#undef _cycevtid_offset
+#undef _cycinib_cycact
+#undef _cycinib_exinf
+#undef _cycinib_cychdr
+#undef _cycinib_cyctim
+#undef _cycinib_cycphs
+#undef _cyccb_evttim
+#undef _cyccb_cycact
+
+#undef _tmax_almid
+#undef _almevtid_offset
+#undef _alminib_almhdr
+#undef _alminib_exinf
+#undef _almcb_almact
+
+#undef _tnum_tmevt_queue
+#undef _tmevt_queue
+#undef _tmevt_time
+#undef _tmevt_callback
+#undef _tmevt_arg
+
+#undef _stksz
+#undef _stk
+#undef _istkpt
+
+#undef _initialize_object
+#undef _call_inirtn
+#undef _call_terrtn
+
+/*
+ *  target_config.c
+ */
+#undef _target_initialize
+#undef _target_exit
+
+
+#endif /* TOPPERS_LABEL_ASM */
+
+#include "target_unrename.h"
+
+#endif /* TOPPERS_KERNEL_RENAME_H */
Index: /ssp_qb_r5f100le_cs/trunk/kernel/queue.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/kernel/queue.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/kernel/queue.h	(revision 93)
@@ -0,0 +1,119 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2011 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+/*
+ *  L
+[ìwb_
+ *
+ *  SSPJ[lÅÍßñÌ½ßÉCfbNXðgpµ½L
+[ðp¢é
+ */
+
+#ifndef TOPPERS_QUEUE_H
+#define TOPPERS_QUEUE_H
+
+/* L
+[ÌCfbNX */
+typedef uint8_t QUEIDX;
+
+/* L
+[\¢Ì */
+typedef struct
+{
+	QUEIDX	next;
+	QUEIDX	prev;
+} QUEUE;
+
+
+/* L
+[wb_Ìú» */
+Inline void
+queue_initialize(QUEUE *queue , QUEIDX queue_null)
+{
+	queue->next = queue->prev = queue_null;
+}
+
+/* wèµ½vfÌOÉV½ÈvfðÇÁ */
+Inline void
+queue_insert_prev(QUEUE *top , QUEIDX queue , QUEIDX entry)
+{
+	top[entry].prev = top[queue].prev;
+	top[entry].next = queue;
+	top[top[queue].prev].next = entry;
+	top[queue].prev = entry;
+}
+
+
+/* wèµ½L
+[ÌÌvfðíµC»ÌCfbNXðÔ· */
+Inline QUEIDX
+queue_delete_next(QUEUE *top , QUEIDX queue)
+{
+	top[top[queue].next].prev = top[queue].prev;
+	top[top[queue].prev].next = top[queue].next;
+	
+	return top[queue].next;
+}
+
+
+/*
+ *  L
+[ªó©Ç¤©ÌeXg
+ *
+ *  queueÉÍL
+[wb_ðwè·é±Æ
+ */
+Inline bool_t
+queue_empty(QUEUE *queue , QUEIDX queue_null)
+{
+	bool_t empty;
+	
+	if(queue->next == queue_null)
+	{
+		empty = true;
+	}
+	else
+	{
+		empty = false;
+	}
+	
+	return empty;
+}
+
+#endif /* TOPPERS_QUEUE_H */
Index: /ssp_qb_r5f100le_cs/trunk/kernel/ssp_kernel_api.csv
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/kernel/ssp_kernel_api.csv	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/kernel/ssp_kernel_api.csv	(revision 93)
@@ -0,0 +1,14 @@
+tsk,CRE_TSK,#tskid { .tskatr &exinf &task +atskpri .stksz &stk },
+tsk,DEF_EPR,%tskid { +exepri },0,1,
+flg,CRE_FLG,#flgid { .flgatr .iflgptn },,
+dtq,CRE_DTQ,#dtqid { .dtqatr .dtqcnt &dtqmb },,
+int,CFG_INT,.intno { .intatr +intpri },
+isr,ATT_ISR,{ .isratr &exinf .intno &isr +isrpri },-1
+inh,DEF_INH,.inhno { .inhatr &inthdr },
+ics,DEF_ICS,{ .istksz &istk },-1
+stk,DEF_STK,{ .stksz &stk },-1
+exc,DEF_EXC,.excno { .excatr &exchdr },
+ini,ATT_INI,{ .iniatr &exinf &inirtn },-1
+ter,ATT_TER,{ .teratr &exinf &terrtn },-1
+cyc,CRE_CYC,#cycid { .cycatr &exinf &cychdr .cyctim .cycphs },,
+alm,CRE_ALM,#almid { .almatr &exinf &almhdr },,
Index: /ssp_qb_r5f100le_cs/trunk/kernel/ssp_kernel_check.tf
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/kernel/ssp_kernel_check.tf	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/kernel/ssp_kernel_check.tf	(revision 93)
@@ -0,0 +1,89 @@
+$ ======================================================================
+$ 
+$  TOPPERS/SSP Kernel
+$      Smallest Set Profile Kernel
+$ 
+$   Copyright (C) 2008 by Embedded and Real-Time Systems Laboratory
+$               Graduate School of Information Science, Nagoya Univ., JAPAN
+$   Copyright (C) 2010 by Naoki Saito
+$              Nagoya Municipal Industrial Research Institute, JAPAN
+$ 
+$  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+$  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+$  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+$  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+$      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+$      R[hÉÜÜêÄ¢é±ÆD
+$  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+$      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+$      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+$      ØKèðfÚ·é±ÆD
+$  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+$      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+$    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+$         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+$    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+$        ·é±ÆD
+$  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+$      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+$      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+$      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+$ 
+$  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+$  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+$  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+$  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+$  íÈ¢D
+$ 
+$ ======================================================================
+
+$ 
+$  ÖÌæªÔnÌ`FbN
+$ 
+$IF LENGTH(CHECK_FUNC_ALIGN) || LENGTH(CHECK_FUNC_NONNULL)$
+$	// ^XNÆ^XNáO[`ÌæªÔnÌ`FbN
+	$tinib = SYMBOL("_kernel_tinib_table")$
+	$FOREACH tskid TSK.ID_LIST$
+		$task = PEEK(tinib + offsetof_TINIB_task, sizeof_FP)$
+		$IF LENGTH(CHECK_FUNC_ALIGN) && (task & (CHECK_FUNC_ALIGN - 1))$
+			$ERROR TSK.TEXT_LINE[tskid]$E_PAR: 
+				$FORMAT(_("%1% `%2%\' of `%3%\' in %4% is not aligned"),
+				"task", TSK.TASK[tskid], tskid, "CRE_TSK")$$END$
+		$END$
+		$IF LENGTH(CHECK_FUNC_NONNULL) && (task == 0)$
+			$ERROR TSK.TEXT_LINE[tskid]$E_PAR: 
+				$FORMAT(_("%1% `%2%\' of `%3%\' in %4% is null"),
+				"task", TSK.TASK[tskid], tskid, "CRE_TSK")$$END$
+		$END$
+		$texrtn = PEEK(tinib + offsetof_TINIB_texrtn, sizeof_FP)$
+		$IF LENGTH(CHECK_FUNC_ALIGN) && (texrtn & (CHECK_FUNC_ALIGN - 1))$
+			$ERROR DEF_TEX.TEXT_LINE[tskid]$E_PAR: 
+				$FORMAT(_("%1% `%2%\' of `%3%\' in %4% is not aligned"),
+				"texrtn", TSK.TEXRTN[tskid], tskid, "DEF_TEX")$$END$
+		$END$
+		$tinib = tinib + sizeof_TINIB$
+	$END$
+
+$END$
+
+$ 
+$  X^bNÌæÌæªÔnÌ`FbN
+$ 
+$IF LENGTH(CHECK_STACK_ALIGN) || LENGTH(CHECK_STACK_NONNULL)$
+$	// ñ^XNReLXgpÌX^bNÌæÌæªÔnÌ`FbN
+	$istk = PEEK(SYMBOL("_kernel_istk"), sizeof_void_ptr)$
+	$IF LENGTH(CHECK_STACK_ALIGN) && (istk & (CHECK_STACK_ALIGN - 1))$
+		$ERROR ICE.TEXT_LINE[1]$E_PAR: 
+			$FORMAT(_("%1% `%2%\' in %3% is not aligned"),
+			"istk", ICS.ISTK[1], "DEF_ICS")$$END$
+	$END$
+	$IF LENGTH(CHECK_STACK_NONNULL) && (istk == 0)$
+		$ERROR ICE.TEXT_LINE[1]$E_PAR: 
+			$FORMAT(_("%1% `%2%\' in %3% is null"),
+			"istk", ICS.ISTK[1], "DEF_ICS")$$END$
+	$END$
+$END$
Index: /ssp_qb_r5f100le_cs/trunk/kernel/ssp_kernel_def.csv
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/kernel/ssp_kernel_def.csv	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/kernel/ssp_kernel_def.csv	(revision 93)
@@ -0,0 +1,34 @@
+SIL_ENDIAN_BIG,#defined(SIL_ENDIAN_BIG)
+SIL_ENDIAN_LITTLE,#defined(SIL_ENDIAN_LITTLE)
+TA_NULL,TA_NULL,
+TA_ACT,TA_ACT,
+TA_RSTR,TA_RSTR
+TA_STA,TA_STA
+TA_CLR,TA_CLR
+TA_NONKERNEL,TA_NONKERNEL,
+TA_ENAINT,TA_ENAINT,
+TA_EDGE,TA_EDGE,
+DEFAULT_ISTKSZ,DEFAULT_ISTKSZ
+TMIN_TPRI,TMIN_TPRI,signed
+TMAX_TPRI,TMAX_TPRI,signed
+TMIN_ISRPRI,TMIN_ISRPRI,signed
+TMAX_ISRPRI,TMAX_ISRPRI,signed
+TBIT_FLGPTN,TBIT_FLGPTN
+TMAX_MAXCYC,TMAX_MAXCYC
+TMAX_MAXALM,TMAX_MAXALM
+TMAX_RELTIM,TMAX_RELTIM
+TMIN_INTPRI,TMIN_INTPRI,signed
+OMIT_INITIALIZE_INTERRUPT,#defined(OMIT_INITIALIZE_INTERRUPT),
+OMIT_INITIALIZE_EXCEPTION,#defined(OMIT_INITIALIZE_EXCEPTION),
+sizeof_ID,sizeof(ID),
+sizeof_uint_t,sizeof(uint_t),
+sizeof_SIZE,sizeof(SIZE),
+sizeof_ATR,sizeof(ATR),
+sizeof_PRI,sizeof(PRI),
+sizeof_void_ptr,sizeof(void*),
+sizeof_VP,sizeof(void*),
+sizeof_intptr_t,sizeof(intptr_t),
+sizeof_FP,sizeof(FP),
+sizeof_INHNO,sizeof(INHNO),
+sizeof_INTNO,sizeof(INTNO),
+sizeof_EXCNO,sizeof(EXCNO),
Index: /ssp_qb_r5f100le_cs/trunk/kernel/startup.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/kernel/startup.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/kernel/startup.c	(revision 93)
@@ -0,0 +1,171 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2005-2009 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2010 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ *  Copyright (C) 2010-2011 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+/*
+ *		J[lÌú»ÆI¹
+ */
+
+#include "task.h"
+#include "t_stddef.h"
+#include "kernel_impl.h"
+#include <sil.h>
+
+/*
+ *  g[XO}NÌftHgè`
+ */
+#ifndef LOG_KER_ENTER
+#define LOG_KER_ENTER()
+#endif /* LOG_KER_ENTER */
+
+#ifndef LOG_KER_LEAVE
+#define LOG_KER_LEAVE()
+#endif /* LOG_KER_LEAVE */
+
+#ifndef LOG_EXT_KER_ENTER
+#define LOG_EXT_KER_ENTER()
+#endif /* LOG_EXT_KER_ENTER */
+
+#ifndef LOG_EXT_KER_LEAVE
+#define LOG_EXT_KER_LEAVE(ercd)
+#endif /* LOG_EXT_KER_LEAVE */
+
+
+#ifdef TOPPERS_sta_ker
+
+/*
+ *  J[l®ìóÔtO
+ *
+ *  X^[gAbv[`ÅCfalsei0jÉú»³êé±ÆðúÒµÄ
+ *  ¢éD
+ */
+bool_t	kerflg = false;
+
+/*
+ *  J[lÌN®
+ *    NMIð­SÄÌÝª}XN³ê½óÔ(SÝbNóÔÉ)ÅÄÑo³êéD
+ */
+void
+sta_ker(void)
+{
+	target_initialize();
+	
+	initialize_object();
+	
+	call_inirtn();
+	
+	/*
+	 *  J[lÌ®ìðJn·éD
+	 */	
+	kerflg = true;
+	
+	/* fBXpb`ðN®µC^XNÌ®ìðJn·é */
+	LOG_KER_ENTER();
+	start_dispatch();
+	assert(false);
+}
+
+#endif /* TOPPERS_sta_ker */
+
+#ifdef TOPPERS_ext_ker
+
+/*
+ *  J[lÌI¹
+ */
+ER
+ext_ker(void)
+{
+	SIL_PRE_LOC;
+	
+	LOG_EXT_KER_ENTER();
+	
+	/*
+	 *  ÝbNóÔÉÚs
+	 */
+	SIL_LOC_INT();
+	
+	/*
+	 *  J[l®ìÌI¹
+	 */
+	LOG_KER_LEAVE();
+	kerflg = false;
+	
+	/*
+	 *  J[lÌI¹ÌÄoµ
+	 *
+	 *  ñ^XNReLXgÉØè·¦ÄCexit_kernelðÄÑo·D
+	 */
+	call_exit_kernel();
+	
+	/*
+	 *  SIL_UNL_INTðÄÑo·ªC±±ÉB·é±ÆÍÈ¢D
+	 *  Lq·éÌÍSIL_PRE_LOCÅé¾³êéÏª éêÉC
+	 *  RpCªoÍ·éxð}§·é½ßÅ éD
+	 */
+	SIL_UNL_INT();
+	LOG_EXT_KER_LEAVE(E_SYS)
+	
+	return E_SYS;
+}
+
+
+/*
+ *  J[lÌI¹
+ */
+void
+exit_kernel(void)
+{
+	/*
+	 *  I¹[`ÌÀs
+	 */
+	call_terrtn();
+	
+	/*
+	 *  ^[QbgË¶ÌI¹
+	 */
+	target_exit();
+	assert(false);
+}
+
+#endif /* TOPPERS_ext_ker */
Index: /ssp_qb_r5f100le_cs/trunk/kernel/sys_manage.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/kernel/sys_manage.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/kernel/sys_manage.c	(revision 93)
@@ -0,0 +1,404 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2005-2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2010 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ *		VXeóÔÇ@\
+ */
+
+#include "kernel_impl.h"
+#include "check.h"
+#include "task.h"
+
+/*
+ *  g[XO}NÌftHgè`
+ */
+
+#ifndef LOG_LOC_CPU_ENTER
+#define LOG_LOC_CPU_ENTER()
+#endif /* LOG_LOC_CPU_ENTER */
+
+#ifndef LOG_LOC_CPU_LEAVE
+#define LOG_LOC_CPU_LEAVE(ercd)
+#endif /* LOG_LOC_CPU_LEAVE */
+
+#ifndef LOG_ILOC_CPU_ENTER
+#define LOG_ILOC_CPU_ENTER()
+#endif /* LOG_ILOC_CPU_ENTER */
+
+#ifndef LOG_ILOC_CPU_LEAVE
+#define LOG_ILOC_CPU_LEAVE(ercd)
+#endif /* LOG_ILOC_CPU_LEAVE */
+
+#ifndef LOG_UNL_CPU_ENTER
+#define LOG_UNL_CPU_ENTER()
+#endif /* LOG_UNL_CPU_ENTER */
+
+#ifndef LOG_UNL_CPU_LEAVE
+#define LOG_UNL_CPU_LEAVE(ercd)
+#endif /* LOG_UNL_CPU_LEAVE */
+
+#ifndef LOG_IUNL_CPU_ENTER
+#define LOG_IUNL_CPU_ENTER()
+#endif /* LOG_IUNL_CPU_ENTER */
+
+#ifndef LOG_IUNL_CPU_LEAVE
+#define LOG_IUNL_CPU_LEAVE(ercd)
+#endif /* LOG_IUNL_CPU_LEAVE */
+
+#ifndef LOG_DIS_DSP_ENTER
+#define LOG_DIS_DSP_ENTER()
+#endif /* LOG_DIS_DSP_ENTER */
+
+#ifndef LOG_DIS_DSP_LEAVE
+#define LOG_DIS_DSP_LEAVE(ercd)
+#endif /* LOG_DIS_DSP_LEAVE */
+
+#ifndef LOG_ENA_DSP_ENTER
+#define LOG_ENA_DSP_ENTER()
+#endif /* LOG_ENA_DSP_ENTER */
+
+#ifndef LOG_ENA_DSP_LEAVE
+#define LOG_ENA_DSP_LEAVE(ercd)
+#endif /* LOG_ENA_DSP_LEAVE */
+
+#ifndef LOG_SNS_CTX_ENTER
+#define LOG_SNS_CTX_ENTER()
+#endif /* LOG_SNS_CTX_ENTER */
+
+#ifndef LOG_SNS_CTX_LEAVE
+#define LOG_SNS_CTX_LEAVE(state)
+#endif /* LOG_SNS_CTX_LEAVE */
+
+#ifndef LOG_SNS_LOC_ENTER
+#define LOG_SNS_LOC_ENTER()
+#endif /* LOG_SNS_LOC_ENTER */
+
+#ifndef LOG_SNS_LOC_LEAVE
+#define LOG_SNS_LOC_LEAVE(state)
+#endif /* LOG_SNS_LOC_LEAVE */
+
+#ifndef LOG_SNS_DSP_ENTER
+#define LOG_SNS_DSP_ENTER()
+#endif /* LOG_SNS_DSP_ENTER */
+
+#ifndef LOG_SNS_DSP_LEAVE
+#define LOG_SNS_DSP_LEAVE(state)
+#endif /* LOG_SNS_DSP_LEAVE */
+
+#ifndef LOG_SNS_DPN_ENTER
+#define LOG_SNS_DPN_ENTER()
+#endif /* LOG_SNS_DPN_ENTER */
+
+#ifndef LOG_SNS_DPN_LEAVE
+#define LOG_SNS_DPN_LEAVE(state)
+#endif /* LOG_SNS_DPN_LEAVE */
+
+#ifndef LOG_SNS_KER_ENTER
+#define LOG_SNS_KER_ENTER()
+#endif /* LOG_SNS_KER_ENTER */
+
+#ifndef LOG_SNS_KER_LEAVE
+#define LOG_SNS_KER_LEAVE(state)
+#endif /* LOG_SNS_KER_LEAVE */
+
+/*
+ *  CPUbNóÔÖÌÚs
+ */
+#ifdef TOPPERS_loc_cpu
+
+ER
+loc_cpu(void)
+{
+	ER		ercd;
+	
+	LOG_LOC_CPU_ENTER();
+	CHECK_TSKCTX();
+	
+	if (!t_sense_lock()) {
+		t_lock_cpu();
+	}
+	ercd = E_OK;
+	
+  error_exit:
+	LOG_LOC_CPU_LEAVE(ercd);
+	return(ercd);
+}
+
+#endif /* TOPPERS_loc_cpu */
+
+/*
+ *  CPUbNóÔÖÌÚsiñ^XNReLXgpj
+ */
+#ifdef TOPPERS_iloc_cpu
+
+ER
+iloc_cpu(void)
+{
+	ER		ercd;
+	
+	LOG_ILOC_CPU_ENTER();
+	CHECK_INTCTX();
+	
+	if (!i_sense_lock()) {
+		i_lock_cpu();
+	}
+	ercd = E_OK;
+	
+  error_exit:
+	LOG_ILOC_CPU_LEAVE(ercd);
+	return(ercd);
+}
+
+#endif /* TOPPERS_iloc_cpu */
+
+/*
+ *  CPUbNóÔÌð
+ *
+ *  CPUbNÍCfBXpb`ªKvÆÈéT[rXR[ðÄÑo·±
+ *  ÆÍÅ«È¢½ßCCPUbNóÔÌðÉfBXpb`ðN®·é
+ *  KvÍÈ¢D
+ */
+#ifdef TOPPERS_unl_cpu
+
+ER
+unl_cpu(void)
+{
+	ER		ercd;
+	
+	LOG_UNL_CPU_ENTER();
+	CHECK_TSKCTX();
+	
+	if (t_sense_lock()) {
+		t_unlock_cpu();
+	}
+	ercd = E_OK;
+	
+  error_exit:
+	LOG_UNL_CPU_LEAVE(ercd);
+	return(ercd);
+}
+
+#endif /* TOPPERS_unl_cpu */
+
+/*
+ *  CPUbNóÔÌðiñ^XNReLXgpj
+ *
+ *  CPUbNÍCfBXpb`ªKvÆÈéT[rXR[ðÄÑo·±
+ *  ÆÍÅ«È¢½ßCCPUbNóÔÌðÉfBXpb`ÌN®ðv
+ *  ·éKvÍÈ¢D
+ */
+#ifdef TOPPERS_iunl_cpu
+
+ER
+iunl_cpu(void)
+{
+	ER		ercd;
+	
+	LOG_IUNL_CPU_ENTER();
+	CHECK_INTCTX();
+	
+	if (i_sense_lock()) {
+		i_unlock_cpu();
+	}
+	ercd = E_OK;
+	
+  error_exit:
+	LOG_IUNL_CPU_LEAVE(ercd);
+	return(ercd);
+}
+
+#endif /* TOPPERS_iunl_cpu */
+
+/*
+ *  fBXpb`ÌÖ~
+ */
+#ifdef TOPPERS_dis_dsp
+
+ER
+dis_dsp(void)
+{
+	ER		ercd;
+	
+	LOG_DIS_DSP_ENTER();
+	CHECK_TSKCTX_UNL();
+	
+	t_lock_cpu();
+	disdsp = true;
+	ercd = E_OK;
+	t_unlock_cpu();
+	
+  error_exit:
+	LOG_DIS_DSP_LEAVE(ercd);
+	return(ercd);
+}
+
+#endif /* TOPPERS_dis_dsp */
+
+/*
+ *  fBXpb`ÌÂ
+ */
+#ifdef TOPPERS_ena_dsp
+
+ER
+ena_dsp(void)
+{
+	ER		ercd;
+	uint_t	tskipri;
+	
+	LOG_ENA_DSP_ENTER();
+	CHECK_TSKCTX_UNL();
+	
+	t_lock_cpu();
+	disdsp = false;
+	
+	tskipri = search_schedtsk();
+	if (tskipri < runtsk_curpri) {
+		run_task(tskipri);
+	}
+	ercd = E_OK;
+	t_unlock_cpu();
+	
+  error_exit:
+	LOG_ENA_DSP_LEAVE(ercd);
+	return(ercd);
+}
+
+#endif /* TOPPERS_ena_dsp */
+
+/*
+ *  ReLXgÌQÆ
+ */
+#ifdef TOPPERS_sns_ctx
+
+bool_t
+sns_ctx(void)
+{
+	bool_t	state;
+	
+	LOG_SNS_CTX_ENTER();
+	state = sense_context() ? true : false;
+	LOG_SNS_CTX_LEAVE(state);
+	
+	return(state);
+}
+
+#endif /* TOPPERS_sns_ctx */
+
+/*
+ *  CPUbNóÔÌQÆ
+ */
+#ifdef TOPPERS_sns_loc
+
+bool_t
+sns_loc(void)
+{
+	bool_t	state;
+	
+	LOG_SNS_LOC_ENTER();
+	state = x_sense_lock() ? true : false;
+	LOG_SNS_LOC_LEAVE(state);
+	
+	return(state);
+}
+
+#endif /* TOPPERS_sns_loc */
+
+/*
+ *  fBXpb`Ö~óÔÌQÆ
+ */
+#ifdef TOPPERS_sns_dsp
+
+bool_t
+sns_dsp(void)
+{
+	bool_t	state;
+	
+	LOG_SNS_DSP_ENTER();
+	state = disdsp;
+	LOG_SNS_DSP_LEAVE(state);
+	
+	return(state);
+}
+
+#endif /* TOPPERS_sns_dsp */
+
+/*
+ *  fBXpb`Û¯óÔÌQÆ
+ */
+#ifdef TOPPERS_sns_dpn
+
+bool_t
+sns_dpn(void)
+{
+	bool_t	state;
+	
+	LOG_SNS_DPN_ENTER();
+	state = ((sense_context()) || (t_sense_lock()) || disdsp) ?
+		true : false;
+	LOG_SNS_DPN_LEAVE(state);
+	
+	return(state);
+}
+
+#endif /* TOPPERS_sns_dpn */
+
+/*
+ *  J[lñ®ìóÔÌQÆ
+ */
+#ifdef TOPPERS_sns_ker
+
+bool_t
+sns_ker(void)
+{
+	bool_t	state;
+	
+	LOG_SNS_KER_ENTER();
+	state = kerflg ? false : true;
+	LOG_SNS_KER_LEAVE(state);
+	
+	return(state);
+}
+
+#endif /* TOPPERS_sns_ker */
Index: /ssp_qb_r5f100le_cs/trunk/kernel/task.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/kernel/task.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/kernel/task.c	(revision 93)
@@ -0,0 +1,445 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2005-2009 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2010-2015 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ *  Copyright (C) 2010 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+#include "kernel_impl.h"
+#include "task.h"
+
+/*
+ *  g[XO}NÌftHgè`
+ */
+
+#ifndef LOG_DSP_ENTER
+	#define LOG_DSP_ENTER(tskidx)
+#endif /* LOG_DSP_ENTER */
+
+#ifndef LOG_DSP_LEAVE
+	#define LOG_DSP_LEAVE(tskidx)
+#endif /* LOG_DSP_ENTER */
+
+
+extern const intptr_t	tinib_exinf[];			/* ^XNÌg£îñ */
+extern const TASK    	tinib_task[];			/* ^XNÌN®Ôn */
+extern const uint_t  	tinib_epriority[];		/* ^XNÌÀsDæxià\»j */
+
+/* àÖÌvg^Cvé¾ */
+Inline bool_t primap_empty(void);
+Inline bool_t primap_test(uint_t pri);
+Inline uint_t primap_search(void);
+Inline void primap_set(uint_t pri);
+Inline void primap_clear(uint_t pri);
+Inline uint_t bitmap_search(uint_t bitmap);
+
+
+#ifdef TOPPERS_tskini
+
+/*
+ *  ÀsóÔ^XNÌ»ÝDæx
+ */
+uint_t runtsk_curpri;
+
+/*
+ *  ÀsóÔ^XNÌN®Dæx
+ */
+uint_t runtsk_ipri;
+
+/*
+ *  fBL
+[T[`Ì½ßÌrbg}bv
+ */
+volatile uint_t	ready_primap;
+
+/*
+ *  N®vL
+[COÌrbg}bv
+ */
+uint_t	actque_bitmap;
+
+/*
+ *  ^XNfBXpb`N®vtO
+ */
+bool_t	reqflg;
+
+/*
+ *  fBXpb`Ö~óÔ
+ */
+bool_t	disdsp;
+
+/*
+ *  read_primapÌúl
+ */
+extern const uint_t init_rdypmap;
+
+#endif /* TOPPERS_tskini */
+
+#ifdef TOPPERS_get_ipriself
+
+/*
+ *  ^XNID©çÌN®Dæxæ¾(^XNReLXgp)
+ */
+uint_t
+get_ipri_self(ID tskid)
+{
+	uint_t ipri;
+	
+	if(tskid != TSK_SELF)
+	{
+		ipri = (uint_t)((tskid) - TMIN_TSKID);
+	}
+	else
+	{
+		ipri = runtsk_ipri;
+	}
+	return ipri;
+}
+
+#endif /* TOPPERS_get_ipriself */
+
+/*
+ *  ^XNID©çÌN®Dæxæ¾(ñ^XNReLXgp)
+ */
+#ifdef TOPPERS_get_ipri
+
+uint_t
+get_ipri(ID tskid)
+{
+	return (uint_t)(tskid - TMIN_TSKID);
+}
+
+#endif /* TOPPERS_get_ipri */
+
+/*
+ *  rbg}bvT[`Ö
+ *
+ *  bitmapàÌ1ÌrbgÌàCÅàºÊiEjÌàÌðT[`µC»Ìrb
+ *  gÔðÔ·DrbgÔÍCÅºÊrbgð0Æ·éDbitmapÉ0ðwè
+ *  µÄÍÈçÈ¢D±ÌÖÅÍCbitmapª8rbgÅ é±Æð¼èµC
+ *  uint8_t^ÆµÄ¢éD
+ *
+ *  rbgT[`½ßðÂvZbTÅÍCrbgT[`½ßðg¤æ¤É
+ *  «¼µ½ûªø¦ªÇ¢êª éD±Ìæ¤ÈêÉÍC^[Qbg
+ *  Ë¶ÅrbgT[`½ßðgÁ½bitmap_searchðè`µC
+ *  OMIT_BITMAP_SEARCHð}Nè`·êÎæ¢DÜ½CrbgT[`½ßÌ
+ *  T[`ûüªtÈÇÌRÅDæxÆrbgÆÌÎðÏXµ½¢êÉ
+ *  ÍCPRIMAP_BITð}Nè`·êÎæ¢D
+ *
+ *  Ü½CWCuÉffsª éÈçCÌæ¤Éè`µÄWCu
+ *  ðgÁ½ûªø¦ªÇ¢Â\«à éD
+ *		#define	bitmap_search(bitmap) (ffs(bitmap) - 1)
+ */
+#ifndef PRIMAP_BIT
+#define	PRIMAP_BIT(pri)		(1U << (pri))
+#endif /* PRIMAP_BIT */
+
+#ifndef OMIT_BITMAP_SEARCH
+
+static const uint8_t bitmap_search_table[] = { 0U, 1U, 0U, 2U, 0U, 1U, 0U,
+												3U, 0U, 1U, 0U, 2U, 0U, 1U, 0U };
+
+Inline uint_t
+bitmap_search(uint_t bitmap)
+{
+	uint_t	n = 0U;
+
+#if TMAX_TPRI != 8
+	if ((bitmap & 0x00ffU) == 0U) {
+		bitmap >>= 8U;
+		n += 8U;
+	}
+#endif
+	
+	if ((bitmap & 0x0fU) == 0U) {
+		bitmap >>= 4U;
+		n += 4U;
+	}
+	return (n + bitmap_search_table[(bitmap & 0x0fU) - 1U]);
+}
+
+#endif /* OMIT_BITMAP_SEARCH */
+
+
+/*
+ *  N®Dæxrbg}bvªó©Ì`FbN
+ */
+Inline bool_t
+primap_empty(void)
+{
+	return (ready_primap == 0U);
+}
+
+/*
+ *  wèµ½N®DæxÌN®Dæxrbg}bvªZbg³êÄ¢é©Ç¤©Ì`FbN
+ */
+Inline bool_t
+primap_test(uint_t pri)
+{
+	return ((ready_primap & PRIMAP_BIT(pri)) != 0U);
+}
+
+/*
+ *  N®Dæxrbg}bvÌT[`
+ */
+Inline uint_t
+primap_search(void)
+{
+	return bitmap_search(ready_primap);
+}
+
+/*
+ *  N®Dæxrbg}bvÌZbg
+ */
+Inline void
+primap_set(uint_t pri)
+{
+	ready_primap |= PRIMAP_BIT(pri);
+}
+
+/*
+ *  N®Dæxrbg}bvÌNA
+ */
+Inline void
+primap_clear(uint_t pri)
+{
+	ready_primap &= ~PRIMAP_BIT(pri);
+}
+
+/*
+ *  ÅDæÊ^XNÌT[`
+ */
+
+#ifdef TOPPERS_tsksched
+
+uint_t
+search_schedtsk(void)
+{
+	return primap_search();
+}
+
+#endif /* TOPPERS_tsksched */
+
+#ifdef TOPPERS_tskdmt
+/*
+ *  wèµ½N®DæxÌ^XNªÀsÅ«éóÔ©Ç¤©ÌeXg
+ *
+ */
+bool_t
+test_dormant(uint_t ipri)
+{
+	return !primap_test(ipri);
+}
+
+#endif /* TOPPERS_tskdmt */
+
+/*
+ *  ^XNÇW
+[Ìú»
+ */
+
+
+#ifdef TOPPERS_tskini
+
+void
+initialize_task(void)
+{
+	/* N®Dæxrbg}bvÌú» */
+	ready_primap = init_rdypmap;
+	
+	/* ^XNDæxÌú» */
+	runtsk_curpri = TSKPRI_NULL;
+	runtsk_ipri = TSKPRI_NULL;
+	
+	/* N®vL
+[COÌú» */
+	actque_bitmap = 0U;
+	
+	/* ÝÖ~tOÌú» */
+	disdsp = false;
+}
+
+#endif /* TOPPERS_tskini */
+
+/*
+ *  ^XNÌN®
+ */
+
+#ifdef TOPPERS_tskact
+
+bool_t
+make_active(uint_t ipri)
+{
+	bool_t dsp;
+	
+	primap_set(ipri);
+	
+	/* 
+	 *  ÀsóÔ^XNÌ»ÝDæxÆøÅwè³ê½
+	 *  N®ÎÛ^XNÌúDæxðärµCÀsóÔ^XNð
+	 *  ÏX·é©»è·éD
+	 *
+	 *  ½¾µÀsóÔ^XNðÏX·éêÍfBXpb`Ö~óÔàQÆ·éD
+	 */
+	if(ipri < runtsk_curpri) {
+		dsp = !disdsp;
+	}
+	else {
+		dsp = false;
+	}
+	
+	return dsp;
+}
+
+#endif /* TOPPERS_tskact */
+
+
+/*
+ *  ^XNÌÀs
+ */
+
+#ifdef TOPPERS_tskrun
+
+void
+run_task(uint_t ipri)
+{
+	uint_t next_pri;		/* ÉÀsJn·é^XNÌN®Dæx */
+	uint_t saved_ipri;		/* ÄÑoµ³^XNÌúDæx */
+	uint_t saved_curpri;	/* ÄÑoµ³^XNÌ»ÝDæx */
+	bool_t cont;
+	
+	/* ÅDæÊ^XNðÀs·éOÉC»ÝÀsÌ^XNÌ»ÝDæxÆúDæxðÛ¶·é */
+	next_pri = ipri;
+	saved_ipri = runtsk_ipri;
+	saved_curpri = runtsk_curpri;
+	
+	do {
+		/* Às·é^XNÌ»ÝDæxðÀsDæxÉÝè·é */
+		runtsk_curpri = tinib_epriority[next_pri];
+		runtsk_ipri = next_pri;
+		
+		/* CPUbNð */
+		t_unlock_cpu();
+		
+		/* ^XNÀsJn */
+		(*((TASK)(tinib_task[next_pri])))(tinib_exinf[next_pri]);
+		
+		if (t_sense_lock()) {
+			/*
+			 *  CPUbNóÔÅext_tskªÄÎê½êÍCCPUbNððµ
+			 *  Ä©ç^XNðI¹·éDÀãÍCT[rXR[àÅÌCPU
+			 *  bNðÈª·êÎæ¢¾¯D
+			 */
+		}
+		else {
+			/*
+			 *  ±Ìt_lock_cpuð±ÌºÌdisdspÌÝèÌæ¤ÉµÈ¢ÌÍC
+			 *  CPUbNÉÄxt_lock_cpuðÄÎÈ¢½ßÅ éD
+			 */
+			t_lock_cpu();
+		}
+		
+		/* ÝDæx}XNÍSðóÔÌÍ¸ÈÌÅC½àµÈ¢ */
+		
+		/*
+		 *  fBXpb`Ö~óÔÅext_tskªÄÎê½êÍCfBXpb
+		 *  `ÂóÔÉµÄ©ç^XNðI¹·éD
+		 *
+		 *	{ÍÈºÌæ¤ÉLq·×«Å éªC¢¸êÉ¹ædisdspð
+		 *	falseÉ·êÎ¢¢½ßCPÉfalseÉÝè·éD
+		 *
+		 *		if (disdsp) {
+		 *			disdsp = false;
+		 *		}
+		 */
+		disdsp = false;
+		
+		/* rbg}bvNAD */
+		primap_clear(next_pri);
+		
+		cont = false;
+		
+		/* ^XNN®vL
+[COÌ`FbN */
+		if (actque_test(next_pri)) {
+			actque_clear(next_pri);
+			(void) make_active(next_pri);
+		}
+		
+		/* ¢¸ê©Ì^XNªÀsÂ\óÔÉÈÁÄ¢é© */
+		if(!primap_empty())
+		{
+			/* ßèæ^XNÌ»ÝDæxæè¢N®DæxðàÂ^XNªN®³ê½© */
+			next_pri = search_schedtsk();
+			if(saved_curpri > next_pri)
+			{
+				cont = true;
+			}
+		}
+	} while(cont);
+	
+	runtsk_curpri = saved_curpri;
+	runtsk_ipri = saved_ipri;
+}
+
+#endif /* TOPPERS_tskrun */
+
+/*
+ *  ^XNfBXpb`
+ */
+
+#ifdef TOPPERS_tskdsp
+
+void
+dispatcher(void)
+{
+	do {
+		if(!primap_empty()) {
+			/* ^XNÌJn */
+			run_task(search_schedtsk());
+		}
+		else {
+			idle_loop();
+		}
+	} while(true);
+}
+
+#endif /* TOPPERS_tsk_dsp */
Index: /ssp_qb_r5f100le_cs/trunk/kernel/task.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/kernel/task.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/kernel/task.h	(revision 93)
@@ -0,0 +1,232 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2005-2009 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2010 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ *  Copyright (C) 2011 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+#ifndef TOPPERS_TASK_H
+#define TOPPERS_TASK_H
+
+#include "kernel_impl.h"
+
+
+/*
+ *  ^XNDæxÌà\»EO\»Ï·}N
+ */
+#define INT_PRIORITY(x)		((uint_t)((x) - TMIN_TPRI))
+
+/*
+ *  ^XNIDÌÅålikernel_cfg.cj
+ */
+extern const ID	tmax_tskid;
+
+/*
+ *  ^XNÌ
+ */
+#define tnum_tsk	((uint_t)(tmax_tskid - TMIN_TSKID + 1))
+
+/*
+ *  ÀsÂ\óÔÌ^XNªÈ¢ÉÀs^XNÌ»ÝDæxÉÝè·él
+ */
+#define TSKPRI_NULL		(UINT_MAX)
+
+
+/*
+ *  fBL
+[T[`Ì½ßÌrbg}bv
+ */
+extern volatile uint_t	ready_primap;
+
+/*
+ *  N®vL
+[COÌrbg}bv
+ */
+extern uint_t	actque_bitmap;
+
+/*
+ *  fBXpb`^^XNáO[`N®vtO
+ *
+ *  Ýnh^CPUáOnhÌoûÉCfBXpb`Ü½Í
+ *  ^XNáO[`ÌN®ðv·é±Æð¦·tOD
+ */
+extern bool_t	reqflg;
+
+/*
+ *  fBXpb`Ö~óÔ
+ *
+ *  fBXpb`Ö~óÔÅ é±Æð¦·tOD
+ */
+extern bool_t	disdsp;
+
+/*
+ *  ÀsóÔ^XNÌ»ÝDæx
+ *
+ *  ÀsÌ^XNÉÀsDæxªÝè³êÄ¢êÎÀsDæxªC
+ *  Ýè³êÄ¢È¯êÎN®DæxªÝè³êéD
+ */
+extern uint_t runtsk_curpri;
+
+/*
+ *  ÀsóÔ^XNÌN®Dæx
+ */
+extern uint_t runtsk_ipri;
+
+/*
+ *  ^XNÇW
+[Ìú»
+ *
+ *  SÄÌ^XNðú»·éDe^XNÍ^XN®«ÉTA_ACTªÝè³êÄ¢êÎ
+ *  ÀsÂ\óÔC»¤ÅÈ¢êÍx~óÔÆÈéD
+ *  
+ *  Ü½AfBXpb`ÂtOðfBXpb`ÂóÔÉÝè·éD
+ *  
+ *  {ÖÍRtBM
+[^ª¶¬·éobject_initializeÈOÅÄñÅÍÈçÈ¢D
+ */
+extern void initialize_task(void);
+
+/*
+ *  ^XNÌN®
+ *
+ *  ipriÅwèµ½N®DæxðÂ^XNðÀsÂ\óÔÉJÚ³¹éD
+ *  {ÖðÀs·é±ÆÉæèvGvgª­¶·éêÍtrueðC
+ *  »¤ÅÈ¢êÍfalseðÔ·D
+ *
+ *  {ÖÍCPUbNóÔCSÝbNðóÔCÝDæx}XNSðóÔÅ
+ *  ÄÑo·±ÆD
+ */
+extern bool_t make_active(uint_t ipri);
+
+/*
+ *  wèµ½N®DæxÌ^XNªx~óÔ©Ç¤©ÌeXg
+ *
+ *  ipriÅwèµ½N®DæxðÂ^XNªx~óÔÅ êÎ
+ *  trueð»êÈOiÀsÂ\óÔCÀsÂ\óÔjÅ êÎfalseðÔ·D
+ *
+ *  {ÖÍCPUbNóÔCSÝbNðóÔCÝDæx}XNSðóÔÅ
+ *  ÄÑo·±ÆD
+ */
+extern bool_t test_dormant(uint_t ipri);
+
+/*
+ *  ÅDæÊ^XNÌT[`
+ *
+ *  ÀsÂ\óÔÌ^XNÌ©çÅàDæÊª¢^XNÌúDæxð
+ *  Ô·D
+ *
+ *  {ÖÍCPUbNóÔCSÝbNðóÔCÝDæx}XNSðóÔÅ
+ *  ÄÑo·±ÆD
+ */
+extern uint_t search_schedtsk(void);
+
+/*
+ *  ^XNÌÀs
+ *
+ *  ipriÅwèµ½N®DæxðÂ^XNðÀs·éD
+ *  {Ö©çÀsµ½^XN©çT[rXR[ðoRµÄ
+ *  ÄAIÉÄÎêé±Æà éD
+ *
+ *  {ÖÍCPUbNóÔCSÝbNðóÔCÝDæx}XNSðóÔÅ
+ *  ÄÑo·±ÆD
+ */
+extern void run_task(uint_t ipri);
+
+/*
+ *  ^XNfBXpb`
+ *
+ *  J[lú»®¹ãÉÄÑo³êCÅDæÊÆÈÁ½^XNðÀs·éD
+ *
+ *  {ÖÍCPUbNóÔCSÝbNðóÔCÝDæx}XNSðóÔÅ
+ *  ÄÑo·±ÆD
+ *  È¨C{Ö©çÍ^[µÈ¢D
+ *  
+ */
+extern void dispatcher(void) NoReturn;
+
+/*
+ *  ^XNÌN®Dæxæ¾(^XNReLXgp)
+ *
+ *  tskidÅwèµ½^XNÌN®Dæxðæ¾·éD
+ *  tskidÍTMIN_TSKIDÈãCtmax_tskidÈºÌlCàµ­ÍTSK_SELFÅ
+ *  wèµÈ¯êÎÈçÈ¢D
+ */
+extern uint_t get_ipri_self(ID tskid);
+
+/*
+ *  ^XNÌN®Dæxæ¾(ñ^XNReLXgp)
+ *
+ *  tskidÅwèµ½^XNÌN®Dæxðæ¾·éD
+ *  tskidÍTMIN_TSKIDÈãCtmax_tskidÈºÌlÅwèµÈ¯êÎÈçÈ¢D
+ */
+extern uint_t get_ipri(ID tskid);
+
+
+/* N®vL
+[COrbg}bvÌì */
+#define ACTQUE_BIT(ipri)			(1U << (ipri))
+
+/* N®vL
+[COÌZbg */
+Inline
+void actque_set(uint_t ipri)
+{
+	actque_bitmap |= ACTQUE_BIT(ipri);
+}
+
+/* N®vL
+[COÌNA */
+Inline
+void actque_clear(uint_t ipri)
+{
+	actque_bitmap &= ~ACTQUE_BIT(ipri);
+}
+
+/* N®vL
+[COÌ`FbN */
+Inline
+bool_t actque_test(uint_t ipri)
+{
+	return ((actque_bitmap & ACTQUE_BIT(ipri)) != 0U);
+}
+
+
+#endif /* TOPPERS_TASK_H */
Index: /ssp_qb_r5f100le_cs/trunk/kernel/task_manage.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/kernel/task_manage.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/kernel/task_manage.c	(revision 93)
@@ -0,0 +1,152 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2005-2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2010 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ *  Copyright (C) 2011 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+/*
+ *		^XNÇ@\
+ */
+
+#include "kernel_impl.h"
+#include "check.h"
+#include "task.h"
+
+/*
+ *  g[XO}NÌftHgè`
+ */
+#ifndef LOG_ACT_TSK_ENTER
+#define LOG_ACT_TSK_ENTER(tskid)
+#endif /* LOG_ACT_TSK_ENTER */
+
+#ifndef LOG_ACT_TSK_LEAVE
+#define LOG_ACT_TSK_LEAVE(ercd)
+#endif /* LOG_ACT_TSK_LEAVE */
+
+#ifndef LOG_IACT_TSK_ENTER
+#define LOG_IACT_TSK_ENTER(tskid)
+#endif /* LOG_IACT_TSK_ENTER */
+
+#ifndef LOG_IACT_TSK_LEAVE
+#define LOG_IACT_TSK_LEAVE(ercd)
+#endif /* LOG_IACT_TSK_LEAVE */
+
+
+/*
+ *  ^XNÌN®
+ */
+#ifdef TOPPERS_act_tsk
+
+ER
+act_tsk(ID tskid)
+{
+	ER		ercd;
+	uint_t	itskpri;
+	
+	LOG_ACT_TSK_ENTER(tskid);
+	CHECK_TSKCTX_UNL();
+	CHECK_TSKID_SELF(tskid);
+	
+	itskpri = get_ipri_self(tskid);
+	
+	t_lock_cpu();
+	if (test_dormant(itskpri)) {
+		if(make_active(itskpri)) {
+			run_task(itskpri);
+		}
+		ercd = E_OK;
+	}
+	else if(!actque_test(itskpri)) {
+		actque_set(itskpri);
+		ercd = E_OK;
+	}
+	else {
+		ercd = E_QOVR;
+	}
+	t_unlock_cpu();
+
+  error_exit:
+	LOG_ACT_TSK_LEAVE(ercd);
+	return(ercd);
+}
+
+#endif /* TOPPERS_act_tsk */
+
+/*
+ *  ^XNÌN®iñ^XNReLXgpj
+ */
+
+#ifdef TOPPERS_iact_tsk
+
+ER
+iact_tsk(ID tskid)
+{
+	ER		ercd;
+	uint_t	itskpri;
+	
+	LOG_IACT_TSK_ENTER(tskid);
+	CHECK_INTCTX_UNL();
+	CHECK_TSKID(tskid);
+	itskpri = get_ipri(tskid);
+
+	i_lock_cpu();
+	if (test_dormant(itskpri)) {
+		if(make_active(itskpri)) {
+			reqflg = true;
+		}
+		ercd = E_OK;
+	}
+	else if(!actque_test(itskpri)) {
+		actque_set(itskpri);
+		ercd = E_OK;
+	}
+	else {
+		ercd = E_QOVR;
+	}
+	i_unlock_cpu();
+
+  error_exit:
+	LOG_IACT_TSK_LEAVE(ercd);
+	return(ercd);
+}
+
+#endif /* TOPPERS_iact_tsk */
Index: /ssp_qb_r5f100le_cs/trunk/sample/Makefile
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/sample/Makefile	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/sample/Makefile	(revision 93)
@@ -0,0 +1,552 @@
+#
+#  TOPPERS/ASP Kernel
+#      Toyohashi Open Platform for Embedded Real-Time Systems/
+#      Advanced Standard Profile Kernel
+# 
+#  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+#                              Toyohashi Univ. of Technology, JAPAN
+#  Copyright (C) 2006-2010 by Embedded and Real-Time Systems Laboratory
+#              Graduate School of Information Science, Nagoya Univ., JAPAN
+#  Copyright (C) 2010 by Meika Sugimoto
+# 
+#  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+#  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+#  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+#  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+#       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+#      XR[hÉÜÜêÄ¢é±ÆD
+#  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+#      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+#      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+#      Ì³ÛØKèðfÚ·é±ÆD
+#  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+#      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+#      ÆD
+#    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+#        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+#    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+#        ñ·é±ÆD
+#  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+#      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+#      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+#      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+#      ÆÓ·é±ÆD
+# 
+#  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+#  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+#  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+#  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+#  ÌÓCðíÈ¢D
+# 
+# 
+
+#
+#  ^[QbgÌwèiMakefile.targetÅã«³êéÌðh®½ßj
+#
+all:
+
+#
+#  ^[QbgªÌÌè`
+#
+TARGET = @(TARGET)
+
+#
+#  vO~O¾êÌè`
+#
+SRCLANG = @(SRCLANG)
+ifeq ($(SRCLANG),c++)
+  USE_CXX = true
+  CXXLIBS = -lstdc++ -lm -lc
+  CXXRTS = cxxrt.o newlibrt.o
+endif
+
+#
+#  \[Xt@CÌfBNgÌè`
+#
+SRCDIR = @(SRCDIR)
+
+#
+#  IuWFNgt@C¼Ìg£qÌÝè
+#
+OBJEXT = @(OBJEXT)
+
+#
+#  ÀsÂ«Ìè`i^[QbgË¶Éã«³êéêª éj
+#
+DBGENV := @(DBGENV)
+
+#
+#  J[lCuilibkernel.ajÌfBNg¼
+#  iJ[lCuàmakeÎÛÉ·éÍCóÉè`·éj
+#
+KERNEL_LIB = @(KERNEL_LIB)
+
+#
+#  J[lðÖPÊÅRpC·é©Ç¤©Ìè`
+#
+KERNEL_FUNCOBJS = @(KERNEL_FUNCOBJS)
+
+#
+#  g[XOðæ¾·é©Ç¤©Ìè`
+#
+ENABLE_TRACE = @(ENABLE_TRACE)
+
+#
+#  [eBeBvOÌ¼Ì
+#
+PERL = @(PERL)
+CFG = @(CFG)
+
+#
+#  IuWFNgt@C¼Ìè`
+#
+OBJNAME = ssp
+ifdef OBJEXT
+  OBJFILE = $(OBJNAME).$(OBJEXT)
+  CFG1_OUT = cfg1_out.$(OBJEXT)
+else
+  OBJFILE = $(OBJNAME)
+  CFG1_OUT = cfg1_out
+endif
+
+#
+#  ^[QbgË¶ÌfBNgÌè`
+#
+TARGETDIR = $(SRCDIR)/target/$(TARGET)
+
+#
+#  ^[QbgË¶Ìè`ÌCN[h
+#
+include $(TARGETDIR)/Makefile.target
+
+#
+#  J[l\¬è`ÌCN[h
+#
+-include Makefile.config
+
+#
+#  RtBM
+[^ÖWÌÏÌè`
+#
+CFG_TABS := --api-table $(SRCDIR)/kernel/ssp_kernel_api.csv \
+			--cfg1-def-table $(SRCDIR)/kernel/ssp_kernel_def.csv \
+			--cfg1-def-table $(SRCDIR)/syssvc/syssvc_def.csv $(CFG_TABS)
+CFG_OBJS := kernel_cfg.o $(CFG_OBJS)
+CFG2_OUT := kernel_cfg.c kernel_cfg.h $(CFG2_OUT)
+
+#
+#  ¤ÊRpCIvVÌè`
+#
+COPTS := $(COPTS) -g
+ifndef OMIT_WARNING_ALL
+  COPTS := $(COPTS) -Wall
+endif
+ifndef OMIT_OPTIMIZATION
+  COPTS := $(COPTS) -Os
+endif
+CDEFS := $(CDEFS)
+INCLUDES := -I. -I$(SRCDIR)/include -I$(SRCDIR)/arch -I$(SRCDIR) $(INCLUDES)
+LDFLAGS := $(LDFLAGS)
+LIBS := $(LIBS) $(CXXLIBS)
+CFLAGS = $(COPTS) $(CDEFS) $(INCLUDES)
+
+#
+#  AvP[VvOÉÖ·éè`
+#
+APPLNAME = @(APPLNAME)
+APPLDIR = @(APPLDIR)
+APPL_CFG = $(APPLNAME).cfg
+
+APPL_DIR = $(APPLDIR)
+APPL_ASMOBJS =
+ifdef USE_CXX
+  APPL_CXXOBJS = $(APPLNAME).o @(APPLOBJS)
+  APPL_COBJS =
+else
+  APPL_COBJS = $(APPLNAME).o @(APPLOBJS)
+endif
+APPL_CFLAGS =
+APPL_LIBS =
+ifdef APPLDIR
+  INCLUDES := $(INCLUDES) $(foreach dir,$(APPLDIR),-I$(dir))
+endif
+
+#
+#  VXeT[rXÉÖ·éè`
+#
+SYSSVC_DIR := $(SYSSVC_DIR) $(SRCDIR)/syssvc $(SRCDIR)/library
+SYSSVC_ASMOBJS := $(SYSSVC_ASMOBJS)
+SYSSVC_COBJS := $(SYSSVC_COBJS) banner.o serial.o vasyslog.o syslog.o log_output.o logtask.o
+SYSSVC_CFLAGS := $(SYSSVC_CFLAGS)
+SYSSVC_LIBS := $(SYSSVC_LIBS)
+INCLUDES := $(INCLUDES)
+
+#
+#  g£pbP[WÉÖ·éè`
+#
+
+EXTPKG_DIR := $(EXTPKG_DIR) $(SRCDIR)/extension
+
+
+#
+#  J[lÉÖ·éè`
+#
+#  KERNEL_ASMOBJS: J[lCuÉÜßéC\[XªAZu¾êÌ
+#				   IuWFNgt@CD
+#  KERNEL_COBJS: J[lÌCuÉÜßéC\[XªC¾êÅC\[X
+#				 t@CÆ1Î1ÉÎ·éIuWFNgt@CD
+#  KERNEL_LCSRCS: J[lÌCuÉÜßéC¾êÌ\[Xt@CÅC
+#				  1ÂÌ\[Xt@C©ç¡ÌIuWFNgt@Cð¶
+#				  ¬·éàÌD
+#  KERNEL_LCOBJS: ãÌ\[Xt@C©ç¶¬³êéIuWFNgt@CD
+#  KERNEL_AUX_COBJS: [hW
+[ÉÜßÈ¢ªCJ[lÌ\[Xt@
+#					 CÆ¯¶IvVðKpµÄRpC·×«C\[
+#					 XªC¾êÌIuWFNgt@CD
+#
+KERNEL_DIR := $(KERNEL_DIR) $(SRCDIR)/kernel
+KERNEL_ASMOBJS := $(KERNEL_ASMOBJS)
+KERNEL_COBJS := $(KERNEL_COBJS)
+KERNEL_CFLAGS := $(KERNEL_CFLAGS) -I$(SRCDIR)/kernel -I$(EXTPKG_DIR)
+
+#
+#  ^[Qbgt@Ci¡ð¯ÉIðµÄÍÈçÈ¢j
+#
+all: $(OBJFILE)
+#all: $(OBJNAME).bin
+#all: $(OBJNAME).srec
+
+##### ÈºÍÒWµÈ¢±Æ #####
+
+#
+#  Â«ÉË¶·éRpCIvVÌè`
+#
+ifdef DBGENV
+  CDEFS := $(CDEFS) -D$(DBGENV)
+endif
+#
+#  J[lCuÉÖA·éè`
+#
+ifdef KERNEL_LIB
+  LIBKERNEL = $(KERNEL_LIB)/libkernel.a
+else
+  LIBKERNEL = libkernel.a
+endif
+
+#
+#  J[lÌt@C\¬Ìè`
+#
+include $(SRCDIR)/kernel/Makefile.kernel
+ifdef KERNEL_FUNCOBJS
+  KERNEL_LCSRCS := $(KERNEL_FCSRCS)
+  KERNEL_LCOBJS := $(foreach file,$(KERNEL_FCSRCS),$($(file:.c=)))
+else
+  KERNEL_CFLAGS := -DALLFUNC $(KERNEL_CFLAGS)
+  KERNEL_COBJS := $(KERNEL_COBJS) \
+					$(foreach file,$(KERNEL_FCSRCS),$(file:.c=.o))
+endif
+
+
+#
+#  \[Xt@CÌ éfBNgÉÖ·éè`
+#
+vpath %.c $(KERNEL_DIR) $(SYSSVC_DIR) $(APPL_DIR) $(EXTPKG_DIR)
+vpath %.S $(KERNEL_DIR) $(SYSSVC_DIR) $(APPL_DIR) $(EXTPKG_DIR)
+
+#
+#  RpCÌ½ßÌÏÌè`
+#
+KERNEL_LIB_OBJS = $(KERNEL_ASMOBJS) $(KERNEL_COBJS) $(KERNEL_LCOBJS)
+SYSSVC_OBJS = $(SYSSVC_ASMOBJS) $(SYSSVC_COBJS)
+APPL_OBJS = $(APPL_ASMOBJS) $(APPL_COBJS) $(APPL_CXXOBJS)
+ALL_OBJS = $(START_OBJS) $(APPL_OBJS) $(SYSSVC_OBJS) $(CFG_OBJS) \
+											$(END_OBJS) $(HIDDEN_OBJS)
+ALL_LIBS = $(APPL_LIBS) $(SYSSVC_LIBS) $(LIBKERNEL) $(LIBS)
+
+ifdef TEXT_START_ADDRESS
+  LDFLAGS := $(LDFLAGS) -Wl,-Ttext,$(TEXT_START_ADDRESS)
+endif
+ifdef DATA_START_ADDRESS
+  LDFLAGS := $(LDFLAGS) -Wl,-Tdata,$(DATA_START_ADDRESS)
+endif
+ifdef LDSCRIPT
+  LDFLAGS := $(LDFLAGS) -T $(LDSCRIPT)
+endif
+
+
+#
+#  J[lÌRtBM
+[Vt@CÌ¶¬
+#
+cfg1_out.c:
+	$(CFG) --pass 1 --kernel ssp $(INCLUDES) $(CFG_TABS) $(APPL_CFG)
+
+kernel_cfg.timestamp: $(START_OBJS) cfg1_out.o $(END_OBJS) $(HIDDEN_OBJS)
+kernel_cfg.timestamp $(CFG2_OUT):
+	$(LINK) $(CFLAGS) $(LDFLAGS) $(CFG1_OUT_LDFLAGS) -o $(CFG1_OUT) \
+						$(START_OBJS) cfg1_out.o $(END_OBJS)
+	$(NM) -C $(CFG1_OUT) > cfg1_out.syms
+	$(OBJCOPY) -O srec -S $(CFG1_OUT) cfg1_out.srec
+	$(CFG) --pass 2 --kernel ssp $(INCLUDES) \
+				-T $(TARGETDIR)/target.tf $(CFG_TABS) $(APPL_CFG)
+	touch kernel_cfg.timestamp
+
+#
+#  J[lCut@CÌ¶¬
+#
+libkernel.a: $(KERNEL_LIB_OBJS)
+	rm -f libkernel.a
+	$(AR) -rcs libkernel.a $(KERNEL_LIB_OBJS)
+	$(RANLIB) libkernel.a
+
+#
+#  ÁÊÈË¶ÖWÌè`
+#
+banner.o: kernel_cfg.timestamp $(filter-out banner.o,$(ALL_OBJS)) \
+											$(filter %.a,$(ALL_LIBS))
+
+#
+#  SÌÌN
+#
+$(OBJFILE): kernel_cfg.timestamp $(ALL_OBJS) $(filter %.a,$(ALL_LIBS))
+	$(LINK) $(CFLAGS) $(LDFLAGS) -o $(OBJFILE) $(START_OBJS) \
+			$(APPL_OBJS) $(SYSSVC_OBJS) $(CFG_OBJS) $(ALL_LIBS) $(END_OBJS)
+	$(NM) -C $(OBJFILE) > $(OBJNAME).syms
+	$(OBJCOPY) -O srec -S $(OBJFILE) $(OBJNAME).srec
+	$(CFG) --pass 3 --kernel ssp $(INCLUDES) \
+				--rom-image $(OBJNAME).srec --symbol-table $(OBJNAME).syms \
+				-T $(TARGETDIR)/target_check.tf $(CFG_TABS) $(APPL_CFG)
+
+#
+#  oCit@CÌ¶¬
+#
+$(OBJNAME).bin: $(OBJFILE)
+	$(OBJCOPY) -O binary -S $(OBJFILE) $(OBJNAME).bin
+
+#
+#  SR[ht@CÌ¶¬
+#
+$(OBJNAME).srec: $(OBJFILE)
+	$(OBJCOPY) -O srec -S $(OBJFILE) $(OBJNAME).srec
+
+#
+#  RpCÊÌÁ
+#
+.PHONY: clean
+clean:
+	rm -f \#* *~ *.o $(CLEAN_FILES)
+	rm -f $(OBJFILE) $(OBJNAME).syms $(OBJNAME).srec $(OBJNAME).bin
+	rm -f kernel_cfg.timestamp $(CFG2_OUT)
+	rm -f cfg1_out.c $(CFG1_OUT) cfg1_out.syms cfg1_out.srec
+ifndef KERNEL_LIB
+	rm -f $(LIBKERNEL)
+endif
+	rm -f makeoffset.s offset.h
+	rm -f Makefile.config
+
+.PHONY: cleankernel
+cleankernel:
+	rm -rf $(KERNEL_LIB_OBJS)
+	rm -f makeoffset.s offset.h
+
+.PHONY: cleandep
+cleandep:
+	if ! [ -f Makefile.depend ]; then \
+		rm -f kernel_cfg.timestamp $(CFG2_OUT); \
+		rm -f cfg1_out.c cfg1_out.o $(CFG1_OUT) cfg1_out.syms cfg1_out.srec; \
+		rm -f makeoffset.s offset.h; \
+	fi
+	rm -f Makefile.depend
+
+.PHONY: realclean
+realclean: cleandep clean
+ifneq ($(REALCLEAN_FILES),)
+	rm -f $(REALCLEAN_FILES)
+endif
+
+#
+#  kernel_cfg.cÆcfg1_out.cÌRpC[ÆË¶ÖWì¬[Ìè`
+#
+#  kernel_cfg.cÆcfg1_out.cÍCAvP[VvOpCVXeT[
+#  rXpCJ[lpÌ·×ÄÌIvVðt¯ÄRpC·éD
+#
+KERNEL_CFG_CFLAGS = $(APPL_CFLAGS) $(SYSSVC_CFLAGS) $(KERNEL_CFLAGS)
+
+kernel_cfg.o cfg1_out.o : %.o: %.c
+	$(CC) -c $(CFLAGS) $(KERNEL_CFG_CFLAGS) $<
+
+kernel_cfg.s cfg1_out.s : %.s: %.c
+	$(CC) -S $(CFLAGS) $(KERNEL_CFG_CFLAGS) $<
+
+kernel_cfg.d cfg1_out.d : %.d: %.c
+	@$(PERL) $(SRCDIR)/utils/makedep -C $(CC) $(MAKEDEP_OPTS) \
+		-O "$(CFLAGS) $(KERNEL_CFG_CFLAGS)" $< >> Makefile.depend
+
+#
+#  ÁêÈË¶ÖWì¬[Ìè`
+#
+cfg1_out.depend:
+	@$(CFG) -M cfg1_out.c $(INCLUDES) $(APPL_CFG) >> Makefile.depend
+
+makeoffset.d: makeoffset.c
+	@$(PERL) $(SRCDIR)/utils/makedep -C $(CC) $(MAKEDEP_OPTS) \
+		-T "makeoffset.s" -O "$(CFLAGS) $(KERNEL_CFLAGS)" $< >> Makefile.depend
+
+#
+#  Ë¶ÖWt@CÌ¶¬
+#
+.PHONY: gendepend
+gendepend:
+	@echo "Generating Makefile.depend."
+
+.PHONY: depend
+ifdef KERNEL_LIB
+depend: cleandep kernel_cfg.timestamp gendepend \
+		cfg1_out.depend cfg1_out.d \
+		$(ALL_OBJS:.o=.d)
+else
+depend: cleandep kernel_cfg.timestamp gendepend \
+		cfg1_out.depend cfg1_out.d \
+		$(KERNEL_AUX_COBJS:.o=.d) $(KERNEL_ASMOBJS:.o=.d) \
+		$(KERNEL_COBJS:.o=.d) $(KERNEL_LCSRCS:.c=.d) $(ALL_OBJS:.o=.d)
+endif
+
+#
+#  Ë¶ÖWt@CðCN[h
+#
+-include Makefile.depend
+
+#
+#  J­c[ÌR}h¼Ìè`
+#
+ifeq ($(TOOL),gcc)
+  #
+  #  GNUJ­Â«p
+  #
+  ifdef GCC_TARGET
+    GCC_TARGET_PREFIX = $(GCC_TARGET)-
+  else
+    GCC_TARGET_PREFIX =
+  endif
+  CC = $(GCC_TARGET_PREFIX)gcc
+  CXX = $(GCC_TARGET_PREFIX)g++
+  AS = $(GCC_TARGET_PREFIX)as
+  LD = $(GCC_TARGET_PREFIX)ld
+  AR = $(GCC_TARGET_PREFIX)ar
+  NM = $(GCC_TARGET_PREFIX)nm
+  RANLIB = $(GCC_TARGET_PREFIX)ranlib
+  OBJCOPY = $(GCC_TARGET_PREFIX)objcopy
+  OBJDUMP = $(GCC_TARGET_PREFIX)objdump
+endif
+
+ifdef USE_CXX
+  LINK = $(CXX)
+else
+  LINK = $(CC)
+endif
+
+#
+#  RpC[Ìè`
+#
+KERNEL_ALL_COBJS = $(KERNEL_COBJS) $(KERNEL_AUX_COBJS)
+
+$(KERNEL_ALL_COBJS): %.o: %.c
+	$(CC) -c $(CFLAGS) $(KERNEL_CFLAGS) $<
+
+$(KERNEL_ALL_COBJS:.o=.s): %.s: %.c
+	$(CC) -S $(CFLAGS) $(KERNEL_CFLAGS) $<
+
+$(KERNEL_LCOBJS): %.o:
+	$(CC) -DTOPPERS_$(*F) -o $@ -c $(CFLAGS) $(KERNEL_CFLAGS) $<
+
+$(KERNEL_LCOBJS:.o=.s): %.s:
+	$(CC) -DTOPPERS_$(*F) -o $@ -S $(CFLAGS) $(KERNEL_CFLAGS) $<
+
+$(KERNEL_ASMOBJS): %.o: %.S
+	$(CC) -c $(CFLAGS) $(KERNEL_CFLAGS) $<
+
+$(SYSSVC_COBJS): %.o: %.c
+	$(CC) -c $(CFLAGS) $(SYSSVC_CFLAGS) $<
+
+$(SYSSVC_COBJS:.o=.s): %.s: %.c
+	$(CC) -S $(CFLAGS) $(SYSSVC_CFLAGS) $<
+
+$(SYSSVC_ASMOBJS): %.o: %.S
+	$(CC) -c $(CFLAGS) $(SYSSVC_CFLAGS) $<
+
+$(APPL_COBJS): %.o: %.c
+	$(CC) -c $(CFLAGS) $(APPL_CFLAGS) $<
+
+$(APPL_COBJS:.o=.s): %.s: %.c
+	$(CC) -S $(CFLAGS) $(APPL_CFLAGS) $<
+
+$(APPL_CXXOBJS): %.o: %.cpp
+	$(CXX) -c $(CFLAGS) $(APPL_CFLAGS) $<
+
+$(APPL_CXXOBJS:.o=.s): %.s: %.cpp
+	$(CXX) -S $(CFLAGS) $(APPL_CFLAGS) $<
+
+$(APPL_ASMOBJS): %.o: %.S
+	$(CC) -c $(CFLAGS) $(APPL_CFLAGS) $<
+
+#
+#  Ë¶ÖWì¬[Ìè`
+#
+$(KERNEL_COBJS:.o=.d): %.d: %.c
+	@$(PERL) $(SRCDIR)/utils/makedep -C $(CC) $(MAKEDEP_OPTS) \
+		-O "$(CFLAGS) $(KERNEL_CFLAGS)" $< >> Makefile.depend
+
+$(KERNEL_LCSRCS:.c=.d): %.d: %.c
+	@$(PERL) $(SRCDIR)/utils/makedep -C $(CC) $(MAKEDEP_OPTS) -T "$($*)" \
+		-O "-DALLFUNC $(CFLAGS) $(KERNEL_CFLAGS)" $< >> Makefile.depend
+
+$(KERNEL_ASMOBJS:.o=.d): %.d: %.S
+	@$(PERL) $(SRCDIR)/utils/makedep -C $(CC) $(MAKEDEP_OPTS) \
+		-O "$(CFLAGS) $(KERNEL_CFLAGS)" $< >> Makefile.depend
+
+$(SYSSVC_COBJS:.o=.d): %.d: %.c
+	@$(PERL) $(SRCDIR)/utils/makedep -C $(CC) $(MAKEDEP_OPTS) \
+		-O "$(CFLAGS) $(SYSSVC_CFLAGS)" $< >> Makefile.depend
+
+$(SYSSVC_ASMOBJS:.o=.d): %.d: %.S
+	@$(PERL) $(SRCDIR)/utils/makedep -C $(CC) $(MAKEDEP_OPTS) \
+		-O "$(CFLAGS) $(SYSSVC_CFLAGS)" $< >> Makefile.depend
+
+$(APPL_COBJS:.o=.d): %.d: %.c
+	@$(PERL) $(SRCDIR)/utils/makedep -C $(CC) $(MAKEDEP_OPTS) \
+		-O "$(CFLAGS) $(APPL_CFLAGS)" $< >> Makefile.depend
+
+$(APPL_CXXOBJS:.o=.d): %.d: %.cpp
+	@$(PERL) $(SRCDIR)/utils/makedep -C $(CXX) $(MAKEDEP_OPTS) \
+		-O "$(CFLAGS) $(APPL_CFLAGS)" $< >> Makefile.depend
+
+$(APPL_ASMOBJS:.o=.d): %.d: %.S
+	@$(PERL) $(SRCDIR)/utils/makedep -C $(CC) $(MAKEDEP_OPTS) \
+		-O "$(CFLAGS) $(APPL_CFLAGS)" $< >> Makefile.depend
+
+#
+#  ftHgRpC[ðã«
+#
+%.o: %.c
+	@echo "*** Default compile rules should not be used."
+	$(CC) -c $(CFLAGS) $<
+
+%.s: %.c
+	@echo "*** Default compile rules should not be used."
+	$(CC) -S $(CFLAGS) $<
+
+%.o: %.cpp
+	@echo "*** Default compile rules should not be used."
+	$(CXX) -c $(CFLAGS) $<
+
+%.s: %.cpp
+	@echo "*** Default compile rules should not be used."
+	$(CXX) -S $(CFLAGS) $<
+
+%.o: %.S
+	@echo "*** Default compile rules should not be used."
+	$(CC) -c $(CFLAGS) $<
Index: /ssp_qb_r5f100le_cs/trunk/sample/hello_world.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/sample/hello_world.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/sample/hello_world.c	(revision 93)
@@ -0,0 +1,79 @@
+/*
+ *  TOPPERS/ASP Kernel
+ *      Toyohashi Open Platform for Embedded Real-Time Systems/
+ *      Advanced Standard Profile Kernel
+ * 
+ *  Copyright (C) 2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2010 by Meika Sugimoto
+ *  Copyright (C) 2014,2015 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+ 
+ /*
+ *  TOPPERS/SSPÌHello WorldvOD
+ */
+
+#include <kernel.h>
+#include "kernel_cfg.h"
+#include "syssvc/serial.h"
+
+#include "hello_world.h"
+
+/*
+ *  OoÍ
+ */
+#define LOGPUT(str)	\
+	serial_wri_dat(TASK_PORTID , (const char *)(str) , sizeof(str)/sizeof(char))
+
+/*
+ *  \¦·ébZ[W
+ */
+#define MSGHELLO ("Hello World.!\n")
+
+void task(intptr_t exinf) {
+	/* VA|[gÌI[v */
+	serial_opn_por(TASK_PORTID);
+	
+	/* bZ[WÌ\¦ */
+	(void)LOGPUT(MSGHELLO);
+	
+	/* J[lÌI¹ */
+	(void)ext_ker();
+}
+
+
Index: /ssp_qb_r5f100le_cs/trunk/sample/hello_world.cfg
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/sample/hello_world.cfg	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/sample/hello_world.cfg	(revision 93)
@@ -0,0 +1,10 @@
+/*
+ *  TOPPESRS/SSPJ[lÌTvvO
+ */
+
+#include "hello_world.h"
+
+INCLUDE("syssvc/serial.cfg");
+INCLUDE("syssvc/banner.cfg");
+
+CRE_TSK(INIT_TASK , { TA_ACT , 0 , task , TASK_PRIORITY , STACK_SIZE , NULL });
Index: /ssp_qb_r5f100le_cs/trunk/sample/hello_world.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/sample/hello_world.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/sample/hello_world.h	(revision 93)
@@ -0,0 +1,59 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2010 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+#ifndef TOPPERS_HELLO_WORLD_H
+#define TOPPERS_HELLO_WORLD_H
+
+/*
+ *  ^[QbgË¶Ìè`
+ */
+#include "target_test.h"
+
+#define TASK_PRIORITY			(1)
+#ifndef STACK_SIZE
+#define STACK_SIZE				(128)
+#endif
+
+#ifndef TOPPERS_MACRO_ONLY
+
+extern void task(intptr_t exinf);
+
+#endif /* TOPPERS_MACRO_ONLY */
+#endif /* TOPPERS_HELLO_WORLD_H */
+
Index: /ssp_qb_r5f100le_cs/trunk/sample/sample1.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/sample/sample1.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/sample/sample1.c	(revision 93)
@@ -0,0 +1,338 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ * 
+ *  Copyright (C) 2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2010-2012 by Meika Sugimoto
+ *  Copyright (C) 2014,2015 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+ 
+/* 
+ *  TOPPERS/SSPÌTvvO
+ *
+ *  SSPJ[lÌî{IÈ®ìðmF·é½ßÌTvvOD
+ *
+ *  vOÌTv:
+ *
+ *  [UC^tF[Xðó¯ÂC^XNÆC3ÂÌÀsÀs³êé
+ *  ^XNÆÅ\¬³êéD^XNID¨æÑDæxÝèÍÈºÌÊèD
+ *     (^XNID)   (N®Dæx)    (ÀsDæx)
+ *      MAIN_TASK    MAIN_PRIORITY     (¶É¯¶)
+ *      TASK1        TASK1_PRIORITY    (¶É¯¶)
+ *      TASK2        TASK2_PRIORITY    (¶É¯¶)
+ *      TASK3        TASK3_PRIORITY    TASK3_EXEPRIORITY
+ *
+ *  Ü½CN®üúª2bÌüúnhiüúnhID: CYC1j¨æÑ
+ *  C^XNN®pÌüúnh(üúnhID: MAIN_CYC)ðp¢éD
+ *
+ *  ÀsÀs³êé^XNÍCtask_loopñó[vðÀs·éxÉC^XNª
+ *  ÀsÅ é±Æð çí·bZ[Wð\¦·éDó[vðÀs·é
+ *  ÌÍCó[vÈµÅbZ[WðoÍ·éÆC½ÊÌbZ[WªoÍ
+ *  ³êCvOÌ®ìªmFµ¸ç­Èé½ßÅ éDÜ½Cá¬ÈV
+ *  A|[gðp¢ÄbZ[WðoÍ·éêÉC·×ÄÌbZ[W
+ *  ªoÍÅ«éæ¤ÉCbZ[WÌÊð§À·éÆ¢¤Rà éD
+ *
+ *  üúnh(CYC1)ÍCN®µ½±Æð¦·bZ[Wð\¦·éD
+ *  vOÌN®¼ãÍCüúnh(CYC1)Íâ~óÔÉÈÁÄ¢éD
+ *
+ *  C^XNÍCüúnh(MAIN_CYC)©ç100~b²ÆÉN®³êC
+ *  VAI/O|[g©çÌ¶üÍðs¢CüÍ³ê½
+ *  ¶ÉÎµ½ðÀs·éDüÍ³ê½¶ÆÌÖWÍÌÊèD
+ *  'Q'ªüÍ³êéÆCvOðI¹·éD
+ *
+ *  '1' : ÎÛ^XNðTASK1ÉØè·¦éiúÝèjD
+ *  '2' : ÎÛ^XNðTASK2ÉØè·¦éD
+ *  '3' : ÎÛ^XNðTASK3ÉØè·¦éD
+ *  'a' : ÎÛ^XNðact_tskÉæèN®·éD
+ *  'e' : ÎÛ^XNðÖÌ^[ÉæèI¹³¹éD
+ *  'c' : üúnhð®ìJn³¹éD
+ *  'C' : üúnhð®ìâ~³¹éD
+ *  'b' : A[nhð5bãÉN®·éæ¤®ìJn³¹éD
+ *  'B' : A[nhð®ìâ~³¹éD
+ *  'z' : ÎÛ^XNÉCPUáOð­¶³¹éi^XNðI¹³¹éjD
+ *  's' : CxgtO(ID:FLG1)ÉY^XNÉÖA·érbgðZbg·éD
+ *  'l' : ·×ÄÌ^XNÖA·éCxgtO(ID:FLG1)ÌrbgðNA·éD
+ *  'p' : |[OÅCxgtO(FLG1)ðÒÂD
+ *  'd' : |[OÅf[^L
+[(ID:DTQ1)Öf[^ðM·éD
+ *  'r' : |[OÅf[^L
+[(ID:DTQ1)©çf[^ðóM·éD
+ */
+
+#include <kernel.h>
+#include <sil.h>
+#include <t_syslog.h>
+#include "kernel_cfg.h"
+#include "syssvc/serial.h"
+#include "syssvc/logtask.h"
+
+#include "sample1.h"
+
+
+/*
+ *  VXeT[rXÌG[nhO
+ */
+#define SVC(expression)											\
+	if((expression) < 0)										\
+	{															\
+		syslog(LOG_NOTICE , "Error at %s : %d caused by %s." ,	\
+			__FILE__ , __LINE__ , #expression);					\
+	}
+
+/*
+ *  ÀñÀs³êé^XNÖÌbZ[WÌæ
+ */
+char message[3];
+
+/*
+ *  [vñ
+ */
+ulong_t	task_loop;		/* ^XNàÅÌ[vñ */
+
+void init_task(intptr_t exinf)
+{
+#ifndef TASK_LOOP
+	volatile ulong_t	i;
+	SYSTIM	stime1, stime2;
+#endif /* TASK_LOOP */
+	
+	/* VA|[gÌI[v */
+	SVC(serial_opn_por(TASK_PORTID));
+	SVC(serial_ctl_por(TASK_PORTID , IOCTL_CRLF));
+	
+	/* O^XNÌú» */
+	logtask_initialize(LOGTASK_PORTID);
+	
+	/* N®bZ[WÌoÍ */
+	syslog(LOG_INFO , "Sample program starts.");
+	
+	/* üúnhÌN® */
+	SVC(sta_cyc(MAIN_CYC));
+	
+	/*
+ 	 *  [vñÌÝè
+	 *
+	 *  TASK_LOOPª}Nè`³êÄ¢éêCªè¹¸ÉCTASK_LOOPÉè
+	 *  `³ê½lðC^XNàÅÌ[vñÆ·éD
+	 *
+	 *  MEASURE_TWICEª}Nè`³êÄ¢éêC1ñÚÌªèÊðÌÄ
+	 *  ÄC2ñÚÌªèÊðg¤D1ñÚÌªèÍ·ßÌÔªoé½ßD
+	 */
+#ifdef TASK_LOOP
+	task_loop = TASK_LOOP;
+#else /* TASK_LOOP */
+
+	task_loop = LOOP_REF;
+	SVC(get_tim(&stime1));
+	for (i = 0; i < task_loop; i++) {
+		/* Ô©¹¬Ì½ßÌ[vÅ èC±±ÅÍ½àµÈ¢ */
+	}
+	SVC(get_tim(&stime2));
+	task_loop = LOOP_REF * 400UL / (stime2 - stime1);
+
+#endif /* TASK_LOOP */
+
+}
+
+
+void main_task(intptr_t exinf)
+{
+	static ID tskid = TASK1;
+	static uint_t tskno = 1;
+	char c;
+	
+
+	/* VA|[g©çÌ¶óM */
+	if(serial_rea_dat(TASK_PORTID , &c , 1) > 0)
+	{
+		switch(c)
+		{
+		case 'e':
+		case 's':
+		case 'l':
+		case 'p':
+		case 'd':
+		case 'r':
+		case 'z':
+			message[tskno-1] = c;
+		    break;
+		case '1':
+			tskid = TASK1;
+			tskno = 1;
+			break;
+		case '2':
+			tskid = TASK2;
+			tskno = 2;
+			break;
+		case '3':
+			tskid = TASK3;
+			tskno = 3;
+			break;
+		case 'a':
+			syslog(LOG_INFO, "#act_tsk(%d)", tskno);
+			SVC(act_tsk(tskid));
+			break;
+		case 'b':
+			syslog(LOG_INFO, "#sta_alm(1, 5000)");
+			SVC(sta_alm(ALM1 , 5000));
+			break;
+		case 'B':
+			syslog(LOG_INFO, "#stp_alm(1)");
+			SVC(stp_alm(ALM1));
+			break;
+		case 'c':
+			syslog(LOG_INFO, "sta_cyc(1)");
+			SVC(sta_cyc(CYC1));
+			break;
+		case 'C':
+			syslog(LOG_INFO, "stp_cyc(1)");
+			SVC(stp_cyc(CYC1));
+			break;
+		case 'Q':
+			syslog(LOG_NOTICE, "Sample program ends.");
+			SVC(ext_ker());
+			break;
+		default:
+			/* G[\¦ */
+			syslog(LOG_INFO , "Unknown command.");
+			break;
+		}
+	}
+}
+
+
+void task(intptr_t exinf)
+{
+	/* exinfÍ^XNÔ  */
+	uint_t tskno = (uint_t)exinf;
+	int_t		n = 0;
+	char command;
+	volatile ulong_t i;
+	const char	*graph[] = { "|", "  +", "    *" };
+	bool_t cont = true;
+	FLGPTN pattern;
+	const FLGPTN flgptn[] = { 0x00000001U, 0x00000002U, 0x00000004U };
+	const FLGPTN allptn = 0x00000007U;
+	intptr_t dtqdata;
+	
+	do
+	{
+		for (i = 0; i < task_loop; i++) {
+			/* Ô©¹¬Ì½ßÌ[vÅ èC±±ÅÍ½àµÈ¢ */
+		}
+		
+		/* ^XNÔÌ\¦ */
+		syslog(LOG_NOTICE, "task%d is running (%03d).   %s",
+										tskno, ++n, graph[tskno-1]);
+		
+		/* R}hæ¾CbZ[WÌæðNA */
+		command = message[tskno - 1];
+		message[tskno - 1] = 0;
+		
+		switch(command)
+		{
+		case 'e':
+			cont = false;
+			syslog(LOG_INFO, "#%d#terminate task", tskno);
+			break;
+		case 's':
+			SVC(set_flg(FLG1 , flgptn[tskno - 1]));
+			syslog(LOG_INFO, "#%d#set_flg(flgid=%d , mask=%d)",
+									tskno , FLG1 , flgptn[tskno - 1]);
+			break;
+		case 'l':
+			SVC(clr_flg(FLG1 , ~allptn));
+			syslog(LOG_INFO, "#%d#clr_flg(flgid=%d)", tskno , FLG1);
+			break;
+		case 'p':
+			SVC(pol_flg(FLG1 , allptn , TWF_ORW , &pattern));
+			syslog(LOG_INFO, "#%d#pol_flg(flgid=%d , value=%u)", tskno , FLG1 , pattern);
+			break;
+		case 'd':
+			SVC(psnd_dtq(DTQ1 , (intptr_t)tskno));
+			syslog(LOG_INFO, "#%d#snd_dtq(dtqid=%d , value=%u)", tskno , DTQ1 , tskno);
+			break;
+		case 'r':
+			SVC(prcv_dtq(DTQ1 , (intptr_t *)(&dtqdata)));
+			syslog(LOG_INFO, "#%d#rcv_dtq(dtqid=%d , value=%u)", tskno , DTQ1 , dtqdata);
+			break;
+#ifdef CPUEXC1
+		case 'z':
+			syslog(LOG_NOTICE, "#%d#raise CPU exception", tskno);
+			RAISE_CPU_EXCEPTION;
+			break;
+#endif /* CPUEXC1 */
+		default:
+			break;
+		}
+	}while(cont == true);
+}
+
+
+void alarm_handler(intptr_t exinf)
+{
+	ID tskid = (ID)exinf;
+	
+	syslog(LOG_INFO , "Alarm handler is raised.");
+	SVC(iact_tsk(tskid));
+}
+
+void main_task_cychdr(intptr_t exinf)
+{
+	ID tskid = (ID)exinf;
+	
+	(void)iact_tsk(tskid);
+}
+
+void cyclic_handler(intptr_t exinf)
+{
+	syslog(LOG_INFO , "Cyclic handler is raised.");
+}
+
+#ifdef CPUEXC1
+void exc_handler(void *p_excinf)
+{
+	syslog(LOG_INFO , "CPU exception handler.");
+	syslog(LOG_INFO , "Kernel exit.");
+	
+	(void)ext_ker();
+}
+#endif /* CPUEXC1 */
+
Index: /ssp_qb_r5f100le_cs/trunk/sample/sample1.cfg
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/sample/sample1.cfg	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/sample/sample1.cfg	(revision 93)
@@ -0,0 +1,34 @@
+/*
+ *  TOPPESRS/SSPJ[lÌTvvO
+ */
+
+#include "sample1.h"
+
+INCLUDE("target_timer.cfg");
+INCLUDE("syssvc/serial.cfg");
+INCLUDE("syssvc/banner.cfg");
+INCLUDE("syssvc/syslog.cfg");
+INCLUDE("syssvc/logtask.cfg");
+
+CRE_TSK(INIT_TASK , { TA_ACT , 0 , init_task , INIT_PRIORITY , STACK_SIZE , NULL });
+CRE_TSK(MAIN_TASK , { TA_NULL , 0 , main_task , MAIN_PRIORITY , STACK_SIZE , NULL });
+CRE_TSK(TASK1 , { TA_NULL , 1 , task , TASK1_PRIORITY , STACK_SIZE , NULL });
+CRE_TSK(TASK2 , { TA_NULL , 2 , task , TASK2_PRIORITY , STACK_SIZE , NULL });
+CRE_TSK(TASK3 , { TA_NULL , 3 , task , TASK3_PRIORITY , STACK_SIZE , NULL });
+
+DEF_EPR(TASK3 , { TASK3_EXEPRIORITY });
+
+CRE_CYC(MAIN_CYC , { TA_NULL , MAIN_TASK , main_task_cychdr , 100 , 100 });
+CRE_CYC(CYC1 , { TA_NULL , 0 , cyclic_handler , 2000 , 2000 });
+CRE_ALM(ALM1 , { TA_NULL , TASK2 , alarm_handler });
+
+CRE_FLG(FLG1 , { TA_NULL , 0x00000000 });
+CRE_DTQ(DTQ1 , { TA_NULL , 3 , NULL });
+
+DEF_STK({ ALL_STACKSIZE , NULL });
+DEF_ICS({ INTERRUPT_STACKSIZE , NULL });
+
+#ifdef CPUEXC1
+DEF_EXC(CPUEXC1 , { TA_NULL , exc_handler });
+#endif /* CPUEXC1 */
+
Index: /ssp_qb_r5f100le_cs/trunk/sample/sample1.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/sample/sample1.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/sample/sample1.h	(revision 93)
@@ -0,0 +1,110 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2010-2012 by Meika Sugimoto
+ *  Copyright (C) 2014 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+#ifndef TOPPERS_SAMPLE1_H
+#define TOPPERS_SAMPLE1_H
+
+/*
+ *  ^[QbgË¶Ìè`
+ */
+#include "target_test.h"
+
+#if TMAX_TPRI == 16
+
+#define INIT_PRIORITY			(1)
+#define ERRORTSK_PRIORITY		(6)
+#define MAIN_PRIORITY			(7)
+#define TASK1_PRIORITY			(8)
+#define TASK2_PRIORITY			(9)
+#define TASK3_PRIORITY			(10)
+#define TASK3_EXEPRIORITY		(9)
+
+#else
+
+/* TMAX_TPRI == 8 */
+#define INIT_PRIORITY			(1)
+#define ERRORTSK_PRIORITY		(2)
+#define MAIN_PRIORITY			(3)
+#define TASK1_PRIORITY			(4)
+#define TASK2_PRIORITY			(5)
+#define TASK3_PRIORITY			(6)
+#define TASK3_EXEPRIORITY		(5)
+
+#endif /* TMAX_TPRI == 16 */
+
+#ifndef ALL_STACKSIZE
+#define ALL_STACKSIZE			(2048)
+#endif /* ITSK_STACKSIZE */
+
+#ifndef INTERRUPT_STACKSIZE
+#define INTERRUPT_STACKSIZE		(1024)
+#endif /* INTERRUPT_STACKSIZE */
+
+
+#ifndef TASK_PORTID
+#define	TASK_PORTID		1					/* ¶üÍ·éVA|[gID */
+#endif /* TASK_PORTID */
+
+#ifndef LOOP_REF
+#define LOOP_REF		ULONG_C(1000000)	/* ¬xvªpÌ[vñ */
+#endif /* LOOP_REF */
+
+#ifndef STACK_SIZE
+#define STACK_SIZE				(256)
+#endif /* STACK_SIZE */
+
+#ifndef TOPPERS_MACRO_ONLY
+
+extern void init_task(intptr_t exinf);
+extern void main_task(intptr_t exinf);
+extern void task(intptr_t exinf);
+
+extern void main_task_cychdr(intptr_t exinf);
+extern void cyclic_handler(intptr_t exinf);
+extern void alarm_handler(intptr_t exinf);
+extern void interrupt_service_routine(intptr_t exinf);
+#ifdef CPUEXC1
+extern void     exc_handler(void *p_excinf);
+#endif /* CPUEXC1 */
+
+#endif /* TOPPERS_MACRO_ONLY */
+#endif /* TOPPERS_SAMPLE1_H */
+
Index: /ssp_qb_r5f100le_cs/trunk/syssvc/banner.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/syssvc/banner.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/syssvc/banner.c	(revision 93)
@@ -0,0 +1,69 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2004-2010 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2010-2012 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ *		J[lN®bZ[WÌoÍ
+ */
+
+#include <kernel.h>
+#include "target_syssvc.h"
+
+#ifndef TARGET_COPYRIGHT
+#define TARGET_COPYRIGHT
+#endif /* TARGET_COPYRIGHT */
+
+extern const char banner[];
+extern const int32_t banner_size;
+
+void
+print_banner(intptr_t exinf)
+{
+	int_t i;
+	
+	for(i = 0 ; i < banner_size - 1 ; i++)
+	{
+		target_fput_log(banner[i]);
+	}
+}
Index: /ssp_qb_r5f100le_cs/trunk/syssvc/banner.cfg
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/syssvc/banner.cfg	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/syssvc/banner.cfg	(revision 93)
@@ -0,0 +1,11 @@
+/*
+ *  @(#) $Id: banner.cfg 823 2008-03-18 13:02:11Z hiro $
+ */
+
+/*
+ *		J[lN®bZ[WÌoÍÌRtBM
+[Vt@C
+ */
+
+#include "syssvc/banner.h"
+ATT_INI({ TA_NULL, 0, print_banner });
Index: /ssp_qb_r5f100le_cs/trunk/syssvc/banner.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/syssvc/banner.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/syssvc/banner.h	(revision 93)
@@ -0,0 +1,57 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Toyohashi Open Platform for Embedded Real-Time Systems/
+ *      Advanced Standard Profile Kernel
+ * 
+ *  Copyright (C) 2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: banner.h 774 2008-03-08 06:35:57Z hiro $
+ */
+
+/*
+ *		J[lN®bZ[WÌoÍ
+ */
+
+#ifndef TOPPERS_BANNER_H
+#define TOPPERS_BANNER_H
+
+/*
+ *  J[lN®bZ[WÌoÍ
+ */
+extern void	print_banner(intptr_t exinf) throw();
+
+#endif /* TOPPERS_BANNER_H */
Index: /ssp_qb_r5f100le_cs/trunk/syssvc/banner.tf
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/syssvc/banner.tf	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/syssvc/banner.tf	(revision 93)
@@ -0,0 +1,42 @@
+$ 
+$ oi[oÍpÌev[gt@C
+$ 
+$FILE "kernel_cfg.c"$
+
+$ J[l¼Ì
+$KERNEL_NAME = "\"TOPPERS/SSP Kernel \""$
+
+$ o[WÌæèoµ
+
+$MAJOR_VERSION = ((TKERNEL_PRVER >> 12) & 0x0f)$
+$MINOR_VERSION = ((TKERNEL_PRVER >> 4) & 0xff)$
+$PATCH_VERSION = ((TKERNEL_PRVER & 0x0f) & 0x0f)$
+
+$ J­Ò
+$AUTHOR = "\t\t\"Copyright (C) 2010 by Meika Sugimoto\\n\"\t\\\n"$
+$AUTHOR	= CONCAT(AUTHOR , "\t\t\"Copyright (C) 2010 by Naoki Saito\\n\"\t\\\n")$
+$AUTHOR	= CONCAT(AUTHOR , "\t\t\"            Nagoya Municipal Industrial Research Institute, JAPAN\\n\"\t\\\n")$
+
+$BANNER = CONCAT("\"\\n\" " , KERNEL_NAME)$
+$BANNER = CONCAT(BANNER , FORMAT(" \"%d.%X.%d \" \t\\\n" , MAJOR_VERSION , MINOR_VERSION , PATCH_VERSION))$
+$BANNER = CONCAT(BANNER , "\t\t\" for \" TARGET_NAME ")$
+$BANNER = CONCAT(BANNER , "\" (\" __DATE__ \" , \" __TIME__ \")\\n\"\t\\\n")$
+$BANNER = CONCAT(BANNER , CONCAT(AUTHOR , "\t\tTARGET_COPYRIGHT \"\\n\""))$
+
+$NL$
+$NL$
+
+#ifndef TARGET_COPYRIGHT$NL$
+#define TARGET_COPYRIGHT$NL$
+#endif /* TARGET_COPYRIGHT */$NL$
+$NL$
+$NL$
+#ifndef TARGET_NAME$NL$
+#define TARGET_NAME$NL$
+#endif /* TARGET_NAME */$NL$
+$NL$
+$NL$
+const char banner[] = $BANNER$;$NL$
+const int32_t banner_size = sizeof(banner) / sizeof(banner[0]);
+$NL$
+$NL$
Index: /ssp_qb_r5f100le_cs/trunk/syssvc/log_output.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/syssvc/log_output.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/syssvc/log_output.c	(revision 93)
@@ -0,0 +1,203 @@
+/*
+ *  TOPPERS Software
+ *      Toyohashi Open Platform for Embedded Real-Time Systems
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2004-2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2015 by Naoki Saito
+ *              Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: log_output.c 1176 2008-07-01 10:24:46Z ertl-hiro $
+ */
+
+/*
+ *		VXeOÌtH[}bgoÍ
+ */
+
+#include <t_stddef.h>
+#include <t_syslog.h>
+
+/*
+ *  lð¶ñÉÏ·
+ */
+#define CONVERT_BUFLEN	((sizeof(uintptr_t) * CHAR_BIT + 2) / 3)
+										/* uintptr_t^ÌlÌÅå¶ */
+static void
+convert(uintptr_t val, uint_t radix, const char *radchar,
+			uint_t width, bool_t minus, bool_t padzero, void (*putc)(char))
+{
+	char	buf[CONVERT_BUFLEN];
+	uint_t	i, j;
+
+	i = 0U;
+	do {
+		buf[i++] = radchar[val % radix];
+		val /= radix;
+	} while (i < CONVERT_BUFLEN && val != 0);
+
+	if (minus && width > 0U) {
+		width -= 1U;
+	}
+	if (minus && padzero) {
+		(*putc)('-');
+	}
+	for (j = i; j < width; j++) {
+		(*putc)((char)(padzero ? '0' : ' '));
+	}
+	if (minus && !padzero) {
+		(*putc)('-');
+	}
+	while (i > 0U) {
+		(*putc)(buf[--i]);
+	}
+}
+
+/*
+ *  ¶ñ®`oÍ
+ */
+static const char raddec[] = "0123456789";
+static const char radhex[] = "0123456789abcdef";
+static const char radHEX[] = "0123456789ABCDEF";
+
+void
+syslog_printf(const char *format, const intptr_t *p_args, void (*putc)(char))
+{
+	char		c;
+	uint_t		width;
+	bool_t		padzero;
+	intptr_t	val;
+	const char	*str;
+
+	while ((c = *format++) != '\0') {
+		if (c != '%') {
+			(*putc)(c);
+			continue;
+		}
+
+		width = 0U;
+		padzero = false;
+		if ((c = *format++) == '0') {
+			padzero = true;
+			c = *format++;
+		}
+		while ('0' <= c && c <= '9') {
+			width = width * 10U + c - '0';
+			c = *format++;
+		}
+		if (c == 'l') {
+			c = *format++;
+		}
+		switch (c) {
+		case 'd':
+			val = (intptr_t)(*p_args++);
+			if (val >= 0) {
+				convert((uintptr_t) val, 10U, raddec,
+										width, false, padzero, putc);
+			}
+			else {
+				convert((uintptr_t)(-val), 10U, raddec,
+										width, true, padzero, putc);
+			}
+			break;
+		case 'u':
+			val = (intptr_t)(*p_args++);
+			convert((uintptr_t) val, 10U, raddec, width, false, padzero, putc);
+			break;
+		case 'x':
+		case 'p':
+			val = (intptr_t)(*p_args++);
+			convert((uintptr_t) val, 16U, radhex, width, false, padzero, putc);
+			break;
+		case 'X':
+			val = (intptr_t)(*p_args++);
+			convert((uintptr_t) val, 16U, radHEX, width, false, padzero, putc);
+			break;
+		case 'c':
+			(*putc)((char)(intptr_t)(*p_args++));
+			break;
+		case 's':
+			str = (const char *)(*p_args++);
+			while ((c = *str++) != '\0') {
+				(*putc)(c);
+			}
+			break;
+		case '%':
+			(*putc)('%');
+			break;
+		case '\0':
+			format--;
+			break;
+		default:
+			break;
+		}
+	}
+}
+
+/*
+ *  OîñÌoÍ
+ */
+void
+syslog_print(const SYSLOG *p_syslog, void (*putc)(char))
+{
+	switch (p_syslog->logtype) {
+	case LOG_TYPE_COMMENT:
+		syslog_printf((const char *)(p_syslog->loginfo[0]),
+								&(p_syslog->loginfo[1]), putc);
+		break;
+	case LOG_TYPE_ASSERT:
+		syslog_printf("%s:%u: Assertion `%s' failed.",
+								&(p_syslog->loginfo[0]), putc);
+		break;
+	default:
+		// s¾ÈíÊÌêÍC½àµÈ¢
+		break;
+	}
+}
+
+/*
+ *  Oîñr¸bZ[WÌoÍ
+ */
+void
+syslog_lostmsg(uint_t lost, void (*putc)(char))
+{
+	intptr_t	lostinfo[1];
+
+	lostinfo[0] = (intptr_t) lost;
+	syslog_printf("%d messages are lost.", lostinfo, putc);
+	(*putc)('\n');
+}
Index: /ssp_qb_r5f100le_cs/trunk/syssvc/logtask.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/syssvc/logtask.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/syssvc/logtask.c	(revision 93)
@@ -0,0 +1,157 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2005-2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2010-2012 by Meika Sugimoto
+ *  Copyright (C) 2015 by Naoki Saito
+ *              Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: logtask.c 1111 2008-06-12 08:42:26Z ertl-hiro $
+ */
+
+/*
+ *		VXeO^XN
+ */
+
+#include <kernel.h>
+#include <t_syslog.h>
+#include <log_output.h>
+#include "syssvc/serial.h"
+#include "syssvc/syslog.h"
+#include "logtask.h"
+
+/*
+ *  VXeO^XNÌoÍæÌ|[gID
+ */
+static ID	logtask_portid;
+
+/*
+ *  VAC^tF[XÖÌ1¶oÍ
+ */
+static void
+logtask_putc(char c)
+{
+	serial_wri_dat(logtask_portid, &c, 1);
+}
+
+/*
+ *  O^XNÌú»
+ */
+
+void logtask_initialize(ID log_portid)
+{
+	logtask_portid = log_portid;
+	serial_opn_por(logtask_portid);
+	syslog_msk_log(LOG_UPTO(LOG_INFO), LOG_UPTO(LOG_EMERG));
+	syslog_1(LOG_NOTICE, "System logging task is started on port %d.",
+													logtask_portid);
+}
+/*
+ *  VXeO^XNÌ{Ì
+ */
+void
+logtask_main(intptr_t exinf)
+{
+	SYSLOG	syslog;
+	static uint_t	lost = 0;
+	ER_UINT	rercd;
+	
+	while ((rercd = syslog_rea_log(&syslog)) >= 0) {
+		lost += (uint_t) rercd;
+		if (syslog.logtype >= LOG_TYPE_COMMENT) {
+			if (lost > 0U) {
+				syslog_lostmsg(lost, logtask_putc);
+				lost = 0U;
+			}
+			syslog_print(&syslog, logtask_putc);
+			logtask_putc('\n');
+		}
+	}
+	if (lost > 0U) {
+		syslog_lostmsg(lost, logtask_putc);
+	}
+}
+
+void cychdr_act_logtsk(intptr_t exinf)
+{
+	iact_tsk((ID)exinf);
+}
+
+/*
+ *  VXeO^XNÌI¹
+ */
+void
+logtask_terminate(intptr_t exinf)
+{
+	char	c;
+	SYSLOG	syslog;
+	bool_t	msgflg = false;
+	ER_UINT	rercd;
+
+	/*
+	 *  VAC^tF[XhCoÌMobt@É~Ï³ê½f[^
+	 *  ðCáxoÍ@\ðp¢ÄoÍ·éD
+	 */
+	while (serial_get_chr(logtask_portid, &c)) {
+		target_fput_log(c);
+	}
+
+	/*
+	 *  Oobt@ÉL^³ê½OîñðCáxoÍ@\ðp¢Äo
+	 *  Í·éD
+	 */
+	while ((rercd = syslog_rea_log(&syslog)) >= 0) {
+		if (!msgflg) {
+			/*
+			 *  Oobt@ÉcÁ½OîñÅ é±Æð¦·¶ñðo
+			 *  Í·éD
+			 */
+			syslog_printf("-- buffered messages --\n", NULL, target_fput_log);
+			msgflg = true;
+		}
+		if (rercd > 0) {
+			syslog_lostmsg((uint_t) rercd, target_fput_log);
+		}
+		if (syslog.logtype >= LOG_TYPE_COMMENT) {
+			syslog_print(&syslog, target_fput_log);
+			target_fput_log('\n');
+		}
+	}
+}
Index: /ssp_qb_r5f100le_cs/trunk/syssvc/logtask.cfg
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/syssvc/logtask.cfg	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/syssvc/logtask.cfg	(revision 93)
@@ -0,0 +1,16 @@
+/*
+ *  @(#) $Id: logtask.cfg 823 2008-03-18 13:02:11Z hiro $
+ */
+
+/*
+ *		VXeO^XNÌRtBM
+[Vt@C
+ */
+
+#include "syssvc/logtask.h"
+CRE_TSK(LOGTASK, { TA_ACT, LOGTASK_PORTID, logtask_main,
+						LOGTASK_PRIORITY, LOGTASK_STACK_SIZE, NULL });
+CRE_CYC(LOCCYC , { TA_ACT , 
+	LOGTASK , cychdr_act_logtsk , LOGTASK_INTERVAL , LOGTASK_INTERVAL });
+
+ATT_TER({ TA_NULL, 0, logtask_terminate });
Index: /ssp_qb_r5f100le_cs/trunk/syssvc/logtask.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/syssvc/logtask.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/syssvc/logtask.h	(revision 93)
@@ -0,0 +1,115 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2004-2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: logtask.h 774 2008-03-08 06:35:57Z hiro $
+ */
+
+/*
+ *		VXeO^XN
+ */
+
+#ifndef TOPPERS_LOGTASK_H
+#define TOPPERS_LOGTASK_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "target_syssvc.h"
+
+/*
+ *  VXeO^XNÖAÌèÌftHglÌè`
+ */ 
+#ifndef LOGTASK_PRIORITY
+#define LOGTASK_PRIORITY	3		/* úDæx */
+#endif /* LOGTASK_PRIORITY */
+
+#ifndef LOGTASK_STACK_SIZE
+#define LOGTASK_STACK_SIZE	256	/* X^bNÌæÌTCY */
+#endif /* LOGTASK_STACK_SIZE */
+
+#ifndef LOGTASK_PORTID
+#define LOGTASK_PORTID		1		/* VXeOpÌVA|[gÔ */
+#endif /* LOGTASK_PORTID */
+
+#ifndef LOGTASK_INTERVAL
+#define LOGTASK_INTERVAL	10U		/* VXeO^XNÌ®ìÔui~bj*/
+#endif /* LOGTASK_INTERVAL */
+
+#ifndef LOGTASK_FLUSH_WAIT
+#define LOGTASK_FLUSH_WAIT	1U		/* tbV
+Ò¿ÌPÊÔi~bj*/
+#endif /* LOGTASK_FLUSH_WAIT */
+
+/*
+ *  VXeOoÍÌÒ¿í¹
+ *
+ *  Oobt@ÌOÌªcountÈºÉÈéÜÅÒÂDcountª0ÌêÉ
+ *  ÍCVAobt@ªóÉÈéÌàÒÂD
+ */
+extern ER	logtask_flush(uint_t count) throw();
+
+/*
+ *  VXeO^XNÌú»
+ */
+extern void logtask_initialize(ID log_portid) throw();
+
+/*
+ *  VXeO^XNÌ{Ì
+ */
+extern void	logtask_main(intptr_t exinf) throw();
+
+/*
+ *  VXeO^XNðN®·éüúnh
+ */
+extern void	cychdr_act_logtsk(intptr_t exinf) throw();
+
+/*
+ *  VXeO^XNÌI¹
+ */
+extern void	logtask_terminate(intptr_t exinf) throw();
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* TOPPERS_LOGTASK_H */
Index: /ssp_qb_r5f100le_cs/trunk/syssvc/serial.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/syssvc/serial.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/syssvc/serial.c	(revision 93)
@@ -0,0 +1,655 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2006-2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2010-2012 by Meika Sugimoto
+ *  Copyright (C) 2015 by Naoki Saito
+ *              Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ */
+
+/*
+ *		VAC^tF[XhCo
+ */
+
+#include <kernel.h>
+#include "target_syssvc.h"
+#include "target_serial.h"
+#include "serial.h"
+#include "kernel_cfg.h"
+
+/*
+ *  obt@TCYÌftHglÆobt@Ìè`
+ */
+#ifndef SERIAL_RCV_BUFSZ1
+#define	SERIAL_RCV_BUFSZ1	64			/* |[g1ÌóMobt@TCY */
+#endif /* SERIAL_RCV_BUFSZ1 */
+
+#ifndef SERIAL_SND_BUFSZ1
+#define	SERIAL_SND_BUFSZ1	256			/* |[g1ÌMobt@TCY */
+#endif /* SERIAL_SND_BUFSZ1 */
+
+static char	rcv_buffer1[SERIAL_RCV_BUFSZ1];
+static char	snd_buffer1[SERIAL_SND_BUFSZ1];
+
+#if TNUM_PORT >= 2						/* |[g2ÉÖ·éè` */
+
+#ifndef SERIAL_RCV_BUFSZ2
+#define	SERIAL_RCV_BUFSZ2	64			/* |[g2ÌóMobt@TCY */
+#endif /* SERIAL_RCV_BUFSZ2 */
+
+#ifndef SERIAL_SND_BUFSZ2
+#define	SERIAL_SND_BUFSZ2	64			/* |[g2ÌMobt@TCY */
+#endif /* SERIAL_SND_BUFSZ2 */
+
+static char	rcv_buffer2[SERIAL_RCV_BUFSZ2];
+static char	snd_buffer2[SERIAL_SND_BUFSZ2];
+
+#endif /* TNUM_PORT >= 2 */
+
+#if TNUM_PORT >= 3						/* |[g3ÉÖ·éè` */
+
+#ifndef SERIAL_RCV_BUFSZ3
+#define	SERIAL_RCV_BUFSZ3	64			/* |[g3ÌóMobt@TCY */
+#endif /* SERIAL_RCV_BUFSZ3 */
+
+#ifndef SERIAL_SND_BUFSZ3
+#define	SERIAL_SND_BUFSZ3	64			/* |[g3ÌMobt@TCY */
+#endif /* SERIAL_SND_BUFSZ3 */
+
+static char	rcv_buffer3[SERIAL_RCV_BUFSZ3];
+static char	snd_buffer3[SERIAL_SND_BUFSZ3];
+
+#endif /* TNUM_PORT >= 3 */
+
+/*
+ *  VA|[gú»ubN
+ */
+typedef struct serial_port_initialization_block {
+	uint_t	rcv_bufsz;		/* óMobt@TCY */
+	char	*rcv_buffer;	/* óMobt@ */
+	uint_t	snd_bufsz;		/* Mobt@TCY */
+	char	*snd_buffer;	/* Mobt@ */
+} SPINIB;
+
+static const SPINIB spinib_table[TNUM_PORT] = {
+	{ SERIAL_RCV_BUFSZ1, rcv_buffer1,
+	  SERIAL_SND_BUFSZ1, snd_buffer1 },
+#if TNUM_PORT >= 2
+	{ SERIAL_RCV_BUFSZ2, rcv_buffer2,
+	  SERIAL_SND_BUFSZ2, snd_buffer2 },
+#endif /* TNUM_PORT >= 2 */
+#if TNUM_PORT >= 3
+	{ SERIAL_RCV_BUFSZ3, rcv_buffer3,
+	  SERIAL_SND_BUFSZ3, snd_buffer3 },
+#endif /* TNUM_PORT >= 3 */
+};
+
+/*
+ *  VA|[gÇubN
+ */
+typedef struct serial_port_control_block {
+	const SPINIB *p_spinib;		/* VA|[gú»ubN */
+	SIOPCB	*p_siopcb;			/* VAI/O|[gÇubN */
+	bool_t	openflag;			/* I[vÏÝtO */
+	bool_t	errorflag;			/* G[tO */
+	uint_t	ioctl;				/* ®ì§äÌÝèl */
+
+	uint_t	rcv_read_ptr;		/* óMobt@Çoµ|C^ */
+	uint_t	rcv_write_ptr;		/* óMobt@Ý|C^ */
+	uint_t	rcv_count;			/* óMobt@Ì¶ */
+
+	uint_t	snd_read_ptr;		/* Mobt@Çoµ|C^ */
+	uint_t	snd_write_ptr;		/* Mobt@Ý|C^ */
+	uint_t	snd_count;			/* Mobt@Ì¶ */
+} SPCB;
+
+static SPCB	spcb_table[TNUM_PORT];
+
+/*
+ *  VA|[gID©çVA|[gÇubNðæèo·½ßÌ}N
+ */
+#define INDEX_PORT(portid)	((uint_t)((portid) - 1))
+#define get_spcb(portid)	(&(spcb_table[INDEX_PORT(portid)]))
+
+/*
+ *  |C^ÌCNg
+ */
+#define INC_PTR(ptr, bufsz)		{ if (++(ptr) == (bufsz)) { (ptr) = 0; }}
+
+/*
+ *  T[rXR[Äoµ}N
+ *
+ *  T[rXR[ÄoµðÜÞ®expð]¿µCÔlªG[iÌljÌê
+ *  ÉÍCercÉercd_expð]¿µ½lðãüµCerror_exitÉgoto·éD
+ */
+#define SVC(exp, ercd_exp) \
+				{ if ((exp) < 0) { ercd = (ercd_exp); goto error_exit; }}
+
+/*
+ *  E_SYSG[Ì¶¬
+ */
+static ER
+gen_ercd_sys(SPCB *p_spcb)
+{
+	p_spcb->errorflag = true;
+	return(E_SYS);
+}
+
+
+/*
+ *  VAC^tF[XhCoÌú»[`
+ */
+void
+serial_initialize(intptr_t exinf)
+{
+	uint_t	i;
+	SPCB	*p_spcb;
+
+	for (i = 0; i < TNUM_PORT; i++) {
+		p_spcb = &(spcb_table[i]);
+		p_spcb->p_spinib = &(spinib_table[i]);
+		p_spcb->openflag = false;
+	}
+}
+
+/*
+ *  VAC^[tF[XhCoÌI¹[`
+ */
+
+void
+serial_terminate(intptr_t exinf)
+{
+	uint_t	i;
+	SPCB	*p_spcb;
+	
+	/* obt@ÉcÁÄ¢éSÄÌ¶ðoÍ·é */
+	for (i = 0; i < TNUM_PORT; i++) {
+		p_spcb = &(spcb_table[i]);
+
+		while(p_spcb->snd_count != 0U)
+		{
+			if(sio_snd_chr(p_spcb->p_siopcb,
+					p_spcb->p_spinib->snd_buffer[p_spcb->snd_read_ptr]) == true)
+			{
+				INC_PTR(p_spcb->snd_read_ptr, p_spcb->p_spinib->snd_bufsz);
+				p_spcb->snd_count--;
+			}
+		}
+	}
+
+}
+
+/*
+ *  VA|[gÌI[viT[rXR[j
+ */
+ER
+serial_opn_por(ID portid)
+{
+	SPCB	*p_spcb;
+	ER		ercd;
+
+	if (sns_dpn()) {				/* ReLXgÌ`FbN */
+		return(E_CTX);
+	}
+	if (!(1 <= portid && portid <= TNUM_PORT)) {
+		return(E_ID);				/* |[gÔÌ`FbN */
+	}
+	p_spcb = get_spcb(portid);
+
+	SVC(dis_dsp(), gen_ercd_sys(p_spcb));
+	if (p_spcb->openflag) {			/* I[vÏÝ©Ì`FbN */
+		ercd = E_OBJ;
+	}
+	else {
+		/*
+		 *  ÏÌú»
+		 */
+		p_spcb->ioctl = (IOCTL_ECHO | IOCTL_CRLF);
+
+		p_spcb->rcv_read_ptr = p_spcb->rcv_write_ptr = 0U;
+		p_spcb->rcv_count = 0U;
+
+		p_spcb->snd_read_ptr = p_spcb->snd_write_ptr = 0U;
+		p_spcb->snd_count = 0U;
+
+		/*
+		 *  ±êÈ~CÝðÖ~·éD
+		 */
+		if (loc_cpu() < 0) {
+			ercd = E_SYS;
+			goto error_exit_enadsp;
+		}
+
+		/*
+		 *  n[hEFAË¶ÌI[v
+		 */
+		p_spcb->p_siopcb = sio_opn_por(portid, (intptr_t) p_spcb);
+
+		/*
+		 *  óMÊmR[obNðÂ·éD
+		 */
+		sio_ena_cbr(p_spcb->p_siopcb, SIO_RDY_RCV);
+		p_spcb->openflag = true;
+		p_spcb->errorflag = false;
+
+		if (unl_cpu() < 0) {
+			p_spcb->errorflag = true;
+			ercd = E_SYS;
+			goto error_exit_enadsp;
+		}
+		ercd = E_OK;
+	}
+
+  error_exit_enadsp:
+	SVC(ena_dsp(), gen_ercd_sys(p_spcb));
+
+  error_exit:
+	return(ercd);
+}
+
+/*
+ *  VA|[gÌN[YiT[rXR[j
+ */
+ER
+serial_cls_por(ID portid)
+{
+	SPCB	*p_spcb;
+	ER		ercd;
+	bool_t	eflag = false;
+
+	if (sns_dpn()) {				/* ReLXgÌ`FbN */
+		return(E_CTX);
+	}
+	if (!(1 <= portid && portid <= TNUM_PORT)) {
+		return(E_ID);				/* |[gÔÌ`FbN */
+	}
+	p_spcb = get_spcb(portid);
+
+	SVC(dis_dsp(), gen_ercd_sys(p_spcb));
+	if (!(p_spcb->openflag)) {		/* I[vÏÝ©Ì`FbN */
+		ercd = E_OBJ;
+	}
+	else {
+		/*
+		 *  n[hEFAË¶ÌN[Y
+		 */
+		if (loc_cpu() < 0) {
+			eflag = true;
+		}
+		sio_cls_por(p_spcb->p_siopcb);
+		p_spcb->openflag = false;
+		if (unl_cpu() < 0) {
+			eflag = true;
+		}
+		
+		/*
+		 *  G[R[hÌÝè
+		 */
+		if (eflag) {
+			ercd = gen_ercd_sys(p_spcb);
+		}
+		else {
+			ercd = E_OK;
+		}
+	}
+	SVC(ena_dsp(), gen_ercd_sys(p_spcb));
+
+  error_exit:
+	return(ercd);
+}
+
+/*
+ *  VA|[gÖÌ¶M
+ *
+ *  p_spcbÅwè³êéVAI/O|[gÉÎµÄC¶cðM·éD¶
+ *  ðMWX^É¢ê½êÉÍtrueðÔ·D»¤ÅÈ¢êÉÍCM
+ *  WX^ªó¢½±ÆðÊm·éR[obNÖðÂµCfalseðÔ·D
+ *  ±ÌÖÍCCPUbNóÔÅÄÑo³êéD
+ */
+Inline bool_t
+serial_snd_chr(SPCB *p_spcb, char c)
+{
+	if (sio_snd_chr(p_spcb->p_siopcb, c)) {
+		return(true);
+	}
+	else {
+		sio_ena_cbr(p_spcb->p_siopcb, SIO_RDY_SND);
+		return(false);
+	}
+}
+
+/*
+ *  VA|[gÖÌ1¶M
+ *  wè³ê½¶ÌMðÝé.
+ *  foCXÖÌMª¬÷µ½êÜ½Íobt@Éó«ª èi[Å«½êÍ false, 
+ *  obt@ªtÅi[Å«È©Á½êÍ true ðÔ·D
+ *  »êÈOÌG[ª­¶µ½êÍ ER ^ÌG[R[hðÔ·D
+ */
+static ER_BOOL
+serial_wri_chr(SPCB *p_spcb, char c)
+{
+	bool_t	buffer_full;
+	ER		ercd, rercd;
+
+	/*
+	 *  LFÌOÉCRðM·éD
+	 *  ½¾µC1¶ÈºÌó«µ©È¢êÍobt@tÆÝÈµCMµÈ¢D
+	 */
+	if (c == '\n' && (p_spcb->ioctl & IOCTL_CRLF) != 0U) {
+		if(p_spcb->snd_count + 1U < p_spcb->p_spinib->snd_bufsz) {
+			SVC(rercd = serial_wri_chr(p_spcb, '\r'), rercd);
+		}
+		else {
+			return (ER_BOOL) true;
+		}
+	}
+
+	SVC(loc_cpu(), gen_ercd_sys(p_spcb));
+	if ((p_spcb->snd_count == 0U) && serial_snd_chr(p_spcb, c)) {
+		/*
+		 *  VAI/OfoCXÌMWX^É¶ðüêé±ÆÉ¬÷µ
+		 *  ½êD
+		 */
+		buffer_full = false;
+	}
+	else {
+		/*
+		 *  ó«ª êÎCMobt@É¶ðüêéD
+		 *  ó«ªÈ¢êCMµÈ¢D
+		 */
+		if(p_spcb->snd_count < p_spcb->p_spinib->snd_bufsz) {
+			p_spcb->p_spinib->snd_buffer[p_spcb->snd_write_ptr] = c;
+			INC_PTR(p_spcb->snd_write_ptr, p_spcb->p_spinib->snd_bufsz);
+			p_spcb->snd_count++;
+			buffer_full = false;
+		}
+		else {
+			buffer_full = true;
+		}
+	}
+
+	SVC(unl_cpu(), gen_ercd_sys(p_spcb));
+	ercd = (ER_BOOL) buffer_full;
+
+  error_exit:
+	return(ercd);
+}
+
+bool_t
+serial_rcvbuf_empty(SPCB *p_spcb)
+{
+	return (p_spcb->rcv_count == 0u);
+}
+
+/*
+ *  VA|[gÖÌ¶ñMiT[rXR[j
+ */
+ER_UINT
+serial_wri_dat(ID portid, const char *buf, uint_t len)
+{
+	SPCB	*p_spcb;
+	bool_t	buffer_full;
+	uint_t	wricnt = 0U;
+	ER		ercd, rercd;
+
+	if (sns_dpn()) {				/* ReLXgÌ`FbN */
+		return(E_CTX);
+	}
+	if (!(1 <= portid && portid <= TNUM_PORT)) {
+		return(E_ID);				/* |[gÔÌ`FbN */
+	}
+
+	p_spcb = get_spcb(portid);
+	if (!(p_spcb->openflag)) {		/* I[vÏÝ©Ì`FbN */
+		return(E_OBJ);
+	}
+	if (p_spcb->errorflag) {		/* G[óÔ©Ì`FbN */
+		return(E_SYS);
+	}
+	
+	/*
+	 *  len ÜÅ1¶¸ÂMðÝéD
+	 *  rÅobt@tÉÈÁ½çf·éD
+	 */
+	SVC((rercd = dis_dsp()) , rercd);
+	for(wricnt = 0U; wricnt < len; wricnt++) {
+		SVC(rercd = serial_wri_chr(p_spcb, *buf++), rercd);
+		buffer_full = (bool_t)rercd;
+		if(buffer_full) {
+			break;
+		}
+	}
+	SVC((rercd = ena_dsp()) , rercd);
+	
+	ercd = E_OK;
+  error_exit:
+	return(wricnt > 0U ? (ER_UINT) wricnt : ercd);
+}
+
+/*
+ *  VA|[g©çÌ1¶óM
+ *  ¶ÌóMðÝé.
+ *  obt@Éf[^ª¶ÝµCæ¾Å«½êÍ false, 
+ *  obt@ªóÅæ¾Å«È©Á½êÍ true ðÔ·D
+ *  »êÈOÌG[ª­¶µ½êÍ ER ^ÌG[R[hðÔ·D
+ */
+static ER_BOOL
+serial_rea_chr(SPCB *p_spcb, char *p_c)
+{
+	bool_t	buffer_empty;
+	ER		ercd;
+
+	SVC(loc_cpu(), gen_ercd_sys(p_spcb));
+
+	/*
+	 *  f[^ª¶Ý·êÎCóMobt@©ç¶ðæèo·D
+	 *  È¯êÎæèo³È¢D
+	 */
+	if(p_spcb->rcv_count > 0U) {
+		*p_c = p_spcb->p_spinib->rcv_buffer[p_spcb->rcv_read_ptr];
+		INC_PTR(p_spcb->rcv_read_ptr, p_spcb->p_spinib->rcv_bufsz);
+		p_spcb->rcv_count--;
+		buffer_empty = false;
+	}
+	else {
+		buffer_empty = true;
+	}
+	
+	SVC(unl_cpu(), gen_ercd_sys(p_spcb));
+	ercd = (ER_BOOL) buffer_empty;
+
+  error_exit:
+	return(ercd);
+}
+
+/*
+ *  VA|[g©çÌ¶ñóMiT[rXR[j
+ */
+ER_UINT
+serial_rea_dat(ID portid, char *buf, uint_t len)
+{
+	SPCB	*p_spcb;
+	bool_t	buffer_empty;
+	uint_t	reacnt = 0U;
+	char	c = '\0';		/* RpCÌxð}~·é½ßÉú»·é */
+	ER		ercd, rercd;
+
+	if (sns_dpn()) {				/* ReLXgÌ`FbN */
+		return(E_CTX);
+	}
+	if (!(1 <= portid && portid <= TNUM_PORT)) {
+		return(E_ID);				/* |[gÔÌ`FbN */
+	}
+
+	p_spcb = get_spcb(portid);
+	if (!(p_spcb->openflag)) {		/* I[vÏÝ©Ì`FbN */
+		return(E_OBJ);
+	}
+	if (p_spcb->errorflag) {		/* G[óÔ©Ì`FbN */
+		return(E_SYS);
+	}
+	
+	/*
+	 *  len ÜÅóMðÝéD
+	 *  obt@ªóÅÇÝo¹È©Á½êÍf·é
+	 */
+	SVC((rercd = dis_dsp()) , rercd);
+	for(reacnt = 0U; reacnt < len; reacnt++) {
+		SVC(rercd = serial_rea_chr(p_spcb, &c), rercd);
+		buffer_empty = (bool_t)rercd;
+
+		if(buffer_empty) {
+			break;
+		}
+		else {
+			/*
+			 *  GR[obND
+			 */
+			if ((p_spcb->ioctl & IOCTL_ECHO) != 0U) {
+				SVC(rercd = serial_wri_chr(p_spcb, c), rercd);
+			}
+			*buf++ = c;
+		}
+	}
+	SVC((rercd = ena_dsp()) , rercd);
+	
+	ercd = E_OK;
+  error_exit:
+	return(reacnt > 0U ? (ER_UINT) reacnt : ercd);
+}
+
+/*
+ *  VA|[gÌ§äiT[rXR[j
+ */
+ER
+serial_ctl_por(ID portid, uint_t ioctl)
+{
+	SPCB	*p_spcb;
+
+	if (sns_dpn()) {				/* ReLXgÌ`FbN */
+		return(E_CTX);
+	}
+	if (!(1 <= portid && portid <= TNUM_PORT)) {
+		return(E_ID);				/* |[gÔÌ`FbN */
+	}
+
+	p_spcb = get_spcb(portid);
+	if (!(p_spcb->openflag)) {		/* I[vÏÝ©Ì`FbN */
+		return(E_OBJ);
+	}
+	if (p_spcb->errorflag) {		/* G[óÔ©Ì`FbN */
+		return(E_SYS);
+	}
+
+	p_spcb->ioctl = ioctl;
+	return(E_OK);
+}
+
+/*
+ *  VA|[g©çÌMÂ\R[obN
+ */
+void
+sio_irdy_snd(intptr_t exinf)
+{
+	SPCB	*p_spcb;
+
+	p_spcb = (SPCB *) exinf;
+
+	if (p_spcb->snd_count > 0U) {
+		/*
+		 *  Mobt@©ç¶ðæèoµÄM·éD
+		 */
+		(void) sio_snd_chr(p_spcb->p_siopcb,
+					p_spcb->p_spinib->snd_buffer[p_spcb->snd_read_ptr]);
+		INC_PTR(p_spcb->snd_read_ptr, p_spcb->p_spinib->snd_bufsz);
+		p_spcb->snd_count--;
+	}
+	else {
+		/*
+		 *  M·×«¶ªÈ¢êÍCMÂ\R[obNðÖ~·éD
+		 */
+		sio_dis_cbr(p_spcb->p_siopcb, SIO_RDY_SND);
+	}
+}
+
+/*
+ *  VA|[g©çÌóMÊmR[obN
+ */
+void
+sio_irdy_rcv(intptr_t exinf)
+{
+	SPCB	*p_spcb;
+	char	c;
+	
+	p_spcb = (SPCB *) exinf;
+	c = (char) sio_rcv_chr(p_spcb->p_siopcb);
+	
+	if (p_spcb->rcv_count != p_spcb->p_spinib->rcv_bufsz) {
+		/*
+		 *  óMµ½¶ðóMobt@ÉüêéD
+		 *  obt@tÌêCóMµ½¶ðÌÄéD
+		 */
+		p_spcb->p_spinib->rcv_buffer[p_spcb->rcv_write_ptr] = c;
+		INC_PTR(p_spcb->rcv_write_ptr, p_spcb->p_spinib->rcv_bufsz);
+		p_spcb->rcv_count++;
+	}
+}
+
+/*
+ *  VAC^tF[XhCo©çÌ¢M¶Ìæoµ
+ */
+bool_t
+serial_get_chr(ID portid, char *p_c)
+{
+	SPCB	*p_spcb;
+
+	if (1 <= portid && portid <= TNUM_PORT) {	/* |[gÔÌ`FbN */
+		p_spcb = get_spcb(portid);
+		if (p_spcb->openflag) {					/* I[vÏÝ©Ì`FbN */
+			if (p_spcb->snd_count > 0U) {
+				*p_c = p_spcb->p_spinib->snd_buffer[p_spcb->snd_read_ptr];
+				INC_PTR(p_spcb->snd_read_ptr, p_spcb->p_spinib->snd_bufsz);
+				p_spcb->snd_count--;
+				return(true);
+			}
+		}
+	}
+	return(false);
+}
Index: /ssp_qb_r5f100le_cs/trunk/syssvc/serial.cfg
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/syssvc/serial.cfg	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/syssvc/serial.cfg	(revision 93)
@@ -0,0 +1,15 @@
+/*
+ *  @(#) $Id: serial.cfg 823 2008-03-18 13:02:11Z hiro $
+ */
+
+/*
+ *  VAC^tF[XhCoÌRtBM
+[Vt@C
+ */
+
+#include "target_syssvc.h"
+INCLUDE("target_serial.cfg");
+
+#include "syssvc/serial.h"
+ATT_INI({ TA_NULL, 0, serial_initialize });
+ATT_TER({ TA_NULL, 0, serial_terminate });
Index: /ssp_qb_r5f100le_cs/trunk/syssvc/serial.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/syssvc/serial.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/syssvc/serial.h	(revision 93)
@@ -0,0 +1,105 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Toyohashi Open Platform for Embedded Real-Time Systems/
+ *      Advanced Standard Profile Kernel
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2004-2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2015 by Naoki Saito
+ *              Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: serial.h 1176 2008-07-01 10:24:46Z ertl-hiro $
+ */
+
+/*
+ *		VAC^tF[XhCo
+ */
+
+#ifndef TOPPERS_SERIAL_H
+#define TOPPERS_SERIAL_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ *  VAC^tF[XhCoÌp¢épPbg
+ */
+typedef struct {
+	uint_t		reacnt;			/* óMobt@Ì¶ */
+	uint_t		wricnt;			/* Mobt@Ì¶ */
+} T_SERIAL_RPOR;
+
+/*
+ *  VAC^tF[XhCoÌú»[`
+ */
+extern void		serial_initialize(intptr_t exinf);
+
+/*
+ *  VAC^tF[XhCoÌI¹[`
+ */
+extern void		serial_terminate(intptr_t exinf);
+
+/*
+ *  VAC^tF[XhCo©çÌ¢M¶Ìæoµ
+ */
+extern bool_t	serial_get_chr(ID portid, char *p_c);
+
+/*
+ *  VAC^tF[XhCoÌT[rXR[
+ */
+extern ER		serial_opn_por(ID portid);
+extern ER		serial_cls_por(ID portid);
+extern ER_UINT	serial_rea_dat(ID portid, char *buf, uint_t len);
+extern ER_UINT	serial_wri_dat(ID portid, const char *buf, uint_t len);
+extern ER		serial_ctl_por(ID portid, uint_t ioctl);
+
+/*
+ *  VAC^tF[XhCoÌ®ì§äpÌ½ßÌè
+ *
+ *  ÈºÌèÍCrbgÉ_aðÆÁÄp¢éD
+ */
+#define	IOCTL_NULL	0U			/* wèÈµ */
+#define	IOCTL_ECHO	0x0001U		/* óMµ½¶ðGR[obN */
+#define	IOCTL_CRLF	0x0010U		/* LFðM·éOÉCRðtÁ */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* TOPPERS_SERIAL_H */
Index: /ssp_qb_r5f100le_cs/trunk/syssvc/syslog.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/syssvc/syslog.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/syssvc/syslog.c	(revision 93)
@@ -0,0 +1,224 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2005-2010 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  $Id: syslog.c 1846 2010-07-14 07:37:41Z ertl-hiro $
+ */
+
+/*
+ *		VXeO@\
+ */
+
+#include <sil.h>
+#undef TOPPERS_OMIT_SYSLOG
+#include <t_syslog.h>
+#include <log_output.h>
+#include "target_syssvc.h"
+#include "syslog.h"
+
+/*
+ *  g[XO}NÌftHgè`
+ */
+#ifndef LOG_SYSLOG_WRI_LOG_ENTER
+#define LOG_SYSLOG_WRI_LOG_ENTER(prio, p_syslog)
+#endif /* LOG_SYSLOG_WRI_LOG_ENTER */
+
+#ifndef LOG_SYSLOG_WRI_LOG_LEAVE
+#define LOG_SYSLOG_WRI_LOG_LEAVE(ercd)
+#endif /* LOG_SYSLOG_WRI_LOG_LEAVE */
+
+#ifndef LOG_SYSLOG_REA_LOG_ENTER
+#define LOG_SYSLOG_REA_LOG_ENTER(p_syslog)
+#endif /* LOG_SYSLOG_REA_LOG_ENTER */
+
+#ifndef LOG_SYSLOG_REA_LOG_LEAVE
+#define LOG_SYSLOG_REA_LOG_LEAVE(ercd, p_syslog)
+#endif /* LOG_SYSLOG_REA_LOG_LEAVE */
+
+#ifndef LOG_SYSLOG_MSK_LOG_ENTER
+#define LOG_SYSLOG_MSK_LOG_ENTER(logmask, lowmask)
+#endif /* LOG_SYSLOG_MSK_LOG_ENTER */
+
+#ifndef LOG_SYSLOG_MSK_LOG_LEAVE
+#define LOG_SYSLOG_MSK_LOG_LEAVE(ercd)
+#endif /* LOG_SYSLOG_MSK_LOG_LEAVE */
+
+#ifndef LOG_SYSLOG_REF_LOG_ENTER
+#define LOG_SYSLOG_REF_LOG_ENTER(pk_rlog)
+#endif /* LOG_SYSLOG_REF_LOG_ENTER */
+
+#ifndef LOG_SYSLOG_REF_LOG_LEAVE
+#define LOG_SYSLOG_REF_LOG_LEAVE(pk_rlog)
+#endif /* LOG_SYSLOG_REF_LOG_LEAVE */
+
+/*
+ *  »ÝÌVXe
+ *
+ *  Oðæèo·½ßÉCâÞÈ­CJ[lÌàÏðQÆµÄ¢
+ *  éD
+ */
+extern ulong_t	_kernel_current_time;
+
+/*
+ *  Oobt@Æ»êÉANZX·é½ßÌ|C^
+ */
+static SYSLOG	syslog_buffer[TCNT_SYSLOG_BUFFER];	/* Oobt@ */
+static uint_t	syslog_count;			/* Oobt@ÌOÌ */
+static uint_t	syslog_head;			/* æªÌOÌi[Êu */
+static uint_t	syslog_tail;			/* ÌOÌi[Êu */
+static uint_t	syslog_lost;			/* ¸íê½OÌ */
+
+/*
+ *  oÍ·×«OîñÌdvxirbg}bvj
+ */
+static uint_t	syslog_logmask;			/* Oobt@ÉL^·×«dvx */
+static uint_t	syslog_lowmask_not;		/* áxoÍ·×«dvxi½]j*/
+
+/*
+ *  VXeO@\Ìú»
+ */
+void
+syslog_initialize(intptr_t exinf)
+{
+	syslog_count = 0U;
+	syslog_head = syslog_tail = 0U;
+	syslog_lost = 0U;
+	syslog_logmask = 0U;
+	syslog_lowmask_not = 0U;
+}     
+
+/* 
+ *  OîñÌoÍ
+ *
+ *  CPUbNóÔâÀsReLXgÉæç¸®ìÅ«éæ¤ÉÀµÄ éD
+ */
+ER
+syslog_wri_log(uint_t prio, const SYSLOG *p_syslog)
+{
+	SIL_PRE_LOC;
+
+	LOG_SYSLOG_WRI_LOG_ENTER(prio, p_syslog);
+	SIL_LOC_INT();
+
+	/*
+	 *  OÌÝè
+	 */
+	((SYSLOG *) p_syslog)->logtim = _kernel_current_time;
+
+	/*
+	 *  Oobt@ÉL^
+	 */
+	if ((syslog_logmask & LOG_MASK(prio)) != 0U) {
+		syslog_buffer[syslog_tail] = *p_syslog;
+		syslog_tail++;
+		if (syslog_tail >= TCNT_SYSLOG_BUFFER) {
+			syslog_tail = 0U;
+		}
+		if (syslog_count < TCNT_SYSLOG_BUFFER) {
+			syslog_count++;
+		}
+		else {
+			syslog_head = syslog_tail;
+			syslog_lost++;
+		}
+	}
+
+	/*
+	 *  áxoÍ
+	 */
+	if (((~syslog_lowmask_not) & LOG_MASK(prio)) != 0U) {
+		syslog_print(p_syslog, target_fput_log);
+		(*target_fput_log)('\n');
+	}
+
+	SIL_UNL_INT();
+	LOG_SYSLOG_WRI_LOG_LEAVE(E_OK);
+	return(E_OK);
+}
+
+/*
+ *  Oobt@©çÌÇoµ
+ *
+ *  CPUbNóÔâÀsReLXgÉæç¸®ìÅ«éæ¤ÉÀµÄ éD
+ */
+ER_UINT
+syslog_rea_log(SYSLOG *p_syslog)
+{
+	ER_UINT	ercd;
+	SIL_PRE_LOC;
+
+	LOG_SYSLOG_REA_LOG_ENTER(p_syslog);
+	SIL_LOC_INT();
+
+	/*
+	 *  Oobt@©çÌæoµ
+	 */
+	if (syslog_count > 0U) {
+		*p_syslog = syslog_buffer[syslog_head];
+		syslog_count--;
+		syslog_head++;
+		if (syslog_head >= TCNT_SYSLOG_BUFFER) {
+			syslog_head = 0U;
+		}
+		ercd = (ER_UINT) syslog_lost;
+		syslog_lost = 0U;
+	}
+	else {
+		ercd = E_OBJ;
+	}
+
+	SIL_UNL_INT();
+	LOG_SYSLOG_REA_LOG_LEAVE(ercd, p_syslog);
+	return(ercd);
+}
+
+/* 
+ *  oÍ·×«OîñÌdvxÌÝè
+ */
+ER
+syslog_msk_log(uint_t logmask, uint_t lowmask)
+{
+	LOG_SYSLOG_MSK_LOG_ENTER(logmask, lowmask);
+	syslog_logmask = logmask;
+	syslog_lowmask_not = ~lowmask;
+	LOG_SYSLOG_MSK_LOG_LEAVE(E_OK);
+	return(E_OK);
+}
Index: /ssp_qb_r5f100le_cs/trunk/syssvc/syslog.cfg
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/syssvc/syslog.cfg	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/syssvc/syslog.cfg	(revision 93)
@@ -0,0 +1,11 @@
+/*
+ *  $Id: syslog.cfg 1788 2010-05-16 21:06:02Z ertl-hiro $
+ */
+
+/*
+ *		VXeO@\ÌRtBM
+[Vt@C
+ */
+
+#include "syssvc/syslog.h"
+ATT_INI({ TA_NULL, 0, syslog_initialize });
Index: /ssp_qb_r5f100le_cs/trunk/syssvc/syslog.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/syssvc/syslog.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/syssvc/syslog.h	(revision 93)
@@ -0,0 +1,93 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2005-2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  $Id: syslog.h 1788 2010-05-16 21:06:02Z ertl-hiro $
+ */
+
+/*
+ *		VXeO@\
+ */
+
+#ifndef TOPPERS_SYSLOG_H
+#define TOPPERS_SYSLOG_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ *  VXeOoÍðs¤½ßÌè`
+ */
+#include <t_syslog.h>
+
+/*
+ *  Oobt@Æ»êÉANZX·é½ßÌ|C^
+ */
+#ifndef TCNT_SYSLOG_BUFFER
+#define TCNT_SYSLOG_BUFFER	16		/* Oobt@ÌTCY */
+#endif /* TCNT_SYSLOG_BUFFER */
+
+/*
+ *  VXeO@\Ìú»
+ */
+extern void	syslog_initialize(intptr_t exinf) throw();
+
+/*
+ *  OîñÌoÍ
+ */
+extern ER	syslog_wri_log(uint_t prio, const SYSLOG *p_syslog) throw();
+
+/*
+ *  Oobt@©çÌOîñÌÇoµ
+ */
+extern ER_UINT	syslog_rea_log(SYSLOG *p_syslog) throw();
+
+/* 
+ *  oÍ·×«OîñÌdvxÌÝè
+ */
+extern ER	syslog_msk_log(uint_t logmask, uint_t lowmask) throw();
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* TOPPERS_SYSLOG_H */
Index: /ssp_qb_r5f100le_cs/trunk/syssvc/syssvc_def.csv
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/syssvc/syssvc_def.csv	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/syssvc/syssvc_def.csv	(revision 93)
@@ -0,0 +1,1 @@
+TKERNEL_PRVER,TKERNEL_PRVER,
Index: /ssp_qb_r5f100le_cs/trunk/syssvc/vasyslog.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/syssvc/vasyslog.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/syssvc/vasyslog.c	(revision 93)
@@ -0,0 +1,111 @@
+/*
+ *  TOPPERS Software
+ *      Toyohashi Open Platform for Embedded Real-Time Systems
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2004-2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: vasyslog.c 755 2008-03-07 17:42:37Z hiro $
+ */
+
+/*
+ *		ÂÏøÌVXeOCu
+ */
+
+#include <t_stddef.h>
+#include <t_syslog.h>
+#include <stdarg.h>
+
+void
+syslog(uint_t prio, const char *format, ...)
+{
+	SYSLOG	syslog;
+	va_list	ap;
+	uint_t	i;
+	char	c;
+	bool_t	lflag;
+
+	syslog.logtype = LOG_TYPE_COMMENT;
+	syslog.loginfo[0] = (intptr_t) format;
+	i = 1U;
+	va_start(ap, format);
+
+	while ((c = *format++) != '\0' && i < TMAX_LOGINFO) {
+		if (c != '%') {
+			continue;
+		}
+
+		lflag = false;
+		c = *format++;
+		while ('0' <= c && c <= '9') {
+			c = *format++;
+		}
+		if (c == 'l') {
+			lflag = true;
+			c = *format++;
+		}
+		switch (c) {
+		case 'd':
+			syslog.loginfo[i++] = lflag ? (intptr_t) va_arg(ap, long_t)
+										: (intptr_t) va_arg(ap, int_t);
+			break;
+		case 'u':
+		case 'x':
+		case 'X':
+			syslog.loginfo[i++] = lflag ? (intptr_t) va_arg(ap, ulong_t)
+										: (intptr_t) va_arg(ap, uint_t);
+			break;
+		case 'p':
+			syslog.loginfo[i++] = (intptr_t) va_arg(ap, void *);
+			break;
+		case 'c':
+			syslog.loginfo[i++] = (intptr_t) va_arg(ap, int);
+			break;
+		case 's':
+			syslog.loginfo[i++] = (intptr_t) va_arg(ap, const char *);
+			break;
+		case '\0':
+			format--;
+			break;
+		default:
+			break;
+		}
+	}
+	va_end(ap);
+	(void) syslog_wri_log(prio, &syslog);
+}
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/E_PACKAGE
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/E_PACKAGE	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/E_PACKAGE	(revision 93)
@@ -0,0 +1,5 @@
+E_PACKAGE ssp_cq_frk_fm3_gcc
+VERSION %date
+
+INCLUDE ../../MANIFEST
+INCLUDE ../../cfg/MANIFEST
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/MANIFEST
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/MANIFEST	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/MANIFEST	(revision 93)
@@ -0,0 +1,30 @@
+PACKAGE ssp
+
+E_PACKAGE
+MANIFEST
+Makefile.target
+cq_frm_fm3.h
+cq_frm_fm3_rom.ld
+cq_frm_fm3_ram.ld
+MB9BF618T.h
+target.tf
+target_cfg1_out.h
+target_check.tf
+target_config.c
+target_config.h
+target_def.csv
+target_kernel.h
+target_rename.def
+target_rename.h
+target_serial.c
+target_serial.cfg
+target_serial.h
+target_sil.h
+target_stddef.h
+target_support.S
+target_syssvc.h
+target_test.h
+target_timer.cfg
+target_timer.h
+target_unrename.h
+target_user.txt
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/MB9BF618T.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/MB9BF618T.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/MB9BF618T.h	(revision 93)
@@ -0,0 +1,399 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2012 Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+*      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+#ifndef TOPPERS_MB9BF618T_H
+#define TOPPERS_MB9BF618T_H
+
+/*
+ *  CORTEX-M3 CPUÌË¶ÌCN[h
+ */
+#include "arm_m_gcc/arm_m.h"
+
+/*
+ *  vZbTÌGfBAè`
+ *    MB9BF618TÍgGfBA
+ */
+#define SIL_ENDIAN_LITTLE
+
+
+/*
+ *  ÝÔÌÅål
+ */
+#define TMAX_INTNO   (16 + 48)
+
+/*
+ *  ÝDæxÌrbg
+ */
+#define TBITW_IPRI     (4)
+
+
+/*
+ *  ÝxN^Ôè`
+ */
+#define INT_FCS					(16)
+#define INT_LVD					(17)
+#define INT_SW_WDT				(18)
+#define INT_MFT					(19)
+#define INT_EXTI0TO7			(20)
+#define INT_EXT_8TO31			(21)
+#define INT_DUALTMR_QPRC		(22)
+#define INT_MFS0_RX				(23)
+#define INT_MFS0_TX				(24)
+#define INT_MFS1_RX				(25)
+#define INT_MFS1_TX				(26)
+#define INT_MFS2_RX				(27)
+#define INT_MFS2_TX				(28)
+#define INT_MFS3_RX				(29)
+#define INT_MFS3_TX				(30)
+#define INT_MFS4_RX				(31)
+#define INT_MFS4_TX				(32)
+#define INT_MFS5_RX				(33)
+#define INT_MFS5_TX				(34)
+#define INT_MFS6_RX				(35)
+#define INT_MFS6_TX				(36)
+#define INT_MFS7_RX				(37)
+#define INT_MFS7_TX				(38)
+#define INT_PPG					(39)
+#define INT_CLK_CNT				(40)
+#define INT_AD0					(41)
+#define INT_AD1					(42)
+#define INT_AD2					(43)
+#define INT_BASETMR_0TO7		(44)
+#define INT_MFT_FREERUN			(45)
+#define INT_MFT_INCAPTURE		(46)
+#define INT_OUTCOMPARE			(47)
+#define INT_CAN0_ETH0			(48)
+#define INT_CAN1_ETH1			(49)
+#define INT_USB0_FNC			(50)
+#define INT_USB0_FNCHOST		(51)
+#define INT_USB1_FNC			(52)
+#define INT_USB1_FNCHOST		(53)
+#define INT_DMA0				(54)
+#define INT_DMA1				(55)
+#define INT_DMA2				(56)
+#define INT_DMA3				(57)
+#define INT_DMA4				(58)
+#define INT_DMA5				(59)
+#define INT_DMA6				(60)
+#define INT_DMA7				(61)
+#define INT_BASETMR_8TO15		(62)
+#define INT_RESERVE				(63)
+
+
+/*
+ *  ÝDæxrbgÌTuDæxÌrbg
+ */
+#define TBITW_SUBIPRI  0
+
+
+/* MB9BF618TÌytFWX^è` */
+
+/* BUS:AHB */
+#define AHBPERIPH_BASE			(0x40000000)
+
+#define FLASHIF_BASE			(AHBPERIPH_BASE + 0x0000)
+
+/* BUS:APB0 */
+#define APB0PERIPH_BASE			(0x40010000)
+
+#define CLOCKRESET_BASE			(APB0PERIPH_BASE + 0x0000)
+#define HW_WDT_BASE				(APB0PERIPH_BASE + 0x1000)
+#define SW_WDT_BASE				(APB0PERIPH_BASE + 0x2000)
+#define DUALTMR_BASE			(APB0PERIPH_BASE + 0x5000)
+
+/* BUS:APB1 */
+#define APB1PERIPH_BASE			(0x40020000)
+#define MFT0_BASE				(APB1PERIPH_BASE + 0x0000)
+#define MFT1_BASE				(APB1PERIPH_BASE + 0x1000)
+#define PPG_BASE				(APB1PERIPH_BASE + 0x4000)
+#define BASETMR_BASE			(APB1PERIPH_BASE + 0x5000)
+#define QUADCNT_BASE			(APB1PERIPH_BASE + 0x5000)
+#define ADCONV_BASE				(APB1PERIPH_BASE + 0x7000)
+#define HSPDCR_TRIM_BASE		(APB1PERIPH_BASE + 0xE000)
+
+/* BUS:APB2 */
+#define APB2PERIPH_BASE			(0x40030000)
+#define EXTI_BASE				(APB2PERIPH_BASE + 0x0000)
+#define INTREQ_BASE				(APB2PERIPH_BASE + 0x1000)
+#define GPIO_BASE				(APB2PERIPH_BASE + 0x3000)
+#define LVD_BASE				(APB2PERIPH_BASE + 0x5000)
+#define DSTBY_MODE_BASE			(APB2PERIPH_BASE + 0x5800)
+#define USBCLK_BASE				(APB2PERIPH_BASE + 0x6000)
+#define CAN_PRESCL_BASE			(APB2PERIPH_BASE + 0x7000)
+#define MFS_BASE				(APB2PERIPH_BASE + 0x8000)
+#define CRC_BASE				(APB2PERIPH_BASE + 0x9000)
+#define WATCHCNT_BASE			(APB2PERIPH_BASE + 0xA000)
+#define RTC_BASE				(APB2PERIPH_BASE + 0xB000)
+#define EXTBUS_BASE				(APB2PERIPH_BASE + 0xF000)
+
+/* BUS:AHB */
+#define USB_CH0_BASE			(AHBPERIPH_BASE + 0x40000)
+#define USB_CH1_BASE			(AHBPERIPH_BASE + 0x50000)
+#define DMAC_BASE				(AHBPERIPH_BASE + 0x60000)
+#define CAN_CH0_BASE			(AHBPERIPH_BASE + 0x62000)
+#define CAN_CH1_BASE			(AHBPERIPH_BASE + 0x63000)
+#define ETH0_BASE				(AHBPERIPH_BASE + 0x64000)
+#define ETHSYS_BASE				(AHBPERIPH_BASE + 0x66000)
+#define ETH1_BASE				(AHBPERIPH_BASE + 0x67000)
+
+#define FLASHIF_WORK_BASE		(0x200E0000)
+
+/* NbN/ZbgÖAÌWX^ */
+#define SCM_CTL					(CLOCKRESET_BASE + 0x0000)
+#define SCM_STR					(CLOCKRESET_BASE + 0x0004)
+#define STB_CTL					(CLOCKRESET_BASE + 0x0008)	/* 4byte access */
+#define RST_STR					(CLOCKRESET_BASE + 0x000C)	/* 2byte access */
+#define BSC_PSR					(CLOCKRESET_BASE + 0x0010)
+#define APBC0_PSR				(CLOCKRESET_BASE + 0x0014)
+#define APBC1_PSR				(CLOCKRESET_BASE + 0x0018)
+#define APBC2_PSR				(CLOCKRESET_BASE + 0x001C)
+#define TTC_PSR					(CLOCKRESET_BASE + 0x0028)
+#define CSW_PSR					(CLOCKRESET_BASE + 0x0030)
+#define PSW_TMR					(CLOCKRESET_BASE + 0x0034)
+#define PLL_CTL1				(CLOCKRESET_BASE + 0x0038)
+#define PLL_CTL2				(CLOCKRESET_BASE + 0x003C)
+#define INT_ENR					(CLOCKRESET_BASE + 0x0060)
+#define INT_STR					(CLOCKRESET_BASE + 0x0064)
+#define INT_CLR					(CLOCKRESET_BASE + 0x0068)
+
+/* SCM_CTL , SCM_STRÌrbgÄ */
+#define SCM_CTL_RCS_HIGHCR		(0 << 5)
+#define SCM_CTL_RCS_MAINCLK		(1 << 5)
+#define SCM_CTL_RCS_PLLCLK		(2 << 5)
+#define SCM_CTL_RCS_LOWCR		(4 << 5)
+#define SCM_CTL_RCS_SUBCLK		(5 << 5)
+#define SCM_CTL_RCS_MASK		(7 << 5)
+
+#define SCM_CTL_MOSCE			(1 << 1)
+#define SCM_CTL_SOSCE			(1 << 3)
+#define SCM_CTL_PLLE			(1 << 4)
+#define SCM_STR_MORDY			(1 << 1)
+#define SCM_STR_SOSCE			(1 << 3)
+#define SCM_STR_PLRDY			(1 << 4)
+
+/* NbNªüäÝèl */
+#define BSC_CLK_DIV_1			(0)
+#define BSC_CLK_DIV_2			(1)
+#define BSC_CLK_DIV_3			(2)
+#define BSC_CLK_DIV_4			(3)
+#define BSC_CLK_DIV_6			(4)
+#define BSC_CLK_DIV_8			(5)
+#define BSC_CLK_DIV_16			(6)
+
+/* APBNbN§äÝèl */
+#define APBC_EN					(1 << 7)
+#define APBC_RESET				(1 << 4)
+
+/* NbNªüäÝèl */
+#define APB_CLK_DIV_1			(0)
+#define APB_CLK_DIV_2			(1)
+#define APB_CLK_DIV_4			(2)
+#define APB_CLK_DIV_8			(3)
+
+
+/* NbNÖAÝÌrbgÄ */
+#define INT_CLL_MCS				(1 << 0)
+#define INT_CLL_SCS				(1 << 1)
+#define INT_CLL_PCS				(1 << 2)
+#define INT_CLL_FCS				(1 << 5)
+
+/* CSW_TMRÌrbgÄ */
+#define PSW_TMR_MOWT_CONF0		(0 << 0)		/* 2^1  / FCRH */
+#define PSW_TMR_MOWT_CONF1		(1 << 0)		/* 2^5 / FCRH */
+#define PSW_TMR_MOWT_CONF2		(2 << 0)		/* 2^6 / FCRH */
+#define PSW_TMR_MOWT_CONF3		(3 << 0)		/* 2^7 / FCRH */
+#define PSW_TMR_MOWT_CONF4		(4 << 0)		/* 2^8 / FCRH */
+#define PSW_TMR_MOWT_CONF5		(5 << 0)		/* 2^9  / FCRH */
+#define PSW_TMR_MOWT_CONF6		(6 << 0)		/* 2^10 / FCRH */
+#define PSW_TMR_MOWT_CONF7		(7 << 0)		/* 2^11 / FCRH */
+#define PSW_TMR_MOWT_CONF8		(8 << 0)		/* 2^12 / FCRH */
+#define PSW_TMR_MOWT_CONF9		(9 << 0)		/* 2^13 / FCRH */
+#define PSW_TMR_MOWT_CONF10		(10 << 0)		/* 2^14 / FCRH */
+#define PSW_TMR_MOWT_CONF11		(11 << 0)		/* 2^16 / FCRH */
+#define PSW_TMR_MOWT_CONF12		(12 << 0)		/* 2^17 / FCRH */
+#define PSW_TMR_MOWT_CONF13		(13 << 0)		/* 2^19 / FCRH */
+#define PSW_TMR_MOWT_CONF14		(14 << 0)		/* 2^21 / FCRH */
+#define PSW_TMR_MOWT_CONF15		(15 << 0)		/* 2^23 / FCRH */
+
+/* PSW_TMRÌrbgÄ */
+#define PSW_TMR_PINC_MO			(0 << 4)
+#define PSW_TMR_PINC_CR			(1 << 4)
+#define PSW_TMR_POWT_CONF0		(0 << 0)		/* 2^9  / FCRH */
+#define PSW_TMR_POWT_CONF1		(1 << 0)		/* 2^10 / FCRH */
+#define PSW_TMR_POWT_CONF2		(2 << 0)		/* 2^11 / FCRH */
+#define PSW_TMR_POWT_CONF3		(3 << 0)		/* 2^12 / FCRH */
+#define PSW_TMR_POWT_CONF4		(4 << 0)		/* 2^13 / FCRH */
+#define PSW_TMR_POWT_CONF5		(5 << 0)		/* 2^14 / FCRH */
+#define PSW_TMR_POWT_CONF6		(6 << 0)		/* 2^15 / FCRH */
+#define PSW_TMR_POWT_CONF7		(7 << 0)		/* 2^16 / FCRH */
+
+/* PLL_CTL1 , PLL_CTL2ÌrbgÄ */
+#define PLL_CTL1_PLLK(n)		(((n) - 1) << 4)
+#define PLL_CTL1_PLLM(n)		(((n) - 1) << 0)
+#define PLL_CTL2_PLLN(n)		(((n) - 1) << 0)
+
+/* WDT */
+#define WDG_CTL					(HW_WDT_BASE + 0x0008)
+#define WDG_LCK					(HW_WDT_BASE + 0x0C00)
+
+#define WDG_RESDIS				(0 << 1)
+#define WDG_RESENA				(1 << 1)
+#define WDG_RESINTDIS			(0 << 0)
+#define WDG_RESINTENA			(1 << 0)
+
+#define WDG_UNLOCK_VAL			(0x1ACCE551)
+
+/* MFS(Multi Functional Serial */
+#define MFS_BASEADDR(ch)		(MFS_BASE + ((ch) * 0x0100))
+
+#define MFS_SMR(ch)				(MFS_BASEADDR((ch)) + 0x00)
+#define MFS_SCR(ch)				(MFS_BASEADDR((ch)) + 0x01)
+#define MFS_ESCR(ch)			(MFS_BASEADDR((ch)) + 0x04)
+#define MFS_SSR(ch)				(MFS_BASEADDR((ch)) + 0x05)
+#define MFS_RDRTDR(ch)			(MFS_BASEADDR((ch)) + 0x08)	/* 2byte access */
+#define MFS_BGR0(ch)			(MFS_BASEADDR((ch)) + 0x0C)
+#define MFS_BGR1(ch)			(MFS_BASEADDR((ch)) + 0x0D)
+#define MFS_FCR0(ch)			(MFS_BASEADDR((ch)) + 0x14)
+#define MFS_FCR1(ch)			(MFS_BASEADDR((ch)) + 0x15)
+
+/* GPIO */
+#define BITMAP_0				(1 << 0)
+#define BITMAP_1				(1 << 1)
+#define BITMAP_2				(1 << 2)
+#define BITMAP_3				(1 << 3)
+#define BITMAP_4				(1 << 4)
+#define BITMAP_5				(1 << 5)
+#define BITMAP_6				(1 << 6)
+#define BITMAP_7				(1 << 7)
+
+/* #define GPIO_BASE				(APB2PERIPH_BASE + 0x3000) */
+#define PFR0					(GPIO_BASE + 0x0000)
+#define PFR1					(GPIO_BASE + 0x0004)
+#define PFR2					(GPIO_BASE + 0x0008)
+#define PFR3					(GPIO_BASE + 0x000C)
+#define PFR4					(GPIO_BASE + 0x0010)
+#define PFR5					(GPIO_BASE + 0x0014)
+#define PFR6					(GPIO_BASE + 0x0018)
+#define PFR7					(GPIO_BASE + 0x001C)
+#define PFR8					(GPIO_BASE + 0x0020)
+#define PFR9					(GPIO_BASE + 0x0024)
+#define PFRA					(GPIO_BASE + 0x0028)
+#define PFRB					(GPIO_BASE + 0x002C)
+#define PFRC					(GPIO_BASE + 0x0030)
+#define PFRD					(GPIO_BASE + 0x0034)
+#define PFRE					(GPIO_BASE + 0x0038)
+#define PFRF					(GPIO_BASE + 0x003C)
+
+#define PDDR0					(GPIO_BASE + 0x0200)
+#define PDDR1					(GPIO_BASE + 0x0204)
+#define PDDR2					(GPIO_BASE + 0x0208)
+#define PDDR3					(GPIO_BASE + 0x020C)
+#define PDDR4					(GPIO_BASE + 0x0210)
+#define PDDR5					(GPIO_BASE + 0x0214)
+#define PDDR6					(GPIO_BASE + 0x0218)
+#define PDDR7					(GPIO_BASE + 0x021C)
+#define PDDR8					(GPIO_BASE + 0x0220)
+#define PDDR9					(GPIO_BASE + 0x0224)
+#define PDDRA					(GPIO_BASE + 0x0228)
+#define PDDRB					(GPIO_BASE + 0x022C)
+#define PDDRC					(GPIO_BASE + 0x0230)
+#define PDDRD					(GPIO_BASE + 0x0234)
+#define PDDRE					(GPIO_BASE + 0x0238)
+#define PDDRF					(GPIO_BASE + 0x023C)
+
+#define PDIR0					(GPIO_BASE + 0x0300)
+#define PDIR1					(GPIO_BASE + 0x0304)
+#define PDIR2					(GPIO_BASE + 0x0308)
+#define PDIR3					(GPIO_BASE + 0x030C)
+#define PDIR4					(GPIO_BASE + 0x0310)
+#define PDIR5					(GPIO_BASE + 0x0314)
+#define PDIR6					(GPIO_BASE + 0x0318)
+#define PDIR7					(GPIO_BASE + 0x031C)
+#define PDIR8					(GPIO_BASE + 0x0320)
+#define PDIR9					(GPIO_BASE + 0x0324)
+#define PDIRA					(GPIO_BASE + 0x0328)
+#define PDIRB					(GPIO_BASE + 0x032C)
+#define PDIRC					(GPIO_BASE + 0x0330)
+#define PDIRD					(GPIO_BASE + 0x0334)
+#define PDIRE					(GPIO_BASE + 0x0338)
+#define PDIRF					(GPIO_BASE + 0x033C)
+
+#define PDOR0					(GPIO_BASE + 0x0400)
+#define PDOR1					(GPIO_BASE + 0x0404)
+#define PDOR2					(GPIO_BASE + 0x0408)
+#define PDOR3					(GPIO_BASE + 0x040C)
+#define PDOR4					(GPIO_BASE + 0x0410)
+#define PDOR5					(GPIO_BASE + 0x0414)
+#define PDOR6					(GPIO_BASE + 0x0418)
+#define PDOR7					(GPIO_BASE + 0x041C)
+#define PDOR8					(GPIO_BASE + 0x0420)
+#define PDOR9					(GPIO_BASE + 0x0424)
+#define PDORA					(GPIO_BASE + 0x0428)
+#define PDORB					(GPIO_BASE + 0x042C)
+#define PDORC					(GPIO_BASE + 0x0430)
+#define PDORD					(GPIO_BASE + 0x0434)
+#define PDORE					(GPIO_BASE + 0x0438)
+#define PDORF					(GPIO_BASE + 0x043C)
+
+#define EPFR0					(GPIO_BASE + 0x0600)
+#define EPFR1					(GPIO_BASE + 0x0604)
+#define EPFR2					(GPIO_BASE + 0x0608)
+#define EPFR3					(GPIO_BASE + 0x060C)
+#define EPFR4					(GPIO_BASE + 0x0610)
+#define EPFR5					(GPIO_BASE + 0x0614)
+#define EPFR6					(GPIO_BASE + 0x0618)
+#define EPFR7					(GPIO_BASE + 0x061C)
+#define EPFR8					(GPIO_BASE + 0x0620)
+#define EPFR9					(GPIO_BASE + 0x0624)
+#define EPFRA					(GPIO_BASE + 0x0628)
+#define EPFRB					(GPIO_BASE + 0x062C)
+#define EPFRC					(GPIO_BASE + 0x0630)
+#define EPFRD					(GPIO_BASE + 0x0634)
+#define EPFRE					(GPIO_BASE + 0x0638)
+#define EPFRF					(GPIO_BASE + 0x063C)
+
+#define PCR0					(GPIO_BASE + 0x0100)
+#define PCR1					(GPIO_BASE + 0x0104)
+
+
+#define ADE						(GPIO_BASE + 0x0500)
+
+#endif /* TOPPERS_MB9BF618T_H */
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/Makefile.target
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/Makefile.target	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/Makefile.target	(revision 93)
@@ -0,0 +1,117 @@
+#
+#		Makefile Ì^[QbgË¶(CQ-FRM-FM3p)
+#
+
+#
+#  {[h¼CvZbT¼CJ­Â«¼Ìè`
+#
+BOARD = cq_frk_fm3
+PRC   = arm_m
+TOOL  = gcc
+
+#
+#  ROM»·é©Ç¤©
+#
+
+ROM_BOOT = true
+
+#
+#  GNUJ­Â«Ì^[QbgA[LeN`Ìè`
+#
+GCC_TARGET = arm-none-eabi
+
+#
+#  eZOgÌJnAhXÌè`
+#
+
+#
+#  ñ^XNReLXgpÌX^bNÌúliêj
+#
+DEFAULT_STK_TOP = 0x20005000
+
+#
+#  RpCIvV
+#
+INCLUDES := $(INCLUDES) -I$(TARGETDIR)
+CDEFS := $(CDEFS)
+COPTS := $(COPTS) -mcpu=cortex-m3 -mthumb
+
+#
+#  J[lÉÖ·éè`
+#
+KERNEL_DIR := $(KERNEL_DIR) $(TARGETDIR)
+KERNEL_ASMOBJS := $(KERNEL_ASMOBJS) target_support.o 
+KERNEL_COBJS := $(KERNEL_COBJS) target_config.o target_serial.o
+KERNEL_CFLAGS := $(KERNEL_CFLAGS) -fno-strict-aliasing -mcpu=cortex-m3 -mthumb
+
+#
+#  VXeT[rXÉÖ·éè`
+#
+SYSSVC_DIR := $(SYSSVC_DIR)
+SYSSVC_COBJS := $(SYSSVC_COBJS)
+SYSSVC_CFLAGS := $(SYSSVC_CFLAGS) -mcpu=cortex-m3 -mthumb
+
+#
+#  RtBM
+[^ÖWÌÏÌè`
+#
+CFG_TABS := $(CFG_TABS) --cfg1-def-table $(TARGETDIR)/target_def.csv
+
+#
+#  g[XOÉÖ·éÝè
+#
+ifeq ($(ENABLE_TRACE),true)
+	COPTS := $(COPTS) -DTOPPERS_ENABLE_TRACE
+	KERNEL_DIR := $(KERNEL_DIR) $(SRCDIR)/arch/logtrace
+	KERNEL_COBJS := $(KERNEL_COBJS) trace_config.o trace_dump.o
+endif
+
+#
+#  ROM»Í ROM_BOOTðtrueÉè`·é
+#
+ifeq ($(ROM_BOOT),true)
+	CDEFS := $(CDEFS) -DROM_BOOT
+else
+	CDEFS := $(CDEFS) -DINIT_MSP
+endif
+
+#
+#  JXNvgÌè`
+#
+
+ifeq ($(ROM_BOOT),true)
+	LDSCRIPT = $(SRCDIR)/target/$(BOARD)_$(TOOL)/cq_frm_fm3_rom.ld
+else
+	LDSCRIPT = $(SRCDIR)/target/$(BOARD)_$(TOOL)/cq_frm_fm3_ram.ld
+endif
+
+#
+#  X^[gAbvW
+[ÉÖ·éè`
+#
+#  cq_starm.ldÉuSTARTUP(start.o)vðLqµ½½ßCX^[gAbvW
+[
+#  Ì¼OðHIDDEN_OBJSÉè`·éDÜ½CLDFLAGSÉ-nostdlibðÇÁµÄ¢éD
+#
+HIDDEN_OBJS = start.o
+
+$(HIDDEN_OBJS): %.o: %.S
+	$(CC) -c $(CFLAGS) $(KERNEL_CFLAGS) $<
+
+$(HIDDEN_OBJS:.o=.d): %.d: %.S
+	@$(PERL) $(SRCDIR)/utils/makedep -C $(CC) \
+		-O "$(CFLAGS) $(KERNEL_CFLAGS)" $< >> Makefile.depend
+
+LDFLAGS := -nostdlib $(LDFLAGS) --entry _start
+
+#
+#  Ë¶ÖWÌè`
+#
+cfg1_out.c: $(TARGETDIR)/target_def.csv
+kernel_cfg.timestamp: $(TARGETDIR)/target.tf
+$(OBJFILE): $(TARGETDIR)/target_check.tf
+
+#
+#  vZbTË¶ÌCN[h
+#
+include $(SRCDIR)/arch/$(PRC)_$(TOOL)/Makefile.prc
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/cq_frm_fm3.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/cq_frm_fm3.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/cq_frm_fm3.h	(revision 93)
@@ -0,0 +1,85 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2012 Meika Sugimoto
+ * 
+ *  ãLì ÒÍCFree Software Foundation ÉæÁÄö\³êÄ¢é 
+ *  GNU General Public License Ì Version 2 ÉLq³êÄ¢éð©CÈ
+ *  ºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEFAi{\tgEF
+ *  AðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏEÄzziÈºC
+ *  pÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðÄpÂ\ÈoCiR[hiP[^uIu
+ *      WFNgt@CâCuÈÇjÌ`Åp·éêÉÍCp
+ *      Éº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì \¦C
+ *      ±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðÄpsÂ\ÈoCiR[hÌ`Ü½Í@íÉg
+ *      Ýñ¾`Åp·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) pÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) pÌ`ÔðCÊÉèßéû@ÉæÁÄCãLì ÒÉñ·é
+ *        ±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì ÒðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì ÒÍC
+ *  {\tgEFAÉÖµÄC»ÌKpÂ\«àÜßÄC¢©ÈéÛØàsí
+ *  È¢DÜ½C{\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢
+ *  ©Èé¹QÉÖµÄàC»ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ *  ^[Qbg{[hÉÖ·éè`(CQ-FRM-FM3p)
+ */
+
+#ifndef TOPPERS_CQ_FRM_FM3_H
+#define TOPPERS_CQ_FRM_FM3_H
+
+#include <sil.h>
+
+#include "MB9BF618T.h"
+
+/*
+ *  OIV[^NbNÌè`
+ */
+
+#define OSC_CLOCK		(4 * 1000 * 1000)	/* 4MHz */
+
+/*
+ *  OIV[^ð³É¶¬·éVXeNbNÖAÌè`
+ */
+
+/* PLLNbN */
+#define PLLK_VALUE	(1)
+#define PLLN_VALUE	(36)
+#define PLLM_VALUE	(2)
+
+/* (((OSC_CLOCK / PLLK) * PLLN) * PLLM) / PLLM = OSC_CLOCK / PLLK * PLLN */
+#define PLL_CLOCK		(144 * 1000 * 1000)
+
+#define BASE_CLOCK		(PLL_CLOCK)
+#define PCLK0_CLOCK		(PLL_CLOCK / 8)	/* 18MHz */
+#define PCLK1_CLOCK		(PLL_CLOCK / 8)	/* 18MHz */
+#define PCLK2_CLOCK		(PLL_CLOCK / 8)	/* 18MHz */
+
+#define SYSTIC_CLOCK	(PLL_CLOCK)	/* 18MHz */
+
+/* VAÊM{[[gÝè(oXNbN18MHzÌêÌÝè) */
+#define BGR_VALUE_115200BPS		(155)
+#define BGR_VALUE_57600BPS		(311)
+#define BGR_VALUE_38400BPS		(467)
+#define BGR_VALUE_9600BPS		(1874)
+
+
+#ifndef TOPPERS_MACRO_ONLY
+
+#endif /* TOPPERS_MACRO_ONLY */
+#endif /* TOPPERS_CQ_FRM_FM3_H */
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/cq_frm_fm3_ram.ld
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/cq_frm_fm3_ram.ld	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/cq_frm_fm3_ram.ld	(revision 93)
@@ -0,0 +1,61 @@
+MEMORY
+{
+    FLASH (rx) : ORIGIN = 0x00000000 , LENGTH = 1M
+    SRAM0 (rwx) : ORIGIN = 0x1fff0000 , LENGTH = 64K
+    SRAM1 (rwx) : ORIGIN = 0x20000000 , LENGTH = 64K
+}
+
+PROVIDE(hardware_init_hook = 0);
+PROVIDE(software_init_hook = 0);
+PROVIDE(software_term_hook = 0);
+STARTUP(start.o)
+
+SECTIONS
+{
+    .text :
+    {
+        __text = .;
+		KEEP(*(.vector))
+        *(.text)
+        *(.text.*)
+    } > SRAM0
+	_etext = .;
+	PROVIDE(etext = .);
+
+	.rodata :
+	{
+        *(.rodata)
+        *(.rodata.*)
+    } > SRAM0
+
+	.ARM.extab   : { *(.ARM.extab* .gnu.linkonce.armextab.*) }
+	__exidx_start = .;
+	.ARM.exidx   : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) }
+	__exidx_end = .;
+
+	__idata_start = .;
+    .data : AT (__idata_start)
+    {
+		__data_start = .;
+        *(vtable)
+        *(.data)
+        *(.data.*)
+    } > SRAM0
+	__idata_end = __idata_start + SIZEOF(.data);
+	_edata = .;
+	PROVIDE(edata = .);
+
+	. = ALIGN(4);
+
+    .bss :
+    {
+        __bss_start  = .;
+        *(.bss)
+        *(COMMON)
+        . = ALIGN(4);
+    } > SRAM0
+	. = ALIGN(4);
+	_end = .;
+	__bss_end = .;
+	PROVIDE(end = .);
+}
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/cq_frm_fm3_rom.ld
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/cq_frm_fm3_rom.ld	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/cq_frm_fm3_rom.ld	(revision 93)
@@ -0,0 +1,61 @@
+MEMORY
+{
+    FLASH (rx) : ORIGIN = 0x00000000 , LENGTH = 1M
+    SRAM0 (rwx) : ORIGIN = 0x1fff0000 , LENGTH = 64K
+    SRAM1 (rwx) : ORIGIN = 0x20000000 , LENGTH = 64K
+}
+
+PROVIDE(hardware_init_hook = 0);
+PROVIDE(software_init_hook = 0);
+PROVIDE(software_term_hook = 0);
+STARTUP(start.o)
+
+SECTIONS
+{
+    .text :
+    {
+        __text = .;
+		KEEP(*(.vector))
+        *(.text)
+        *(.text.*)
+    } > FLASH
+	_etext = .;
+	PROVIDE(etext = .);
+
+	.rodata :
+	{
+        *(.rodata)
+        *(.rodata.*)
+    } > FLASH
+
+	.ARM.extab   : { *(.ARM.extab* .gnu.linkonce.armextab.*) }
+	__exidx_start = .;
+	.ARM.exidx   : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) }
+	__exidx_end = .;
+
+	__idata_start = .;
+    .data : AT (__idata_start)
+    {
+		__data_start = .;
+        *(vtable)
+        *(.data)
+        *(.data.*)
+    } > SRAM0
+	__idata_end = __idata_start + SIZEOF(.data);
+	_edata = .;
+	PROVIDE(edata = .);
+
+	. = ALIGN(4);
+
+    .bss :
+    {
+        __bss_start  = .;
+        *(.bss)
+        *(COMMON)
+        . = ALIGN(4);
+    } > SRAM0
+	. = ALIGN(4);
+	_end = .;
+	__bss_end = .;
+	PROVIDE(end = .);
+}
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target.tf
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target.tf	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target.tf	(revision 93)
@@ -0,0 +1,13 @@
+$ 
+$     pX2Ì^[QbgË¶ev[g(CQ-FRM-FM3p)
+$ 
+
+$ 
+$  vZbTË¶Ìev[gt@CÌCN[h
+$ 
+$INCLUDE"arm_m_gcc/prc.tf"$
+
+$ 
+$  oi[oÍpÌTFt@C
+$ 
+$INCLUDE "syssvc/banner.tf"$
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_cfg1_out.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_cfg1_out.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_cfg1_out.h	(revision 93)
@@ -0,0 +1,8 @@
+/*
+ *		cfg1_out.cðN·é½ßÉKvÈX^uÌè`
+ */
+
+/*
+ *  RAË¶ÌX^uÌè` 
+ */
+#include "arm_m_gcc/prc_cfg1_out.h"
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_check.tf
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_check.tf	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_check.tf	(revision 93)
@@ -0,0 +1,8 @@
+$ 
+$     pX3Ì^[QbgË¶ev[g(CQ-FRM-FM3p)
+$ 
+
+$ 
+$  pX3ÌvZbTË¶Ìev[gÌCN[h
+$ 
+$INCLUDE"arm_m_gcc/prc_check.tf"$
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_config.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_config.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_config.c	(revision 93)
@@ -0,0 +1,142 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2005-2007 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2012 Meika Sugimoto
+ *  Copyright (C) 2015 by Naoki Saito
+ *              Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ * ^[QbgË¶W
+[(CQ-FRM-FM3p)
+ */
+#include "kernel_impl.h"
+#include <sil.h>
+#include "target_serial.h"
+#include "target_syssvc.h"
+
+/*
+ * ^[QbgVXeÌn[hEFA¹Ìè`
+ */
+#include "cq_frm_fm3.h"
+
+
+/*
+ * ^[QbgË¶@ú»
+ */
+void target_initialize(void)
+{
+	/*
+	 *  vZbTË¶Ìú»
+	 */
+	prc_initialize();
+
+	/*
+	 *  ytFÌÝè
+	 */
+	
+	/*
+	 *  n[hEFAWDT³ø»
+	 */
+	sil_wrw_mem((void *)WDG_LCK , WDG_UNLOCK_VAL);
+	sil_wrw_mem((void *)WDG_LCK , ~WDG_UNLOCK_VAL);
+	sil_wrw_mem((void *)WDG_CTL , (WDG_RESDIS | WDG_RESINTDIS));
+	
+	/*
+	 *  I/O|[gÌú»
+	 */
+#if (SIO_PORTID == 1)
+	/* PFRÌÝè */
+	
+	/* MFS(RX,TX) CH0 */
+	sil_andw((void *)EPFR7 , ~(0x03 << 2));	/* SIN0_0 , SOT0_0ðgp */
+	sil_orw((void *)EPFR7 , (0x01 << 6));	/* SIN0_0 , SOT0_0ðgp */
+	
+	/* P21(SIN),P22(SOT) */
+	sil_orw((void *)PFR2 , (1 << 1) | (1 << 2));
+	sil_andw((void *)ADE , ~(1 << 31));
+
+#elif (SIO_PORTID == 2)
+	/* USART2(RX,TX) CH2 */
+	sil_andw((void *)EPFR8 , ~(0x03 << 6));	/* SIN4_2ðgp */
+	sil_orw((void *)EPFR8 , (0x03 << 6));	/* SIN4_2 , SOT4_2ðgp */
+	
+	/* PD2(SIN),PD3(SOT) */
+	sil_orw((void *)PFR0 , (1 << 5) | (1 << 6));
+	
+#endif
+
+	/*
+	 *  oi[oÍpÌVAú»
+	 */
+	
+	target_low_output_init(SIO_PORTID);
+	sil_dly_nse(10 * 1000 * 1000);
+	
+	/* LED|[g */
+	sil_andw((void *)PFRF , ~BITMAP_3);
+	sil_orw((void *)PDDRF , BITMAP_3);
+	sil_andw((void *)PDORF , ~BITMAP_3);
+	
+}
+
+/*
+ * ^[QbgË¶ I¹
+ */
+void target_exit(void)
+{
+	/* vZbTË¶ÌI¹ */
+	prc_terminate();
+}
+
+/*
+ * VXeOÌáxoÍÌ½ßÌ¶oÍ
+ */
+void target_fput_log(char c)
+{
+	if (c == '\n') {
+		sio_pol_snd_chr('\r', SIO_PORTID);
+	}
+	sio_pol_snd_chr(c, SIO_PORTID);
+}
+
+
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_config.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_config.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_config.h	(revision 93)
@@ -0,0 +1,101 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2005-2007 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2012 by Meika Sugimoto
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+#ifndef TOPPERS_TARGET_CONFIG_H
+#define TOPPERS_TARGET_CONFIG_H
+
+/*
+ * ^[QbgË¶W
+[(CQ-FRM-FM3p)
+ *
+ * J[lÌ^[QbgË¶ÌCN[ht@CDkernel_impl.hÌ^[
+ * QbgË¶ÌÊut¯ÆÈ·D
+ */
+
+#include "cq_frm_fm3.h"
+
+/*
+ *  g[XOÉÖ·éÝè
+ */
+#ifdef TOPPERS_ENABLE_TRACE
+#include "logtrace/trace_config.h"
+#endif /* TOPPERS_ENABLE_TRACE */
+
+/*
+ *  ftHgÌñ^XNReLXgpÌX^bNÌæÌè`
+ *  8bytePÊÅæ¾³êéD 
+ */
+#define DEFAULT_ISTKSZ			(0x1000 / 4)		/* 16KByte */
+
+/*
+ *  ÷­ÔÒ¿Ì½ßÌè`i{ÍSILÌ^[QbgË¶j
+ */
+#define SIL_DLY_TIM1    162
+#define SIL_DLY_TIM2    100
+
+
+#ifndef TOPPERS_MACRO_ONLY
+
+/*
+ *  ^[QbgVXeË¶Ìú»
+ */
+extern void	target_initialize(void);
+
+/*
+ *  ^[QbgVXeÌI¹
+ *
+ *  VXeðI¹·éÉg¤D
+ */
+extern void	target_exit(void) NoReturn;
+
+#endif /* TOPPERS_MACRO_ONLY */
+
+/*
+ *  `bvË¶W
+[iARM-Mpj
+ */
+#include "arm_m_gcc/prc_config.h"
+
+#endif /* TOPPERS_TARGET_CONFIG_H */
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_kernel.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_kernel.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_kernel.h	(revision 93)
@@ -0,0 +1,68 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2007 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ *  kernel.hÌ^[QbgË¶(CQ-FRM-FM3p)
+ *
+ *  ±ÌCN[ht@CÍCkernel.hÅCN[h³êéD¼Ìt@
+ *  C©ç¼ÚCN[h·é±ÆÍÈ¢D±Ìt@CðCN[h
+ *  ·éOÉCt_stddef.hªCN[h³êéÌÅC»êçÉË¶µÄàæ
+ *  ¢D
+ */
+
+#ifndef TOPPERS_TARGET_KERNEL_H
+#define TOPPERS_TARGET_KERNEL_H
+
+#define TMIN_INTPRI		(-15)		/* ÝDæxÌÅ¬liÅlj*/
+
+/*
+ *  ^CeBbNÌè`
+ */
+#define TIC_NUME			1U		/* ^CeBbNÌüúÌªq */
+#define TIC_DENO			1U		/* ^CeBbNÌüúÌªê */
+
+/*
+ *  vZbTÅ¤ÊÈè`
+ */
+#include "arm_m_gcc/prc_kernel.h"
+
+#endif /* TOPPERS_TARGET_KERNEL_H */
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_rename.def
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_rename.def	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_rename.def	(revision 93)
@@ -0,0 +1,1 @@
+INCLUDE	"arm_m_gcc/prc"
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_rename.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_rename.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_rename.h	(revision 93)
@@ -0,0 +1,14 @@
+/* This file is generated from target_rename.def by genrename. */
+
+#ifndef TOPPERS_TARGET_RENAME_H
+#define TOPPERS_TARGET_RENAME_H
+
+
+#ifdef TOPPERS_LABEL_ASM
+
+
+#endif /* TOPPERS_LABEL_ASM */
+
+#include "arm_m_gcc/prc_rename.h"
+
+#endif /* TOPPERS_TARGET_RENAME_H */
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_serial.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_serial.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_serial.c	(revision 93)
@@ -0,0 +1,351 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Toyohashi Open Platform for Embedded Real-Time Systems/
+ *      Advanced Standard Profile Kernel
+ * 
+ *  Copyright (C) 2007 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2012 by Meika Sugimoto
+ *  Copyright (C) 2015 by Naoki Saito
+ *              Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ * VAhCoiCQ-FRM-FM3pj
+ */
+
+#include <sil.h>
+#include "kernel_int.h"
+#include "target_serial.h"
+#include "target_syssvc.h"
+
+/*
+ * WX^Ýèl
+ */
+#define PORT2SIOPID(x)	((x) + 1)
+#define INDEX_PORT(x)	((x) - 1)
+#define GET_SIOPCB(x)	(&siopcb_table[INDEX_PORT(x)])
+
+/*
+ * USARTWX^è`
+ *  #define MFS_SMR(ch)				(MFS_BASEADDR((ch)) + 0x00)
+ *  #define MFS_SCR(ch)				(MFS_BASEADDR((ch)) + 0x01)
+ *  #define MFS_ESCR(ch)			(MFS_BASEADDR((ch)) + 0x04)
+ *  #define MFS_SSR(ch)				(MFS_BASEADDR((ch)) + 0x05)
+ *  #define MFS_RDRTDR(ch)			(MFS_BASEADDR((ch)) + 0x08)
+ *  #define MFS_BGR0(ch)			(MFS_BASEADDR((ch)) + 0x0B)
+ *  #define MFS_BGR1(ch)			(MFS_BASEADDR((ch)) + 0x0C)
+ *
+ */
+
+/*
+ *  rbgèÄÍoCgANZXpÉLqµÄ¢é
+ */
+
+/* SCR */
+#define SCR_UPCL					(1U << 7)
+#define SCR_RIE						(1U << 4)
+#define SCR_TIE						(1U << 3)
+#define SCR_TEIE					(1U << 2)
+#define SCR_RXE						(1U << 1)
+#define SCR_TXE						(1U << 0)
+
+/* SMR */
+#define SMR_MODE_ASYNC_NORMAL		(0U << 5)
+#define SMR_MODE_ASYNC_MULTI		(1U << 5)
+#define SMR_MODE_CLKSYNC			(2U << 5)
+#define SMR_MODE_LIN				(3U << 5)
+#define SMR_MODE_I2C				(4U << 5)
+
+#define SMR_WAKEUP					(1U << 4)
+
+#define SMR_SBL_1OR3				(0U << 3)	/* ESCR.ESBL = 0Å1 */
+#define SMR_SBL_2OR4				(1U << 3)	/* ESCR.ESBL = 0Å2 */
+
+#define SMR_BDS_LSBFIRST			(0U << 2)
+#define SMR_BDS_MSBFIRST			(1U << 2)
+
+#define SMR_SOE_DISABLE				(0U << 0)
+#define SMR_SOE_ENABLE				(1U << 0)
+
+/* SSR */
+#define SSR_REC						(1U << 7)
+#define SSR_PE						(1U << 5)
+#define SSR_FRE						(1U << 4)
+#define SSR_ORE						(1U << 3)
+#define SSR_RDRF					(1U << 2)
+#define SSR_TDRE					(1U << 1)
+#define SSR_TBI						(1U << 0)
+
+/* ESCR */
+#define ESCR_FLWEN_ENABLE			(1U << 7)
+#define ESCR_FLWEN_DISABLE			(0U << 7)
+#define ESCR_ESBL					(1U << 6)
+#define ESCR_INV_NRZ				(0U << 5)
+#define ESCR_INV_INVNRZ				(1U << 5)
+#define ESCR_PEN					(1U << 4)
+#define ESCR_PEN_DISABLE			(0U << 4)
+#define ESCR_PEN_ENABLE				(1U << 4)
+#define ESCR_P_EVEN					(0U << 3)
+#define ESCR_P_ODD					(1U << 3)
+#define ESCR_DATALEN_8				(0U << 0)
+#define ESCR_DATALEN_5				(1U << 0)
+#define ESCR_DATALEN_6				(2U << 0)
+#define ESCR_DATALEN_7				(3U << 0)
+#define ESCR_DATALEN_9				(4U << 0)
+
+
+/*
+ * VAI/O|[gÇubNGA
+ */
+SIOPCB siopcb_table[TNUM_PORT];
+
+static const uint32_t sioreg_table[TNUM_PORT] = {
+	MFS_BASEADDR(0),
+#if (TNUM_PORT >= 2)
+	MFS_BASEADDR(4)
+#endif
+};
+
+Inline bool_t  sio_putready(SIOPCB* siopcb)
+{
+	return ((sil_reb_mem((void*)MFS_SSR(siopcb->port)) & SSR_TDRE) != 0);
+}
+
+Inline bool_t sio_getready(SIOPCB* siopcb)
+{
+	return ((sil_reb_mem((void*)MFS_SSR(siopcb->port)) & SSR_RDRF) != 0);
+}
+
+/*
+ *  áxoÍÌú»
+ */
+
+void target_low_output_init(ID siopid)
+{
+	uint32_t ch = INDEX_PORT(siopid);
+	
+	/* ú»ÏÝÌêÍ·®É^[ */
+	if((sil_reb_mem((void*)MFS_SCR(ch)) & (SCR_TXE | SCR_RXE)) != 0)
+	{
+		return ;
+	}
+	
+	/* USARTÌ³ø»CZbg */
+	sil_wrb_mem((void *)MFS_SCR(ch) , SCR_UPCL);
+	sil_wrb_mem((void *)MFS_SCR(ch) , 0x0);
+	
+	/* ÊM[hÝè */
+	sil_wrb_mem((void *)MFS_SMR(ch) , 
+			(SMR_MODE_ASYNC_NORMAL | SMR_SBL_1OR3 | SMR_BDS_LSBFIRST | SMR_SOE_DISABLE));
+	sil_wrb_mem((void *)MFS_ESCR(ch) ,
+			(ESCR_FLWEN_DISABLE | ESCR_INV_NRZ | ESCR_PEN_DISABLE | ESCR_DATALEN_8));
+	/* ÊM¬xÝè */
+	sil_wrh_mem((void *)MFS_BGR0(ch) , BPS_SETTING);	/* n[t[hANZX·é */
+	/* FIFO³ø» */
+	sil_wrb_mem((void *)MFS_FCR0(ch) , 0x00);
+	sil_wrb_mem((void *)MFS_FCR1(ch) , 0x00);
+	
+	/* USARTÌLø» */
+	sil_orb((void *)MFS_SMR(ch) , SMR_SOE_ENABLE);
+	sil_orb((void*)MFS_SCR(ch) , (SCR_TXE | SCR_RXE));
+}
+
+/*
+ *  ^[QbgÌVAú»
+ */
+void target_usart_init(ID siopid)
+{
+	target_low_output_init(siopid);
+	
+	/* ÝÂ */
+	x_clear_int(INTNO_SIO_TX);
+	x_clear_int(INTNO_SIO_RX);
+	/* ÝÖ~ */
+	(void)ena_int(INTNO_SIO_TX);
+	(void)ena_int(INTNO_SIO_RX);
+}
+
+/*
+ *  ^[QbgÌVAI¹
+ */
+void target_usart_term(ID siopid)
+{
+	/* ÝÖ~ */
+	(void)dis_int(INTNO_SIO_TX);
+	(void)dis_int(INTNO_SIO_RX);
+	
+	/* USARTÌ³ø» */
+	sil_andb((void*)MFS_SCR(INDEX_PORT(siopid)) , (SCR_TXE | SCR_RIE));
+}
+
+/*
+ *  SIOú»
+ */
+void sio_initialize(intptr_t exinf)
+{
+	int i;
+
+	for (i = 0; i < TNUM_PORT; i++) {
+		siopcb_table[i].port = i;
+		siopcb_table[i].reg = sioreg_table[i];
+		siopcb_table[i].exinf = 0;
+	}
+}
+
+/*
+ *  VAI[v
+ */
+SIOPCB *sio_opn_por(ID siopid, intptr_t exinf)
+{
+	SIOPCB* siopcb;
+
+	if (siopid > TNUM_PORT) {
+		return NULL;
+	}
+	
+	siopcb = GET_SIOPCB(siopid);
+	siopcb->exinf = exinf;
+
+	target_usart_init(siopid);
+
+	return siopcb;
+}
+
+/*
+ *  VAN[Y
+ */
+void sio_cls_por(SIOPCB *p_siopcb)
+{
+	target_usart_term(p_siopcb->port);
+}
+
+/*
+ *  Ýnh
+ */
+void sio_isr_tx(intptr_t exinf)
+{
+	SIOPCB* siopcb = GET_SIOPCB(exinf);
+
+	if (sio_putready(siopcb)) {
+		sio_irdy_snd(siopcb->exinf);
+	}
+}
+
+void sio_isr_rx(intptr_t exinf)
+{
+	SIOPCB* siopcb = GET_SIOPCB(exinf);
+
+	if (sio_getready(siopcb)) {
+		sio_irdy_rcv(siopcb->exinf);
+	}
+}
+
+/*
+ *  1¶M
+ */
+bool_t sio_snd_chr(SIOPCB *siopcb, char c)
+{
+	bool_t ret = false;
+	
+	if (sio_putready(siopcb)) {
+		sil_wrb_mem((void*)MFS_RDRTDR(siopcb->port), c);
+		
+		ret = true;
+	}
+
+	return ret;
+}
+
+/*
+ *  1¶óM
+ */
+int_t sio_rcv_chr(SIOPCB *siopcb)
+{
+	int_t c = -1;
+
+	if (sio_getready(siopcb)) {
+		c = (int)sil_reb_mem((void*)MFS_RDRTDR(siopcb->port));
+	}
+
+	return c;
+}
+
+/*
+ *  R[obNÌÂ
+ */
+void sio_ena_cbr(SIOPCB *siopcb, uint_t cbrtn)
+{
+	switch (cbrtn) {
+	case SIO_RDY_SND:
+		sil_orb((void*)MFS_SCR(siopcb->port), SCR_TIE);
+		break;
+	case SIO_RDY_RCV:
+		sil_orb((void*)MFS_SCR(siopcb->port), SCR_RIE);
+		break;
+	default:
+		break;
+	}
+}
+
+/* 
+ *  R[obNÌÖ~
+ */
+void sio_dis_cbr(SIOPCB *siopcb, uint_t cbrtn)
+{
+	switch (cbrtn) {
+	case SIO_RDY_SND:
+		sil_andb((void*)MFS_SCR(siopcb->port), ~SCR_TIE);
+		break;
+	case SIO_RDY_RCV:
+		sil_andb((void*)MFS_SCR(siopcb->port), ~SCR_RIE);
+		break;
+	default:
+		break;
+	}
+}
+
+/*
+ *  1¶oÍi|[OÅÌoÍj
+ */
+void sio_pol_snd_chr(char c, ID siopid)
+{
+	sil_wrb_mem((void*)MFS_RDRTDR(INDEX_PORT(siopid)), (int)c);
+	
+	while ((sil_reb_mem((void*)MFS_SSR(INDEX_PORT(siopid))) & SSR_TDRE) == 0U)
+		;
+}
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_serial.cfg
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_serial.cfg	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_serial.cfg	(revision 93)
@@ -0,0 +1,12 @@
+/*
+ *  SIOhCoiCQ-FRK-FM3pjÌRtBO[Vt@C
+ */
+
+#include "target_syssvc.h"
+#include "target_serial.h"
+
+ATT_INI({ TA_NULL, 0, sio_initialize });
+ATT_ISR({ TA_NULL, SIO_PORTID, INTNO_SIO_TX, sio_isr_tx, 1 });
+ATT_ISR({ TA_NULL, SIO_PORTID, INTNO_SIO_RX, sio_isr_rx, 2 });
+CFG_INT(INTNO_SIO_TX, { INTATR_SIO, INTPRI_SIO });
+CFG_INT(INTNO_SIO_RX, { INTATR_SIO, INTPRI_SIO });
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_serial.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_serial.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_serial.h	(revision 93)
@@ -0,0 +1,156 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2007 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2015 by Naoki Saito
+ *              Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ *  VAI/OfoCXiSIOjhCo(CQ-FRM-FM3p)
+ */
+
+#ifndef TOPPERS_TARGET_SERIAL_H
+#define TOPPERS_TARGET_SERIAL_H
+
+#include "cq_frm_fm3.h"
+#include "target_syssvc.h"
+
+/*
+ *  SIOÌÝxN^Ô
+ */
+#if (SIO_PORTID == 1)
+#define INHNO_SIO_TX		INT_MFS0_TX
+#define INTNO_SIO_TX		INT_MFS0_TX
+#define INHNO_SIO_RX		INT_MFS0_RX
+#define INTNO_SIO_RX		INT_MFS0_RX
+#elif (SIO_PORTID == 2)
+#define INHNO_SIO_TX		INT_MFS4_TX
+#define INTNO_SIO_TX		INT_MFS4_TX
+#define INHNO_SIO_RX		INT_MFS4_RX
+#define INTNO_SIO_RX		INT_MFS4_RX
+#endif
+#define INTPRI_SIO		-3				/* ÝDæx */
+#define INTATR_SIO		0				/* Ý®« */
+
+/*
+ *  R[obN[`Ì¯ÊÔ
+ */
+#define SIO_RDY_SND    1U        /* MÂ\R[obN */
+#define SIO_RDY_RCV    2U        /* óMÊmR[obN */
+
+#ifndef TOPPERS_MACRO_ONLY
+
+/*
+ *  VA|[gÌÇubN
+ */
+typedef struct sio_port_control_block {
+	ID port;
+	uint32_t reg;
+	intptr_t exinf;
+} SIOPCB;
+
+/*
+ *  SIOú»
+ */
+extern void sio_initialize(intptr_t exinf);
+
+/*
+ *  VAI[v
+ */
+extern SIOPCB *sio_opn_por(ID siopid, intptr_t exinf);
+
+/*
+ *  VAN[Y
+ */
+extern void sio_cls_por(SIOPCB *p_siopcb);
+
+/*
+ *  Ýnh
+ */
+extern void sio_isr_tx(intptr_t exinf);
+extern void sio_isr_rx(intptr_t exinf);
+
+/*
+ *  1¶M
+ */
+extern bool_t sio_snd_chr(SIOPCB *siopcb, char c);
+
+/*
+ *  1¶óM
+ */
+extern int_t sio_rcv_chr(SIOPCB *siopcb);
+
+/*
+ *  R[obNÌÂ
+ */
+extern void sio_ena_cbr(SIOPCB *siopcb, uint_t cbrtn);
+
+/* 
+ *  R[obNÌÖ~
+ */
+extern void sio_dis_cbr(SIOPCB *siopcb, uint_t cbrtn);
+
+/*
+ *  MÂ\R[obN
+ */
+extern void sio_irdy_snd(intptr_t exinf);
+
+/*
+ *  óMÊmR[obN
+ */
+extern void sio_irdy_rcv(intptr_t exinf);
+
+/*
+ *  1¶Mi|[OÅÌoÍj
+ */
+extern void sio_pol_snd_chr(char c, ID siopid);
+
+/*
+ *  ^[QbgÌVAú»
+ */
+extern void target_usart_init(ID siopid);
+
+/*
+ *  áxoÍú»
+ */
+extern void target_low_output_init(ID siopid);
+
+#endif /* TOPPERS_MACRO_ONLY */
+#endif /* TOPPERS_TARGET_SERIAL_H */
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_sil.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_sil.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_sil.h	(revision 93)
@@ -0,0 +1,73 @@
+/*
+ *  TOPPERS Software
+ *      Toyohashi Open Platform for Embedded Real-Time Systems
+ * 
+ *  Copyright (C) 2007 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ *  sil.hÌ^[QbgË¶iMB9BF618Tpj
+ *
+ *  ±ÌCN[ht@CÍCsil.hÌæªÅCN[h³êéD¼Ìt@
+ *  C©çÍ¼ÚCN[h·é±ÆÍÈ¢D±Ìt@CðCN[
+ *  h·éOÉCt_stddef.hªCN[h³êéÌÅC»êçÉË¶µÄà
+ *  æ¢D
+ */
+
+#ifndef TOPPERS_TARGET_SIL_H
+#define TOPPERS_TARGET_SIL_H
+
+#include "MB9BF618T.h"
+
+/*
+ *  vZbTÅ¤ÊÈè` 
+ */
+#include "arm_m_gcc/prc_sil.h"
+
+/*
+ *  MB9BF618TpêÊ¤ÊWX^ìÖ
+ */
+#define sil_orb( mem, val )		sil_wrb_mem( mem, sil_reb_mem( mem ) | val )
+#define sil_andb( mem, val )	sil_wrb_mem( mem, sil_reb_mem( mem ) & val )
+#define sil_orh( mem, val )		sil_wrh_mem( mem, sil_reh_mem( mem ) | val )
+#define sil_andh( mem, val )	sil_wrh_mem( mem, sil_reh_mem( mem ) & val )
+#define sil_orw( mem, val )		sil_wrw_mem( mem, sil_rew_mem( mem ) | val )
+#define sil_andw( mem, val )	sil_wrw_mem( mem, sil_rew_mem( mem ) & val )
+
+
+#endif /* TOPPERS_TARGET_SIL_H */
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_stddef.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_stddef.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_stddef.h	(revision 93)
@@ -0,0 +1,86 @@
+/*
+ *  TOPPERS Software
+ *      Toyohashi Open Platform for Embedded Real-Time Systems
+ * 
+ *  Copyright (C) 2007 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ *  t_stddef.hÌ^[QbgË¶(CQ-FRM-FM3p)
+ *
+ *  ±ÌCN[ht@CÍCt_stddef.hÌæªÅCN[h³êéD
+ *  ¼Ìt@C©çÍ¼ÚCN[h·é±ÆÍÈ¢D¼ÌCN[h
+ *  t@CÉæ§ÁÄ³êé½ßC¼ÌCN[ht@CÉË¶µ
+ *  ÄÍÈçÈ¢D
+ */
+
+#ifndef TOPPERS_TARGET_STDDEF_H
+#define TOPPERS_TARGET_STDDEF_H
+
+/*
+ *  ^[Qbgð¯Ê·é½ßÌ}NÌè`
+ */
+#define TOPPERS_CQ_FRM_FM3			/* VXeªÌ */
+
+
+/*
+ *  J­Â«Å¤ÊÈè`
+ */
+#define TOPPERS_STDFLOAT_TYPE1
+#include "gcc/tool_stddef.h"
+
+/*
+ *  vZbTÅ¤ÊÈè`
+ */
+#include "arm_m_gcc/prc_stddef.h"
+
+#ifndef TOPPERS_MACRO_ONLY
+
+/*
+ *  AT[VÌ¸sÌÀsfiT.B.Dj
+ */
+Inline void
+TOPPERS_assert_abort(void)
+{
+	while(1)
+	{
+	}
+}
+
+#endif /* TOPPERS_MACRO_ONLY */
+#endif /* TOPPERS_TARGET_STDDEF_H */
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_support.S
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_support.S	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_support.S	(revision 93)
@@ -0,0 +1,178 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2007 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2012 by Meika Sugimoto
+ *  Copyright (C) 2015 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ * ^[QbgË¶@AZu¾êiCQ-FRM-FM3pj
+ */
+
+#define TOPPERS_MACRO_ONLY
+#define UINT_C(val)			(val)
+#define ULONG_C(val)		(val)
+#include "kernel_impl.h"
+#include "cq_frm_fm3.h"
+
+/*
+ * áxÌ^[QbgË¶Ìú»
+ *
+ * ú»ÌOÉÄÑo³êé
+ */
+
+	.globl	hardware_init_hook
+
+	.text
+	.align 2
+	.syntax unified
+	.code 16
+	.thumb
+	.type	hardware_init_hook, function
+hardware_init_hook:
+	/* eoXNbNÌvXP[Ýè */
+	ldr	r0 , =#BSC_PSR					/* x[XNbN(1ªü) */
+	mov	r1 , #BSC_CLK_DIV_1
+	str	r1 , [r0]
+	
+	ldr	r0 , =#APBC0_PSR				/* APB0(8ªü) */
+	mov	r1 , #APB_CLK_DIV_8
+	str	r1 , [r0]
+	
+	ldr	r0 , =#APBC1_PSR				/* APB1(8ªü) */
+	mov	r1 , #(APB_CLK_DIV_8 | APBC_EN | APBC_RESET)
+	str	r1 , [r0]
+	mov	r1 , #(APB_CLK_DIV_8 | APBC_EN)
+	str	r1 , [r0]
+	
+	ldr	r0 , =#APBC2_PSR				/* APB2(8ªü) */
+	mov	r1 , #(APB_CLK_DIV_8 | APBC_EN | APBC_RESET)
+	str	r1 , [r0]
+	mov	r1 , #(APB_CLK_DIV_8 | APBC_EN)
+	str	r1 , [r0]
+	
+	ldr	r0 , =#INT_CLR		/* INT_CLRÌNA */
+	mov	r1 , #(INT_CLL_MCS | INT_CLL_SCS | INT_CLL_PCS | INT_CLL_FCS)
+	str	r1 , [r0]
+	
+	/* CNbN­MÀèÒ¿ÝÌÝè */
+	ldr	r0 , =#CSW_PSR
+	mov	r1 , #PSW_TMR_MOWT_CONF12
+	str	r1 , [r0]
+	
+	/* CNbNüÍÀèÒ¿ÝLø» */
+	ldr	r0 , =#INT_ENR
+	mov	r1 , #INT_CLL_MCS
+	str	r1 , [r0]
+	
+	/* CNbNN® */
+	ldr	r0 , =#SCM_CTL
+	ldr	r1 , [r0]
+	and r1 , #SCM_CTL_MOSCE
+	str	r1 , [r0]
+	
+	/* CNbNÀèÒ¿ */
+	ldr	r0 , =#SCM_STR
+  wait_main_clock_stable:
+	ldr	r1 , [r0]
+	orr	r1 , #SCM_STR_MORDY
+	beq wait_main_clock_stable
+	
+	/* PLLüÍNbNÆ­MÀèÒ¿ÝÌÝè */
+	ldr	r0 , =#PSW_TMR
+	mov	r1 , #(PSW_TMR_PINC_MO | PSW_TMR_POWT_CONF7)	/* Ò¿ÔÍÅålæé */
+	str	r1 , [r0]
+	
+	/* PLLüÍÀèÒ¿ÝLø» */
+	ldr	r0 , =#INT_ENR
+	mov	r1 , #INT_CLL_PCS
+	str	r1 , [r0]
+	
+	/* PLLÌªü¦Ýè */
+	ldr	r0 , =#PLL_CTL1		/* PLLK , PLLM */
+	mov	r1 , #(PLL_CTL1_PLLK(PLLK_VALUE) | PLL_CTL1_PLLM(PLLM_VALUE))
+	str	r1 , [r0]
+	ldr	r0 , =#PLL_CTL2		/* PLLN */
+	mov	r1 , #PLL_CTL2_PLLN(PLLN_VALUE)
+	str	r1 , [r0]
+	
+	/* PLLN® */
+	ldr	r0 , =#SCM_CTL
+	ldr	r1 , [r0]
+	orr r1 , #SCM_CTL_PLLE
+	str	r1 , [r0]
+	
+	/* PLLÀèÒ¿ */
+	ldr	r0 , =#SCM_STR		/* APB2(8ªü) */
+  wait_pll_stable:
+	ldr	r1 , [r0]
+	and	r1 , #SCM_STR_PLRDY
+	beq wait_pll_stable
+
+	/* }X^NbNØèÖ¦ */
+	ldr	r0 , =#SCM_CTL
+	ldr	r1 , [r0]
+	and r1 , #~SCM_CTL_RCS_MASK
+	orr r1 , #SCM_CTL_RCS_PLLCLK
+	str	r1 , [r0]
+	
+	isb
+	
+	/* g[XNbNÌÝè */
+	ldr	r0 , =#TTC_PSR				/* TTC(8ªü) */
+	mov	r1 , #(APB_CLK_DIV_8)
+	str	r1 , [r0]
+	
+	/* g[X|[gÌÝè */
+	ldr	r0 , =#PFR0
+	ldr	r1 , [r0]
+	orr r1 , #(0x01F << 5)
+	str	r1 , [r0]
+	
+	ldr	r0 , =#EPFR0
+	ldr	r1 , [r0]
+	orr r1 , #(0x03 << 24)
+	str	r1 , [r0]
+	
+	bx	lr
+
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_syssvc.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_syssvc.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_syssvc.h	(revision 93)
@@ -0,0 +1,109 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2007 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2015 by Naoki Saito
+ *              Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ *  VXeT[rXÌ^[QbgË¶(CQ-FRM-FM3p)
+ *
+ *  VXeT[rXÌ^[QbgË¶ÌCN[ht@CD±Ìt@
+ *  CÌàeÍCR|[lgLqt@CÉLq³êC±Ìt@CÍ
+ *  ³­Èé©ÝD
+ */
+
+#ifndef TOPPERS_TARGET_SYSSVC_H
+#define TOPPERS_TARGET_SYSSVC_H
+
+/*
+ *  ^[QbgVXeÌn[hEFA¹Ìè`
+ */
+#include "cq_frm_fm3.h"
+
+/*
+ *  g[XOÉÖ·éÝè
+ */
+#ifdef TOPPERS_TRACE_ENABLE
+#include "logtrace/trace_config.h"
+#endif /* TOPPERS_TRACE_ENABLE */
+
+/*
+ *  N®bZ[WÌ^[QbgVXe¼
+ */
+#define TARGET_NAME    "CQ-FRK-FM3(MB9BF618T)"
+
+/*
+ *  N®bZ[WÉ^[QbgË¶Ìì \¦ð
+ *  ÇÁ·é½ßÌ}ND
+ */
+#ifdef PRC_COPYRIGHT
+#define TARGET_COPYRIGHT	PRC_COPYRIGHT
+#endif /* PRC_COPYRIGHT */
+
+/*
+ *  VXeOÌáxoÍÌ½ßÌ¶oÍ
+ *
+ *  ^[QbgË¶Ìû@ÅC¶cð\¦/oÍ/Û¶·éD
+ */
+extern void	target_fput_log(char c);
+
+/*
+ *  VA|[gÌè`
+ *
+ *  MFS ch0i|[gÔ1jÆch4i|[gÔ2jðT|[gµÄ¢é
+ *  
+ */
+#define TNUM_PORT        (2)		/* T|[g·éVA|[gÌ */
+#define TNUM_SIOP        (2)
+
+
+/*
+ *  {[[gÌIð
+ */
+#define BPS_SETTING		(BGR_VALUE_115200BPS)
+
+/*
+ *  gp·éVA|[gID
+ */
+#define SIO_PORTID		(1)
+
+
+#endif /* TOPPERS_TARGET_SYSSVC_H */
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_test.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_test.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_test.h	(revision 93)
@@ -0,0 +1,67 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2007 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2015 by Naoki Saito
+ *              Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ *		eXgvOÌ^[QbgË¶è`(CQ-FRM-FM3p)
+ */
+
+#ifndef TOPPERS_TARGET_TEST_H
+#define TOPPERS_TARGET_TEST_H
+
+#define STACK_SIZE			(128)
+
+/*
+ *  gp·éVA|[gID
+ */
+#define TASK_PORTID			(1)
+
+#define LOOP_REF	ULONG_C(10000000)
+
+/*
+ *  vZbTË¶W
+[(ARM-Mp)
+ */
+#include "arm_m_gcc/prc_test.h"
+
+#endif /* TOPPERS_TARGET_TEST_H */
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_timer.cfg
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_timer.cfg	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_timer.cfg	(revision 93)
@@ -0,0 +1,8 @@
+/*
+ *  ^C}hCoÌRtBM
+[Vt@C(CQ-FRK-FM3p)
+ */
+
+#include "target_timer.h"
+
+INCLUDE("arch/arm_m_gcc/prc_timer.cfg");
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_timer.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_timer.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_timer.h	(revision 93)
@@ -0,0 +1,68 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ * 
+ *  Copyright (C) 2007 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ *  ^C}hCo(CQ-FRM-FM3p)
+ */
+
+#ifndef TOPPERS_TARGET_TIMER_H
+#define TOPPERS_TARGET_TIMER_H
+
+#include "cq_frm_fm3.h"
+
+/*
+ *  ^C}lÌà\»Æ~bPÊÆÌÏ·
+ */
+#define TIMER_CLOCK		(SYSTIC_CLOCK / 1000)
+
+/*
+ *  ^C}Ýnho^Ì½ßÌè
+ */
+#define INTPRI_TIMER    (-6)          /* ÝDæx */
+#define INTATR_TIMER    TA_NULL       /* Ý®« */
+
+/*
+ *  vZbTË¶Åè`·é
+ */
+#include "arm_m_gcc/prc_timer.h"
+
+#endif /* TOPPERS_TARGET_TIMER_H */
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_unrename.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_unrename.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_unrename.h	(revision 93)
@@ -0,0 +1,15 @@
+/* This file is generated from target_rename.def by genrename. */
+
+/* This file is included only when target_rename.h has been included. */
+#ifdef TOPPERS_TARGET_RENAME_H
+#undef TOPPERS_TARGET_RENAME_H
+
+
+#ifdef TOPPERS_LABEL_ASM
+
+
+#endif /* TOPPERS_LABEL_ASM */
+
+#include "arm_m_gcc/prc_unrename.h"
+
+#endif /* TOPPERS_TARGET_RENAME_H */
Index: /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_user.txt
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_user.txt	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/cq_frk_fm3_gcc/target_user.txt	(revision 93)
@@ -0,0 +1,139 @@
+=====================================================================
+                 CQ-FRK-FM3^[QbgË¶ (ssp-1.3.0Îj
+                               Last Modified: '15/05/19
+=====================================================================
+
+Tv
+
+CQ-FRK-FM3^[QbgË¶ÍCvZbTÉMB9BF618T(Cortex-M3)ðÚµ½C
+CQ-FRK-FM3{[hðT|[gµÄ¢éD
+
+
+J[lÌgp\[X
+
+J[lÍÈºÌ\[Xðgp·éD
+
+  EROM
+     R[hðzu·éD
+     gpÊÍgp·éAPIÌÉË¶·éD
+
+  ERAM
+     f[^ðzu·éD
+  	 gpÊÍIuWFNgÉË¶·éD
+  
+  ESysTick
+     J[làÌeBbNÌ¶¬Ép¢éD
+     
+  EMulti Serial Interface(MFS)`l0
+     R\[ÌoÍÉgpD
+
+
+¼Ì^[QbgÖÌÚA
+
+CQ-FRK-FM3^[QbgË¶Ågp·éVAÍCMB9BF618TÌà @\Ì
+Ýðgp·é½ßCMB9BF61XnÌCotex-M3ðp¢½Â«ÉÍeÕÉ|[eB
+OªÂ\Å éD|[eBOÉÖµÄÍCÈºÌú»[`É^[Q
+bgÌú»ðÇÁ·êÎæ¢D
+
+  Etarget_initialize() : target_config.c
+    ^[QbgË¶Ìú»iC¾êj
+  E_hardware_init_hook : target_support.S
+    áxÌ^[QbgË¶Ìú»
+    X^[gAbvW
+[ÌÅCÌú»ÌOÉÄÑo³êé
+
+
+fobOÂ«
+
+fobOÂ«ÆµÄÍCJTAGfobKÌgpðOñÆ·éD
+fobKÍGDBðgp.
+JTAGn[hEFAÍCBesttechnology»ÌTiny JTAG-ICE2ðgp.
+\tgEFAÆµÄCOpenOCDðgp.o[WÍA0.7.0ðp¢Ä¢é.
+
+OpenOCDÉÂ¢ÄÍAÈºÌTCgðQÆ
+   http://openocd.sourceforge.net/
+
+RpC
+
+GCC Å®ìmFðsÁ½D®ìmFµ½ GCC ÍCÈºÌTCg©ç
+oCipbP[Wð_E[h·é±ÆªÅ«éD
+®ìmFo[WÍ 4.9.3 ÅsÁ½D
+
+   http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/
+   https://launchpad.net/gcc-arm-embedded/
+
+
+ÝDæx
+
+ÝDæxÆµÄwèÂ\ÈÍÍÍC-15 ` -1 Å éD
+
+R\[oÍ
+
+R\[oÍÉÍCMFSÌ`l0ðp¢éDCQ-FRK-FM3ÍVA|[gð
+ÚµÄ¢È¢½ßCjo[TîÂÈÇðp¢ÄY|[gðPCÉÚ±·é
+Kvª éD»ÌÛCRS-232ChCoðî·éKvª é_àÓ·é±ÆD
+`l0ÌM/óM|[gÍ»ê¼êCN2Ì16/15sÉø«o³êÄ¢éD
+(¿ÈÝÉGNDÍCN2Ì40sªpÂ\)
+
+ÊMtH[}bgÍÈºÌÊèÅ éD
+
+  E115200bps, Data 8bit, Parity none, Stop 1bit, Flow control none
+
+AhX}bsO
+
+@0x00000000 - 0x000FFFFF à FlashROM 1MB
+@@@@@@@@@@@@@@@EvectorZNV
+@@@@@@@@@@@@@@@EtextZNV
+@@@@@@@@@@@@@@@ErodataZNV
+@0x1fff0000 - 0x1FFFFFFF à RAM 64KB
+@@@@@@@@@@@@@@@EdataZNV
+@@@@@@@@@@@@@@@EbssZNV
+@0x20000000 - 0x2000FFFF à RAM 64KB
+
+eíÝèÌÏX
+
+ôÂ©Ìp[^ÍÏXÂ\ÉÈÁÄ¢éDÝèt@CÉÝèÂ\Ú
+ÍÌæ¤ÉÈÁÄ¢éD
+
+Makefile.target ÌÝèÚ
+
+EGCC_TARGET
+  GCCÌ suffix ðè`
+
+ETEXT_START_ADDRESS/DATA_START_ADDRESS
+  eLXgZNVCf[^ZNVÌJnAhX
+
+EDEFAULT_STK_TOP
+  fBtHgÌñ^XNReLXgpÌX^bNÌI¹Ôn
+  @Eñ^XNReLXgpX^bN|C^Ìúliêj
+
+EINCLUDES
+  CN[hwè
+
+ECOPTS
+  CRpCÖÌIvV
+
+ELDFLAGS
+  JÖÌIvV
+
+target_config.h ÌÝèÚ
+
+EDEFAULT_ISTKSZ
+  ftHgÌñ^XNReLXgpÌX^bNTCY
+
+ESIL_DLY_TIM1/2
+  ÷­ÔÒ¿Ì½ßÌè`
+
+target_syssvc.h ÌÝèÚ
+
+EBPS_SETTING
+  R\[Égp·é|[giMFSÌ`l0jÌ{[[g
+
+
+ÏXð
+ E2013/04/24
+@@VKì¬
+ E2014/03/06
+    êLÚ~XÌC³
+ E2015/05/19
+    mFRpCo[WÌÏX
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/E_PACKAGE
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/E_PACKAGE	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/E_PACKAGE	(revision 93)
@@ -0,0 +1,6 @@
+E_PACKAGE ssp_qb_r5f100le_cs
+VERSION %date
+
+INCLUDE ../../MANIFEST
+INCLUDE ../../arch/rl78_ca78k0r/MANIFEST
+INCLUDE ../../cfg/MANIFEST
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/MANIFEST
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/MANIFEST	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/MANIFEST	(revision 93)
@@ -0,0 +1,27 @@
+PACKAGE ssp_target_qb_r5f100le_cs
+
+ssp_rl78
+E_PACKAGE
+MANIFEST
+qb_r5f100le.h
+target.tf
+target_cfg1_out.h
+target_config.c
+target_config.h
+target_def.csv
+target_kernel.h
+target_rename.def
+target_rename.h
+target_serial.c
+target_serial.cfg
+target_serial.h
+target_sil.h
+target_stddef.h
+target_syssvc.h
+target_support.asm
+target_test.h
+target_timer.c
+target_timer.cfg
+target_timer.h
+target_unrename.h
+target_user.txt
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/qb_r5f100le.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/qb_r5f100le.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/qb_r5f100le.h	(revision 93)
@@ -0,0 +1,81 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2003-2004 by Platform Development Center
+ *                                          RICOH COMPANY,LTD. JAPAN
+ *  Copyright (C) 2008 by Witz Corporation, JAPAN
+ *  Copyright (C) 2003-2014 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+#ifndef TOPPERS_QB_R5F100LE_H
+#define	TOPPERS_QB_R5F100LE_H
+
+#include <sil.h>
+
+/*
+ *  MCUË¶îñÌÇÝÝ
+ */
+#include "rl78_ca78k0r/rl78g13.h"
+
+
+/*
+ *  VXe^C}Ì^C}ID
+ */
+#define TIMER_CH			UINT_C(0)
+
+/*
+ *  {[[gÝè
+ */
+#define BAUD_9600BPS		UINT_C(207)
+#define BAUD_19200BPS		UINT_C(103)
+#define BAUD_38400BPS		UINT_C(51)
+
+#define UART_BAUDRATE		BAUD_38400BPS
+/*
+ *  NbN\[X
+ */
+#define UART_CLKSRC			CLK_F1
+
+
+#ifndef TOPPERS_MACRO_ONLY
+
+
+#endif /* TOPPERS_MACRO_ONLY */
+#endif /* TOPPERS_QB_R5F100LE_H */
+
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/ssp_rl78/libkernel/libkernel.mtsp
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/ssp_rl78/libkernel/libkernel.mtsp	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/ssp_rl78/libkernel/libkernel.mtsp	(revision 93)
@@ -0,0 +1,1540 @@
+<CubeSuiteProject>
+  <ProductVersion>4.02.00.00</ProductVersion>
+  <Class Guid="68f4a651-b9cd-473b-a595-b00447132ffa">
+    <Instance Guid="00000000-0000-0000-0000-000000000000">
+      <FormatVersion>2.0</FormatVersion>
+      <FileVersion>4.2</FileVersion>
+      <ProjectGuid>cd581b2b-8983-41a9-8fb3-01fffb8f1b6d</ProjectGuid>
+      <ProjectItemGuid>fbf4dd4e-d10f-4a04-87a7-481774107c36</ProjectItemGuid>
+      <FileCategoryGuid>a739b26a-2cd0-4aec-a7e1-e7e376d1d433</FileCategoryGuid>
+      <Property>fb98844b-2c27-4275-9804-f6e63e204da0</Property>
+    </Instance>
+    <Instance Guid="08b6f9c2-7a70-4b55-ba8f-c506d09173f5">
+      <Name>kernel</Name>
+      <Type>Category</Type>
+      <ParentItem>a739b26a-2cd0-4aec-a7e1-e7e376d1d433</ParentItem>
+      <Property>4f2c14b2-7af2-40dc-8670-ae6ed9255b9c</Property>
+    </Instance>
+    <Instance Guid="7f0c2463-7d1f-4f67-8081-daba86da6e7a">
+      <Name>extension</Name>
+      <Type>Category</Type>
+      <ParentItem>a739b26a-2cd0-4aec-a7e1-e7e376d1d433</ParentItem>
+      <Property>6f9011ce-a7c0-4178-b69a-955ee29f85b4</Property>
+    </Instance>
+    <Instance Guid="47448915-30c2-444f-8da3-ac01fffbdba6">
+      <Name>rl78_ca78k0r</Name>
+      <Type>Category</Type>
+      <ParentItem>a739b26a-2cd0-4aec-a7e1-e7e376d1d433</ParentItem>
+      <Property>325b48e4-e873-4078-9982-eeee0fe6d437</Property>
+    </Instance>
+    <Instance Guid="ee4ea823-1d2a-4a22-80de-2a66e1921955">
+      <Name>qb_r5f100le_cs</Name>
+      <Type>Category</Type>
+      <ParentItem>a739b26a-2cd0-4aec-a7e1-e7e376d1d433</ParentItem>
+      <Property>e65c561f-9389-4bfa-af7c-91ef495c596f</Property>
+    </Instance>
+    <Instance Guid="6c939158-f138-4d08-bb71-a970067e6a10">
+      <Name>ssp_rl78.dr</Name>
+      <Type>File</Type>
+      <RelativePath>..\ssp_rl78.dr</RelativePath>
+      <TreeImageGuid>a4460d02-6943-4122-9169-dd699e916213</TreeImageGuid>
+      <ParentItem>a739b26a-2cd0-4aec-a7e1-e7e376d1d433</ParentItem>
+      <Property>0dec9690-02e6-44cd-87f9-a01b6b2d50ad</Property>
+    </Instance>
+    <Instance Guid="8902a2a0-7f3a-426c-b6b0-d589214d7c19">
+      <Name>segment_e.asm</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\arch\rl78_ca78k0r\segment_e.asm</RelativePath>
+      <TreeImageGuid>f654126d-e7ad-426d-be34-8455271d959b</TreeImageGuid>
+      <ParentItem>a739b26a-2cd0-4aec-a7e1-e7e376d1d433</ParentItem>
+      <Property>3470c222-1170-4ba5-beba-1274917ed822</Property>
+    </Instance>
+    <Instance Guid="d45def4b-42e1-47df-b69c-b45c1d6b6e48">
+      <Name>include</Name>
+      <Type>Category</Type>
+      <ParentItem>a739b26a-2cd0-4aec-a7e1-e7e376d1d433</ParentItem>
+      <Property>848d9b1f-4827-4cbd-be7a-6a31e1f66b6c</Property>
+    </Instance>
+    <Instance Guid="0b1e57c4-00b1-4690-892d-11fb8d6ad359">
+      <Name>startup.c</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\kernel\startup.c</RelativePath>
+      <TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
+      <ParentItem>08b6f9c2-7a70-4b55-ba8f-c506d09173f5</ParentItem>
+      <Property>0d157c2d-83a0-410a-bd19-60ef8474802c</Property>
+    </Instance>
+    <Instance Guid="fb335934-1a57-464a-944a-5e24bd15a011">
+      <Name>task.c</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\kernel\task.c</RelativePath>
+      <TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
+      <ParentItem>08b6f9c2-7a70-4b55-ba8f-c506d09173f5</ParentItem>
+      <Property>37d6244a-3347-4507-b9f5-894dfce4bdcc</Property>
+    </Instance>
+    <Instance Guid="a64ca478-ebff-4492-acca-c1bf6dc98a69">
+      <Name>task.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\kernel\task.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>08b6f9c2-7a70-4b55-ba8f-c506d09173f5</ParentItem>
+      <Property>3731924e-ef44-43dc-8a89-e413b8e1cc1b</Property>
+    </Instance>
+    <Instance Guid="1ea99bf7-471b-4f8f-861b-01a260ce76d3">
+      <Name>interrupt.c</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\kernel\interrupt.c</RelativePath>
+      <TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
+      <ParentItem>08b6f9c2-7a70-4b55-ba8f-c506d09173f5</ParentItem>
+      <Property>b5e4922c-86af-4817-81f2-c29dade7946b</Property>
+    </Instance>
+    <Instance Guid="2b771e75-8341-44e4-a799-92342f877cb4">
+      <Name>interrupt.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\kernel\interrupt.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>08b6f9c2-7a70-4b55-ba8f-c506d09173f5</ParentItem>
+      <Property>250bcd93-042d-4131-9856-f474d42ccf7a</Property>
+    </Instance>
+    <Instance Guid="b29474d7-0eb0-4fc6-8e8c-40d70f4a75db">
+      <Name>exception.c</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\kernel\exception.c</RelativePath>
+      <TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
+      <ParentItem>08b6f9c2-7a70-4b55-ba8f-c506d09173f5</ParentItem>
+      <Property>4fc0fcc1-b156-42c3-94f0-8ae477e0038a</Property>
+    </Instance>
+    <Instance Guid="5f089456-857b-49eb-b086-7a4ee0541ff1">
+      <Name>exception.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\kernel\exception.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>08b6f9c2-7a70-4b55-ba8f-c506d09173f5</ParentItem>
+      <Property>ffd2fe8d-f783-41a6-8061-739eb5c04d54</Property>
+    </Instance>
+    <Instance Guid="d561463f-863b-4b17-94a6-c8b280bf251b">
+      <Name>sys_manage.c</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\kernel\sys_manage.c</RelativePath>
+      <TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
+      <ParentItem>08b6f9c2-7a70-4b55-ba8f-c506d09173f5</ParentItem>
+      <Property>1d886ed3-269e-400e-9a4c-dcc1b3993457</Property>
+    </Instance>
+    <Instance Guid="8fab0c6d-a6ad-4df7-8d4e-3b4d3b0b23d3">
+      <Name>task_manage.c</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\kernel\task_manage.c</RelativePath>
+      <TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
+      <ParentItem>08b6f9c2-7a70-4b55-ba8f-c506d09173f5</ParentItem>
+      <Property>06f340c5-0961-4c7f-8a11-b728faf9c269</Property>
+    </Instance>
+    <Instance Guid="86e0c5fb-1d25-4e9f-97cd-484431baaaa9">
+      <Name>check.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\kernel\check.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>08b6f9c2-7a70-4b55-ba8f-c506d09173f5</ParentItem>
+      <Property>b01ab396-a94b-483e-829e-664bbcfd6606</Property>
+    </Instance>
+    <Instance Guid="6e65a7f2-f762-4afe-a498-444ac75ee9d9">
+      <Name>kernel_impl.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\kernel\kernel_impl.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>08b6f9c2-7a70-4b55-ba8f-c506d09173f5</ParentItem>
+      <Property>2c85592c-43ac-4045-a44d-3eddbd4573c6</Property>
+    </Instance>
+    <Instance Guid="0759954a-a743-42d4-9c7f-f7962a74c6f0">
+      <Name>kernel_int.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\kernel\kernel_int.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>08b6f9c2-7a70-4b55-ba8f-c506d09173f5</ParentItem>
+      <Property>442b8950-a416-48a7-b1b5-36cf65e90ca7</Property>
+    </Instance>
+    <Instance Guid="37f04318-1a39-4aa3-97f5-515b3edeb45f">
+      <Name>kernel_rename.def</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\kernel\kernel_rename.def</RelativePath>
+      <ParentItem>08b6f9c2-7a70-4b55-ba8f-c506d09173f5</ParentItem>
+      <Property>abae76f2-6586-4cc8-a14f-46a4770b6cc5</Property>
+    </Instance>
+    <Instance Guid="083cf503-22ba-4c4e-9e43-45f1194e19be">
+      <Name>kernel_rename.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\kernel\kernel_rename.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>08b6f9c2-7a70-4b55-ba8f-c506d09173f5</ParentItem>
+      <Property>822cedf8-951e-48b8-9023-414b7654ec9d</Property>
+    </Instance>
+    <Instance Guid="ac70b854-3703-4d52-bd8a-75d9835d4021">
+      <Name>kernel_unrename.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\kernel\kernel_unrename.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>08b6f9c2-7a70-4b55-ba8f-c506d09173f5</ParentItem>
+      <Property>3b5faf0d-dfe1-4cd0-8ca9-93be4a534364</Property>
+    </Instance>
+    <Instance Guid="5d29b8bd-fda2-4523-a3a4-873be3717627">
+      <Name>allfunc.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\kernel\allfunc.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>08b6f9c2-7a70-4b55-ba8f-c506d09173f5</ParentItem>
+      <Property>f4cb7faa-cb30-4962-b75d-a2fe070a0669</Property>
+    </Instance>
+    <Instance Guid="40987361-18f6-477e-b977-f2e4914cb1e9">
+      <Name>alarm.c</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\extension\alarm.c</RelativePath>
+      <TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
+      <ParentItem>7f0c2463-7d1f-4f67-8081-daba86da6e7a</ParentItem>
+      <Property>c6f5f427-46d8-48c4-bf47-be6aa6c1deef</Property>
+    </Instance>
+    <Instance Guid="2f34415a-4444-49ad-8407-51ff66ec2acb">
+      <Name>alarm.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\extension\alarm.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>7f0c2463-7d1f-4f67-8081-daba86da6e7a</ParentItem>
+      <Property>55540ed4-383a-42d5-a0f6-86fa7ca1ec00</Property>
+    </Instance>
+    <Instance Guid="2f2ff807-6932-4d38-9f75-69e9e93abb65">
+      <Name>cyclic.c</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\extension\cyclic.c</RelativePath>
+      <TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
+      <ParentItem>7f0c2463-7d1f-4f67-8081-daba86da6e7a</ParentItem>
+      <Property>a48987d0-be0b-4cf2-ae7d-16f34251f0bb</Property>
+    </Instance>
+    <Instance Guid="34246a69-a591-4e4d-af71-183af8b37694">
+      <Name>cyclic.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\extension\cyclic.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>7f0c2463-7d1f-4f67-8081-daba86da6e7a</ParentItem>
+      <Property>29fb5a4d-775b-470a-aeb7-e83d42d2bf05</Property>
+    </Instance>
+    <Instance Guid="10893665-f44e-4f80-a4ba-bf4de073e88a">
+      <Name>dataqueue.c</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\extension\dataqueue.c</RelativePath>
+      <TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
+      <ParentItem>7f0c2463-7d1f-4f67-8081-daba86da6e7a</ParentItem>
+      <Property>3566fbdf-8988-4dc3-bfb7-7e2051362b10</Property>
+    </Instance>
+    <Instance Guid="a160d0fe-32fe-4771-9b58-050c8dca0e75">
+      <Name>dataqueue.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\extension\dataqueue.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>7f0c2463-7d1f-4f67-8081-daba86da6e7a</ParentItem>
+      <Property>17352219-ba80-468a-a17d-85278dcc03b5</Property>
+    </Instance>
+    <Instance Guid="139f44fb-a81e-47e4-aa68-4d03a7baf25b">
+      <Name>eventflag.c</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\extension\eventflag.c</RelativePath>
+      <TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
+      <ParentItem>7f0c2463-7d1f-4f67-8081-daba86da6e7a</ParentItem>
+      <Property>5c94affe-5b62-4527-8218-ed1dd2f656b0</Property>
+    </Instance>
+    <Instance Guid="4a74e494-5047-4538-8e62-f932f0662905">
+      <Name>eventflag.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\extension\eventflag.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>7f0c2463-7d1f-4f67-8081-daba86da6e7a</ParentItem>
+      <Property>5a96a019-5b26-4ed2-87bf-538ce473384f</Property>
+    </Instance>
+    <Instance Guid="2d734b35-41d9-4267-95ed-19f02cbc97df">
+      <Name>time_event.c</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\extension\time_event.c</RelativePath>
+      <TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
+      <ParentItem>7f0c2463-7d1f-4f67-8081-daba86da6e7a</ParentItem>
+      <Property>db22734b-fce9-4b44-8425-793decdac4f9</Property>
+    </Instance>
+    <Instance Guid="77ca8161-d40c-492d-8111-ff6151bccf03">
+      <Name>time_event.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\extension\time_event.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>7f0c2463-7d1f-4f67-8081-daba86da6e7a</ParentItem>
+      <Property>7004276d-6f9a-4093-966e-ac2fb0169d78</Property>
+    </Instance>
+    <Instance Guid="f96a230a-4062-427f-a93e-a64669d46c91">
+      <Name>time_manage.c</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\extension\time_manage.c</RelativePath>
+      <TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
+      <ParentItem>7f0c2463-7d1f-4f67-8081-daba86da6e7a</ParentItem>
+      <Property>6dff309a-295c-4324-8f49-54542f141c1e</Property>
+    </Instance>
+    <Instance Guid="f0ffdb81-f87d-4dbe-acac-c1e6f6f74a5e">
+      <Name>queue.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\kernel\queue.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>7f0c2463-7d1f-4f67-8081-daba86da6e7a</ParentItem>
+      <Property>db2de1dc-57e6-44ce-a3e9-0c3fce2ad268</Property>
+    </Instance>
+    <Instance Guid="5c4a6a7a-5eee-4ee5-8e2a-d8755260bb01">
+      <Name>prc_config.c</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\arch\rl78_ca78k0r\prc_config.c</RelativePath>
+      <TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
+      <ParentItem>47448915-30c2-444f-8da3-ac01fffbdba6</ParentItem>
+      <Property>7efb203b-8b71-4844-a6ad-60b7c1baee39</Property>
+    </Instance>
+    <Instance Guid="0eb0688f-24f7-4c3c-8a88-84d7442f55ca">
+      <Name>prc_config.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\arch\rl78_ca78k0r\prc_config.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>47448915-30c2-444f-8da3-ac01fffbdba6</ParentItem>
+      <Property>6f98599a-4539-46e8-8e36-a6cb177b40db</Property>
+    </Instance>
+    <Instance Guid="d50571ed-ab38-4aa1-8994-964045c49bec">
+      <Name>prc_sil.asm</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\arch\rl78_ca78k0r\prc_sil.asm</RelativePath>
+      <TreeImageGuid>f654126d-e7ad-426d-be34-8455271d959b</TreeImageGuid>
+      <ParentItem>47448915-30c2-444f-8da3-ac01fffbdba6</ParentItem>
+      <Property>642569b3-563e-4da6-b572-42918d68212e</Property>
+    </Instance>
+    <Instance Guid="105b3b9d-e11e-45e8-a67d-6f8790524991">
+      <Name>prc_sil.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\arch\rl78_ca78k0r\prc_sil.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>47448915-30c2-444f-8da3-ac01fffbdba6</ParentItem>
+      <Property>4b8374b0-ad74-409b-a342-2f0760984f19</Property>
+    </Instance>
+    <Instance Guid="2acbc34b-d429-4649-84ce-d8af29b834f3">
+      <Name>prc_support.asm</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\arch\rl78_ca78k0r\prc_support.asm</RelativePath>
+      <TreeImageGuid>f654126d-e7ad-426d-be34-8455271d959b</TreeImageGuid>
+      <ParentItem>47448915-30c2-444f-8da3-ac01fffbdba6</ParentItem>
+      <Property>a3d8f6c6-aada-4dcf-b77c-ebc674cf010b</Property>
+    </Instance>
+    <Instance Guid="ddd8be48-811f-4310-a1ed-4c5b34c894b6">
+      <Name>prc_stddef.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\arch\rl78_ca78k0r\prc_stddef.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>47448915-30c2-444f-8da3-ac01fffbdba6</ParentItem>
+      <Property>3b699ea3-4bf9-4569-a8e2-c0c8dc480914</Property>
+    </Instance>
+    <Instance Guid="f00a67c8-7195-4e48-ae24-d375a66960bc">
+      <Name>prc_kernel.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\arch\rl78_ca78k0r\prc_kernel.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>47448915-30c2-444f-8da3-ac01fffbdba6</ParentItem>
+      <Property>4eb68946-a481-4405-918f-a00df70cc74a</Property>
+    </Instance>
+    <Instance Guid="b6881c52-2c0a-4d6b-8679-c26ba50955e9">
+      <Name>rl78g13.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\arch\rl78_ca78k0r\rl78g13.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>47448915-30c2-444f-8da3-ac01fffbdba6</ParentItem>
+      <Property>3deb1df3-cd33-4924-9bb9-91c97fb46d0d</Property>
+    </Instance>
+    <Instance Guid="4aa33f28-e091-4772-b0f0-fd1f35994ddf">
+      <Name>rl78g13_config.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\arch\rl78_ca78k0r\rl78g13_config.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>47448915-30c2-444f-8da3-ac01fffbdba6</ParentItem>
+      <Property>545f8d02-4b46-4983-949b-4beb14d7fe16</Property>
+    </Instance>
+    <Instance Guid="8144a4be-23e5-4898-b3ba-690304773fee">
+      <Name>prc_rename.def</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\arch\rl78_ca78k0r\prc_rename.def</RelativePath>
+      <ParentItem>47448915-30c2-444f-8da3-ac01fffbdba6</ParentItem>
+      <Property>bd746a62-bc7f-437f-a55e-e7ad37111484</Property>
+    </Instance>
+    <Instance Guid="494c9750-8a14-437e-bec8-faf910eeac59">
+      <Name>prc_rename.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\arch\rl78_ca78k0r\prc_rename.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>47448915-30c2-444f-8da3-ac01fffbdba6</ParentItem>
+      <Property>3b5ac47c-1763-41af-a58c-ec49c857c2b2</Property>
+    </Instance>
+    <Instance Guid="b6378127-ff32-43d4-980c-e66acda0b8a9">
+      <Name>prc_unrename.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\arch\rl78_ca78k0r\prc_unrename.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>47448915-30c2-444f-8da3-ac01fffbdba6</ParentItem>
+      <Property>660e066f-b800-47cd-b590-8d92fdcbe94f</Property>
+    </Instance>
+    <Instance Guid="6b16e31b-4514-4c6e-bcdd-f0488bb94485">
+      <Name>target_config.c</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\target_config.c</RelativePath>
+      <TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
+      <ParentItem>ee4ea823-1d2a-4a22-80de-2a66e1921955</ParentItem>
+      <Property>34aea4df-b564-4de7-84b1-357450deee3d</Property>
+    </Instance>
+    <Instance Guid="75fba740-2e78-4658-8908-362ac067a54e">
+      <Name>target_config.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\target_config.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>ee4ea823-1d2a-4a22-80de-2a66e1921955</ParentItem>
+      <Property>3ccdeffb-cb22-4c6d-aea6-4d2bb1e27345</Property>
+    </Instance>
+    <Instance Guid="5a6ae3df-b538-4474-b8bb-da7866a003c2">
+      <Name>target_stddef.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\target_stddef.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>ee4ea823-1d2a-4a22-80de-2a66e1921955</ParentItem>
+      <Property>9c406ca6-4f4e-494b-87e6-0e6f942abf6a</Property>
+    </Instance>
+    <Instance Guid="ff8e6579-8965-4097-acfc-a1a3a541a56f">
+      <Name>target_kernel.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\target_kernel.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>ee4ea823-1d2a-4a22-80de-2a66e1921955</ParentItem>
+      <Property>59a1abed-689f-480c-94cd-214afbaece0d</Property>
+    </Instance>
+    <Instance Guid="10a62d29-0653-4675-9a54-35ef74363205">
+      <Name>target_sil.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\target_sil.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>ee4ea823-1d2a-4a22-80de-2a66e1921955</ParentItem>
+      <Property>c52d970c-1d57-43fd-92bc-e2a6128d4095</Property>
+    </Instance>
+    <Instance Guid="86d960bd-ff4c-4005-8b3b-1d51dc108563">
+      <Name>target_timer.c</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\target_timer.c</RelativePath>
+      <TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
+      <ParentItem>ee4ea823-1d2a-4a22-80de-2a66e1921955</ParentItem>
+      <Property>c76c5d78-1c5a-4a13-95a0-31a4e3c99c4b</Property>
+    </Instance>
+    <Instance Guid="005b4d5d-7a09-4e1a-8b9e-9d56d3525584">
+      <Name>target_timer.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\target_timer.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>ee4ea823-1d2a-4a22-80de-2a66e1921955</ParentItem>
+      <Property>f1e49d69-0ab0-4c70-a90b-aa3aa0a4933f</Property>
+    </Instance>
+    <Instance Guid="ad1362b5-e7a8-4582-8a79-513ee62e8cc2">
+      <Name>target_timer.cfg</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\target_timer.cfg</RelativePath>
+      <ParentItem>ee4ea823-1d2a-4a22-80de-2a66e1921955</ParentItem>
+      <Property>8d2d6981-b1d1-4e3f-8463-49b0fee0ba15</Property>
+    </Instance>
+    <Instance Guid="77a09022-dae3-4347-8f02-e7ed6567380d">
+      <Name>target_rename.def</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\target_rename.def</RelativePath>
+      <ParentItem>ee4ea823-1d2a-4a22-80de-2a66e1921955</ParentItem>
+      <Property>02fb1d5f-cbac-4dbf-ac9e-488b052a4326</Property>
+    </Instance>
+    <Instance Guid="3f0c1418-f5b6-46c7-ab3a-1e97de359d26">
+      <Name>target_rename.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\target_rename.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>ee4ea823-1d2a-4a22-80de-2a66e1921955</ParentItem>
+      <Property>06e4a969-2a1d-41c7-8fc9-71e77fda68bc</Property>
+    </Instance>
+    <Instance Guid="445df11c-22e2-46df-a31f-7a178572b6b5">
+      <Name>target_unrename.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\target_unrename.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>ee4ea823-1d2a-4a22-80de-2a66e1921955</ParentItem>
+      <Property>a600fcca-0d68-4292-8557-c533cc0ddd4d</Property>
+    </Instance>
+    <Instance Guid="f91d30ba-4103-41f6-92fb-12aec03f4f3a">
+      <Name>qb_r5f100le.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\qb_r5f100le.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>ee4ea823-1d2a-4a22-80de-2a66e1921955</ParentItem>
+      <Property>2144cd8d-7d2c-4164-acd1-3453989d7665</Property>
+    </Instance>
+    <Instance Guid="0417a587-c0b5-4869-915f-6c634a0b3268">
+      <Name>kernel.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\include\kernel.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>d45def4b-42e1-47df-b69c-b45c1d6b6e48</ParentItem>
+      <Property>660cfc27-8ae1-40a6-82c5-68b6dbd955b3</Property>
+    </Instance>
+    <Instance Guid="9f0970e0-35f6-4be7-937c-fc06c83f6237">
+      <Name>t_stddef.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\include\t_stddef.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>d45def4b-42e1-47df-b69c-b45c1d6b6e48</ParentItem>
+      <Property>b9f257e4-7c62-48da-9358-f611c759561d</Property>
+    </Instance>
+    <Instance Guid="73c96241-d34b-440f-9cb5-604374cd120a">
+      <Name>sil.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\include\sil.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>d45def4b-42e1-47df-b69c-b45c1d6b6e48</ParentItem>
+      <Property>224d4aa2-dc3d-4714-88c4-0c2330a0138d</Property>
+    </Instance>
+  </Class>
+  <Class Guid="fb98844b-2c27-4275-9804-f6e63e204da0">
+    <Instance Guid="2a349cb6-b982-4ade-adcd-104b883ad81c">
+      <MemoCount>0</MemoCount>
+    </Instance>
+  </Class>
+  <Class Guid="0d548289-d5e9-4893-9a8f-9374b13f19a9">
+    <Instance Guid="0dec9690-02e6-44cd-87f9-a01b6b2d50ad">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="3470c222-1170-4ba5-beba-1274917ed822">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="0d157c2d-83a0-410a-bd19-60ef8474802c">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="37d6244a-3347-4507-b9f5-894dfce4bdcc">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="3731924e-ef44-43dc-8a89-e413b8e1cc1b">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="b5e4922c-86af-4817-81f2-c29dade7946b">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="250bcd93-042d-4131-9856-f474d42ccf7a">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="4fc0fcc1-b156-42c3-94f0-8ae477e0038a">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="ffd2fe8d-f783-41a6-8061-739eb5c04d54">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="1d886ed3-269e-400e-9a4c-dcc1b3993457">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="06f340c5-0961-4c7f-8a11-b728faf9c269">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="b01ab396-a94b-483e-829e-664bbcfd6606">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="2c85592c-43ac-4045-a44d-3eddbd4573c6">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="442b8950-a416-48a7-b1b5-36cf65e90ca7">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="abae76f2-6586-4cc8-a14f-46a4770b6cc5">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="822cedf8-951e-48b8-9023-414b7654ec9d">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="3b5faf0d-dfe1-4cd0-8ca9-93be4a534364">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="f4cb7faa-cb30-4962-b75d-a2fe070a0669">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="c6f5f427-46d8-48c4-bf47-be6aa6c1deef">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="55540ed4-383a-42d5-a0f6-86fa7ca1ec00">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="a48987d0-be0b-4cf2-ae7d-16f34251f0bb">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="29fb5a4d-775b-470a-aeb7-e83d42d2bf05">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="3566fbdf-8988-4dc3-bfb7-7e2051362b10">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="17352219-ba80-468a-a17d-85278dcc03b5">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="5c94affe-5b62-4527-8218-ed1dd2f656b0">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="5a96a019-5b26-4ed2-87bf-538ce473384f">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="db22734b-fce9-4b44-8425-793decdac4f9">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="7004276d-6f9a-4093-966e-ac2fb0169d78">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="6dff309a-295c-4324-8f49-54542f141c1e">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="db2de1dc-57e6-44ce-a3e9-0c3fce2ad268">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="7efb203b-8b71-4844-a6ad-60b7c1baee39">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="6f98599a-4539-46e8-8e36-a6cb177b40db">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="642569b3-563e-4da6-b572-42918d68212e">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="4b8374b0-ad74-409b-a342-2f0760984f19">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="a3d8f6c6-aada-4dcf-b77c-ebc674cf010b">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="3b699ea3-4bf9-4569-a8e2-c0c8dc480914">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="4eb68946-a481-4405-918f-a00df70cc74a">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="3deb1df3-cd33-4924-9bb9-91c97fb46d0d">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="545f8d02-4b46-4983-949b-4beb14d7fe16">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="bd746a62-bc7f-437f-a55e-e7ad37111484">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="3b5ac47c-1763-41af-a58c-ec49c857c2b2">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="660e066f-b800-47cd-b590-8d92fdcbe94f">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="34aea4df-b564-4de7-84b1-357450deee3d">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="3ccdeffb-cb22-4c6d-aea6-4d2bb1e27345">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="9c406ca6-4f4e-494b-87e6-0e6f942abf6a">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="59a1abed-689f-480c-94cd-214afbaece0d">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="c52d970c-1d57-43fd-92bc-e2a6128d4095">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="c76c5d78-1c5a-4a13-95a0-31a4e3c99c4b">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="f1e49d69-0ab0-4c70-a90b-aa3aa0a4933f">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="8d2d6981-b1d1-4e3f-8463-49b0fee0ba15">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="02fb1d5f-cbac-4dbf-ac9e-488b052a4326">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="06e4a969-2a1d-41c7-8fc9-71e77fda68bc">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="a600fcca-0d68-4292-8557-c533cc0ddd4d">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="2144cd8d-7d2c-4164-acd1-3453989d7665">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="660cfc27-8ae1-40a6-82c5-68b6dbd955b3">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="b9f257e4-7c62-48da-9358-f611c759561d">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="224d4aa2-dc3d-4714-88c4-0c2330a0138d">
+      <MemoCount>0</MemoCount>
+    </Instance>
+  </Class>
+  <Class Guid="78a5c5cd-76cb-4bcc-a031-3020011fbc9a">
+    <Instance Guid="4f2c14b2-7af2-40dc-8670-ae6ed9255b9c">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="6f9011ce-a7c0-4178-b69a-955ee29f85b4">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="325b48e4-e873-4078-9982-eeee0fe6d437">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="e65c561f-9389-4bfa-af7c-91ef495c596f">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="848d9b1f-4827-4cbd-be7a-6a31e1f66b6c">
+      <MemoCount>0</MemoCount>
+    </Instance>
+  </Class>
+  <Class Guid="8fb9c1f6-d351-4d10-8d99-bf5b3015b84c">
+    <Instance Guid="00000000-0000-0000-0000-000000000000">
+      <UsingPlatformGuid>2a0afe1d-1369-4430-b2a0-e9280ff5473f</UsingPlatformGuid>
+    </Instance>
+  </Class>
+  <Class Guid="c325714f-8f51-484b-9e96-b4b59c0fb263">
+    <Instance Guid="c325714f-8f51-484b-9e96-b4b59c0fb263">
+      <DeviceManager>90ee5797-fc0c-48ea-b02f-689179ce9df7</DeviceManager>
+    </Instance>
+  </Class>
+  <Class Guid="90ee5797-fc0c-48ea-b02f-689179ce9df7">
+    <Instance Guid="90ee5797-fc0c-48ea-b02f-689179ce9df7">
+      <DataFormatVersion>1.0</DataFormatVersion>
+    </Instance>
+    <Instance Guid="48a784ef-5532-4564-a0c1-5cb048b777b1">
+      <DeviceName>R5F100LE</DeviceName>
+      <MemoCount>0</MemoCount>
+    </Instance>
+  </Class>
+  <Class Guid="873c9a58-9bc5-439a-b476-78629a4553ed">
+    <Instance Guid="873c9a58-9bc5-439a-b476-78629a4553ed">
+      <ProjectDeviceChangedCounter>0</ProjectDeviceChangedCounter>
+      <ProjectInitialDeviceName>R5F100LE</ProjectInitialDeviceName>
+    </Instance>
+  </Class>
+  <Class Guid="c3835e31-dea3-4c93-b02b-d2db997f7630">
+    <Instance Guid="c3835e31-dea3-4c93-b02b-d2db997f7630">
+      <BuildToolManager>11ff4962-ca73-4419-bb4a-67e9b8de9571</BuildToolManager>
+    </Instance>
+  </Class>
+  <Class Guid="11ff4962-ca73-4419-bb4a-67e9b8de9571">
+    <Instance Guid="11ff4962-ca73-4419-bb4a-67e9b8de9571">
+      <DataFormatVersion>1.1</DataFormatVersion>
+      <BuildModeCount>1</BuildModeCount>
+      <BuildMode0>RABlAGYAYQB1AGwAdABCAHUAaQBsAGQA</BuildMode0>
+      <BatchBuildFlag0>False</BatchBuildFlag0>
+      <CurrentBuildMode>DefaultBuild</CurrentBuildMode>
+      <SourceItemGuid0>6c939158-f138-4d08-bb71-a970067e6a10</SourceItemGuid0>
+      <SourceItemType0>LinkDirectiveSource</SourceItemType0>
+      <SourceItemGuid1>8902a2a0-7f3a-426c-b6b0-d589214d7c19</SourceItemGuid1>
+      <SourceItemType1>AsmSource</SourceItemType1>
+      <SourceItemGuid2>0b1e57c4-00b1-4690-892d-11fb8d6ad359</SourceItemGuid2>
+      <SourceItemType2>CSource</SourceItemType2>
+      <SourceItemGuid3>fb335934-1a57-464a-944a-5e24bd15a011</SourceItemGuid3>
+      <SourceItemType3>CSource</SourceItemType3>
+      <SourceItemGuid4>1ea99bf7-471b-4f8f-861b-01a260ce76d3</SourceItemGuid4>
+      <SourceItemType4>CSource</SourceItemType4>
+      <SourceItemGuid5>b29474d7-0eb0-4fc6-8e8c-40d70f4a75db</SourceItemGuid5>
+      <SourceItemType5>CSource</SourceItemType5>
+      <SourceItemGuid6>d561463f-863b-4b17-94a6-c8b280bf251b</SourceItemGuid6>
+      <SourceItemType6>CSource</SourceItemType6>
+      <SourceItemGuid7>8fab0c6d-a6ad-4df7-8d4e-3b4d3b0b23d3</SourceItemGuid7>
+      <SourceItemType7>CSource</SourceItemType7>
+      <SourceItemGuid8>40987361-18f6-477e-b977-f2e4914cb1e9</SourceItemGuid8>
+      <SourceItemType8>CSource</SourceItemType8>
+      <SourceItemGuid9>2f2ff807-6932-4d38-9f75-69e9e93abb65</SourceItemGuid9>
+      <SourceItemType9>CSource</SourceItemType9>
+      <SourceItemGuid10>10893665-f44e-4f80-a4ba-bf4de073e88a</SourceItemGuid10>
+      <SourceItemType10>CSource</SourceItemType10>
+      <SourceItemGuid11>139f44fb-a81e-47e4-aa68-4d03a7baf25b</SourceItemGuid11>
+      <SourceItemType11>CSource</SourceItemType11>
+      <SourceItemGuid12>2d734b35-41d9-4267-95ed-19f02cbc97df</SourceItemGuid12>
+      <SourceItemType12>CSource</SourceItemType12>
+      <SourceItemGuid13>f96a230a-4062-427f-a93e-a64669d46c91</SourceItemGuid13>
+      <SourceItemType13>CSource</SourceItemType13>
+      <SourceItemGuid14>5c4a6a7a-5eee-4ee5-8e2a-d8755260bb01</SourceItemGuid14>
+      <SourceItemType14>CSource</SourceItemType14>
+      <SourceItemGuid15>d50571ed-ab38-4aa1-8994-964045c49bec</SourceItemGuid15>
+      <SourceItemType15>AsmSource</SourceItemType15>
+      <SourceItemGuid16>2acbc34b-d429-4649-84ce-d8af29b834f3</SourceItemGuid16>
+      <SourceItemType16>AsmSource</SourceItemType16>
+      <SourceItemGuid17>6b16e31b-4514-4c6e-bcdd-f0488bb94485</SourceItemGuid17>
+      <SourceItemType17>CSource</SourceItemType17>
+      <SourceItemGuid18>86d960bd-ff4c-4005-8b3b-1d51dc108563</SourceItemGuid18>
+      <SourceItemType18>CSource</SourceItemType18>
+      <SourceItemCount>19</SourceItemCount>
+      <VfiSourceItemCount>0</VfiSourceItemCount>
+      <LastDeviceChangedCounter>0</LastDeviceChangedCounter>
+    </Instance>
+    <Instance Guid="e6d45d58-de50-4ae7-8d7f-320171fa9617">
+      <AdditionalIncludePathsForAssembler-DefaultValue />
+      <BuildMode-DefaultValue>DefaultBuild</BuildMode-DefaultValue>
+      <DependencyFileExistCheckingType-DefaultValue>Rebuild</DependencyFileExistCheckingType-DefaultValue>
+      <HexFile-DefaultValue>True</HexFile-DefaultValue>
+      <Memo-DefaultValue />
+      <Optimization-DefaultValue>Standard</Optimization-DefaultValue>
+      <OutputFileType-DefaultValue>Library</OutputFileType-DefaultValue>
+      <OutputMessageFormat-DefaultValue>%TargetFiles%</OutputMessageFormat-DefaultValue>
+      <RomizeFile-DefaultValue>False</RomizeFile-DefaultValue>
+      <SecurityId-DefaultValue>00000000000000000000</SecurityId-DefaultValue>
+      <UsingLibraries-DefaultValue />
+      <AdditionalIncludePathsForCompiler-DefaultValue />
+      <AdditionalLibraryPaths-DefaultValue />
+      <CompilerVersion-DefaultValue>
+
+0</CompilerVersion-DefaultValue>
+      <FormatBuildOptionList-DefaultValue>%TargetFiles% : %Program% %Options%</FormatBuildOptionList-DefaultValue>
+      <IntermediateOutputFolder-DefaultValue>%BuildModeName%</IntermediateOutputFolder-DefaultValue>
+      <OutputFolderNameForHex-DefaultValue>%BuildModeName%</OutputFolderNameForHex-DefaultValue>
+      <RomizeFileOutputFolder-DefaultValue>%BuildModeName%</RomizeFileOutputFolder-DefaultValue>
+      <SystemIncludePathsForAssemble-DefaultValue />
+      <MacroDefinitionForAssembler-DefaultValue />
+      <OutputFileNameForHex-DefaultValue>%ProjectName%.hex</OutputFileNameForHex-DefaultValue>
+      <OutputFolderNameForLinker-DefaultValue>%BuildModeName%</OutputFolderNameForLinker-DefaultValue>
+      <RomizeFileName-DefaultValue>romp.lmf</RomizeFileName-DefaultValue>
+      <SystemIncludePaths-DefaultValue />
+      <TemporaryFolder-DefaultValue />
+      <HexadecimalFileFormat-DefaultValue>IntelExtended</HexadecimalFileFormat-DefaultValue>
+      <MacroDefinitionForCompiler-DefaultValue />
+      <OutputFileNameForLinker-DefaultValue>%ProjectName%.lmf</OutputFileNameForLinker-DefaultValue>
+      <PreBuildCommands-DefaultValue />
+      <PostBuildCommands-DefaultValue />
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587938729876885224</TimeTagModified--0>
+      <BuildMode-0>DefaultBuild</BuildMode-0>
+      <Memo-0 />
+      <OutputMessageFormat-0>%TargetFiles%</OutputMessageFormat-0>
+      <FormatBuildOptionList-0>%TargetFiles% : %Program% %Options%</FormatBuildOptionList-0>
+      <PreBuildCommands-0 />
+      <PostBuildCommands-0 />
+      <DependencyFileExistCheckingType-0>Rebuild</DependencyFileExistCheckingType-0>
+      <OutputFileType-0>Library</OutputFileType-0>
+      <SecurityId-0>00000000000000000000</SecurityId-0>
+      <IntermediateOutputFolder-0>%BuildModeName%</IntermediateOutputFolder-0>
+      <TemporaryFolder-0 />
+      <CompilerVersion-0>
+
+0</CompilerVersion-0>
+      <LastCompilerVersion-0>V1.70</LastCompilerVersion-0>
+    </Instance>
+    <Instance Guid="86700a2f-4f2c-4aec-8af7-7d69ad94a4a1">
+      <AdditionalIncludePaths-DefaultValue />
+      <AssemblyFile-DefaultValue>NotOutput</AssemblyFile-DefaultValue>
+      <BitFieldMostSignificantBit-DefaultValue>False</BitFieldMostSignificantBit-DefaultValue>
+      <CPlusPlusStyleComment-DefaultValue>True</CPlusPlusStyleComment-DefaultValue>
+      <CommonObject78K0R-DefaultValue>False</CommonObject78K0R-DefaultValue>
+      <DebugInformation-DefaultValue>AssemblyAndObject</DebugInformation-DefaultValue>
+      <MemoryModelType-DefaultValue>Medium</MemoryModelType-DefaultValue>
+      <OperationSwapping-DefaultValue>Yes</OperationSwapping-DefaultValue>
+      <Optimization-DefaultValue>Standard</Optimization-DefaultValue>
+      <PreCompileCommands-DefaultValue />
+      <PreprocessListFile-DefaultValue>False</PreprocessListFile-DefaultValue>
+      <ProvidedStartup-DefaultValue>Normal</ProvidedStartup-DefaultValue>
+      <StandardLibrary-DefaultValue>True</StandardLibrary-DefaultValue>
+      <VerboseMode-DefaultValue>False</VerboseMode-DefaultValue>
+      <AutoVariablesToRegisterOrShortAddressing-DefaultValue>True</AutoVariablesToRegisterOrShortAddressing-DefaultValue>
+      <FixedStandardLibraryArea-DefaultValue>True</FixedStandardLibraryArea-DefaultValue>
+      <FlashObjects-DefaultValue>False</FlashObjects-DefaultValue>
+      <NestedComment-DefaultValue>False</NestedComment-DefaultValue>
+      <PostCompileCommands-DefaultValue />
+      <PreprocessListFileWithNoComment-DefaultValue>False</PreprocessListFileWithNoComment-DefaultValue>
+      <StructureMembersPacking-DefaultValue>False</StructureMembersPacking-DefaultValue>
+      <SystemIncludePaths-DefaultValue />
+      <VariableInformationBootAreaFile-DefaultValue />
+      <WarningLevel-DefaultValue>NormalOutput</WarningLevel-DefaultValue>
+      <ChineseCharactersCodeOnSourceFiles-DefaultValue>ShiftJis</ChineseCharactersCodeOnSourceFiles-DefaultValue>
+      <ExpansionOfDefinePreprocessDirective-DefaultValue>False</ExpansionOfDefinePreprocessDirective-DefaultValue>
+      <FarAreaToRom-DefaultValue>True</FarAreaToRom-DefaultValue>
+      <IndirectReferencingWithOneByte-DefaultValue>False</IndirectReferencingWithOneByte-DefaultValue>
+      <MacroDefinitions-DefaultValue />
+      <OtherAdditionalOptions-DefaultValue />
+      <RegisterVariablesToRegisterAndShortAddressing-DefaultValue>False</RegisterVariablesToRegisterAndShortAddressing-DefaultValue>
+      <StandardIOLibrarySupportingFloat-DefaultValue>False</StandardIOLibrarySupportingFloat-DefaultValue>
+      <StartAddressOfFlashArea-DefaultValue />
+      <AnsiNonstandardFeatures-DefaultValue>False</AnsiNonstandardFeatures-DefaultValue>
+      <DisablementOfSignExtendedCharCalculation-DefaultValue>True</DisablementOfSignExtendedCharCalculation-DefaultValue>
+      <ExpansionOfIfPreprocessDirective-DefaultValue>True</ExpansionOfIfPreprocessDirective-DefaultValue>
+      <MacroUndefinitions-DefaultValue />
+      <Multiplier-DefaultValue>True</Multiplier-DefaultValue>
+      <MultiplierAndDivider-DefaultValue>True</MultiplierAndDivider-DefaultValue>
+      <StandardStartupFileName-DefaultValue />
+      <StartAddressOfFlashAreaBranchTable-DefaultValue />
+      <CharToUnsignedChar-DefaultValue>False</CharToUnsignedChar-DefaultValue>
+      <ExpansionOfIncludePreprocessDirective-DefaultValue>False</ExpansionOfIncludePreprocessDirective-DefaultValue>
+      <MirrorSourceArea-DefaultValue>Maa0</MirrorSourceArea-DefaultValue>
+      <StaticVariablesToShortAddressing-DefaultValue>NotAllocate</StaticVariablesToShortAddressing-DefaultValue>
+      <UseMultiplyAndAccumulation-DefaultValue>True</UseMultiplyAndAccumulation-DefaultValue>
+      <BranchInstructionOptimization-DefaultValue>True</BranchInstructionOptimization-DefaultValue>
+      <ExpansionOfLinePreprocessDirective-DefaultValue>True</ExpansionOfLinePreprocessDirective-DefaultValue>
+      <ExternalVariablesToShortAddressing-DefaultValue>NotAllocate</ExternalVariablesToShortAddressing-DefaultValue>
+      <StandardLibraryFileNames-DefaultValue>cl0ram.lib
+cl0rm.lib
+cl0rmf.lib
+</StandardLibraryFileNames-DefaultValue>
+      <DestinationAreaOfRomData-DefaultValue>No</DestinationAreaOfRomData-DefaultValue>
+      <DisablementOfIntExtensionForFunction-DefaultValue>False</DisablementOfIntExtensionForFunction-DefaultValue>
+      <FixedCodeToLibrary-DefaultValue>NotReplace</FixedCodeToLibrary-DefaultValue>
+      <LineNumbers-DefaultValue>True</LineNumbers-DefaultValue>
+      <ErrorListFile-DefaultValue>NotOutput</ErrorListFile-DefaultValue>
+      <OutputObjectForRam-DefaultValue>None</OutputObjectForRam-DefaultValue>
+      <RelativeSwitchBranchTable-DefaultValue>False</RelativeSwitchBranchTable-DefaultValue>
+      <CrossReferenceListFile-DefaultValue>False</CrossReferenceListFile-DefaultValue>
+      <OptimizationForDebugging-DefaultValue>False</OptimizationForDebugging-DefaultValue>
+      <FeedControlCode-DefaultValue>False</FeedControlCode-DefaultValue>
+      <NumberOfCharactersPerLine-DefaultValue>132</NumberOfCharactersPerLine-DefaultValue>
+      <NumberOfLinesPerPage-DefaultValue>0</NumberOfLinesPerPage-DefaultValue>
+      <TabWidth-DefaultValue>8</TabWidth-DefaultValue>
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587916914033223463</TimeTagModified--0>
+      <AdditionalIncludePaths-0>..\..\..\..\include
+..\..\..\..\kernel
+..\..\..\..\extension
+..\..
+..\..\..\..\arch
+</AdditionalIncludePaths-0>
+      <AssemblyFile-0>WithNoCSource</AssemblyFile-0>
+      <BitFieldMostSignificantBit-0>False</BitFieldMostSignificantBit-0>
+      <CPlusPlusStyleComment-0>True</CPlusPlusStyleComment-0>
+      <DebugInformation-0>AssemblyAndObject</DebugInformation-0>
+      <Optimization-0>No</Optimization-0>
+      <PreCompileCommands-0 />
+      <PreprocessListFile-0>False</PreprocessListFile-0>
+      <ProvidedStartup-0>NoUse</ProvidedStartup-0>
+      <StandardLibrary-0>False</StandardLibrary-0>
+      <VerboseMode-0>False</VerboseMode-0>
+      <FixedStandardLibraryArea-0>True</FixedStandardLibraryArea-0>
+      <NestedComment-0>False</NestedComment-0>
+      <PostCompileCommands-0 />
+      <PreprocessListFileWithNoComment-0>False</PreprocessListFileWithNoComment-0>
+      <StructureMembersPacking-0>False</StructureMembersPacking-0>
+      <SystemIncludePaths-0 />
+      <WarningLevel-0>NormalOutput</WarningLevel-0>
+      <ChineseCharactersCodeOnSourceFiles-0>ShiftJis</ChineseCharactersCodeOnSourceFiles-0>
+      <ExpansionOfDefinePreprocessDirective-0>False</ExpansionOfDefinePreprocessDirective-0>
+      <MacroDefinitions-0 />
+      <OtherAdditionalOptions-0 />
+      <StandardIOLibrarySupportingFloat-0>False</StandardIOLibrarySupportingFloat-0>
+      <AnsiNonstandardFeatures-0>False</AnsiNonstandardFeatures-0>
+      <ExpansionOfIfPreprocessDirective-0>True</ExpansionOfIfPreprocessDirective-0>
+      <MacroUndefinitions-0 />
+      <Multiplier-0>True</Multiplier-0>
+      <MultiplierAndDivider-0>True</MultiplierAndDivider-0>
+      <StandardStartupFileName-0 />
+      <ExpansionOfIncludePreprocessDirective-0>True</ExpansionOfIncludePreprocessDirective-0>
+      <StaticVariablesToShortAddressing-0>NotAllocate</StaticVariablesToShortAddressing-0>
+      <ExpansionOfLinePreprocessDirective-0>True</ExpansionOfLinePreprocessDirective-0>
+      <ExternalVariablesToShortAddressing-0>NotAllocate</ExternalVariablesToShortAddressing-0>
+      <DisablementOfIntExtensionForFunction-0>False</DisablementOfIntExtensionForFunction-0>
+      <LineNumbers-0>True</LineNumbers-0>
+      <ErrorListFile-0>NotOutput</ErrorListFile-0>
+      <CrossReferenceListFile-0>False</CrossReferenceListFile-0>
+      <FeedControlCode-0>False</FeedControlCode-0>
+      <NumberOfCharactersPerLine-0>132</NumberOfCharactersPerLine-0>
+      <TabWidth-0>8</TabWidth-0>
+      <CommonObject78K0R-0>False</CommonObject78K0R-0>
+      <MemoryModelType-0>Medium</MemoryModelType-0>
+      <OperationSwapping-0>Yes</OperationSwapping-0>
+      <AutoVariablesToRegisterOrShortAddressing-0>True</AutoVariablesToRegisterOrShortAddressing-0>
+      <FlashObjects-0>False</FlashObjects-0>
+      <VariableInformationBootAreaFile-0 />
+      <FarAreaToRom-0>True</FarAreaToRom-0>
+      <IndirectReferencingWithOneByte-0>False</IndirectReferencingWithOneByte-0>
+      <RegisterVariablesToRegisterAndShortAddressing-0>False</RegisterVariablesToRegisterAndShortAddressing-0>
+      <StartAddressOfFlashArea-0 />
+      <DisablementOfSignExtendedCharCalculation-0>True</DisablementOfSignExtendedCharCalculation-0>
+      <StartAddressOfFlashAreaBranchTable-0 />
+      <CharToUnsignedChar-0>False</CharToUnsignedChar-0>
+      <MirrorSourceArea-0>Maa0</MirrorSourceArea-0>
+      <UseMultiplyAndAccumulation-0>True</UseMultiplyAndAccumulation-0>
+      <BranchInstructionOptimization-0>True</BranchInstructionOptimization-0>
+      <DestinationAreaOfRomData-0>No</DestinationAreaOfRomData-0>
+      <FixedCodeToLibrary-0>NotReplace</FixedCodeToLibrary-0>
+      <OutputObjectForRam-0>None</OutputObjectForRam-0>
+      <RelativeSwitchBranchTable-0>False</RelativeSwitchBranchTable-0>
+      <OptimizationForDebugging-0>False</OptimizationForDebugging-0>
+      <NumberOfLinesPerPage-0>0</NumberOfLinesPerPage-0>
+    </Instance>
+    <Instance Guid="7465f21d-b667-41e3-a989-056755c20ba3">
+      <AdditionalIncludePaths-DefaultValue />
+      <AssembleListFile-DefaultValue>True</AssembleListFile-DefaultValue>
+      <ChineseCharactersCodeOnSourceFiles-DefaultValue>ShiftJis</ChineseCharactersCodeOnSourceFiles-DefaultValue>
+      <DebugInformation-DefaultValue>LocalSymbolAndAssemblerDebugInformation</DebugInformation-DefaultValue>
+      <DeviceCommonObject-DefaultValue>False</DeviceCommonObject-DefaultValue>
+      <ErrorListFile-DefaultValue>False</ErrorListFile-DefaultValue>
+      <ListConverter-DefaultValue>False</ListConverter-DefaultValue>
+      <SystemIncludePaths-DefaultValue />
+      <ListConverterErrorListFile-DefaultValue>False</ListConverterErrorListFile-DefaultValue>
+      <MacroCompatibleWith78K0-DefaultValue>False</MacroCompatibleWith78K0-DefaultValue>
+      <MacroDefinitions-DefaultValue />
+      <AssembleList-DefaultValue>True</AssembleList-DefaultValue>
+      <PreAssembleCommands-DefaultValue />
+      <SymbolList-DefaultValue>False</SymbolList-DefaultValue>
+      <CrossReferenceList-DefaultValue>False</CrossReferenceList-DefaultValue>
+      <PostAssembleCommands-DefaultValue />
+      <FeedControlCode-DefaultValue>False</FeedControlCode-DefaultValue>
+      <OtherAdditionalOptions-DefaultValue />
+      <NumberOfCharactersPerLine-DefaultValue>132</NumberOfCharactersPerLine-DefaultValue>
+      <NumberOfLinesPerPage-DefaultValue>0</NumberOfLinesPerPage-DefaultValue>
+      <TabWidth-DefaultValue>8</TabWidth-DefaultValue>
+      <HeaderTitle-DefaultValue />
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587883371239283126</TimeTagModified--0>
+      <AdditionalIncludePaths-0>%BuildModeName%
+</AdditionalIncludePaths-0>
+      <AssembleListFile-0>False</AssembleListFile-0>
+      <ChineseCharactersCodeOnSourceFiles-0>ShiftJis</ChineseCharactersCodeOnSourceFiles-0>
+      <DebugInformation-0>LocalSymbolAndAssemblerDebugInformation</DebugInformation-0>
+      <DeviceCommonObject-0>False</DeviceCommonObject-0>
+      <ErrorListFile-0>False</ErrorListFile-0>
+      <ListConverter-0>False</ListConverter-0>
+      <SystemIncludePaths-0 />
+      <ListConverterErrorListFile-0>False</ListConverterErrorListFile-0>
+      <MacroDefinitions-0 />
+      <AssembleList-0>True</AssembleList-0>
+      <PreAssembleCommands-0 />
+      <SymbolList-0>False</SymbolList-0>
+      <CrossReferenceList-0>False</CrossReferenceList-0>
+      <PostAssembleCommands-0 />
+      <FeedControlCode-0>False</FeedControlCode-0>
+      <OtherAdditionalOptions-0 />
+      <NumberOfCharactersPerLine-0>132</NumberOfCharactersPerLine-0>
+      <TabWidth-0>8</TabWidth-0>
+      <HeaderTitle-0 />
+      <MacroCompatibleWith78K0-0>False</MacroCompatibleWith78K0-0>
+      <NumberOfLinesPerPage-0>0</NumberOfLinesPerPage-0>
+    </Instance>
+    <Instance Guid="6cc3d5a3-a96e-4ab3-8e7f-ab22bbe17552">
+      <DebugInformation-DefaultValue>True</DebugInformation-DefaultValue>
+      <ErrorListFile-DefaultValue>False</ErrorListFile-DefaultValue>
+      <LibraryFiles-DefaultValue />
+      <LinkListFile-DefaultValue>True</LinkListFile-DefaultValue>
+      <OnChipDebugOptionBytes-DefaultValue>False</OnChipDebugOptionBytes-DefaultValue>
+      <OutputFolder-DefaultValue>%BuildModeName%</OutputFolder-DefaultValue>
+      <PreLinkCommands-DefaultValue />
+      <StackSymbol-DefaultValue>False</StackSymbol-DefaultValue>
+      <WarningLevel-DefaultValue>NormalOutput</WarningLevel-DefaultValue>
+      <LinkDirectiveInformation-DefaultValue>True</LinkDirectiveInformation-DefaultValue>
+      <OnChipDebugOptionBytesValue-DefaultValue />
+      <OutputFileName-DefaultValue>%ProjectName%.lmf</OutputFileName-DefaultValue>
+      <PostLinkCommands-DefaultValue />
+      <StackRegionName-DefaultValue />
+      <SystemLibraryFiles-DefaultValue />
+      <AdditionalLibraryPaths-DefaultValue />
+      <ForceLinking-DefaultValue>False</ForceLinking-DefaultValue>
+      <LocalSymbolList-DefaultValue>False</LocalSymbolList-DefaultValue>
+      <OtherAdditionalOptions-DefaultValue />
+      <StartAddressOfOnChipDebugOptionBytes-DefaultValue>FE00</StartAddressOfOnChipDebugOptionBytes-DefaultValue>
+      <PublicSymbolList-DefaultValue>False</PublicSymbolList-DefaultValue>
+      <SizeOfOnChipDebugOptionBytesArea-DefaultValue>512</SizeOfOnChipDebugOptionBytesArea-DefaultValue>
+      <SystemLibraryPaths-DefaultValue />
+      <MapList-DefaultValue>True</MapList-DefaultValue>
+      <UserOptionBytes-DefaultValue>False</UserOptionBytes-DefaultValue>
+      <FeedControlCode-DefaultValue>False</FeedControlCode-DefaultValue>
+      <UserOptionBytesValue-DefaultValue />
+      <MirrorSourceArea-DefaultValue>Maa0</MirrorSourceArea-DefaultValue>
+      <NumberOfLinesPerPage-DefaultValue>0</NumberOfLinesPerPage-DefaultValue>
+      <SegmentInfoBottomOf64Kbytes-DefaultValue>False</SegmentInfoBottomOf64Kbytes-DefaultValue>
+      <SettingOfFlashStartAddress-DefaultValue>False</SettingOfFlashStartAddress-DefaultValue>
+      <FlashStartAddress-DefaultValue />
+      <BootAreaModuleFile-DefaultValue />
+      <AllocationControlOfSelfRandomAccessMemory-DefaultValue>No</AllocationControlOfSelfRandomAccessMemory-DefaultValue>
+      <AllocationControlOfTraceRandomAccessMemory-DefaultValue>No</AllocationControlOfTraceRandomAccessMemory-DefaultValue>
+      <AllocationControlOfHotPluginRandomAccessMemory-DefaultValue>No</AllocationControlOfHotPluginRandomAccessMemory-DefaultValue>
+      <ReserveWorkingMemoryForRrmDmm-DefaultValue>False</ReserveWorkingMemoryForRrmDmm-DefaultValue>
+      <StartAddressOfWorkingMemoryForRrmDmm-DefaultValue />
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587943188548891523</TimeTagModified--0>
+      <DebugInformation-0>True</DebugInformation-0>
+      <ErrorListFile-0>False</ErrorListFile-0>
+      <LibraryFiles-0 />
+      <LinkListFile-0>True</LinkListFile-0>
+      <OutputFolder-0>%BuildModeName%</OutputFolder-0>
+      <PreLinkCommands-0 />
+      <StackSymbol-0>True</StackSymbol-0>
+      <WarningLevel-0>NormalOutput</WarningLevel-0>
+      <LinkDirectiveInformation-0>True</LinkDirectiveInformation-0>
+      <OutputFileName-0>%ProjectName%.lmf</OutputFileName-0>
+      <PostLinkCommands-0 />
+      <StackRegionName-0 />
+      <SystemLibraryFiles-0 />
+      <AdditionalLibraryPaths-0 />
+      <ForceLinking-0>False</ForceLinking-0>
+      <LocalSymbolList-0>False</LocalSymbolList-0>
+      <OtherAdditionalOptions-0 />
+      <PublicSymbolList-0>False</PublicSymbolList-0>
+      <SystemLibraryPaths-0 />
+      <MapList-0>True</MapList-0>
+      <FeedControlCode-0>False</FeedControlCode-0>
+      <OnChipDebugOptionBytes-0>False</OnChipDebugOptionBytes-0>
+      <OnChipDebugOptionBytesValue-0 />
+      <StartAddressOfOnChipDebugOptionBytes-0>FE00</StartAddressOfOnChipDebugOptionBytes-0>
+      <SizeOfOnChipDebugOptionBytesArea-0>512</SizeOfOnChipDebugOptionBytesArea-0>
+      <UserOptionBytes-0>False</UserOptionBytes-0>
+      <UserOptionBytesValue-0 />
+      <MirrorSourceArea-0>Maa0</MirrorSourceArea-0>
+      <NumberOfLinesPerPage-0>0</NumberOfLinesPerPage-0>
+      <SegmentInfoBottomOf64Kbytes-0>False</SegmentInfoBottomOf64Kbytes-0>
+      <SettingOfFlashStartAddress-0>False</SettingOfFlashStartAddress-0>
+      <BootAreaModuleFile-0 />
+      <AllocationControlOfSelfRandomAccessMemory-0>No</AllocationControlOfSelfRandomAccessMemory-0>
+      <AllocationControlOfTraceRandomAccessMemory-0>No</AllocationControlOfTraceRandomAccessMemory-0>
+      <AllocationControlOfHotPluginRandomAccessMemory-0>No</AllocationControlOfHotPluginRandomAccessMemory-0>
+      <ReserveWorkingMemoryForRrmDmm-0>False</ReserveWorkingMemoryForRrmDmm-0>
+      <StartAddressOfWorkingMemoryForRrmDmm-0 />
+    </Instance>
+    <Instance Guid="804a01c1-c276-4d78-8726-3a750f2c8941">
+      <ErrorListFile-DefaultValue>False</ErrorListFile-DefaultValue>
+      <LinkMapFile-DefaultValue>True</LinkMapFile-DefaultValue>
+      <PreRomizeCommands-DefaultValue />
+      <RomizeFile-DefaultValue>False</RomizeFile-DefaultValue>
+      <LocalSymbolList-DefaultValue>False</LocalSymbolList-DefaultValue>
+      <PostRomizeCommands-DefaultValue />
+      <RomizeFileOutputFolder-DefaultValue>%BuildModeName%</RomizeFileOutputFolder-DefaultValue>
+      <OtherAdditionalOptions-DefaultValue />
+      <PublicSymbolList-DefaultValue>False</PublicSymbolList-DefaultValue>
+      <RomizeFileName-DefaultValue>romp.lmf</RomizeFileName-DefaultValue>
+      <CopyRoutineStartAddress-DefaultValue />
+      <MapList-DefaultValue>True</MapList-DefaultValue>
+      <FeedControlCode-DefaultValue>False</FeedControlCode-DefaultValue>
+      <RomizeAreaStartAddress-DefaultValue />
+      <NumberOfLinesPerPage-DefaultValue>0</NumberOfLinesPerPage-DefaultValue>
+      <RomizeAreaSize-DefaultValue />
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587950988583124048</TimeTagModified--0>
+      <ErrorListFile-0>False</ErrorListFile-0>
+      <LinkMapFile-0>True</LinkMapFile-0>
+      <PreRomizeCommands-0 />
+      <RomizeFile-0>False</RomizeFile-0>
+      <LocalSymbolList-0>False</LocalSymbolList-0>
+      <PostRomizeCommands-0 />
+      <RomizeFileOutputFolder-0>%BuildModeName%</RomizeFileOutputFolder-0>
+      <OtherAdditionalOptions-0 />
+      <PublicSymbolList-0>False</PublicSymbolList-0>
+      <RomizeFileName-0>romp.lmf</RomizeFileName-0>
+      <CopyRoutineStartAddress-0 />
+      <MapList-0>True</MapList-0>
+      <FeedControlCode-0>False</FeedControlCode-0>
+      <RomizeAreaStartAddress-0 />
+      <RomizeAreaSize-0 />
+    </Instance>
+    <Instance Guid="bfd8cc57-9fe7-454b-b449-7711c81ab5ec">
+      <ErrorListFile-DefaultValue>False</ErrorListFile-DefaultValue>
+      <FillingOfFreeMemorySpace-DefaultValue>True</FillingOfFreeMemorySpace-DefaultValue>
+      <HexadecimalFile-DefaultValue>True</HexadecimalFile-DefaultValue>
+      <OutputCrc-DefaultValue>False</OutputCrc-DefaultValue>
+      <PreObjectConvertCommands-DefaultValue />
+      <SymbolTableFile-DefaultValue>True</SymbolTableFile-DefaultValue>
+      <FillingValue-DefaultValue>FF</FillingValue-DefaultValue>
+      <HexadecimalFileOutputFolder-DefaultValue>%BuildModeName%</HexadecimalFileOutputFolder-DefaultValue>
+      <PostObjectConvertCommands-DefaultValue />
+      <CrcRange-DefaultValue />
+      <FillingStartAddress-DefaultValue />
+      <HexadecimalFileName-DefaultValue>%ProjectName%.hex</HexadecimalFileName-DefaultValue>
+      <OtherAdditionalOptions-DefaultValue />
+      <CrcType-DefaultValue>HighSpeed</CrcType-DefaultValue>
+      <FillingSize-DefaultValue />
+      <HexadecimalFileFormat-DefaultValue>IntelExtended</HexadecimalFileFormat-DefaultValue>
+      <SplittingOfHexadecimalFile-DefaultValue>False</SplittingOfHexadecimalFile-DefaultValue>
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587950988583124048</TimeTagModified--0>
+      <ErrorListFile-0>False</ErrorListFile-0>
+      <FillingOfFreeMemorySpace-0>True</FillingOfFreeMemorySpace-0>
+      <HexadecimalFile-0>True</HexadecimalFile-0>
+      <PreObjectConvertCommands-0 />
+      <SymbolTableFile-0>True</SymbolTableFile-0>
+      <FillingValue-0>FF</FillingValue-0>
+      <HexadecimalFileOutputFolder-0>%BuildModeName%</HexadecimalFileOutputFolder-0>
+      <PostObjectConvertCommands-0 />
+      <FillingStartAddress-0 />
+      <HexadecimalFileName-0>%ProjectName%.hex</HexadecimalFileName-0>
+      <OtherAdditionalOptions-0 />
+      <FillingSize-0 />
+      <HexadecimalFileFormat-0>IntelExtended</HexadecimalFileFormat-0>
+      <SplittingOfHexadecimalFile-0>False</SplittingOfHexadecimalFile-0>
+      <OutputCrc-0>False</OutputCrc-0>
+      <CrcRange-0 />
+      <CrcType-0>HighSpeed</CrcType-0>
+    </Instance>
+    <Instance Guid="53527542-0963-4daa-b0c4-f5d2f25ad29b">
+      <ListFile-DefaultValue>False</ListFile-DefaultValue>
+      <OutputFolder-DefaultValue>%BuildModeName%</OutputFolder-DefaultValue>
+      <PreLibraryCommands-DefaultValue />
+      <OutputFileName-DefaultValue>%ProjectName%.lib</OutputFileName-DefaultValue>
+      <PostLibraryCommands-DefaultValue />
+      <PublicSymbol-DefaultValue>False</PublicSymbol-DefaultValue>
+      <FeedControlCode-DefaultValue>False</FeedControlCode-DefaultValue>
+      <OtherAdditionalOptions-DefaultValue />
+      <NumberOfCharactersPerLine-DefaultValue>132</NumberOfCharactersPerLine-DefaultValue>
+      <NumberOfLinesPerPage-DefaultValue>0</NumberOfLinesPerPage-DefaultValue>
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587943188548891523</TimeTagModified--0>
+      <ListFile-0>False</ListFile-0>
+      <OutputFolder-0>%BuildModeName%</OutputFolder-0>
+      <PreLibraryCommands-0 />
+      <OutputFileName-0>%ProjectName%.lib</OutputFileName-0>
+      <PostLibraryCommands-0 />
+      <PublicSymbol-0>True</PublicSymbol-0>
+      <FeedControlCode-0>False</FeedControlCode-0>
+      <OtherAdditionalOptions-0 />
+      <NumberOfCharactersPerLine-0>132</NumberOfCharactersPerLine-0>
+      <NumberOfLinesPerPage-0>0</NumberOfLinesPerPage-0>
+    </Instance>
+    <Instance Guid="b8c3be84-de3b-445a-8136-13b7e1d0e992">
+      <Margin-DefaultValue>0</Margin-DefaultValue>
+      <OutputRomRamUsage-DefaultValue>False</OutputRomRamUsage-DefaultValue>
+      <VariableInformationFile-DefaultValue>False</VariableInformationFile-DefaultValue>
+      <VariableInformationFolder-DefaultValue>%BuildModeName%</VariableInformationFolder-DefaultValue>
+      <VariableInformationFileName-DefaultValue>%ProjectName%.vfi</VariableInformationFileName-DefaultValue>
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587943188548891523</TimeTagModified--0>
+      <Margin-0>0</Margin-0>
+      <OutputRomRamUsage-0>False</OutputRomRamUsage-0>
+      <VariableInformationFile-0>False</VariableInformationFile-0>
+      <VariableInformationFolder-0>%BuildModeName%</VariableInformationFolder-0>
+      <VariableInformationFileName-0>%ProjectName%.vfi</VariableInformationFileName-0>
+    </Instance>
+    <Instance Guid="40987361-18f6-477e-b977-f2e4914cb1e9">
+      <LinkOrder-0>0</LinkOrder-0>
+      <ItemAddTime>635422243912517593</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="2f2ff807-6932-4d38-9f75-69e9e93abb65">
+      <LinkOrder-0>1</LinkOrder-0>
+      <ItemAddTime>635422243912517593</ItemAddTime>
+      <ItemAddTimeCount>1</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="10893665-f44e-4f80-a4ba-bf4de073e88a">
+      <LinkOrder-0>2</LinkOrder-0>
+      <ItemAddTime>635422243912517593</ItemAddTime>
+      <ItemAddTimeCount>2</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="139f44fb-a81e-47e4-aa68-4d03a7baf25b">
+      <LinkOrder-0>3</LinkOrder-0>
+      <ItemAddTime>635422243912517593</ItemAddTime>
+      <ItemAddTimeCount>3</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="2d734b35-41d9-4267-95ed-19f02cbc97df">
+      <LinkOrder-0>4</LinkOrder-0>
+      <ItemAddTime>635422243912517593</ItemAddTime>
+      <ItemAddTimeCount>4</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="f96a230a-4062-427f-a93e-a64669d46c91">
+      <LinkOrder-0>5</LinkOrder-0>
+      <ItemAddTime>635422243912517593</ItemAddTime>
+      <ItemAddTimeCount>5</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="b29474d7-0eb0-4fc6-8e8c-40d70f4a75db">
+      <LinkOrder-0>6</LinkOrder-0>
+      <ItemAddTime>635422244236386117</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="1ea99bf7-471b-4f8f-861b-01a260ce76d3">
+      <LinkOrder-0>7</LinkOrder-0>
+      <ItemAddTime>635422244236386117</ItemAddTime>
+      <ItemAddTimeCount>1</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="0b1e57c4-00b1-4690-892d-11fb8d6ad359">
+      <LinkOrder-0>8</LinkOrder-0>
+      <ItemAddTime>635422244236386117</ItemAddTime>
+      <ItemAddTimeCount>2</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="d561463f-863b-4b17-94a6-c8b280bf251b">
+      <LinkOrder-0>9</LinkOrder-0>
+      <ItemAddTime>635422244236386117</ItemAddTime>
+      <ItemAddTimeCount>3</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="fb335934-1a57-464a-944a-5e24bd15a011">
+      <LinkOrder-0>10</LinkOrder-0>
+      <ItemAddTime>635422244236386117</ItemAddTime>
+      <ItemAddTimeCount>4</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="8fab0c6d-a6ad-4df7-8d4e-3b4d3b0b23d3">
+      <LinkOrder-0>11</LinkOrder-0>
+      <ItemAddTime>635422244236386117</ItemAddTime>
+      <ItemAddTimeCount>5</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="5c4a6a7a-5eee-4ee5-8e2a-d8755260bb01">
+      <LinkOrder-0>12</LinkOrder-0>
+      <ItemAddTime>635422466286596663</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="6b16e31b-4514-4c6e-bcdd-f0488bb94485">
+      <LinkOrder-0>13</LinkOrder-0>
+      <ItemAddTime>635422467542518497</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="86d960bd-ff4c-4005-8b3b-1d51dc108563">
+      <LinkOrder-0>14</LinkOrder-0>
+      <ItemAddTime>635423458321365367</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="d50571ed-ab38-4aa1-8994-964045c49bec">
+      <LinkOrder-0>15</LinkOrder-0>
+      <ItemAddTime>635428532428001895</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="2acbc34b-d429-4649-84ce-d8af29b834f3">
+      <LinkOrder-0>16</LinkOrder-0>
+      <ItemAddTime>635429102898114388</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="8902a2a0-7f3a-426c-b6b0-d589214d7c19">
+      <LinkOrder-0>17</LinkOrder-0>
+      <ItemAddTime>635427645215567247</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="ad1362b5-e7a8-4582-8a79-513ee62e8cc2">
+      <ItemAddTime>635423458321365367</ItemAddTime>
+      <ItemAddTimeCount>1</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="77a09022-dae3-4347-8f02-e7ed6567380d">
+      <ItemAddTime>635423458321365367</ItemAddTime>
+      <ItemAddTimeCount>2</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="75fba740-2e78-4658-8908-362ac067a54e">
+      <ItemAddTime>635423458463993525</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="ff8e6579-8965-4097-acfc-a1a3a541a56f">
+      <ItemAddTime>635423458463993525</ItemAddTime>
+      <ItemAddTimeCount>1</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="3f0c1418-f5b6-46c7-ab3a-1e97de359d26">
+      <ItemAddTime>635423458463993525</ItemAddTime>
+      <ItemAddTimeCount>2</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="f91d30ba-4103-41f6-92fb-12aec03f4f3a">
+      <ItemAddTime>635442137503087944</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="10a62d29-0653-4675-9a54-35ef74363205">
+      <ItemAddTime>635423458463993525</ItemAddTime>
+      <ItemAddTimeCount>4</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="5a6ae3df-b538-4474-b8bb-da7866a003c2">
+      <ItemAddTime>635423458463993525</ItemAddTime>
+      <ItemAddTimeCount>5</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="005b4d5d-7a09-4e1a-8b9e-9d56d3525584">
+      <ItemAddTime>635423458463993525</ItemAddTime>
+      <ItemAddTimeCount>8</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="445df11c-22e2-46df-a31f-7a178572b6b5">
+      <ItemAddTime>635423458463993525</ItemAddTime>
+      <ItemAddTimeCount>9</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="6c939158-f138-4d08-bb71-a970067e6a10">
+      <ItemAddTime>635423464337869491</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="2f34415a-4444-49ad-8407-51ff66ec2acb">
+      <ItemAddTime>635427468408894484</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="34246a69-a591-4e4d-af71-183af8b37694">
+      <ItemAddTime>635427468408894484</ItemAddTime>
+      <ItemAddTimeCount>1</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="a160d0fe-32fe-4771-9b58-050c8dca0e75">
+      <ItemAddTime>635427468408894484</ItemAddTime>
+      <ItemAddTimeCount>2</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="4a74e494-5047-4538-8e62-f932f0662905">
+      <ItemAddTime>635427468408894484</ItemAddTime>
+      <ItemAddTimeCount>3</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="77ca8161-d40c-492d-8111-ff6151bccf03">
+      <ItemAddTime>635427468408894484</ItemAddTime>
+      <ItemAddTimeCount>4</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="0eb0688f-24f7-4c3c-8a88-84d7442f55ca">
+      <ItemAddTime>635434492275710144</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="4aa33f28-e091-4772-b0f0-fd1f35994ddf">
+      <ItemAddTime>635439827701773266</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="f0ffdb81-f87d-4dbe-acac-c1e6f6f74a5e">
+      <ItemAddTime>635442129714852482</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="86e0c5fb-1d25-4e9f-97cd-484431baaaa9">
+      <ItemAddTime>635442130198630153</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="5f089456-857b-49eb-b086-7a4ee0541ff1">
+      <ItemAddTime>635442130198630153</ItemAddTime>
+      <ItemAddTimeCount>1</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="2b771e75-8341-44e4-a799-92342f877cb4">
+      <ItemAddTime>635442130198630153</ItemAddTime>
+      <ItemAddTimeCount>2</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="6e65a7f2-f762-4afe-a498-444ac75ee9d9">
+      <ItemAddTime>635442130198630153</ItemAddTime>
+      <ItemAddTimeCount>3</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="0759954a-a743-42d4-9c7f-f7962a74c6f0">
+      <ItemAddTime>635442130198630153</ItemAddTime>
+      <ItemAddTimeCount>4</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="083cf503-22ba-4c4e-9e43-45f1194e19be">
+      <ItemAddTime>635442130198630153</ItemAddTime>
+      <ItemAddTimeCount>5</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="ac70b854-3703-4d52-bd8a-75d9835d4021">
+      <ItemAddTime>635442130198630153</ItemAddTime>
+      <ItemAddTimeCount>6</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="a64ca478-ebff-4492-acca-c1bf6dc98a69">
+      <ItemAddTime>635442130198630153</ItemAddTime>
+      <ItemAddTimeCount>7</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="5d29b8bd-fda2-4523-a3a4-873be3717627">
+      <ItemAddTime>635442132219915764</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="f00a67c8-7195-4e48-ae24-d375a66960bc">
+      <ItemAddTime>635442133076414753</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="494c9750-8a14-437e-bec8-faf910eeac59">
+      <ItemAddTime>635442133076414753</ItemAddTime>
+      <ItemAddTimeCount>1</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="105b3b9d-e11e-45e8-a67d-6f8790524991">
+      <ItemAddTime>635442133076414753</ItemAddTime>
+      <ItemAddTimeCount>2</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="ddd8be48-811f-4310-a1ed-4c5b34c894b6">
+      <ItemAddTime>635442133076414753</ItemAddTime>
+      <ItemAddTimeCount>3</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="b6378127-ff32-43d4-980c-e66acda0b8a9">
+      <ItemAddTime>635442133076414753</ItemAddTime>
+      <ItemAddTimeCount>4</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="b6881c52-2c0a-4d6b-8679-c26ba50955e9">
+      <ItemAddTime>635442133076414753</ItemAddTime>
+      <ItemAddTimeCount>5</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="37f04318-1a39-4aa3-97f5-515b3edeb45f">
+      <ItemAddTime>635442153751937325</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="8144a4be-23e5-4898-b3ba-690304773fee">
+      <ItemAddTime>635442155110125009</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="0417a587-c0b5-4869-915f-6c634a0b3268">
+      <ItemAddTime>635442157335032266</ItemAddTime>
+      <ItemAddTimeCount>1</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="73c96241-d34b-440f-9cb5-604374cd120a">
+      <ItemAddTime>635442157335032266</ItemAddTime>
+      <ItemAddTimeCount>3</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="9f0970e0-35f6-4be7-937c-fc06c83f6237">
+      <ItemAddTime>635442157335032266</ItemAddTime>
+      <ItemAddTimeCount>4</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="2317529b-91c1-49b6-8351-6d8f51718b0d">
+      <TimeTagModified-SourceItem0--0>-8587948896516906317</TimeTagModified-SourceItem0--0>
+      <SourceItem0-IsLockedByUser>False</SourceItem0-IsLockedByUser>
+      <SourceItem0-BuildingTarget-0>True</SourceItem0-BuildingTarget-0>
+    </Instance>
+    <Instance Guid="e64dc9e1-8c43-42d3-afc8-97f426cc2a3b">
+      <TimeTagModified-SourceItem1--0>-8587944715639208561</TimeTagModified-SourceItem1--0>
+      <SourceItem1-IsLockedByUser>False</SourceItem1-IsLockedByUser>
+      <SourceItem1-BuildingTarget-0>True</SourceItem1-BuildingTarget-0>
+      <SourceItem1-IndividualAssembleOption-0>False</SourceItem1-IndividualAssembleOption-0>
+      <TimeTagModified-SourceItem15--0>-8587943828426773913</TimeTagModified-SourceItem15--0>
+      <SourceItem15-IsLockedByUser>False</SourceItem15-IsLockedByUser>
+      <SourceItem15-BuildingTarget-0>True</SourceItem15-BuildingTarget-0>
+      <SourceItem15-IndividualAssembleOption-0>False</SourceItem15-IndividualAssembleOption-0>
+      <TimeTagModified-SourceItem16--0>-8587943257956661420</TimeTagModified-SourceItem16--0>
+      <SourceItem16-IsLockedByUser>False</SourceItem16-IsLockedByUser>
+      <SourceItem16-BuildingTarget-0>True</SourceItem16-BuildingTarget-0>
+      <SourceItem16-IndividualAssembleOption-0>False</SourceItem16-IndividualAssembleOption-0>
+    </Instance>
+    <Instance Guid="fc999d8f-43d6-4cb3-af4b-cf6891d759fb">
+      <TimeTagModified-SourceItem2--0>-8587950116618379690</TimeTagModified-SourceItem2--0>
+      <SourceItem2-IsLockedByUser>False</SourceItem2-IsLockedByUser>
+      <SourceItem2-BuildingTarget-0>True</SourceItem2-BuildingTarget-0>
+      <SourceItem2-IndividualCompileOption-0>False</SourceItem2-IndividualCompileOption-0>
+      <TimeTagModified-SourceItem3--0>-8587950116618379690</TimeTagModified-SourceItem3--0>
+      <SourceItem3-IsLockedByUser>False</SourceItem3-IsLockedByUser>
+      <SourceItem3-BuildingTarget-0>True</SourceItem3-BuildingTarget-0>
+      <SourceItem3-IndividualCompileOption-0>False</SourceItem3-IndividualCompileOption-0>
+      <TimeTagModified-SourceItem4--0>-8587950116618379690</TimeTagModified-SourceItem4--0>
+      <SourceItem4-IsLockedByUser>False</SourceItem4-IsLockedByUser>
+      <SourceItem4-BuildingTarget-0>True</SourceItem4-BuildingTarget-0>
+      <SourceItem4-IndividualCompileOption-0>False</SourceItem4-IndividualCompileOption-0>
+      <TimeTagModified-SourceItem5--0>-8587950116618389691</TimeTagModified-SourceItem5--0>
+      <SourceItem5-IsLockedByUser>False</SourceItem5-IsLockedByUser>
+      <SourceItem5-BuildingTarget-0>True</SourceItem5-BuildingTarget-0>
+      <SourceItem5-IndividualCompileOption-0>False</SourceItem5-IndividualCompileOption-0>
+      <TimeTagModified-SourceItem6--0>-8587950116618379690</TimeTagModified-SourceItem6--0>
+      <SourceItem6-IsLockedByUser>False</SourceItem6-IsLockedByUser>
+      <SourceItem6-BuildingTarget-0>True</SourceItem6-BuildingTarget-0>
+      <SourceItem6-IndividualCompileOption-0>False</SourceItem6-IndividualCompileOption-0>
+      <TimeTagModified-SourceItem7--0>-8587950116618379690</TimeTagModified-SourceItem7--0>
+      <SourceItem7-IsLockedByUser>False</SourceItem7-IsLockedByUser>
+      <SourceItem7-BuildingTarget-0>True</SourceItem7-BuildingTarget-0>
+      <SourceItem7-IndividualCompileOption-0>False</SourceItem7-IndividualCompileOption-0>
+      <TimeTagModified-SourceItem8--0>-8587950116942248215</TimeTagModified-SourceItem8--0>
+      <SourceItem8-IsLockedByUser>False</SourceItem8-IsLockedByUser>
+      <SourceItem8-BuildingTarget-0>True</SourceItem8-BuildingTarget-0>
+      <SourceItem8-IndividualCompileOption-0>False</SourceItem8-IndividualCompileOption-0>
+      <TimeTagModified-SourceItem9--0>-8587950116942248215</TimeTagModified-SourceItem9--0>
+      <SourceItem9-IsLockedByUser>False</SourceItem9-IsLockedByUser>
+      <SourceItem9-BuildingTarget-0>True</SourceItem9-BuildingTarget-0>
+      <SourceItem9-IndividualCompileOption-0>False</SourceItem9-IndividualCompileOption-0>
+      <TimeTagModified-SourceItem10--0>-8587950116942248215</TimeTagModified-SourceItem10--0>
+      <SourceItem10-IsLockedByUser>False</SourceItem10-IsLockedByUser>
+      <SourceItem10-BuildingTarget-0>True</SourceItem10-BuildingTarget-0>
+      <SourceItem10-IndividualCompileOption-0>False</SourceItem10-IndividualCompileOption-0>
+      <TimeTagModified-SourceItem11--0>-8587950116942248215</TimeTagModified-SourceItem11--0>
+      <SourceItem11-IsLockedByUser>False</SourceItem11-IsLockedByUser>
+      <SourceItem11-BuildingTarget-0>True</SourceItem11-BuildingTarget-0>
+      <SourceItem11-IndividualCompileOption-0>False</SourceItem11-IndividualCompileOption-0>
+      <TimeTagModified-SourceItem12--0>-8587950116942248215</TimeTagModified-SourceItem12--0>
+      <SourceItem12-IsLockedByUser>False</SourceItem12-IsLockedByUser>
+      <SourceItem12-BuildingTarget-0>True</SourceItem12-BuildingTarget-0>
+      <SourceItem12-IndividualCompileOption-0>False</SourceItem12-IndividualCompileOption-0>
+      <TimeTagModified-SourceItem13--0>-8587950116942248215</TimeTagModified-SourceItem13--0>
+      <SourceItem13-IsLockedByUser>False</SourceItem13-IsLockedByUser>
+      <SourceItem13-BuildingTarget-0>True</SourceItem13-BuildingTarget-0>
+      <SourceItem13-IndividualCompileOption-0>False</SourceItem13-IndividualCompileOption-0>
+      <TimeTagModified-SourceItem14--0>-8587949894568169145</TimeTagModified-SourceItem14--0>
+      <SourceItem14-IsLockedByUser>False</SourceItem14-IsLockedByUser>
+      <SourceItem14-BuildingTarget-0>True</SourceItem14-BuildingTarget-0>
+      <SourceItem14-IndividualCompileOption-0>False</SourceItem14-IndividualCompileOption-0>
+      <TimeTagModified-SourceItem17--0>-8587949893312247310</TimeTagModified-SourceItem17--0>
+      <SourceItem17-IsLockedByUser>False</SourceItem17-IsLockedByUser>
+      <SourceItem17-BuildingTarget-0>True</SourceItem17-BuildingTarget-0>
+      <SourceItem17-IndividualCompileOption-0>False</SourceItem17-IndividualCompileOption-0>
+      <TimeTagModified-SourceItem18--0>-8587948902533410441</TimeTagModified-SourceItem18--0>
+      <SourceItem18-IsLockedByUser>False</SourceItem18-IsLockedByUser>
+      <SourceItem18-BuildingTarget-0>True</SourceItem18-BuildingTarget-0>
+      <SourceItem18-IndividualCompileOption-0>False</SourceItem18-IndividualCompileOption-0>
+    </Instance>
+  </Class>
+  <Class Guid="44fa27c9-0aa0-4297-bd3b-2c5c5bdb8881">
+    <Instance Guid="44fa27c9-0aa0-4297-bd3b-2c5c5bdb8881">
+      <IsLibraryMode>True</IsLibraryMode>
+      <StartUpCategoryItem>00000000-0000-0000-0000-000000000000</StartUpCategoryItem>
+    </Instance>
+  </Class>
+  <Class Guid="2890788c-ef94-47c1-b7a0-ea78a63c62b8">
+    <Instance Guid="94bc6931-8ae1-4fe8-8c88-72587525d642">
+      <ContainLinkDirectiveData>False</ContainLinkDirectiveData>
+    </Instance>
+  </Class>
+  <Class Guid="2a2c2a43-ecdb-4e88-80bd-e75f3e33db90">
+    <Instance Guid="2a2c2a43-ecdb-4e88-80bd-e75f3e33db90">
+      <ProductVersion>4.02.00.00</ProductVersion>
+    </Instance>
+  </Class>
+</CubeSuiteProject>
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/ssp_rl78/sample1/sample1.mtsp
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/ssp_rl78/sample1/sample1.mtsp	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/ssp_rl78/sample1/sample1.mtsp	(revision 93)
@@ -0,0 +1,1570 @@
+<CubeSuiteProject>
+  <ProductVersion>4.02.00.00</ProductVersion>
+  <Class Guid="68f4a651-b9cd-473b-a595-b00447132ffa">
+    <Instance Guid="00000000-0000-0000-0000-000000000000">
+      <FormatVersion>2.0</FormatVersion>
+      <FileVersion>4.2</FileVersion>
+      <ProjectGuid>ee86804a-dcb0-40c0-9f7e-65eb050a2ab6</ProjectGuid>
+      <ProjectItemGuid>bcf50a4b-f271-4fff-b6fd-2360bbc34071</ProjectItemGuid>
+      <FileCategoryGuid>76cfde28-1978-489c-989a-d903e3b1a8d3</FileCategoryGuid>
+      <Property>fb98844b-2c27-4275-9804-f6e63e204da0</Property>
+    </Instance>
+    <Instance Guid="b439f2f7-d7de-4cd1-aefe-8b0d92aa4819">
+      <Name>include</Name>
+      <Type>Category</Type>
+      <ParentItem>76cfde28-1978-489c-989a-d903e3b1a8d3</ParentItem>
+      <Property>23bde92d-e896-48b5-8349-67054d6386f6</Property>
+    </Instance>
+    <Instance Guid="0a8f2d29-0a4a-4fa8-843f-805131bff883">
+      <Name>sample</Name>
+      <Type>Category</Type>
+      <ParentItem>76cfde28-1978-489c-989a-d903e3b1a8d3</ParentItem>
+      <Property>a828f86f-ad84-4a8f-bda8-d06564c6cbdd</Property>
+    </Instance>
+    <Instance Guid="8ae3ad93-152b-441c-9c20-6db271e79f3d">
+      <Name>syssvc</Name>
+      <Type>Category</Type>
+      <ParentItem>76cfde28-1978-489c-989a-d903e3b1a8d3</ParentItem>
+      <Property>a5435c34-2fda-457e-9d4b-4600e7ac55c2</Property>
+    </Instance>
+    <Instance Guid="877ecf4f-ebd2-4c54-a8b7-54ac65099e6f">
+      <Name>hardware definition</Name>
+      <Type>Category</Type>
+      <ParentItem>76cfde28-1978-489c-989a-d903e3b1a8d3</ParentItem>
+      <Property>a572f6dc-7684-41ec-be6a-2e5186c05300</Property>
+    </Instance>
+    <Instance Guid="7bc9c631-e216-45a6-ae59-c4ba31c71c19">
+      <Name>startup</Name>
+      <Type>Category</Type>
+      <ParentItem>76cfde28-1978-489c-989a-d903e3b1a8d3</ParentItem>
+      <Property>7d8869bf-2dca-41c9-8d63-ca4dbe0afc08</Property>
+    </Instance>
+    <Instance Guid="25c9873f-d818-4a10-a3a6-ae1c52a42535">
+      <Name>libkernel.lib</Name>
+      <Type>File</Type>
+      <RelativePath>..\libkernel\DefaultBuild\libkernel.lib</RelativePath>
+      <TreeImageGuid>7b85280b-7850-438e-9957-3b011f52c619</TreeImageGuid>
+      <ParentItem>76cfde28-1978-489c-989a-d903e3b1a8d3</ParentItem>
+      <Property>e171cc08-631d-46e9-b372-a1d6e29f54ee</Property>
+    </Instance>
+    <Instance Guid="4deb1ad4-921e-4a4e-9fa0-433f135d1da9">
+      <Name>ã¹ã¿ã¼ãã¢ãã</Name>
+      <Type>Category</Type>
+      <TreeImageGuid>ca577376-6f97-4ef1-9fe7-b03e86e75233</TreeImageGuid>
+      <ParentItem>76cfde28-1978-489c-989a-d903e3b1a8d3</ParentItem>
+      <Property>6a0e7e9d-0747-48d6-94e1-66c46dbe9ab7</Property>
+    </Instance>
+    <Instance Guid="f9453dd6-651d-4dcd-acf1-d67c88344078">
+      <Name>sil.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\include\sil.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>b439f2f7-d7de-4cd1-aefe-8b0d92aa4819</ParentItem>
+      <Property>3daf4151-f428-4a50-b71f-512737da6c1b</Property>
+    </Instance>
+    <Instance Guid="0dc35a91-1a70-421b-939b-b67701e0b9e8">
+      <Name>kernel.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\include\kernel.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>b439f2f7-d7de-4cd1-aefe-8b0d92aa4819</ParentItem>
+      <Property>e01d9173-a89f-4207-b998-6d1513e24c8a</Property>
+    </Instance>
+    <Instance Guid="5807149d-644e-46b3-8485-2f47c40a9e5e">
+      <Name>t_stddef.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\include\t_stddef.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>b439f2f7-d7de-4cd1-aefe-8b0d92aa4819</ParentItem>
+      <Property>9bea8ff6-c160-4936-87ff-7da4eb307a17</Property>
+    </Instance>
+    <Instance Guid="58dde2bb-b215-4d54-9af6-ac3ee28ea8cd">
+      <Name>t_syslog.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\include\t_syslog.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>b439f2f7-d7de-4cd1-aefe-8b0d92aa4819</ParentItem>
+      <Property>7294d493-c680-4392-a552-425c14f2b292</Property>
+    </Instance>
+    <Instance Guid="42dc1008-6036-4e22-8b7c-b7ee6bfeebd5">
+      <Name>configuration result</Name>
+      <Type>Category</Type>
+      <ParentItem>0a8f2d29-0a4a-4fa8-843f-805131bff883</ParentItem>
+      <Property>29438672-0e42-4889-b203-ea0a4b2b38eb</Property>
+    </Instance>
+    <Instance Guid="893374d3-d605-43c5-852d-2a2f4214bb35">
+      <Name>sample1.c</Name>
+      <Type>File</Type>
+      <RelativePath>src\sample1.c</RelativePath>
+      <TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
+      <ParentItem>0a8f2d29-0a4a-4fa8-843f-805131bff883</ParentItem>
+      <Property>109dec70-629e-4c4f-988c-36b50def87e0</Property>
+    </Instance>
+    <Instance Guid="5e84e4ac-aa2b-495a-8868-67c1109a7edd">
+      <Name>sample1.cfg</Name>
+      <Type>File</Type>
+      <RelativePath>src\sample1.cfg</RelativePath>
+      <ParentItem>0a8f2d29-0a4a-4fa8-843f-805131bff883</ParentItem>
+      <Property>8fd2f36c-e25d-4595-aaf0-02717a976b74</Property>
+    </Instance>
+    <Instance Guid="1fcdfc8d-5d9b-4592-b581-e0cd0862103e">
+      <Name>sample1.h</Name>
+      <Type>File</Type>
+      <RelativePath>src\sample1.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>0a8f2d29-0a4a-4fa8-843f-805131bff883</ParentItem>
+      <Property>877e1a6a-403c-4524-8161-42dd10589a76</Property>
+    </Instance>
+    <Instance Guid="54f2e21d-ba56-4825-b57e-0c11dd94d457">
+      <Name>kernel_cfg.c</Name>
+      <Type>File</Type>
+      <RelativePath>sys-cfg\DefaultBuild\kernel_cfg.c</RelativePath>
+      <TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
+      <ParentItem>42dc1008-6036-4e22-8b7c-b7ee6bfeebd5</ParentItem>
+      <Property>9a566d94-99ea-4e36-84ae-b1f0b61af587</Property>
+    </Instance>
+    <Instance Guid="7e8031a0-c807-4bc4-bbc3-2081767a6035">
+      <Name>kernel_cfg.h</Name>
+      <Type>File</Type>
+      <RelativePath>sys-cfg\DefaultBuild\kernel_cfg.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>42dc1008-6036-4e22-8b7c-b7ee6bfeebd5</ParentItem>
+      <Property>39faf05c-fdd3-41a8-9fb8-432ed8dc00da</Property>
+    </Instance>
+    <Instance Guid="21217b1e-993d-4a69-8b7b-145d277eb1d5">
+      <Name>kernel_cfg_asm.asm</Name>
+      <Type>File</Type>
+      <RelativePath>sys-cfg\DefaultBuild\kernel_cfg_asm.asm</RelativePath>
+      <TreeImageGuid>f654126d-e7ad-426d-be34-8455271d959b</TreeImageGuid>
+      <ParentItem>42dc1008-6036-4e22-8b7c-b7ee6bfeebd5</ParentItem>
+      <Property>d1623cf1-cce8-468f-8d62-f401367319f3</Property>
+    </Instance>
+    <Instance Guid="8cb798c3-9fff-4514-8b7f-a662e2ae825e">
+      <Name>syslog</Name>
+      <Type>Category</Type>
+      <ParentItem>8ae3ad93-152b-441c-9c20-6db271e79f3d</ParentItem>
+      <Property>66cf6bb1-9322-4baa-8b55-27331e8f4363</Property>
+    </Instance>
+    <Instance Guid="45618d33-b625-4270-9fb1-165d887fc01a">
+      <Name>logtask</Name>
+      <Type>Category</Type>
+      <ParentItem>8ae3ad93-152b-441c-9c20-6db271e79f3d</ParentItem>
+      <Property>b883c084-bb18-44d4-8f01-430fa4d41dcf</Property>
+    </Instance>
+    <Instance Guid="a29aa59f-df1b-4424-a50b-4d305c665de1">
+      <Name>banner</Name>
+      <Type>Category</Type>
+      <ParentItem>8ae3ad93-152b-441c-9c20-6db271e79f3d</ParentItem>
+      <Property>e4813998-6604-4e69-b125-e4664f617997</Property>
+    </Instance>
+    <Instance Guid="d0e7d422-1234-446f-9bf7-2bf0add133a7">
+      <Name>serial</Name>
+      <Type>Category</Type>
+      <ParentItem>8ae3ad93-152b-441c-9c20-6db271e79f3d</ParentItem>
+      <Property>9839e4f4-2630-4fbc-b193-5673e137f61d</Property>
+    </Instance>
+    <Instance Guid="187e6e53-a939-4450-9c24-f4f4293941b1">
+      <Name>syslog.c</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\syssvc\syslog.c</RelativePath>
+      <TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
+      <ParentItem>8cb798c3-9fff-4514-8b7f-a662e2ae825e</ParentItem>
+      <Property>538bef4d-68c0-4a7a-9f2b-482ec19071fe</Property>
+    </Instance>
+    <Instance Guid="45ddd5af-762d-4d65-9181-d3f87ef2d277">
+      <Name>syslog.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\syssvc\syslog.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>8cb798c3-9fff-4514-8b7f-a662e2ae825e</ParentItem>
+      <Property>0a9265f6-1049-48f8-b340-e027174e3f69</Property>
+    </Instance>
+    <Instance Guid="f8e9d5d3-56bf-4740-aa6c-ce94dc643aae">
+      <Name>syslog.cfg</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\syssvc\syslog.cfg</RelativePath>
+      <ParentItem>8cb798c3-9fff-4514-8b7f-a662e2ae825e</ParentItem>
+      <Property>d748ce96-aaab-4943-881a-e1012e758a0a</Property>
+    </Instance>
+    <Instance Guid="a71f24fd-6336-4146-b483-1a1199abaf79">
+      <Name>vasyslog.c</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\syssvc\vasyslog.c</RelativePath>
+      <TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
+      <ParentItem>8cb798c3-9fff-4514-8b7f-a662e2ae825e</ParentItem>
+      <Property>d49268c9-526b-4bfd-8073-a8b96a80c3d7</Property>
+    </Instance>
+    <Instance Guid="89eba5b1-b993-4f38-a70e-be807d675137">
+      <Name>log_output.c</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\syssvc\log_output.c</RelativePath>
+      <TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
+      <ParentItem>8cb798c3-9fff-4514-8b7f-a662e2ae825e</ParentItem>
+      <Property>41249e84-d4b1-426a-87f4-6f0eec7b8444</Property>
+    </Instance>
+    <Instance Guid="735125f8-8b24-442a-8bed-2677cdcc7c80">
+      <Name>log_output.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\include\log_output.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>8cb798c3-9fff-4514-8b7f-a662e2ae825e</ParentItem>
+      <Property>3f1d3c9b-18c8-4eac-9ac5-0538589594f5</Property>
+    </Instance>
+    <Instance Guid="c5d37ff3-fae5-401a-b81e-f8109f5b2086">
+      <Name>logtask.c</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\syssvc\logtask.c</RelativePath>
+      <TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
+      <ParentItem>45618d33-b625-4270-9fb1-165d887fc01a</ParentItem>
+      <Property>45825ab1-6459-43a7-82b9-7a630652d856</Property>
+    </Instance>
+    <Instance Guid="e6ce99e7-058e-4b21-90d0-33ceca86140a">
+      <Name>logtask.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\syssvc\logtask.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>45618d33-b625-4270-9fb1-165d887fc01a</ParentItem>
+      <Property>7ce1e601-4d6c-4565-97d2-b2f107cfa5c3</Property>
+    </Instance>
+    <Instance Guid="44415b07-9ec9-4c48-bdae-862c4f41194e">
+      <Name>logtask.cfg</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\syssvc\logtask.cfg</RelativePath>
+      <ParentItem>45618d33-b625-4270-9fb1-165d887fc01a</ParentItem>
+      <Property>a215f770-b93f-47d8-821d-992b46387fef</Property>
+    </Instance>
+    <Instance Guid="e6e79bf5-f9f3-48a2-97ad-ed0ae7fc57af">
+      <Name>banner.c</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\syssvc\banner.c</RelativePath>
+      <TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
+      <ParentItem>a29aa59f-df1b-4424-a50b-4d305c665de1</ParentItem>
+      <Property>d895b23c-bb3b-4079-985e-23e81b4b792e</Property>
+    </Instance>
+    <Instance Guid="340261ad-8bf7-4a71-8aea-d63808e72657">
+      <Name>banner.cfg</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\syssvc\banner.cfg</RelativePath>
+      <ParentItem>a29aa59f-df1b-4424-a50b-4d305c665de1</ParentItem>
+      <Property>d2da9304-7e28-453a-a171-d5ad270ffae5</Property>
+    </Instance>
+    <Instance Guid="3f71020f-ac3f-48b7-8e3d-91ceb725c909">
+      <Name>banner.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\syssvc\banner.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>a29aa59f-df1b-4424-a50b-4d305c665de1</ParentItem>
+      <Property>4e659f8e-9036-4c15-884c-90a6b244af21</Property>
+    </Instance>
+    <Instance Guid="4c905938-f17d-46d2-b596-0d09a6fd0a10">
+      <Name>serial.c</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\syssvc\serial.c</RelativePath>
+      <TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
+      <ParentItem>d0e7d422-1234-446f-9bf7-2bf0add133a7</ParentItem>
+      <Property>0a944bcd-baa2-41af-9102-29cc08eb8dd3</Property>
+    </Instance>
+    <Instance Guid="bc2f22f1-13ba-4222-8d62-5b7d404db295">
+      <Name>serial.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\syssvc\serial.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>d0e7d422-1234-446f-9bf7-2bf0add133a7</ParentItem>
+      <Property>422e1d96-d3f8-4c97-874d-c9bd3310b6b6</Property>
+    </Instance>
+    <Instance Guid="19ed1db8-fc68-4151-942d-b3057c12c378">
+      <Name>serial.cfg</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\syssvc\serial.cfg</RelativePath>
+      <ParentItem>d0e7d422-1234-446f-9bf7-2bf0add133a7</ParentItem>
+      <Property>c439a50d-4c60-45fd-852d-8275d0586818</Property>
+    </Instance>
+    <Instance Guid="a08ebd83-db2b-49cb-aa58-622d8d309521">
+      <Name>target_serial.c</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\target_serial.c</RelativePath>
+      <TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
+      <ParentItem>d0e7d422-1234-446f-9bf7-2bf0add133a7</ParentItem>
+      <Property>d9d970d5-4eac-4503-bbe6-dcaefdcf3e78</Property>
+    </Instance>
+    <Instance Guid="60410485-d339-48c0-beac-66a355b6ba02">
+      <Name>target_serial.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\target_serial.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>d0e7d422-1234-446f-9bf7-2bf0add133a7</ParentItem>
+      <Property>dfccdd87-a505-4faf-af31-4579f9fad8a5</Property>
+    </Instance>
+    <Instance Guid="c0989507-b1c4-4227-8c35-a14cf51f0404">
+      <Name>rl78g13.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\arch\rl78_ca78k0r\rl78g13.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>877ecf4f-ebd2-4c54-a8b7-54ac65099e6f</ParentItem>
+      <Property>ae84d694-7145-4f22-8ba8-27301daf0e62</Property>
+    </Instance>
+    <Instance Guid="ddc50a31-4c6d-4816-bbd4-2a4cd411b045">
+      <Name>qb_r5f100le.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\qb_r5f100le.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>877ecf4f-ebd2-4c54-a8b7-54ac65099e6f</ParentItem>
+      <Property>4f30729e-7ae4-44b7-b9b4-dea12e79cc66</Property>
+    </Instance>
+    <Instance Guid="3eda61f4-a0fb-47b4-a973-6f193163e513">
+      <Name>ssp_rl78.dr</Name>
+      <Type>File</Type>
+      <RelativePath>..\ssp_rl78.dr</RelativePath>
+      <TreeImageGuid>a4460d02-6943-4122-9169-dd699e916213</TreeImageGuid>
+      <ParentItem>877ecf4f-ebd2-4c54-a8b7-54ac65099e6f</ParentItem>
+      <Property>18d3519e-4fa5-4aef-b64f-27fcc64fd0f9</Property>
+    </Instance>
+    <Instance Guid="092c1962-7073-440e-a14a-31b769d2792e">
+      <Name>segment_s.asm</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\arch\rl78_ca78k0r\segment_s.asm</RelativePath>
+      <TreeImageGuid>f654126d-e7ad-426d-be34-8455271d959b</TreeImageGuid>
+      <ParentItem>7bc9c631-e216-45a6-ae59-c4ba31c71c19</ParentItem>
+      <Property>d25d4e81-ae28-4005-af46-6883c4976554</Property>
+    </Instance>
+    <Instance Guid="bb5cfc61-c3a0-4d50-b2f1-48a008eaba88">
+      <Name>start.asm</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\arch\rl78_ca78k0r\start.asm</RelativePath>
+      <TreeImageGuid>f654126d-e7ad-426d-be34-8455271d959b</TreeImageGuid>
+      <ParentItem>7bc9c631-e216-45a6-ae59-c4ba31c71c19</ParentItem>
+      <Property>0591bf89-ca4f-4c43-a0d2-25d59af33a96</Property>
+    </Instance>
+  </Class>
+  <Class Guid="fb98844b-2c27-4275-9804-f6e63e204da0">
+    <Instance Guid="2a349cb6-b982-4ade-adcd-104b883ad81c">
+      <MemoCount>0</MemoCount>
+    </Instance>
+  </Class>
+  <Class Guid="0d548289-d5e9-4893-9a8f-9374b13f19a9">
+    <Instance Guid="e171cc08-631d-46e9-b372-a1d6e29f54ee">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="3daf4151-f428-4a50-b71f-512737da6c1b">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="e01d9173-a89f-4207-b998-6d1513e24c8a">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="9bea8ff6-c160-4936-87ff-7da4eb307a17">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="7294d493-c680-4392-a552-425c14f2b292">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="109dec70-629e-4c4f-988c-36b50def87e0">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="8fd2f36c-e25d-4595-aaf0-02717a976b74">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="877e1a6a-403c-4524-8161-42dd10589a76">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="9a566d94-99ea-4e36-84ae-b1f0b61af587">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="39faf05c-fdd3-41a8-9fb8-432ed8dc00da">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="d1623cf1-cce8-468f-8d62-f401367319f3">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="538bef4d-68c0-4a7a-9f2b-482ec19071fe">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="0a9265f6-1049-48f8-b340-e027174e3f69">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="d748ce96-aaab-4943-881a-e1012e758a0a">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="d49268c9-526b-4bfd-8073-a8b96a80c3d7">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="41249e84-d4b1-426a-87f4-6f0eec7b8444">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="3f1d3c9b-18c8-4eac-9ac5-0538589594f5">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="45825ab1-6459-43a7-82b9-7a630652d856">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="7ce1e601-4d6c-4565-97d2-b2f107cfa5c3">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="a215f770-b93f-47d8-821d-992b46387fef">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="d895b23c-bb3b-4079-985e-23e81b4b792e">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="d2da9304-7e28-453a-a171-d5ad270ffae5">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="4e659f8e-9036-4c15-884c-90a6b244af21">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="0a944bcd-baa2-41af-9102-29cc08eb8dd3">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="422e1d96-d3f8-4c97-874d-c9bd3310b6b6">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="c439a50d-4c60-45fd-852d-8275d0586818">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="d9d970d5-4eac-4503-bbe6-dcaefdcf3e78">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="dfccdd87-a505-4faf-af31-4579f9fad8a5">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="ae84d694-7145-4f22-8ba8-27301daf0e62">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="4f30729e-7ae4-44b7-b9b4-dea12e79cc66">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="18d3519e-4fa5-4aef-b64f-27fcc64fd0f9">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="d25d4e81-ae28-4005-af46-6883c4976554">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="0591bf89-ca4f-4c43-a0d2-25d59af33a96">
+      <MemoCount>0</MemoCount>
+    </Instance>
+  </Class>
+  <Class Guid="78a5c5cd-76cb-4bcc-a031-3020011fbc9a">
+    <Instance Guid="23bde92d-e896-48b5-8349-67054d6386f6">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="a828f86f-ad84-4a8f-bda8-d06564c6cbdd">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="a5435c34-2fda-457e-9d4b-4600e7ac55c2">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="a572f6dc-7684-41ec-be6a-2e5186c05300">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="7d8869bf-2dca-41c9-8d63-ca4dbe0afc08">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="6a0e7e9d-0747-48d6-94e1-66c46dbe9ab7">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="29438672-0e42-4889-b203-ea0a4b2b38eb">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="66cf6bb1-9322-4baa-8b55-27331e8f4363">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="b883c084-bb18-44d4-8f01-430fa4d41dcf">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="e4813998-6604-4e69-b125-e4664f617997">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="9839e4f4-2630-4fbc-b193-5673e137f61d">
+      <MemoCount>0</MemoCount>
+    </Instance>
+  </Class>
+  <Class Guid="8fb9c1f6-d351-4d10-8d99-bf5b3015b84c">
+    <Instance Guid="00000000-0000-0000-0000-000000000000">
+      <UsingPlatformGuid>b0cb2657-6337-442d-978c-8dd81ad9ddf5</UsingPlatformGuid>
+    </Instance>
+  </Class>
+  <Class Guid="c325714f-8f51-484b-9e96-b4b59c0fb263">
+    <Instance Guid="c325714f-8f51-484b-9e96-b4b59c0fb263">
+      <DeviceManager>90ee5797-fc0c-48ea-b02f-689179ce9df7</DeviceManager>
+    </Instance>
+  </Class>
+  <Class Guid="90ee5797-fc0c-48ea-b02f-689179ce9df7">
+    <Instance Guid="90ee5797-fc0c-48ea-b02f-689179ce9df7">
+      <DataFormatVersion>1.0</DataFormatVersion>
+    </Instance>
+    <Instance Guid="48a784ef-5532-4564-a0c1-5cb048b777b1">
+      <DeviceName>R5F100LE</DeviceName>
+      <MemoCount>0</MemoCount>
+    </Instance>
+  </Class>
+  <Class Guid="873c9a58-9bc5-439a-b476-78629a4553ed">
+    <Instance Guid="873c9a58-9bc5-439a-b476-78629a4553ed">
+      <ProjectDeviceChangedCounter>0</ProjectDeviceChangedCounter>
+      <ProjectInitialDeviceName>R5F100LE</ProjectInitialDeviceName>
+    </Instance>
+  </Class>
+  <Class Guid="c3835e31-dea3-4c93-b02b-d2db997f7630">
+    <Instance Guid="c3835e31-dea3-4c93-b02b-d2db997f7630">
+      <BuildToolManager>11ff4962-ca73-4419-bb4a-67e9b8de9571</BuildToolManager>
+    </Instance>
+  </Class>
+  <Class Guid="11ff4962-ca73-4419-bb4a-67e9b8de9571">
+    <Instance Guid="11ff4962-ca73-4419-bb4a-67e9b8de9571">
+      <DataFormatVersion>1.1</DataFormatVersion>
+      <BuildModeCount>1</BuildModeCount>
+      <BuildMode0>RABlAGYAYQB1AGwAdABCAHUAaQBsAGQA</BuildMode0>
+      <BatchBuildFlag0>False</BatchBuildFlag0>
+      <CurrentBuildMode>DefaultBuild</CurrentBuildMode>
+      <SourceItemGuid0>25c9873f-d818-4a10-a3a6-ae1c52a42535</SourceItemGuid0>
+      <SourceItemType0>LibrarySource</SourceItemType0>
+      <SourceItemGuid1>893374d3-d605-43c5-852d-2a2f4214bb35</SourceItemGuid1>
+      <SourceItemType1>CSource</SourceItemType1>
+      <SourceItemGuid2>54f2e21d-ba56-4825-b57e-0c11dd94d457</SourceItemGuid2>
+      <SourceItemType2>CSource</SourceItemType2>
+      <SourceItemGuid3>21217b1e-993d-4a69-8b7b-145d277eb1d5</SourceItemGuid3>
+      <SourceItemType3>AsmSource</SourceItemType3>
+      <SourceItemGuid4>187e6e53-a939-4450-9c24-f4f4293941b1</SourceItemGuid4>
+      <SourceItemType4>CSource</SourceItemType4>
+      <SourceItemGuid5>a71f24fd-6336-4146-b483-1a1199abaf79</SourceItemGuid5>
+      <SourceItemType5>CSource</SourceItemType5>
+      <SourceItemGuid6>89eba5b1-b993-4f38-a70e-be807d675137</SourceItemGuid6>
+      <SourceItemType6>CSource</SourceItemType6>
+      <SourceItemGuid7>c5d37ff3-fae5-401a-b81e-f8109f5b2086</SourceItemGuid7>
+      <SourceItemType7>CSource</SourceItemType7>
+      <SourceItemGuid8>e6e79bf5-f9f3-48a2-97ad-ed0ae7fc57af</SourceItemGuid8>
+      <SourceItemType8>CSource</SourceItemType8>
+      <SourceItemGuid9>4c905938-f17d-46d2-b596-0d09a6fd0a10</SourceItemGuid9>
+      <SourceItemType9>CSource</SourceItemType9>
+      <SourceItemGuid10>a08ebd83-db2b-49cb-aa58-622d8d309521</SourceItemGuid10>
+      <SourceItemType10>CSource</SourceItemType10>
+      <SourceItemGuid11>3eda61f4-a0fb-47b4-a973-6f193163e513</SourceItemGuid11>
+      <SourceItemType11>LinkDirectiveSource</SourceItemType11>
+      <SourceItemGuid12>092c1962-7073-440e-a14a-31b769d2792e</SourceItemGuid12>
+      <SourceItemType12>AsmSource</SourceItemType12>
+      <SourceItemGuid13>bb5cfc61-c3a0-4d50-b2f1-48a008eaba88</SourceItemGuid13>
+      <SourceItemType13>AsmSource</SourceItemType13>
+      <SourceItemCount>14</SourceItemCount>
+      <VfiSourceItemCount>0</VfiSourceItemCount>
+      <LastDeviceChangedCounter>0</LastDeviceChangedCounter>
+    </Instance>
+    <Instance Guid="e6d45d58-de50-4ae7-8d7f-320171fa9617">
+      <AdditionalIncludePathsForAssembler-DefaultValue />
+      <BuildMode-DefaultValue>DefaultBuild</BuildMode-DefaultValue>
+      <DependencyFileExistCheckingType-DefaultValue>Rebuild</DependencyFileExistCheckingType-DefaultValue>
+      <HexFile-DefaultValue>True</HexFile-DefaultValue>
+      <Memo-DefaultValue />
+      <Optimization-DefaultValue>Standard</Optimization-DefaultValue>
+      <OutputFileType-DefaultValue>LoadModuleFile</OutputFileType-DefaultValue>
+      <OutputMessageFormat-DefaultValue>%TargetFiles%</OutputMessageFormat-DefaultValue>
+      <RomizeFile-DefaultValue>False</RomizeFile-DefaultValue>
+      <SecurityId-DefaultValue>00000000000000000000</SecurityId-DefaultValue>
+      <UsingLibraries-DefaultValue />
+      <AdditionalIncludePathsForCompiler-DefaultValue />
+      <AdditionalLibraryPaths-DefaultValue />
+      <CompilerVersion-DefaultValue>
+
+0</CompilerVersion-DefaultValue>
+      <FormatBuildOptionList-DefaultValue>%TargetFiles% : %Program% %Options%</FormatBuildOptionList-DefaultValue>
+      <IntermediateOutputFolder-DefaultValue>%BuildModeName%</IntermediateOutputFolder-DefaultValue>
+      <OutputFolderNameForHex-DefaultValue>%BuildModeName%</OutputFolderNameForHex-DefaultValue>
+      <RomizeFileOutputFolder-DefaultValue>%BuildModeName%</RomizeFileOutputFolder-DefaultValue>
+      <SystemIncludePathsForAssemble-DefaultValue />
+      <MacroDefinitionForAssembler-DefaultValue />
+      <OutputFileNameForHex-DefaultValue>%ProjectName%.hex</OutputFileNameForHex-DefaultValue>
+      <OutputFolderNameForLinker-DefaultValue>%BuildModeName%</OutputFolderNameForLinker-DefaultValue>
+      <RomizeFileName-DefaultValue>romp.lmf</RomizeFileName-DefaultValue>
+      <SystemIncludePaths-DefaultValue />
+      <TemporaryFolder-DefaultValue />
+      <HexadecimalFileFormat-DefaultValue>IntelExtended</HexadecimalFileFormat-DefaultValue>
+      <MacroDefinitionForCompiler-DefaultValue />
+      <OutputFileNameForLinker-DefaultValue>%ProjectName%.lmf</OutputFileNameForLinker-DefaultValue>
+      <PreBuildCommands-DefaultValue />
+      <PostBuildCommands-DefaultValue />
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587930221758016711</TimeTagModified--0>
+      <BuildMode-0>DefaultBuild</BuildMode-0>
+      <Memo-0 />
+      <OutputMessageFormat-0>%TargetFiles%</OutputMessageFormat-0>
+      <FormatBuildOptionList-0>%TargetFiles% : %Program% %Options%</FormatBuildOptionList-0>
+      <PreBuildCommands-0 />
+      <PostBuildCommands-0 />
+      <DependencyFileExistCheckingType-0>Rebuild</DependencyFileExistCheckingType-0>
+      <OutputFileType-0>LoadModuleFile</OutputFileType-0>
+      <SecurityId-0>00000000000000000000</SecurityId-0>
+      <IntermediateOutputFolder-0>%BuildModeName%</IntermediateOutputFolder-0>
+      <TemporaryFolder-0 />
+      <CompilerVersion-0>
+
+0</CompilerVersion-0>
+      <LastCompilerVersion-0>V1.70</LastCompilerVersion-0>
+    </Instance>
+    <Instance Guid="86700a2f-4f2c-4aec-8af7-7d69ad94a4a1">
+      <AdditionalIncludePaths-DefaultValue />
+      <AssemblyFile-DefaultValue>NotOutput</AssemblyFile-DefaultValue>
+      <BitFieldMostSignificantBit-DefaultValue>False</BitFieldMostSignificantBit-DefaultValue>
+      <CPlusPlusStyleComment-DefaultValue>True</CPlusPlusStyleComment-DefaultValue>
+      <CommonObject78K0R-DefaultValue>False</CommonObject78K0R-DefaultValue>
+      <DebugInformation-DefaultValue>AssemblyAndObject</DebugInformation-DefaultValue>
+      <MemoryModelType-DefaultValue>Medium</MemoryModelType-DefaultValue>
+      <OperationSwapping-DefaultValue>Yes</OperationSwapping-DefaultValue>
+      <Optimization-DefaultValue>Standard</Optimization-DefaultValue>
+      <PreCompileCommands-DefaultValue />
+      <PreprocessListFile-DefaultValue>False</PreprocessListFile-DefaultValue>
+      <ProvidedStartup-DefaultValue>Normal</ProvidedStartup-DefaultValue>
+      <StandardLibrary-DefaultValue>True</StandardLibrary-DefaultValue>
+      <VariableInformationFile-DefaultValue />
+      <VerboseMode-DefaultValue>False</VerboseMode-DefaultValue>
+      <AutoVariablesToRegisterOrShortAddressing-DefaultValue>True</AutoVariablesToRegisterOrShortAddressing-DefaultValue>
+      <FixedStandardLibraryArea-DefaultValue>True</FixedStandardLibraryArea-DefaultValue>
+      <FlashObjects-DefaultValue>False</FlashObjects-DefaultValue>
+      <NestedComment-DefaultValue>False</NestedComment-DefaultValue>
+      <PostCompileCommands-DefaultValue />
+      <PreprocessListFileWithNoComment-DefaultValue>False</PreprocessListFileWithNoComment-DefaultValue>
+      <StructureMembersPacking-DefaultValue>False</StructureMembersPacking-DefaultValue>
+      <SystemIncludePaths-DefaultValue />
+      <VariableInformationBootAreaFile-DefaultValue />
+      <WarningLevel-DefaultValue>NormalOutput</WarningLevel-DefaultValue>
+      <ChineseCharactersCodeOnSourceFiles-DefaultValue>ShiftJis</ChineseCharactersCodeOnSourceFiles-DefaultValue>
+      <ExpansionOfDefinePreprocessDirective-DefaultValue>False</ExpansionOfDefinePreprocessDirective-DefaultValue>
+      <FarAreaToRom-DefaultValue>True</FarAreaToRom-DefaultValue>
+      <IndirectReferencingWithOneByte-DefaultValue>False</IndirectReferencingWithOneByte-DefaultValue>
+      <MacroDefinitions-DefaultValue />
+      <OtherAdditionalOptions-DefaultValue />
+      <RegisterVariablesToRegisterAndShortAddressing-DefaultValue>False</RegisterVariablesToRegisterAndShortAddressing-DefaultValue>
+      <StandardIOLibrarySupportingFloat-DefaultValue>False</StandardIOLibrarySupportingFloat-DefaultValue>
+      <StartAddressOfFlashArea-DefaultValue />
+      <AnsiNonstandardFeatures-DefaultValue>False</AnsiNonstandardFeatures-DefaultValue>
+      <DisablementOfSignExtendedCharCalculation-DefaultValue>True</DisablementOfSignExtendedCharCalculation-DefaultValue>
+      <ExpansionOfIfPreprocessDirective-DefaultValue>True</ExpansionOfIfPreprocessDirective-DefaultValue>
+      <MacroUndefinitions-DefaultValue />
+      <Multiplier-DefaultValue>True</Multiplier-DefaultValue>
+      <MultiplierAndDivider-DefaultValue>True</MultiplierAndDivider-DefaultValue>
+      <StandardStartupFileName-DefaultValue />
+      <StartAddressOfFlashAreaBranchTable-DefaultValue />
+      <CharToUnsignedChar-DefaultValue>False</CharToUnsignedChar-DefaultValue>
+      <ExpansionOfIncludePreprocessDirective-DefaultValue>False</ExpansionOfIncludePreprocessDirective-DefaultValue>
+      <MirrorSourceArea-DefaultValue>Maa0</MirrorSourceArea-DefaultValue>
+      <StaticVariablesToShortAddressing-DefaultValue>NotAllocate</StaticVariablesToShortAddressing-DefaultValue>
+      <UseMultiplyAndAccumulation-DefaultValue>True</UseMultiplyAndAccumulation-DefaultValue>
+      <BranchInstructionOptimization-DefaultValue>True</BranchInstructionOptimization-DefaultValue>
+      <ExpansionOfLinePreprocessDirective-DefaultValue>True</ExpansionOfLinePreprocessDirective-DefaultValue>
+      <ExternalVariablesToShortAddressing-DefaultValue>NotAllocate</ExternalVariablesToShortAddressing-DefaultValue>
+      <StandardLibraryFileNames-DefaultValue>cl0rm.lib
+cl0rmf.lib
+</StandardLibraryFileNames-DefaultValue>
+      <DestinationAreaOfRomData-DefaultValue>No</DestinationAreaOfRomData-DefaultValue>
+      <DisablementOfIntExtensionForFunction-DefaultValue>False</DisablementOfIntExtensionForFunction-DefaultValue>
+      <FixedCodeToLibrary-DefaultValue>NotReplace</FixedCodeToLibrary-DefaultValue>
+      <LineNumbers-DefaultValue>True</LineNumbers-DefaultValue>
+      <ErrorListFile-DefaultValue>NotOutput</ErrorListFile-DefaultValue>
+      <OutputObjectForRam-DefaultValue>None</OutputObjectForRam-DefaultValue>
+      <RelativeSwitchBranchTable-DefaultValue>False</RelativeSwitchBranchTable-DefaultValue>
+      <CrossReferenceListFile-DefaultValue>False</CrossReferenceListFile-DefaultValue>
+      <OptimizationForDebugging-DefaultValue>False</OptimizationForDebugging-DefaultValue>
+      <FeedControlCode-DefaultValue>False</FeedControlCode-DefaultValue>
+      <NumberOfCharactersPerLine-DefaultValue>132</NumberOfCharactersPerLine-DefaultValue>
+      <NumberOfLinesPerPage-DefaultValue>0</NumberOfLinesPerPage-DefaultValue>
+      <TabWidth-DefaultValue>8</TabWidth-DefaultValue>
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587930093281098252</TimeTagModified--0>
+      <AdditionalIncludePaths-0>src
+sys-cfg\%BuildModeName%
+..\..\..\..\include
+..\..\..\..\syssvc
+..\..
+..\..\..\..\arch
+..\..\..\..
+</AdditionalIncludePaths-0>
+      <AssemblyFile-0>WithNoCSource</AssemblyFile-0>
+      <BitFieldMostSignificantBit-0>False</BitFieldMostSignificantBit-0>
+      <CPlusPlusStyleComment-0>True</CPlusPlusStyleComment-0>
+      <DebugInformation-0>AssemblyAndObject</DebugInformation-0>
+      <Optimization-0>No</Optimization-0>
+      <PreCompileCommands-0 />
+      <PreprocessListFile-0>False</PreprocessListFile-0>
+      <ProvidedStartup-0>NoUse</ProvidedStartup-0>
+      <StandardLibrary-0>True</StandardLibrary-0>
+      <VerboseMode-0>False</VerboseMode-0>
+      <FixedStandardLibraryArea-0>True</FixedStandardLibraryArea-0>
+      <NestedComment-0>False</NestedComment-0>
+      <PostCompileCommands-0 />
+      <PreprocessListFileWithNoComment-0>False</PreprocessListFileWithNoComment-0>
+      <StructureMembersPacking-0>False</StructureMembersPacking-0>
+      <SystemIncludePaths-0 />
+      <WarningLevel-0>NormalOutput</WarningLevel-0>
+      <ChineseCharactersCodeOnSourceFiles-0>ShiftJis</ChineseCharactersCodeOnSourceFiles-0>
+      <ExpansionOfDefinePreprocessDirective-0>False</ExpansionOfDefinePreprocessDirective-0>
+      <MacroDefinitions-0 />
+      <OtherAdditionalOptions-0 />
+      <StandardIOLibrarySupportingFloat-0>False</StandardIOLibrarySupportingFloat-0>
+      <AnsiNonstandardFeatures-0>False</AnsiNonstandardFeatures-0>
+      <ExpansionOfIfPreprocessDirective-0>True</ExpansionOfIfPreprocessDirective-0>
+      <MacroUndefinitions-0 />
+      <Multiplier-0>True</Multiplier-0>
+      <MultiplierAndDivider-0>True</MultiplierAndDivider-0>
+      <StandardStartupFileName-0 />
+      <ExpansionOfIncludePreprocessDirective-0>False</ExpansionOfIncludePreprocessDirective-0>
+      <StaticVariablesToShortAddressing-0>NotAllocate</StaticVariablesToShortAddressing-0>
+      <ExpansionOfLinePreprocessDirective-0>True</ExpansionOfLinePreprocessDirective-0>
+      <ExternalVariablesToShortAddressing-0>NotAllocate</ExternalVariablesToShortAddressing-0>
+      <DisablementOfIntExtensionForFunction-0>False</DisablementOfIntExtensionForFunction-0>
+      <LineNumbers-0>True</LineNumbers-0>
+      <ErrorListFile-0>NotOutput</ErrorListFile-0>
+      <CrossReferenceListFile-0>False</CrossReferenceListFile-0>
+      <FeedControlCode-0>False</FeedControlCode-0>
+      <NumberOfCharactersPerLine-0>132</NumberOfCharactersPerLine-0>
+      <TabWidth-0>8</TabWidth-0>
+      <CommonObject78K0R-0>False</CommonObject78K0R-0>
+      <MemoryModelType-0>Medium</MemoryModelType-0>
+      <OperationSwapping-0>Yes</OperationSwapping-0>
+      <AutoVariablesToRegisterOrShortAddressing-0>True</AutoVariablesToRegisterOrShortAddressing-0>
+      <FlashObjects-0>False</FlashObjects-0>
+      <VariableInformationBootAreaFile-0 />
+      <FarAreaToRom-0>True</FarAreaToRom-0>
+      <IndirectReferencingWithOneByte-0>False</IndirectReferencingWithOneByte-0>
+      <RegisterVariablesToRegisterAndShortAddressing-0>False</RegisterVariablesToRegisterAndShortAddressing-0>
+      <StartAddressOfFlashArea-0 />
+      <DisablementOfSignExtendedCharCalculation-0>True</DisablementOfSignExtendedCharCalculation-0>
+      <StartAddressOfFlashAreaBranchTable-0 />
+      <CharToUnsignedChar-0>False</CharToUnsignedChar-0>
+      <MirrorSourceArea-0>Maa0</MirrorSourceArea-0>
+      <UseMultiplyAndAccumulation-0>False</UseMultiplyAndAccumulation-0>
+      <BranchInstructionOptimization-0>True</BranchInstructionOptimization-0>
+      <DestinationAreaOfRomData-0>No</DestinationAreaOfRomData-0>
+      <FixedCodeToLibrary-0>NotReplace</FixedCodeToLibrary-0>
+      <OutputObjectForRam-0>None</OutputObjectForRam-0>
+      <RelativeSwitchBranchTable-0>False</RelativeSwitchBranchTable-0>
+      <OptimizationForDebugging-0>False</OptimizationForDebugging-0>
+      <NumberOfLinesPerPage-0>0</NumberOfLinesPerPage-0>
+    </Instance>
+    <Instance Guid="7465f21d-b667-41e3-a989-056755c20ba3">
+      <AdditionalIncludePaths-DefaultValue />
+      <AssembleListFile-DefaultValue>True</AssembleListFile-DefaultValue>
+      <ChineseCharactersCodeOnSourceFiles-DefaultValue>ShiftJis</ChineseCharactersCodeOnSourceFiles-DefaultValue>
+      <DebugInformation-DefaultValue>LocalSymbolAndAssemblerDebugInformation</DebugInformation-DefaultValue>
+      <DeviceCommonObject-DefaultValue>False</DeviceCommonObject-DefaultValue>
+      <ErrorListFile-DefaultValue>False</ErrorListFile-DefaultValue>
+      <ListConverter-DefaultValue>False</ListConverter-DefaultValue>
+      <SystemIncludePaths-DefaultValue />
+      <ListConverterErrorListFile-DefaultValue>False</ListConverterErrorListFile-DefaultValue>
+      <MacroCompatibleWith78K0-DefaultValue>False</MacroCompatibleWith78K0-DefaultValue>
+      <MacroDefinitions-DefaultValue />
+      <AssembleList-DefaultValue>True</AssembleList-DefaultValue>
+      <PreAssembleCommands-DefaultValue />
+      <SymbolList-DefaultValue>False</SymbolList-DefaultValue>
+      <CrossReferenceList-DefaultValue>False</CrossReferenceList-DefaultValue>
+      <PostAssembleCommands-DefaultValue />
+      <FeedControlCode-DefaultValue>False</FeedControlCode-DefaultValue>
+      <OtherAdditionalOptions-DefaultValue />
+      <NumberOfCharactersPerLine-DefaultValue>132</NumberOfCharactersPerLine-DefaultValue>
+      <NumberOfLinesPerPage-DefaultValue>0</NumberOfLinesPerPage-DefaultValue>
+      <TabWidth-DefaultValue>8</TabWidth-DefaultValue>
+      <HeaderTitle-DefaultValue />
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587930092289111513</TimeTagModified--0>
+      <AdditionalIncludePaths-0>..\..\..\..\arch\rl78_ca78k0r
+sys-cfg\%BuildModeName%
+</AdditionalIncludePaths-0>
+      <AssembleListFile-0>False</AssembleListFile-0>
+      <ChineseCharactersCodeOnSourceFiles-0>ShiftJis</ChineseCharactersCodeOnSourceFiles-0>
+      <DebugInformation-0>LocalSymbolAndAssemblerDebugInformation</DebugInformation-0>
+      <DeviceCommonObject-0>False</DeviceCommonObject-0>
+      <ErrorListFile-0>False</ErrorListFile-0>
+      <ListConverter-0>False</ListConverter-0>
+      <SystemIncludePaths-0 />
+      <ListConverterErrorListFile-0>False</ListConverterErrorListFile-0>
+      <MacroDefinitions-0 />
+      <AssembleList-0>True</AssembleList-0>
+      <PreAssembleCommands-0 />
+      <SymbolList-0>False</SymbolList-0>
+      <CrossReferenceList-0>False</CrossReferenceList-0>
+      <PostAssembleCommands-0 />
+      <FeedControlCode-0>False</FeedControlCode-0>
+      <OtherAdditionalOptions-0 />
+      <NumberOfCharactersPerLine-0>132</NumberOfCharactersPerLine-0>
+      <TabWidth-0>8</TabWidth-0>
+      <HeaderTitle-0 />
+      <MacroCompatibleWith78K0-0>False</MacroCompatibleWith78K0-0>
+      <NumberOfLinesPerPage-0>0</NumberOfLinesPerPage-0>
+    </Instance>
+    <Instance Guid="6cc3d5a3-a96e-4ab3-8e7f-ab22bbe17552">
+      <DebugInformation-DefaultValue>True</DebugInformation-DefaultValue>
+      <ErrorListFile-DefaultValue>False</ErrorListFile-DefaultValue>
+      <LibraryFiles-DefaultValue />
+      <LinkListFile-DefaultValue>True</LinkListFile-DefaultValue>
+      <OnChipDebugOptionBytes-DefaultValue>False</OnChipDebugOptionBytes-DefaultValue>
+      <OutputFolder-DefaultValue>%BuildModeName%</OutputFolder-DefaultValue>
+      <PreLinkCommands-DefaultValue />
+      <StackSymbol-DefaultValue>False</StackSymbol-DefaultValue>
+      <WarningLevel-DefaultValue>NormalOutput</WarningLevel-DefaultValue>
+      <LinkDirectiveFile-DefaultValue>..\ssp_rl78.dr</LinkDirectiveFile-DefaultValue>
+      <LinkDirectiveInformation-DefaultValue>True</LinkDirectiveInformation-DefaultValue>
+      <OnChipDebugOptionBytesValue-DefaultValue />
+      <OutputFileName-DefaultValue>%ProjectName%.lmf</OutputFileName-DefaultValue>
+      <PostLinkCommands-DefaultValue />
+      <StackRegionName-DefaultValue />
+      <SystemLibraryFiles-DefaultValue />
+      <AdditionalLibraryPaths-DefaultValue />
+      <ForceLinking-DefaultValue>False</ForceLinking-DefaultValue>
+      <LocalSymbolList-DefaultValue>False</LocalSymbolList-DefaultValue>
+      <OtherAdditionalOptions-DefaultValue />
+      <StartAddressOfOnChipDebugOptionBytes-DefaultValue>FE00</StartAddressOfOnChipDebugOptionBytes-DefaultValue>
+      <PublicSymbolList-DefaultValue>False</PublicSymbolList-DefaultValue>
+      <SizeOfOnChipDebugOptionBytesArea-DefaultValue>512</SizeOfOnChipDebugOptionBytesArea-DefaultValue>
+      <SystemLibraryPaths-DefaultValue />
+      <MapList-DefaultValue>True</MapList-DefaultValue>
+      <UserOptionBytes-DefaultValue>False</UserOptionBytes-DefaultValue>
+      <FeedControlCode-DefaultValue>False</FeedControlCode-DefaultValue>
+      <UserOptionBytesValue-DefaultValue />
+      <MirrorSourceArea-DefaultValue>Maa0</MirrorSourceArea-DefaultValue>
+      <NumberOfLinesPerPage-DefaultValue>0</NumberOfLinesPerPage-DefaultValue>
+      <SegmentInfoBottomOf64Kbytes-DefaultValue>False</SegmentInfoBottomOf64Kbytes-DefaultValue>
+      <SettingOfFlashStartAddress-DefaultValue>False</SettingOfFlashStartAddress-DefaultValue>
+      <FlashStartAddress-DefaultValue />
+      <BootAreaModuleFile-DefaultValue />
+      <AllocationControlOfSelfRandomAccessMemory-DefaultValue>No</AllocationControlOfSelfRandomAccessMemory-DefaultValue>
+      <AllocationControlOfTraceRandomAccessMemory-DefaultValue>No</AllocationControlOfTraceRandomAccessMemory-DefaultValue>
+      <AllocationControlOfHotPluginRandomAccessMemory-DefaultValue>No</AllocationControlOfHotPluginRandomAccessMemory-DefaultValue>
+      <ReserveWorkingMemoryForRrmDmm-DefaultValue>False</ReserveWorkingMemoryForRrmDmm-DefaultValue>
+      <StartAddressOfWorkingMemoryForRrmDmm-DefaultValue />
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587930096151902452</TimeTagModified--0>
+      <DebugInformation-0>True</DebugInformation-0>
+      <ErrorListFile-0>False</ErrorListFile-0>
+      <LibraryFiles-0 />
+      <LinkListFile-0>True</LinkListFile-0>
+      <OutputFolder-0>%BuildModeName%</OutputFolder-0>
+      <PreLinkCommands-0 />
+      <StackSymbol-0>False</StackSymbol-0>
+      <WarningLevel-0>NormalOutput</WarningLevel-0>
+      <LinkDirectiveInformation-0>True</LinkDirectiveInformation-0>
+      <OutputFileName-0>%ProjectName%.lmf</OutputFileName-0>
+      <PostLinkCommands-0 />
+      <StackRegionName-0 />
+      <SystemLibraryFiles-0 />
+      <AdditionalLibraryPaths-0 />
+      <ForceLinking-0>True</ForceLinking-0>
+      <LocalSymbolList-0>False</LocalSymbolList-0>
+      <OtherAdditionalOptions-0 />
+      <PublicSymbolList-0>False</PublicSymbolList-0>
+      <SystemLibraryPaths-0 />
+      <MapList-0>True</MapList-0>
+      <FeedControlCode-0>False</FeedControlCode-0>
+      <OnChipDebugOptionBytes-0>False</OnChipDebugOptionBytes-0>
+      <OnChipDebugOptionBytesValue-0 />
+      <StartAddressOfOnChipDebugOptionBytes-0>FE00</StartAddressOfOnChipDebugOptionBytes-0>
+      <SizeOfOnChipDebugOptionBytesArea-0>512</SizeOfOnChipDebugOptionBytesArea-0>
+      <UserOptionBytes-0>False</UserOptionBytes-0>
+      <UserOptionBytesValue-0 />
+      <MirrorSourceArea-0>Maa0</MirrorSourceArea-0>
+      <NumberOfLinesPerPage-0>0</NumberOfLinesPerPage-0>
+      <SegmentInfoBottomOf64Kbytes-0>False</SegmentInfoBottomOf64Kbytes-0>
+      <SettingOfFlashStartAddress-0>False</SettingOfFlashStartAddress-0>
+      <BootAreaModuleFile-0 />
+      <AllocationControlOfSelfRandomAccessMemory-0>No</AllocationControlOfSelfRandomAccessMemory-0>
+      <AllocationControlOfTraceRandomAccessMemory-0>No</AllocationControlOfTraceRandomAccessMemory-0>
+      <AllocationControlOfHotPluginRandomAccessMemory-0>No</AllocationControlOfHotPluginRandomAccessMemory-0>
+      <ReserveWorkingMemoryForRrmDmm-0>False</ReserveWorkingMemoryForRrmDmm-0>
+      <StartAddressOfWorkingMemoryForRrmDmm-0 />
+    </Instance>
+    <Instance Guid="804a01c1-c276-4d78-8726-3a750f2c8941">
+      <ErrorListFile-DefaultValue>False</ErrorListFile-DefaultValue>
+      <LinkMapFile-DefaultValue>True</LinkMapFile-DefaultValue>
+      <PreRomizeCommands-DefaultValue />
+      <RomizeFile-DefaultValue>False</RomizeFile-DefaultValue>
+      <LocalSymbolList-DefaultValue>False</LocalSymbolList-DefaultValue>
+      <PostRomizeCommands-DefaultValue />
+      <RomizeFileOutputFolder-DefaultValue>%BuildModeName%</RomizeFileOutputFolder-DefaultValue>
+      <OtherAdditionalOptions-DefaultValue />
+      <PublicSymbolList-DefaultValue>False</PublicSymbolList-DefaultValue>
+      <RomizeFileName-DefaultValue>romp.lmf</RomizeFileName-DefaultValue>
+      <CopyRoutineStartAddress-DefaultValue />
+      <MapList-DefaultValue>True</MapList-DefaultValue>
+      <FeedControlCode-DefaultValue>False</FeedControlCode-DefaultValue>
+      <RomizeAreaStartAddress-DefaultValue />
+      <NumberOfLinesPerPage-DefaultValue>0</NumberOfLinesPerPage-DefaultValue>
+      <RomizeAreaSize-DefaultValue />
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587930221757986710</TimeTagModified--0>
+      <ErrorListFile-0>False</ErrorListFile-0>
+      <LinkMapFile-0>True</LinkMapFile-0>
+      <PreRomizeCommands-0 />
+      <RomizeFile-0>False</RomizeFile-0>
+      <LocalSymbolList-0>False</LocalSymbolList-0>
+      <PostRomizeCommands-0 />
+      <RomizeFileOutputFolder-0>%BuildModeName%</RomizeFileOutputFolder-0>
+      <OtherAdditionalOptions-0 />
+      <PublicSymbolList-0>False</PublicSymbolList-0>
+      <RomizeFileName-0>romp.lmf</RomizeFileName-0>
+      <CopyRoutineStartAddress-0 />
+      <MapList-0>True</MapList-0>
+      <FeedControlCode-0>False</FeedControlCode-0>
+      <RomizeAreaStartAddress-0 />
+      <RomizeAreaSize-0 />
+    </Instance>
+    <Instance Guid="bfd8cc57-9fe7-454b-b449-7711c81ab5ec">
+      <ErrorListFile-DefaultValue>False</ErrorListFile-DefaultValue>
+      <FillingOfFreeMemorySpace-DefaultValue>True</FillingOfFreeMemorySpace-DefaultValue>
+      <HexadecimalFile-DefaultValue>True</HexadecimalFile-DefaultValue>
+      <OutputCrc-DefaultValue>False</OutputCrc-DefaultValue>
+      <PreObjectConvertCommands-DefaultValue />
+      <SymbolTableFile-DefaultValue>True</SymbolTableFile-DefaultValue>
+      <FillingValue-DefaultValue>FF</FillingValue-DefaultValue>
+      <HexadecimalFileOutputFolder-DefaultValue>%BuildModeName%</HexadecimalFileOutputFolder-DefaultValue>
+      <PostObjectConvertCommands-DefaultValue />
+      <CrcRange-DefaultValue />
+      <FillingStartAddress-DefaultValue />
+      <HexadecimalFileName-DefaultValue>%ProjectName%.hex</HexadecimalFileName-DefaultValue>
+      <OtherAdditionalOptions-DefaultValue />
+      <CrcType-DefaultValue>HighSpeed</CrcType-DefaultValue>
+      <FillingSize-DefaultValue />
+      <HexadecimalFileFormat-DefaultValue>IntelExtended</HexadecimalFileFormat-DefaultValue>
+      <SplittingOfHexadecimalFile-DefaultValue>False</SplittingOfHexadecimalFile-DefaultValue>
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587930221757986710</TimeTagModified--0>
+      <ErrorListFile-0>False</ErrorListFile-0>
+      <FillingOfFreeMemorySpace-0>True</FillingOfFreeMemorySpace-0>
+      <HexadecimalFile-0>True</HexadecimalFile-0>
+      <PreObjectConvertCommands-0 />
+      <SymbolTableFile-0>True</SymbolTableFile-0>
+      <FillingValue-0>FF</FillingValue-0>
+      <HexadecimalFileOutputFolder-0>%BuildModeName%</HexadecimalFileOutputFolder-0>
+      <PostObjectConvertCommands-0 />
+      <FillingStartAddress-0 />
+      <HexadecimalFileName-0>%ProjectName%.hex</HexadecimalFileName-0>
+      <OtherAdditionalOptions-0 />
+      <FillingSize-0 />
+      <HexadecimalFileFormat-0>IntelExtended</HexadecimalFileFormat-0>
+      <SplittingOfHexadecimalFile-0>False</SplittingOfHexadecimalFile-0>
+      <OutputCrc-0>False</OutputCrc-0>
+      <CrcRange-0 />
+      <CrcType-0>HighSpeed</CrcType-0>
+    </Instance>
+    <Instance Guid="53527542-0963-4daa-b0c4-f5d2f25ad29b">
+      <ListFile-DefaultValue>False</ListFile-DefaultValue>
+      <OutputFolder-DefaultValue>%BuildModeName%</OutputFolder-DefaultValue>
+      <PreLibraryCommands-DefaultValue />
+      <OutputFileName-DefaultValue>%ProjectName%.lib</OutputFileName-DefaultValue>
+      <PostLibraryCommands-DefaultValue />
+      <PublicSymbol-DefaultValue>False</PublicSymbol-DefaultValue>
+      <FeedControlCode-DefaultValue>False</FeedControlCode-DefaultValue>
+      <OtherAdditionalOptions-DefaultValue />
+      <NumberOfCharactersPerLine-DefaultValue>132</NumberOfCharactersPerLine-DefaultValue>
+      <NumberOfLinesPerPage-DefaultValue>0</NumberOfLinesPerPage-DefaultValue>
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587930096151902452</TimeTagModified--0>
+      <ListFile-0>False</ListFile-0>
+      <OutputFolder-0>%BuildModeName%</OutputFolder-0>
+      <PreLibraryCommands-0 />
+      <OutputFileName-0>%ProjectName%.lib</OutputFileName-0>
+      <PostLibraryCommands-0 />
+      <PublicSymbol-0>False</PublicSymbol-0>
+      <FeedControlCode-0>False</FeedControlCode-0>
+      <OtherAdditionalOptions-0 />
+      <NumberOfCharactersPerLine-0>132</NumberOfCharactersPerLine-0>
+      <NumberOfLinesPerPage-0>0</NumberOfLinesPerPage-0>
+    </Instance>
+    <Instance Guid="b8c3be84-de3b-445a-8136-13b7e1d0e992">
+      <Margin-DefaultValue>0</Margin-DefaultValue>
+      <OutputRomRamUsage-DefaultValue>False</OutputRomRamUsage-DefaultValue>
+      <VariableInformationFile-DefaultValue>False</VariableInformationFile-DefaultValue>
+      <VariableInformationFolder-DefaultValue>%BuildModeName%</VariableInformationFolder-DefaultValue>
+      <VariableInformationFileName-DefaultValue>%ProjectName%.vfi</VariableInformationFileName-DefaultValue>
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587930096151902452</TimeTagModified--0>
+      <Margin-0>0</Margin-0>
+      <OutputRomRamUsage-0>True</OutputRomRamUsage-0>
+      <VariableInformationFile-0>False</VariableInformationFile-0>
+      <VariableInformationFolder-0>%BuildModeName%</VariableInformationFolder-0>
+      <VariableInformationFileName-0>%ProjectName%.vfi</VariableInformationFileName-0>
+    </Instance>
+    <Instance Guid="092c1962-7073-440e-a14a-31b769d2792e">
+      <LinkOrder-0>0</LinkOrder-0>
+      <ItemAddTime>635442139534574138</ItemAddTime>
+      <ItemAddTimeCount>25</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="bb5cfc61-c3a0-4d50-b2f1-48a008eaba88">
+      <LinkOrder-0>1</LinkOrder-0>
+      <ItemAddTime>635442139534574138</ItemAddTime>
+      <ItemAddTimeCount>26</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="c45f2cd2-adec-441a-bc7d-a359b2f1de67">
+      <LinkOrder-0>2</LinkOrder-0>
+    </Instance>
+    <Instance Guid="51ebd9f5-ef74-4e1c-9591-5d1b3270364b">
+      <LinkOrder-0>3</LinkOrder-0>
+    </Instance>
+    <Instance Guid="bac86751-cffa-47db-9369-96ea74dbd90c">
+      <LinkOrder-0>4</LinkOrder-0>
+    </Instance>
+    <Instance Guid="89eba5b1-b993-4f38-a70e-be807d675137">
+      <LinkOrder-0>5</LinkOrder-0>
+      <ItemAddTime>635442139534574138</ItemAddTime>
+      <ItemAddTimeCount>7</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="187e6e53-a939-4450-9c24-f4f4293941b1">
+      <LinkOrder-0>6</LinkOrder-0>
+      <ItemAddTime>635442139534574138</ItemAddTime>
+      <ItemAddTimeCount>8</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="a71f24fd-6336-4146-b483-1a1199abaf79">
+      <LinkOrder-0>7</LinkOrder-0>
+      <ItemAddTime>635442139534574138</ItemAddTime>
+      <ItemAddTimeCount>9</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="4c905938-f17d-46d2-b596-0d09a6fd0a10">
+      <LinkOrder-0>8</LinkOrder-0>
+      <ItemAddTime>635442139534574138</ItemAddTime>
+      <ItemAddTimeCount>20</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="a08ebd83-db2b-49cb-aa58-622d8d309521">
+      <LinkOrder-0>9</LinkOrder-0>
+      <ItemAddTime>635442139534574138</ItemAddTime>
+      <ItemAddTimeCount>21</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="e6e79bf5-f9f3-48a2-97ad-ed0ae7fc57af">
+      <LinkOrder-0>10</LinkOrder-0>
+      <ItemAddTime>635442139534574138</ItemAddTime>
+      <ItemAddTimeCount>23</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="c5d37ff3-fae5-401a-b81e-f8109f5b2086">
+      <LinkOrder-0>11</LinkOrder-0>
+      <ItemAddTime>635442139534574138</ItemAddTime>
+      <ItemAddTimeCount>24</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="25c9873f-d818-4a10-a3a6-ae1c52a42535">
+      <LinkOrder-0>12</LinkOrder-0>
+      <ItemAddTime>635442139534574138</ItemAddTime>
+      <ItemAddTimeCount>1</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="1fcdfc8d-5d9b-4592-b581-e0cd0862103e">
+      <ItemAddTime>635442264176143228</ItemAddTime>
+      <ItemAddTimeCount>2</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="21217b1e-993d-4a69-8b7b-145d277eb1d5">
+      <ItemAddTime>635442265013711134</ItemAddTime>
+      <ItemAddTimeCount>2</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="54f2e21d-ba56-4825-b57e-0c11dd94d457">
+      <ItemAddTime>635442265013711134</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="5e84e4ac-aa2b-495a-8868-67c1109a7edd">
+      <ItemAddTime>635442264176143228</ItemAddTime>
+      <ItemAddTimeCount>1</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="893374d3-d605-43c5-852d-2a2f4214bb35">
+      <ItemAddTime>635442264176143228</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="3eda61f4-a0fb-47b4-a973-6f193163e513">
+      <ItemAddTime>635442139534574138</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="c0989507-b1c4-4227-8c35-a14cf51f0404">
+      <ItemAddTime>635442139534574138</ItemAddTime>
+      <ItemAddTimeCount>2</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="ddc50a31-4c6d-4816-bbd4-2a4cd411b045">
+      <ItemAddTime>635442139534574138</ItemAddTime>
+      <ItemAddTimeCount>3</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="7e8031a0-c807-4bc4-bbc3-2081767a6035">
+      <ItemAddTime>635442265013711134</ItemAddTime>
+      <ItemAddTimeCount>1</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="340261ad-8bf7-4a71-8aea-d63808e72657">
+      <ItemAddTime>635442139534574138</ItemAddTime>
+      <ItemAddTimeCount>10</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="44415b07-9ec9-4c48-bdae-862c4f41194e">
+      <ItemAddTime>635442139534574138</ItemAddTime>
+      <ItemAddTimeCount>11</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="19ed1db8-fc68-4151-942d-b3057c12c378">
+      <ItemAddTime>635442139534574138</ItemAddTime>
+      <ItemAddTimeCount>12</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="f8e9d5d3-56bf-4740-aa6c-ce94dc643aae">
+      <ItemAddTime>635442139534574138</ItemAddTime>
+      <ItemAddTimeCount>13</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="735125f8-8b24-442a-8bed-2677cdcc7c80">
+      <ItemAddTime>635442160794650145</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="3f71020f-ac3f-48b7-8e3d-91ceb725c909">
+      <ItemAddTime>635442139534574138</ItemAddTime>
+      <ItemAddTimeCount>15</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="e6ce99e7-058e-4b21-90d0-33ceca86140a">
+      <ItemAddTime>635442139534574138</ItemAddTime>
+      <ItemAddTimeCount>16</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="bc2f22f1-13ba-4222-8d62-5b7d404db295">
+      <ItemAddTime>635442139534574138</ItemAddTime>
+      <ItemAddTimeCount>17</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="45ddd5af-762d-4d65-9181-d3f87ef2d277">
+      <ItemAddTime>635442139534574138</ItemAddTime>
+      <ItemAddTimeCount>18</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="60410485-d339-48c0-beac-66a355b6ba02">
+      <ItemAddTime>635442139534574138</ItemAddTime>
+      <ItemAddTimeCount>22</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="0dc35a91-1a70-421b-939b-b67701e0b9e8">
+      <ItemAddTime>635442159180597827</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="5807149d-644e-46b3-8485-2f47c40a9e5e">
+      <ItemAddTime>635442159180597827</ItemAddTime>
+      <ItemAddTimeCount>1</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="f9453dd6-651d-4dcd-acf1-d67c88344078">
+      <ItemAddTime>635442159180597827</ItemAddTime>
+      <ItemAddTimeCount>2</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="58dde2bb-b215-4d54-9af6-ac3ee28ea8cd">
+      <ItemAddTime>635442160794650145</ItemAddTime>
+      <ItemAddTimeCount>1</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="e4582a76-90da-4988-9864-24db24826845">
+      <TimeTagModified-SourceItem0--0>-8587930221320201670</TimeTagModified-SourceItem0--0>
+      <SourceItem0-IsLockedByUser>False</SourceItem0-IsLockedByUser>
+      <SourceItem0-BuildingTarget-0>True</SourceItem0-BuildingTarget-0>
+    </Instance>
+    <Instance Guid="fc999d8f-43d6-4cb3-af4b-cf6891d759fb">
+      <TimeTagModified-SourceItem1--0>-8587930096678632580</TimeTagModified-SourceItem1--0>
+      <SourceItem1-IsLockedByUser>False</SourceItem1-IsLockedByUser>
+      <SourceItem1-BuildingTarget-0>True</SourceItem1-BuildingTarget-0>
+      <SourceItem1-IndividualCompileOption-0>False</SourceItem1-IndividualCompileOption-0>
+      <TimeTagModified-SourceItem2--0>-8587930095618141923</TimeTagModified-SourceItem2--0>
+      <SourceItem2-IsLockedByUser>False</SourceItem2-IsLockedByUser>
+      <SourceItem2-BuildingTarget-0>True</SourceItem2-BuildingTarget-0>
+      <SourceItem2-IndividualCompileOption-0>True</SourceItem2-IndividualCompileOption-0>
+      <TimeTagModified-SourceItem4--0>-8587930221320191669</TimeTagModified-SourceItem4--0>
+      <SourceItem4-IsLockedByUser>False</SourceItem4-IsLockedByUser>
+      <SourceItem4-BuildingTarget-0>True</SourceItem4-BuildingTarget-0>
+      <SourceItem4-IndividualCompileOption-0>False</SourceItem4-IndividualCompileOption-0>
+      <TimeTagModified-SourceItem5--0>-8587930221320191669</TimeTagModified-SourceItem5--0>
+      <SourceItem5-IsLockedByUser>False</SourceItem5-IsLockedByUser>
+      <SourceItem5-BuildingTarget-0>True</SourceItem5-BuildingTarget-0>
+      <SourceItem5-IndividualCompileOption-0>False</SourceItem5-IndividualCompileOption-0>
+      <TimeTagModified-SourceItem6--0>-8587930221320191669</TimeTagModified-SourceItem6--0>
+      <SourceItem6-IsLockedByUser>False</SourceItem6-IsLockedByUser>
+      <SourceItem6-BuildingTarget-0>True</SourceItem6-BuildingTarget-0>
+      <SourceItem6-IndividualCompileOption-0>False</SourceItem6-IndividualCompileOption-0>
+      <TimeTagModified-SourceItem7--0>-8587930221320191669</TimeTagModified-SourceItem7--0>
+      <SourceItem7-IsLockedByUser>False</SourceItem7-IsLockedByUser>
+      <SourceItem7-BuildingTarget-0>True</SourceItem7-BuildingTarget-0>
+      <SourceItem7-IndividualCompileOption-0>False</SourceItem7-IndividualCompileOption-0>
+      <TimeTagModified-SourceItem8--0>-8587930221320191669</TimeTagModified-SourceItem8--0>
+      <SourceItem8-IsLockedByUser>False</SourceItem8-IsLockedByUser>
+      <SourceItem8-BuildingTarget-0>True</SourceItem8-BuildingTarget-0>
+      <SourceItem8-IndividualCompileOption-0>False</SourceItem8-IndividualCompileOption-0>
+      <TimeTagModified-SourceItem9--0>-8587930221320191669</TimeTagModified-SourceItem9--0>
+      <SourceItem9-IsLockedByUser>False</SourceItem9-IsLockedByUser>
+      <SourceItem9-BuildingTarget-0>True</SourceItem9-BuildingTarget-0>
+      <SourceItem9-IndividualCompileOption-0>False</SourceItem9-IndividualCompileOption-0>
+      <TimeTagModified-SourceItem10--0>-8587930221320191669</TimeTagModified-SourceItem10--0>
+      <SourceItem10-IsLockedByUser>False</SourceItem10-IsLockedByUser>
+      <SourceItem10-BuildingTarget-0>True</SourceItem10-BuildingTarget-0>
+      <SourceItem10-IndividualCompileOption-0>False</SourceItem10-IndividualCompileOption-0>
+    </Instance>
+    <Instance Guid="32712ac4-9497-4c09-80fc-cd8838baaa68">
+      <TimeTagModified-SourceItem2--0>-8587930091482025351</TimeTagModified-SourceItem2--0>
+      <SourceItem2-IsLockedByUser>False</SourceItem2-IsLockedByUser>
+      <SourceItem2-AdditionalIncludePaths-0>sys-cfg\%BuildModeName%
+..\..\..\..\extension
+..\..\..\..\kernel
+..\..\..\..\syssvc
+..\..\..\..\include
+..\..
+..\..\..\..\arch
+..\..\..\..
+src
+</SourceItem2-AdditionalIncludePaths-0>
+      <SourceItem2-AssemblyFile-0>WithNoCSource</SourceItem2-AssemblyFile-0>
+      <SourceItem2-BitFieldMostSignificantBit-0>False</SourceItem2-BitFieldMostSignificantBit-0>
+      <SourceItem2-CPlusPlusStyleComment-0>True</SourceItem2-CPlusPlusStyleComment-0>
+      <SourceItem2-DebugInformation-0>AssemblyAndObject</SourceItem2-DebugInformation-0>
+      <SourceItem2-Optimization-0>No</SourceItem2-Optimization-0>
+      <SourceItem2-OutputFileName-0 />
+      <SourceItem2-PreCompileCommands-0 />
+      <SourceItem2-PreprocessListFile-0>False</SourceItem2-PreprocessListFile-0>
+      <SourceItem2-VerboseMode-0>False</SourceItem2-VerboseMode-0>
+      <SourceItem2-CommonIncludePaths-0>True</SourceItem2-CommonIncludePaths-0>
+      <SourceItem2-NestedComment-0>False</SourceItem2-NestedComment-0>
+      <SourceItem2-PostCompileCommands-0 />
+      <SourceItem2-PreprocessListFileWithNoComment-0>False</SourceItem2-PreprocessListFileWithNoComment-0>
+      <SourceItem2-StructureMembersPacking-0>False</SourceItem2-StructureMembersPacking-0>
+      <SourceItem2-WarningLevel-0>NormalOutput</SourceItem2-WarningLevel-0>
+      <SourceItem2-ChineseCharactersCodeOnSourceFiles-0>ShiftJis</SourceItem2-ChineseCharactersCodeOnSourceFiles-0>
+      <SourceItem2-ExpansionOfDefinePreprocessDirective-0>False</SourceItem2-ExpansionOfDefinePreprocessDirective-0>
+      <SourceItem2-MacroDefinitions-0 />
+      <SourceItem2-OtherAdditionalOptions-0 />
+      <SourceItem2-AnsiNonstandardFeatures-0>False</SourceItem2-AnsiNonstandardFeatures-0>
+      <SourceItem2-ExpansionOfIfPreprocessDirective-0>True</SourceItem2-ExpansionOfIfPreprocessDirective-0>
+      <SourceItem2-MacroUndefinitions-0 />
+      <SourceItem2-ExpansionOfIncludePreprocessDirective-0>False</SourceItem2-ExpansionOfIncludePreprocessDirective-0>
+      <SourceItem2-StaticVariablesToShortAddressing-0>NotAllocate</SourceItem2-StaticVariablesToShortAddressing-0>
+      <SourceItem2-ExpansionOfLinePreprocessDirective-0>True</SourceItem2-ExpansionOfLinePreprocessDirective-0>
+      <SourceItem2-DisablementOfIntExtensionForFunction-0>False</SourceItem2-DisablementOfIntExtensionForFunction-0>
+      <SourceItem2-LineNumbers-0>True</SourceItem2-LineNumbers-0>
+      <SourceItem2-ErrorListFile-0>NotOutput</SourceItem2-ErrorListFile-0>
+      <SourceItem2-CrossReferenceListFile-0>False</SourceItem2-CrossReferenceListFile-0>
+      <SourceItem2-FeedControlCode-0>False</SourceItem2-FeedControlCode-0>
+      <SourceItem2-NumberOfCharactersPerLine-0>132</SourceItem2-NumberOfCharactersPerLine-0>
+      <SourceItem2-TabWidth-0>8</SourceItem2-TabWidth-0>
+      <SourceItem2-OperationSwapping-0>Yes</SourceItem2-OperationSwapping-0>
+      <SourceItem2-AutoVariablesToRegisterOrShortAddressing-0>True</SourceItem2-AutoVariablesToRegisterOrShortAddressing-0>
+      <SourceItem2-CommonObject78K0R-0>False</SourceItem2-CommonObject78K0R-0>
+      <SourceItem2-IndirectReferencingWithOneByte-0>False</SourceItem2-IndirectReferencingWithOneByte-0>
+      <SourceItem2-RegisterVariablesToRegisterAndShortAddressing-0>False</SourceItem2-RegisterVariablesToRegisterAndShortAddressing-0>
+      <SourceItem2-DisablementOfSignExtendedCharCalculation-0>True</SourceItem2-DisablementOfSignExtendedCharCalculation-0>
+      <SourceItem2-CharToUnsignedChar-0>False</SourceItem2-CharToUnsignedChar-0>
+      <SourceItem2-BranchInstructionOptimization-0>True</SourceItem2-BranchInstructionOptimization-0>
+      <SourceItem2-DestinationAreaOfRomData-0>No</SourceItem2-DestinationAreaOfRomData-0>
+      <SourceItem2-FixedCodeToLibrary-0>NotReplace</SourceItem2-FixedCodeToLibrary-0>
+      <SourceItem2-OutputObjectForRam-0>None</SourceItem2-OutputObjectForRam-0>
+      <SourceItem2-RelativeSwitchBranchTable-0>False</SourceItem2-RelativeSwitchBranchTable-0>
+      <SourceItem2-OptimizationForDebugging-0>False</SourceItem2-OptimizationForDebugging-0>
+      <SourceItem2-NumberOfLinesPerPage-0>0</SourceItem2-NumberOfLinesPerPage-0>
+    </Instance>
+    <Instance Guid="0f263f83-32b7-4f1b-ba78-592f95cf234c">
+      <TimeTagModified-SourceItem2--0>-8587930095618141923</TimeTagModified-SourceItem2--0>
+      <SourceItem2-IsLockedByUser>False</SourceItem2-IsLockedByUser>
+      <SourceItem2-AdditionalIncludePaths-0 />
+      <SourceItem2-AssembleListFile-0>False</SourceItem2-AssembleListFile-0>
+      <SourceItem2-ChineseCharactersCodeOnSourceFiles-0>ShiftJis</SourceItem2-ChineseCharactersCodeOnSourceFiles-0>
+      <SourceItem2-DebugInformation-0>LocalSymbolAndAssemblerDebugInformation</SourceItem2-DebugInformation-0>
+      <SourceItem2-OutputFileName-0 />
+      <SourceItem2-CommonIncludePaths-0>True</SourceItem2-CommonIncludePaths-0>
+      <SourceItem2-DeviceCommonObject-0>False</SourceItem2-DeviceCommonObject-0>
+      <SourceItem2-ListConverter-0>False</SourceItem2-ListConverter-0>
+      <SourceItem2-ErrorListFile-0>False</SourceItem2-ErrorListFile-0>
+      <SourceItem2-ListConverterErrorListFile-0>False</SourceItem2-ListConverterErrorListFile-0>
+      <SourceItem2-MacroDefinitions-0 />
+      <SourceItem2-AssembleList-0>True</SourceItem2-AssembleList-0>
+      <SourceItem2-PreAssembleCommands-0 />
+      <SourceItem2-SymbolList-0>False</SourceItem2-SymbolList-0>
+      <SourceItem2-CrossReferenceList-0>False</SourceItem2-CrossReferenceList-0>
+      <SourceItem2-PostAssembleCommands-0 />
+      <SourceItem2-FeedControlCode-0>False</SourceItem2-FeedControlCode-0>
+      <SourceItem2-OtherAdditionalOptions-0 />
+      <SourceItem2-NumberOfCharactersPerLine-0>132</SourceItem2-NumberOfCharactersPerLine-0>
+      <SourceItem2-TabWidth-0>8</SourceItem2-TabWidth-0>
+      <SourceItem2-HeaderTitle-0 />
+      <SourceItem2-MacroCompatibleWith78K0-0>False</SourceItem2-MacroCompatibleWith78K0-0>
+      <SourceItem2-NumberOfLinesPerPage-0>0</SourceItem2-NumberOfLinesPerPage-0>
+    </Instance>
+    <Instance Guid="e64dc9e1-8c43-42d3-afc8-97f426cc2a3b">
+      <TimeTagModified-SourceItem3--0>-8587930095841044672</TimeTagModified-SourceItem3--0>
+      <SourceItem3-IsLockedByUser>False</SourceItem3-IsLockedByUser>
+      <SourceItem3-BuildingTarget-0>True</SourceItem3-BuildingTarget-0>
+      <SourceItem3-IndividualAssembleOption-0>False</SourceItem3-IndividualAssembleOption-0>
+      <TimeTagModified-SourceItem12--0>-8587930221320191669</TimeTagModified-SourceItem12--0>
+      <SourceItem12-IsLockedByUser>False</SourceItem12-IsLockedByUser>
+      <SourceItem12-BuildingTarget-0>True</SourceItem12-BuildingTarget-0>
+      <SourceItem12-IndividualAssembleOption-0>False</SourceItem12-IndividualAssembleOption-0>
+      <TimeTagModified-SourceItem13--0>-8587930221320191669</TimeTagModified-SourceItem13--0>
+      <SourceItem13-IsLockedByUser>False</SourceItem13-IsLockedByUser>
+      <SourceItem13-BuildingTarget-0>True</SourceItem13-BuildingTarget-0>
+      <SourceItem13-IndividualAssembleOption-0>False</SourceItem13-IndividualAssembleOption-0>
+    </Instance>
+    <Instance Guid="2317529b-91c1-49b6-8351-6d8f51718b0d">
+      <TimeTagModified-SourceItem11--0>-8587930221320201670</TimeTagModified-SourceItem11--0>
+      <SourceItem11-IsLockedByUser>False</SourceItem11-IsLockedByUser>
+      <SourceItem11-BuildingTarget-0>True</SourceItem11-BuildingTarget-0>
+    </Instance>
+  </Class>
+  <Class Guid="44fa27c9-0aa0-4297-bd3b-2c5c5bdb8881">
+    <Instance Guid="44fa27c9-0aa0-4297-bd3b-2c5c5bdb8881">
+      <IsLibraryMode>False</IsLibraryMode>
+      <StartUpCategoryItem>4deb1ad4-921e-4a4e-9fa0-433f135d1da9</StartUpCategoryItem>
+    </Instance>
+  </Class>
+  <Class Guid="2890788c-ef94-47c1-b7a0-ea78a63c62b8">
+    <Instance Guid="94bc6931-8ae1-4fe8-8c88-72587525d642">
+      <ContainLinkDirectiveData>False</ContainLinkDirectiveData>
+    </Instance>
+  </Class>
+  <Class Guid="606767c3-4bf3-4e65-90c1-19075517355d">
+    <Instance Guid="606767c3-4bf3-4e65-90c1-19075517355d">
+      <CurrentToolKey>a1b29f7a-6007-4082-b223-0b9f7a2063c9</CurrentToolKey>
+    </Instance>
+  </Class>
+  <Class Guid="5a52642a-b3e1-4542-8d5e-3c44bf6e43a1">
+    <Instance Guid="5a52642a-b3e1-4542-8d5e-3c44bf6e43a1">
+      <DataFormatVersionPlugin>1.0</DataFormatVersionPlugin>
+      <DataFormatVersionDebugger>1.0</DataFormatVersionDebugger>
+    </Instance>
+  </Class>
+  <Class Guid="1bbfd190-8eb9-4207-b3c7-cc844743a14f">
+    <Instance Guid="00000000-0000-0000-0000-000000000000">
+      <dummy />
+    </Instance>
+  </Class>
+  <Class Guid="892095e2-3cf7-4b10-86a1-f57cef9e9c20">
+    <Instance Guid="a809dbf1-d8d5-4bfb-a7f9-5874593160e2">
+      <DeviceChangedCounter>0</DeviceChangedCounter>
+      <DeviceName>R5F100LE</DeviceName>
+      <DebuggerProperty-EssentialProperty-Clock-MainClockFrequency>4000</DebuggerProperty-EssentialProperty-Clock-MainClockFrequency>
+      <DebuggerProperty-EssentialProperty-Clock-SubClockFrequency>32768</DebuggerProperty-EssentialProperty-Clock-SubClockFrequency>
+      <DebuggerProperty-EssentialProperty-Memory-InternalRomSize>64</DebuggerProperty-EssentialProperty-Memory-InternalRomSize>
+      <DebuggerProperty-EssentialProperty-Memory-InternalRamSize>4096</DebuggerProperty-EssentialProperty-Memory-InternalRamSize>
+      <DebuggerProperty-EssentialProperty-Clock-SelectTimerTraceClockFrequency>SelectCpuClockFrequency</DebuggerProperty-EssentialProperty-Clock-SelectTimerTraceClockFrequency>
+      <DebuggerProperty-EssentialProperty-Clock-UnitOfTimerTraceClockFrequency>MHz</DebuggerProperty-EssentialProperty-Clock-UnitOfTimerTraceClockFrequency>
+      <DebuggerProperty-EssentialProperty-Clock-TimerTraceClockFrequency>4000000</DebuggerProperty-EssentialProperty-Clock-TimerTraceClockFrequency>
+      <DebuggerProperty-EssentialProperty-Configuration-UseSimulatorConfigurationFile>No</DebuggerProperty-EssentialProperty-Configuration-UseSimulatorConfigurationFile>
+      <DebuggerProperty-EssentialProperty-Configuration-SimulatorConfigurationFile />
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-Length>1</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-Length>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-DebuggerGuid />
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileName>DefaultBuild\sample1.lmf</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileName>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileType>LoadModuleFile</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileType>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-Offset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-Offset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-StartAddress>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-StartAddress>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-ObjectDownload>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-ObjectDownload>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-SymbolDownload>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-SymbolDownload>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-UsePicPidOffset>False</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-UsePicPidOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PicOffset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PicOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PidOffset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PidOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-GenerateInformationForInputCompletion>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-GenerateInformationForInputCompletion>
+      <DebuggerProperty-DownloadProperty-DebugInformation-CpuReset>True</DebuggerProperty-DownloadProperty-DebugInformation-CpuReset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-FlashErase>False</DebuggerProperty-DownloadProperty-DebugInformation-FlashErase>
+      <DebuggerProperty-DownloadProperty-DebugInformation-EventCorrection>SuspendEvent</DebuggerProperty-DownloadProperty-DebugInformation-EventCorrection>
+      <DebuggerProperty-DownloadProperty-DebugInformation-SkipStartup>True</DebuggerProperty-DownloadProperty-DebugInformation-SkipStartup>
+      <DebuggerProperty-DownloadProperty-DebugInformation-MainSymbol>XwBtAGEAaQBuAA==</DebuggerProperty-DownloadProperty-DebugInformation-MainSymbol>
+      <DebuggerProperty-DownloadProperty-DebugInformation-StartupStartSymbol>XwBAAGMAcwB0AGEAcgB0AA==</DebuggerProperty-DownloadProperty-DebugInformation-StartupStartSymbol>
+      <DebuggerProperty-DownloadProperty-DebugInformation-StartupEndSymbol>XwBAAGMAZQBuAGQA</DebuggerProperty-DownloadProperty-DebugInformation-StartupEndSymbol>
+      <DebuggerProperty-OptionalProperty-AccessMemory-UpdateDisplayInExecution>Yes</DebuggerProperty-OptionalProperty-AccessMemory-UpdateDisplayInExecution>
+      <DebuggerProperty-OptionalProperty-AccessMemory-UpdateInterval>500</DebuggerProperty-OptionalProperty-AccessMemory-UpdateInterval>
+      <DebuggerProperty-OptionalProperty-Register-ClearRegisterWhenReset>No</DebuggerProperty-OptionalProperty-Register-ClearRegisterWhenReset>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-Length>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-Length>
+      <DebuggerProperty-OptionalProperty-Assemble-DisplaySymbol>SymbolOffset</DebuggerProperty-OptionalProperty-Assemble-DisplaySymbol>
+      <DebuggerProperty-OptionalProperty-Assemble-DisplayFunctionName>Yes</DebuggerProperty-OptionalProperty-Assemble-DisplayFunctionName>
+      <DebuggerProperty-OptionalProperty-Trace-ClearTraceMemory>Yes</DebuggerProperty-OptionalProperty-Trace-ClearTraceMemory>
+      <DebuggerProperty-OptionalProperty-Trace-TraceMode>Nonstop</DebuggerProperty-OptionalProperty-Trace-TraceMode>
+      <DebuggerProperty-OptionalProperty-Trace-UseTrace>No</DebuggerProperty-OptionalProperty-Trace-UseTrace>
+      <DebuggerProperty-OptionalProperty-Timer-UseTimer>No</DebuggerProperty-OptionalProperty-Timer-UseTimer>
+      <DebuggerProperty-OptionalProperty-Coverage-UseCoverage>No</DebuggerProperty-OptionalProperty-Coverage-UseCoverage>
+      <DebuggerProperty-OptionalProperty-Coverage-ReuseCoverageData>No</DebuggerProperty-OptionalProperty-Coverage-ReuseCoverageData>
+      <DebuggerProperty-OptionalProperty-Trace-AddUptimeTag>No</DebuggerProperty-OptionalProperty-Trace-AddUptimeTag>
+      <DebuggerProperty-OptionalProperty-Break-AfterExecution>No</DebuggerProperty-OptionalProperty-Break-AfterExecution>
+      <DebuggerProperty-OptionalProperty-Trace-TraceMemorySize>4096</DebuggerProperty-OptionalProperty-Trace-TraceMemorySize>
+      <DebuggerProperty-OptionalProperty-SimulatorGUI-DisplaySimulatorGui>Yes</DebuggerProperty-OptionalProperty-SimulatorGUI-DisplaySimulatorGui>
+      <DebuggerProperty-OptionalProperty-SimulatorGUI-SimulatorGuiOnTop>Yes</DebuggerProperty-OptionalProperty-SimulatorGUI-SimulatorGuiOnTop>
+      <DebuggerProperty-HookProperty-HookTransaction-Downloading-Length>0</DebuggerProperty-HookProperty-HookTransaction-Downloading-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Downloaded-Length>0</DebuggerProperty-HookProperty-HookTransaction-Downloaded-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Reset-Length>0</DebuggerProperty-HookProperty-HookTransaction-Reset-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Going-Length>0</DebuggerProperty-HookProperty-HookTransaction-Going-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Broke-Length>0</DebuggerProperty-HookProperty-HookTransaction-Broke-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Connected-Length>0</DebuggerProperty-HookProperty-HookTransaction-Connected-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Disconnecting-Length>0</DebuggerProperty-HookProperty-HookTransaction-Disconnecting-Length>
+    </Instance>
+  </Class>
+  <Class Guid="6d256a08-6dc9-4bdb-a221-f0f9fd7dfbf8">
+    <Instance Guid="6d256a08-6dc9-4bdb-a221-f0f9fd7dfbf8">
+      <DataFormatVersionPlugin>1.0</DataFormatVersionPlugin>
+      <DataFormatVersionDebugger>1.0</DataFormatVersionDebugger>
+    </Instance>
+  </Class>
+  <Class Guid="932085a2-9361-4df9-a3f7-12e6de7681a8">
+    <Instance Guid="932085a2-9361-4df9-a3f7-12e6de7681a8">
+      <DebugToolManager>27a31222-7c35-4331-a7d1-d42a4a803c2c</DebugToolManager>
+    </Instance>
+  </Class>
+  <Class Guid="6a8a6aa2-f44c-4d5f-8c40-72d9cbca95c5">
+    <Instance Guid="00000000-0000-0000-0000-000000000000">
+      <SubDebugger>a1b29f7a-6007-4082-b223-0b9f7a2063c9</SubDebugger>
+    </Instance>
+  </Class>
+  <Class Guid="f72c6cc0-ae77-4a2d-964e-b970c2010835">
+    <Instance Guid="d8928929-32a4-483f-a4e7-5b2f1df172a7">
+      <DeviceChangedCounter>0</DeviceChangedCounter>
+      <DeviceName>R5F100LE</DeviceName>
+      <DebuggerProperty-EssentialProperty-TargetConnect-TargetConnect>No</DebuggerProperty-EssentialProperty-TargetConnect-TargetConnect>
+      <DebuggerProperty-EssentialProperty-Clock-MainClock>Emulator</DebuggerProperty-EssentialProperty-Clock-MainClock>
+      <DebuggerProperty-EssentialProperty-Clock-SubClock>Emulator</DebuggerProperty-EssentialProperty-Clock-SubClock>
+      <DebuggerProperty-EssentialProperty-Clock-MainClockFrequency>4000</DebuggerProperty-EssentialProperty-Clock-MainClockFrequency>
+      <DebuggerProperty-EssentialProperty-Clock-SubClockFrequency>32768</DebuggerProperty-EssentialProperty-Clock-SubClockFrequency>
+      <DebuggerProperty-EssentialProperty-Memory-InternalRomSize>64</DebuggerProperty-EssentialProperty-Memory-InternalRomSize>
+      <DebuggerProperty-EssentialProperty-Memory-InternalRamSize>4096</DebuggerProperty-EssentialProperty-Memory-InternalRamSize>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-Length>1</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-Length>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-DebuggerGuid />
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileName>DefaultBuild\sample1.lmf</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileName>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileType>LoadModuleFile</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileType>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-Offset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-Offset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-StartAddress>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-StartAddress>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-ObjectDownload>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-ObjectDownload>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-SymbolDownload>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-SymbolDownload>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-UsePicPidOffset>False</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-UsePicPidOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PicOffset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PicOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PidOffset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PidOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-GenerateInformationForInputCompletion>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-GenerateInformationForInputCompletion>
+      <DebuggerProperty-DownloadProperty-DebugInformation-CpuReset>True</DebuggerProperty-DownloadProperty-DebugInformation-CpuReset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-FlashErase>False</DebuggerProperty-DownloadProperty-DebugInformation-FlashErase>
+      <DebuggerProperty-DownloadProperty-DebugInformation-EventCorrection>SuspendEvent</DebuggerProperty-DownloadProperty-DebugInformation-EventCorrection>
+      <DebuggerProperty-DownloadProperty-DebugInformation-SkipStartup>True</DebuggerProperty-DownloadProperty-DebugInformation-SkipStartup>
+      <DebuggerProperty-DownloadProperty-DebugInformation-MainSymbol>XwBtAGEAaQBuAA==</DebuggerProperty-DownloadProperty-DebugInformation-MainSymbol>
+      <DebuggerProperty-DownloadProperty-DebugInformation-StartupStartSymbol>XwBAAGMAcwB0AGEAcgB0AA==</DebuggerProperty-DownloadProperty-DebugInformation-StartupStartSymbol>
+      <DebuggerProperty-DownloadProperty-DebugInformation-StartupEndSymbol>XwBAAGMAZQBuAGQA</DebuggerProperty-DownloadProperty-DebugInformation-StartupEndSymbol>
+      <DebuggerProperty-DownloadProperty-Download-DownloadMode>SpeedPriority</DebuggerProperty-DownloadProperty-Download-DownloadMode>
+      <DebuggerProperty-FlashEmulationProperty-FlashSelfEmulation-FlashSelfProgramming>No</DebuggerProperty-FlashEmulationProperty-FlashSelfEmulation-FlashSelfProgramming>
+      <DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-WritingTime>Typical</DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-WritingTime>
+      <DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-AddressForWritingTime>0</DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-AddressForWritingTime>
+      <DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-AddressMaskForWritingTime>0</DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-AddressMaskForWritingTime>
+      <DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-ErasingTime>Typical</DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-ErasingTime>
+      <DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-AddressForErasingTime>0</DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-AddressForErasingTime>
+      <DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-AddressMaskForErasingTime>0</DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-AddressMaskForErasingTime>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors0-GenerateError>None</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors0-GenerateError>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors0-AddressForError>0</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors0-AddressForError>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors0-AddressMaskForError>0</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors0-AddressMaskForError>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors1-GenerateError>None</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors1-GenerateError>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors1-AddressForError>0</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors1-AddressForError>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors1-AddressMaskForError>0</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors1-AddressMaskForError>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors2-GenerateError>None</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors2-GenerateError>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors2-AddressForError>0</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors2-AddressForError>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors2-AddressMaskForError>0</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors2-AddressMaskForError>
+      <DebuggerProperty-FlashEmulationProperty-FlashShieldWindow-FlashSelfStartBlock>0</DebuggerProperty-FlashEmulationProperty-FlashShieldWindow-FlashSelfStartBlock>
+      <DebuggerProperty-FlashEmulationProperty-FlashShieldWindow-FlashSelfEndBlock>65535</DebuggerProperty-FlashEmulationProperty-FlashShieldWindow-FlashSelfEndBlock>
+      <DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableChipErase>No</DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableChipErase>
+      <DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableBlockErase>No</DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableBlockErase>
+      <DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableRead>No</DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableRead>
+      <DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableProgram>No</DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableProgram>
+      <DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableBootBlockClusterReprogram>No</DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableBootBlockClusterReprogram>
+      <DebuggerProperty-DataFlashEmulationProperty-DataFlashSelfEmulation-DataFlashSelfProgramming>No</DebuggerProperty-DataFlashEmulationProperty-DataFlashSelfEmulation-DataFlashSelfProgramming>
+      <DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-WritingTime>Typical</DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-WritingTime>
+      <DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-AddressForWritingTime>987136</DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-AddressForWritingTime>
+      <DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-AddressMaskForWritingTime>0</DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-AddressMaskForWritingTime>
+      <DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-ErasingTime>Typical</DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-ErasingTime>
+      <DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-AddressForErasingTime>987136</DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-AddressForErasingTime>
+      <DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-AddressMaskForErasingTime>0</DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-AddressMaskForErasingTime>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors0-GenerateError>None</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors0-GenerateError>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors0-AddressForError>987136</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors0-AddressForError>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors0-AddressMaskForError>0</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors0-AddressMaskForError>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors1-GenerateError>None</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors1-GenerateError>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors1-AddressForError>987136</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors1-AddressForError>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors1-AddressMaskForError>0</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors1-AddressMaskForError>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors2-GenerateError>None</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors2-GenerateError>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors2-AddressForError>987136</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors2-AddressForError>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors2-AddressMaskForError>0</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors2-AddressMaskForError>
+      <DebuggerProperty-OptionalProperty-AccessMemory-UpdateDisplayInExecution>Yes</DebuggerProperty-OptionalProperty-AccessMemory-UpdateDisplayInExecution>
+      <DebuggerProperty-OptionalProperty-AccessMemory-UpdateInterval>500</DebuggerProperty-OptionalProperty-AccessMemory-UpdateInterval>
+      <DebuggerProperty-OptionalProperty-Register-ClearRegisterWhenReset>No</DebuggerProperty-OptionalProperty-Register-ClearRegisterWhenReset>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-Length>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-Length>
+      <DebuggerProperty-OptionalProperty-Memory-VerifyCheck>Yes</DebuggerProperty-OptionalProperty-Memory-VerifyCheck>
+      <DebuggerProperty-OptionalProperty-Assemble-DisplaySymbol>SymbolOffset</DebuggerProperty-OptionalProperty-Assemble-DisplaySymbol>
+      <DebuggerProperty-OptionalProperty-Assemble-DisplayFunctionName>Yes</DebuggerProperty-OptionalProperty-Assemble-DisplayFunctionName>
+      <DebuggerProperty-OptionalProperty-Break-BreakpointPriority>SoftwareBreak</DebuggerProperty-OptionalProperty-Break-BreakpointPriority>
+      <DebuggerProperty-OptionalProperty-Break-TimerPeripheralBreak>No</DebuggerProperty-OptionalProperty-Break-TimerPeripheralBreak>
+      <DebuggerProperty-OptionalProperty-Break-SerialPeripheralBreak>No</DebuggerProperty-OptionalProperty-Break-SerialPeripheralBreak>
+      <DebuggerProperty-OptionalProperty-MemoryAccess-PermitToStopAndRead>No</DebuggerProperty-OptionalProperty-MemoryAccess-PermitToStopAndRead>
+      <DebuggerProperty-OptionalProperty-MemoryAccess-PermitToStopAndSetBreak>No</DebuggerProperty-OptionalProperty-MemoryAccess-PermitToStopAndSetBreak>
+      <DebuggerProperty-OptionalProperty-PinMask-TargetResetMask>No</DebuggerProperty-OptionalProperty-PinMask-TargetResetMask>
+      <DebuggerProperty-OptionalProperty-PinMask-InternalResetMask>No</DebuggerProperty-OptionalProperty-PinMask-InternalResetMask>
+      <DebuggerProperty-OptionalProperty-Trace-ClearTraceMemory>Yes</DebuggerProperty-OptionalProperty-Trace-ClearTraceMemory>
+      <DebuggerProperty-OptionalProperty-Trace-TraceMode>Nonstop</DebuggerProperty-OptionalProperty-Trace-TraceMode>
+      <DebuggerProperty-OptionalProperty-Trace-TraceRate>0</DebuggerProperty-OptionalProperty-Trace-TraceRate>
+      <DebuggerProperty-OptionalProperty-PinMask-WaitMask>No</DebuggerProperty-OptionalProperty-PinMask-WaitMask>
+      <DebuggerProperty-OptionalProperty-PinMask-NmiMask>No</DebuggerProperty-OptionalProperty-PinMask-NmiMask>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectFetchGuard>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectFetchGuard>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectWriteGuard>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectWriteGuard>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectSfrRead>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectSfrRead>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectSfrWrite>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectSfrWrite>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-StackOverflow>No</DebuggerProperty-OptionalProperty-FailSafeBreak-StackOverflow>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-StackTop>QABTAFQARQBOAEQA</DebuggerProperty-OptionalProperty-FailSafeBreak-StackTop>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-StackUnderflow>No</DebuggerProperty-OptionalProperty-FailSafeBreak-StackUnderflow>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-StackBottom>QABTAFQAQgBFAEcA</DebuggerProperty-OptionalProperty-FailSafeBreak-StackBottom>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-UnInitializedSp>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-UnInitializedSp>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-UnInitializedRam>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-UnInitializedRam>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectGuard>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectGuard>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-MissAlign>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-MissAlign>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-PeripheralFailsafe>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-PeripheralFailsafe>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-FlashIllegal>No</DebuggerProperty-OptionalProperty-FailSafeBreak-FlashIllegal>
+      <DebuggerProperty-OptionalProperty-Break-OpenBreak>No</DebuggerProperty-OptionalProperty-Break-OpenBreak>
+      <DebuggerProperty-OptionalProperty-Coverage-ReuseCoverageData>No</DebuggerProperty-OptionalProperty-Coverage-ReuseCoverageData>
+      <DebuggerProperty-OptionalProperty-Timer-TimerRate>1</DebuggerProperty-OptionalProperty-Timer-TimerRate>
+      <DebuggerProperty-HookProperty-HookTransaction-Downloading-Length>0</DebuggerProperty-HookProperty-HookTransaction-Downloading-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Downloaded-Length>0</DebuggerProperty-HookProperty-HookTransaction-Downloaded-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Reset-Length>0</DebuggerProperty-HookProperty-HookTransaction-Reset-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Going-Length>0</DebuggerProperty-HookProperty-HookTransaction-Going-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Broke-Length>0</DebuggerProperty-HookProperty-HookTransaction-Broke-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Connected-Length>0</DebuggerProperty-HookProperty-HookTransaction-Connected-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Disconnecting-Length>0</DebuggerProperty-HookProperty-HookTransaction-Disconnecting-Length>
+    </Instance>
+    <Instance Guid="5c2754eb-8b67-47d7-b205-e913e38c9746">
+      <DeviceChangedCounter>0</DeviceChangedCounter>
+      <DeviceName>R5F100LE</DeviceName>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Length>10</DebuggerProperty-EssentialProperty-Flash-IdCode-Length>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code0>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code0>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code1>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code1>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code2>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code2>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code3>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code3>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code4>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code4>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code5>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code5>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code6>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code6>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code7>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code7>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code8>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code8>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code9>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code9>
+      <DebuggerProperty-EssentialProperty-Clock-MainClockGeneration>0</DebuggerProperty-EssentialProperty-Clock-MainClockGeneration>
+      <DebuggerProperty-EssentialProperty-Clock-SubClockGeneration>0</DebuggerProperty-EssentialProperty-Clock-SubClockGeneration>
+      <DebuggerProperty-EssentialProperty-Flash-PermitFlashProgramming>Yes</DebuggerProperty-EssentialProperty-Flash-PermitFlashProgramming>
+      <DebuggerProperty-EssentialProperty-Flash-ForceEraseChip>No</DebuggerProperty-EssentialProperty-Flash-ForceEraseChip>
+      <DebuggerProperty-EssentialProperty-Clock-MonitorClock>System</DebuggerProperty-EssentialProperty-Clock-MonitorClock>
+      <DebuggerProperty-EssentialProperty-Flash-UseLowVoltageFlashMode>Yes</DebuggerProperty-EssentialProperty-Flash-UseLowVoltageFlashMode>
+      <DebuggerProperty-EssentialProperty-TargetConnect-TargetSupplyPower>No</DebuggerProperty-EssentialProperty-TargetConnect-TargetSupplyPower>
+      <DebuggerProperty-EssentialProperty-TargetConnect-TargetSuppliedVoltage>Use3_3V</DebuggerProperty-EssentialProperty-TargetConnect-TargetSuppliedVoltage>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-Length>1</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-Length>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-DebuggerGuid />
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileName>DefaultBuild\sample1.lmf</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileName>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileType>LoadModuleFile</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileType>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-Offset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-Offset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-StartAddress>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-StartAddress>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-ObjectDownload>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-ObjectDownload>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-SymbolDownload>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-SymbolDownload>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-UsePicPidOffset>False</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-UsePicPidOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PicOffset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PicOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PidOffset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PidOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-GenerateInformationForInputCompletion>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-GenerateInformationForInputCompletion>
+      <DebuggerProperty-DownloadProperty-DebugInformation-CpuReset>True</DebuggerProperty-DownloadProperty-DebugInformation-CpuReset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-FlashErase>False</DebuggerProperty-DownloadProperty-DebugInformation-FlashErase>
+      <DebuggerProperty-DownloadProperty-DebugInformation-EventCorrection>SuspendEvent</DebuggerProperty-DownloadProperty-DebugInformation-EventCorrection>
+      <DebuggerProperty-DownloadProperty-DebugInformation-SkipStartup>True</DebuggerProperty-DownloadProperty-DebugInformation-SkipStartup>
+      <DebuggerProperty-DownloadProperty-DebugInformation-MainSymbol>XwBzAHQAYQBfAGsAZQByAA==</DebuggerProperty-DownloadProperty-DebugInformation-MainSymbol>
+      <DebuggerProperty-DownloadProperty-DebugInformation-StartupStartSymbol>XwBzAHQAYQByAHQA</DebuggerProperty-DownloadProperty-DebugInformation-StartupStartSymbol>
+      <DebuggerProperty-DownloadProperty-DebugInformation-StartupEndSymbol>XwBAAGMAZQBuAGQA</DebuggerProperty-DownloadProperty-DebugInformation-StartupEndSymbol>
+      <DebuggerProperty-DownloadProperty-Download-DownloadMode>SpeedPriority</DebuggerProperty-DownloadProperty-Download-DownloadMode>
+      <DebuggerProperty-DownloadProperty-DebugInformation-MonitorOverwrite>Yes</DebuggerProperty-DownloadProperty-DebugInformation-MonitorOverwrite>
+      <DebuggerProperty-OptionalProperty-AccessMemory-UpdateDisplayInExecution>Yes</DebuggerProperty-OptionalProperty-AccessMemory-UpdateDisplayInExecution>
+      <DebuggerProperty-OptionalProperty-AccessMemory-UpdateInterval>500</DebuggerProperty-OptionalProperty-AccessMemory-UpdateInterval>
+      <DebuggerProperty-OptionalProperty-Register-ClearRegisterWhenReset>No</DebuggerProperty-OptionalProperty-Register-ClearRegisterWhenReset>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-Length>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-Length>
+      <DebuggerProperty-OptionalProperty-Memory-VerifyCheck>Yes</DebuggerProperty-OptionalProperty-Memory-VerifyCheck>
+      <DebuggerProperty-OptionalProperty-Assemble-DisplaySymbol>SymbolOffset</DebuggerProperty-OptionalProperty-Assemble-DisplaySymbol>
+      <DebuggerProperty-OptionalProperty-Assemble-DisplayFunctionName>Yes</DebuggerProperty-OptionalProperty-Assemble-DisplayFunctionName>
+      <DebuggerProperty-OptionalProperty-Break-BreakpointPriority>SoftwareBreak</DebuggerProperty-OptionalProperty-Break-BreakpointPriority>
+      <DebuggerProperty-OptionalProperty-Break-TimerPeripheralBreak>No</DebuggerProperty-OptionalProperty-Break-TimerPeripheralBreak>
+      <DebuggerProperty-OptionalProperty-Break-SerialPeripheralBreak>No</DebuggerProperty-OptionalProperty-Break-SerialPeripheralBreak>
+      <DebuggerProperty-OptionalProperty-MemoryAccess-PermitToStopAndRead>No</DebuggerProperty-OptionalProperty-MemoryAccess-PermitToStopAndRead>
+      <DebuggerProperty-OptionalProperty-MemoryAccess-PermitToStopAndSetBreak>No</DebuggerProperty-OptionalProperty-MemoryAccess-PermitToStopAndSetBreak>
+      <DebuggerProperty-OptionalProperty-PinMask-TargetResetMask>No</DebuggerProperty-OptionalProperty-PinMask-TargetResetMask>
+      <DebuggerProperty-OptionalProperty-PinMask-InternalResetMask>No</DebuggerProperty-OptionalProperty-PinMask-InternalResetMask>
+      <DebuggerProperty-OptionalProperty-AccessMemory-RamMonitorClockFrequency>8000</DebuggerProperty-OptionalProperty-AccessMemory-RamMonitorClockFrequency>
+      <DebuggerProperty-OptionalProperty-AccessMemory-RamMonitorClock>Internal</DebuggerProperty-OptionalProperty-AccessMemory-RamMonitorClock>
+      <DebuggerProperty-OptionalProperty-AccessMemory-CkcRegisterValue>9</DebuggerProperty-OptionalProperty-AccessMemory-CkcRegisterValue>
+      <DebuggerProperty-HookProperty-HookTransaction-Downloading-Length>0</DebuggerProperty-HookProperty-HookTransaction-Downloading-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Downloaded-Length>0</DebuggerProperty-HookProperty-HookTransaction-Downloaded-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Reset-Length>0</DebuggerProperty-HookProperty-HookTransaction-Reset-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Going-Length>0</DebuggerProperty-HookProperty-HookTransaction-Going-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Broke-Length>0</DebuggerProperty-HookProperty-HookTransaction-Broke-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Connected-Length>0</DebuggerProperty-HookProperty-HookTransaction-Connected-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Disconnecting-Length>0</DebuggerProperty-HookProperty-HookTransaction-Disconnecting-Length>
+    </Instance>
+  </Class>
+  <Class Guid="2a2c2a43-ecdb-4e88-80bd-e75f3e33db90">
+    <Instance Guid="2a2c2a43-ecdb-4e88-80bd-e75f3e33db90">
+      <ProductVersion>4.02.00.00</ProductVersion>
+    </Instance>
+  </Class>
+</CubeSuiteProject>
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/ssp_rl78/sample1/src/sample1.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/ssp_rl78/sample1/src/sample1.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/ssp_rl78/sample1/src/sample1.c	(revision 93)
@@ -0,0 +1,338 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ * 
+ *  Copyright (C) 2008 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2010-2012 by Meika Sugimoto
+ *  Copyright (C) 2014,2015 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+ 
+/* 
+ *  TOPPERS/SSPÌTvvO
+ *
+ *  SSPJ[lÌî{IÈ®ìðmF·é½ßÌTvvOD
+ *
+ *  vOÌTv:
+ *
+ *  [UC^tF[Xðó¯ÂC^XNÆC3ÂÌÀsÀs³êé
+ *  ^XNÆÅ\¬³êéD^XNID¨æÑDæxÝèÍÈºÌÊèD
+ *     (^XNID)   (N®Dæx)    (ÀsDæx)
+ *      MAIN_TASK    MAIN_PRIORITY     (¶É¯¶)
+ *      TASK1        TASK1_PRIORITY    (¶É¯¶)
+ *      TASK2        TASK2_PRIORITY    (¶É¯¶)
+ *      TASK3        TASK3_PRIORITY    TASK3_EXEPRIORITY
+ *
+ *  Ü½CN®üúª2bÌüúnhiüúnhID: CYC1j¨æÑ
+ *  C^XNN®pÌüúnh(üúnhID: MAIN_CYC)ðp¢éD
+ *
+ *  ÀsÀs³êé^XNÍCtask_loopñó[vðÀs·éxÉC^XNª
+ *  ÀsÅ é±Æð çí·bZ[Wð\¦·éDó[vðÀs·é
+ *  ÌÍCó[vÈµÅbZ[WðoÍ·éÆC½ÊÌbZ[WªoÍ
+ *  ³êCvOÌ®ìªmFµ¸ç­Èé½ßÅ éDÜ½Cá¬ÈV
+ *  A|[gðp¢ÄbZ[WðoÍ·éêÉC·×ÄÌbZ[W
+ *  ªoÍÅ«éæ¤ÉCbZ[WÌÊð§À·éÆ¢¤Rà éD
+ *
+ *  üúnh(CYC1)ÍCN®µ½±Æð¦·bZ[Wð\¦·éD
+ *  vOÌN®¼ãÍCüúnh(CYC1)Íâ~óÔÉÈÁÄ¢éD
+ *
+ *  C^XNÍCüúnh(MAIN_CYC)©ç100~b²ÆÉN®³êC
+ *  VAI/O|[g©çÌ¶üÍðs¢CüÍ³ê½
+ *  ¶ÉÎµ½ðÀs·éDüÍ³ê½¶ÆÌÖWÍÌÊèD
+ *  'Q'ªüÍ³êéÆCvOðI¹·éD
+ *
+ *  '1' : ÎÛ^XNðTASK1ÉØè·¦éiúÝèjD
+ *  '2' : ÎÛ^XNðTASK2ÉØè·¦éD
+ *  '3' : ÎÛ^XNðTASK3ÉØè·¦éD
+ *  'a' : ÎÛ^XNðact_tskÉæèN®·éD
+ *  'e' : ÎÛ^XNðÖÌ^[ÉæèI¹³¹éD
+ *  'c' : üúnhð®ìJn³¹éD
+ *  'C' : üúnhð®ìâ~³¹éD
+ *  'b' : A[nhð5bãÉN®·éæ¤®ìJn³¹éD
+ *  'B' : A[nhð®ìâ~³¹éD
+ *  'z' : ÎÛ^XNÉCPUáOð­¶³¹éi^XNðI¹³¹éjD
+ *  's' : CxgtO(ID:FLG1)ÉY^XNÉÖA·érbgðZbg·éD
+ *  'l' : ·×ÄÌ^XNÖA·éCxgtO(ID:FLG1)ÌrbgðNA·éD
+ *  'p' : |[OÅCxgtO(FLG1)ðÒÂD
+ *  'd' : |[OÅf[^L
+[(ID:DTQ1)Öf[^ðM·éD
+ *  'r' : |[OÅf[^L
+[(ID:DTQ1)©çf[^ðóM·éD
+ */
+
+#include <kernel.h>
+#include <sil.h>
+#include <t_syslog.h>
+#include "kernel_cfg.h"
+#include "syssvc/serial.h"
+#include "syssvc/logtask.h"
+
+#include "sample1.h"
+
+
+/*
+ *  VXeT[rXÌG[nhO
+ */
+#define SVC(expression)											\
+	if((expression) < 0)										\
+	{															\
+		syslog(LOG_NOTICE , "Error at %s : %d caused by %s." ,	\
+			__FILE__ , __LINE__ , #expression);					\
+	}
+
+/*
+ *  ÀñÀs³êé^XNÖÌbZ[WÌæ
+ */
+char message[3];
+
+/*
+ *  [vñ
+ */
+ulong_t	task_loop;		/* ^XNàÅÌ[vñ */
+
+void init_task(intptr_t exinf)
+{
+#ifndef TASK_LOOP
+	volatile ulong_t	i;
+	SYSTIM	stime1, stime2;
+#endif /* TASK_LOOP */
+	
+	/* VA|[gÌI[v */
+	SVC(serial_opn_por(TASK_PORTID));
+	SVC(serial_ctl_por(TASK_PORTID , IOCTL_CRLF));
+	
+	/* O^XNÌú» */
+	logtask_initialize(LOGTASK_PORTID);
+	
+	/* N®bZ[WÌoÍ */
+	syslog(LOG_INFO , "Sample program starts.");
+	
+	/* üúnhÌN® */
+	SVC(sta_cyc(MAIN_CYC));
+	
+	/*
+ 	 *  [vñÌÝè
+	 *
+	 *  TASK_LOOPª}Nè`³êÄ¢éêCªè¹¸ÉCTASK_LOOPÉè
+	 *  `³ê½lðC^XNàÅÌ[vñÆ·éD
+	 *
+	 *  MEASURE_TWICEª}Nè`³êÄ¢éêC1ñÚÌªèÊðÌÄ
+	 *  ÄC2ñÚÌªèÊðg¤D1ñÚÌªèÍ·ßÌÔªoé½ßD
+	 */
+#ifdef TASK_LOOP
+	task_loop = TASK_LOOP;
+#else /* TASK_LOOP */
+
+	task_loop = LOOP_REF;
+	SVC(get_tim(&stime1));
+	for (i = 0; i < task_loop; i++) {
+		/* Ô©¹¬Ì½ßÌ[vÅ èC±±ÅÍ½àµÈ¢ */
+	}
+	SVC(get_tim(&stime2));
+	task_loop = LOOP_REF * 400UL / (stime2 - stime1);
+
+#endif /* TASK_LOOP */
+
+}
+
+
+void main_task(intptr_t exinf)
+{
+	static ID tskid = TASK1;
+	static uint_t tskno = 1;
+	char c;
+	
+
+	/* VA|[g©çÌ¶óM */
+	if(serial_rea_dat(TASK_PORTID , &c , 1) > 0)
+	{
+		switch(c)
+		{
+		case 'e':
+		case 's':
+		case 'l':
+		case 'p':
+		case 'd':
+		case 'r':
+		case 'z':
+			message[tskno-1] = c;
+		    break;
+		case '1':
+			tskid = TASK1;
+			tskno = 1;
+			break;
+		case '2':
+			tskid = TASK2;
+			tskno = 2;
+			break;
+		case '3':
+			tskid = TASK3;
+			tskno = 3;
+			break;
+		case 'a':
+			syslog(LOG_INFO, "#act_tsk(%d)", tskno);
+			SVC(act_tsk(tskid));
+			break;
+		case 'b':
+			syslog(LOG_INFO, "#sta_alm(1, 5000)");
+			SVC(sta_alm(ALM1 , 5000));
+			break;
+		case 'B':
+			syslog(LOG_INFO, "#stp_alm(1)");
+			SVC(stp_alm(ALM1));
+			break;
+		case 'c':
+			syslog(LOG_INFO, "sta_cyc(1)");
+			SVC(sta_cyc(CYC1));
+			break;
+		case 'C':
+			syslog(LOG_INFO, "stp_cyc(1)");
+			SVC(stp_cyc(CYC1));
+			break;
+		case 'Q':
+			syslog(LOG_NOTICE, "Sample program ends.");
+			SVC(ext_ker());
+			break;
+		default:
+			/* G[\¦ */
+			syslog(LOG_INFO , "Unknown command.");
+			break;
+		}
+	}
+}
+
+
+void task(intptr_t exinf)
+{
+	/* exinfÍ^XNÔ  */
+	uint_t tskno = (uint_t)exinf;
+	int_t		n = 0;
+	char command;
+	volatile ulong_t i;
+	const char	*graph[] = { "|", "  +", "    *" };
+	bool_t cont = true;
+	FLGPTN pattern;
+	const FLGPTN flgptn[] = { 0x00000001U, 0x00000002U, 0x00000004U };
+	const FLGPTN allptn = 0x00000007U;
+	intptr_t dtqdata;
+	
+	do
+	{
+		for (i = 0; i < task_loop; i++) {
+			/* Ô©¹¬Ì½ßÌ[vÅ èC±±ÅÍ½àµÈ¢ */
+		}
+		
+		/* ^XNÔÌ\¦ */
+		syslog(LOG_NOTICE, "task%d is running (%03d).   %s",
+										tskno, ++n, graph[tskno-1]);
+		
+		/* R}hæ¾CbZ[WÌæðNA */
+		command = message[tskno - 1];
+		message[tskno - 1] = 0;
+		
+		switch(command)
+		{
+		case 'e':
+			cont = false;
+			syslog(LOG_INFO, "#%d#terminate task", tskno);
+			break;
+		case 's':
+			SVC(set_flg(FLG1 , flgptn[tskno - 1]));
+			syslog(LOG_INFO, "#%d#set_flg(flgid=%d , mask=%d)",
+									tskno , FLG1 , flgptn[tskno - 1]);
+			break;
+		case 'l':
+			SVC(clr_flg(FLG1 , ~allptn));
+			syslog(LOG_INFO, "#%d#clr_flg(flgid=%d)", tskno , FLG1);
+			break;
+		case 'p':
+			SVC(pol_flg(FLG1 , allptn , TWF_ORW , &pattern));
+			syslog(LOG_INFO, "#%d#pol_flg(flgid=%d , value=%u)", tskno , FLG1 , pattern);
+			break;
+		case 'd':
+			SVC(psnd_dtq(DTQ1 , (intptr_t)tskno));
+			syslog(LOG_INFO, "#%d#snd_dtq(dtqid=%d , value=%u)", tskno , DTQ1 , tskno);
+			break;
+		case 'r':
+			SVC(prcv_dtq(DTQ1 , (intptr_t *)(&dtqdata)));
+			syslog(LOG_INFO, "#%d#rcv_dtq(dtqid=%d , value=%u)", tskno , DTQ1 , dtqdata);
+			break;
+#ifdef CPUEXC1
+		case 'z':
+			syslog(LOG_NOTICE, "#%d#raise CPU exception", tskno);
+			RAISE_CPU_EXCEPTION;
+			break;
+#endif /* CPUEXC1 */
+		default:
+			break;
+		}
+	}while(cont == true);
+}
+
+
+void alarm_handler(intptr_t exinf)
+{
+	ID tskid = (ID)exinf;
+	
+	syslog(LOG_INFO , "Alarm handler is raised.");
+	SVC(iact_tsk(tskid));
+}
+
+void main_task_cychdr(intptr_t exinf)
+{
+	ID tskid = (ID)exinf;
+	
+	(void)iact_tsk(tskid);
+}
+
+void cyclic_handler(intptr_t exinf)
+{
+	syslog(LOG_INFO , "Cyclic handler is raised.");
+}
+
+#ifdef CPUEXC1
+void exc_handler(void *p_excinf)
+{
+	syslog(LOG_INFO , "CPU exception handler.");
+	syslog(LOG_INFO , "Kernel exit.");
+	
+	(void)ext_ker();
+}
+#endif /* CPUEXC1 */
+
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/ssp_rl78/sample1/src/sample1.cfg
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/ssp_rl78/sample1/src/sample1.cfg	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/ssp_rl78/sample1/src/sample1.cfg	(revision 93)
@@ -0,0 +1,34 @@
+/*
+ *  TOPPESRS/SSPJ[lÌTvvO
+ */
+
+#include "sample1.h"
+
+INCLUDE("target_timer.cfg");
+INCLUDE("syssvc/serial.cfg");
+INCLUDE("syssvc/banner.cfg");
+INCLUDE("syssvc/syslog.cfg");
+INCLUDE("syssvc/logtask.cfg");
+
+CRE_TSK(INIT_TASK , { TA_ACT , 0 , init_task , INIT_PRIORITY , STACK_SIZE , NULL });
+CRE_TSK(MAIN_TASK , { TA_NULL , 0 , main_task , MAIN_PRIORITY , STACK_SIZE , NULL });
+CRE_TSK(TASK1 , { TA_NULL , 1 , task , TASK1_PRIORITY , STACK_SIZE , NULL });
+CRE_TSK(TASK2 , { TA_NULL , 2 , task , TASK2_PRIORITY , STACK_SIZE , NULL });
+CRE_TSK(TASK3 , { TA_NULL , 3 , task , TASK3_PRIORITY , STACK_SIZE , NULL });
+
+DEF_EPR(TASK3 , { TASK3_EXEPRIORITY });
+
+CRE_CYC(MAIN_CYC , { TA_NULL , MAIN_TASK , main_task_cychdr , 100 , 100 });
+CRE_CYC(CYC1 , { TA_NULL , 0 , cyclic_handler , 2000 , 2000 });
+CRE_ALM(ALM1 , { TA_NULL , TASK2 , alarm_handler });
+
+CRE_FLG(FLG1 , { TA_NULL , 0x00000000 });
+CRE_DTQ(DTQ1 , { TA_NULL , 3 , NULL });
+
+DEF_STK({ ALL_STACKSIZE , NULL });
+DEF_ICS({ INTERRUPT_STACKSIZE , NULL });
+
+#ifdef CPUEXC1
+DEF_EXC(CPUEXC1 , { TA_NULL , exc_handler });
+#endif /* CPUEXC1 */
+
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/ssp_rl78/sample1/src/sample1.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/ssp_rl78/sample1/src/sample1.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/ssp_rl78/sample1/src/sample1.h	(revision 93)
@@ -0,0 +1,110 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2010-2012 by Meika Sugimoto
+ *  Copyright (C) 2014 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+#ifndef TOPPERS_SAMPLE1_H
+#define TOPPERS_SAMPLE1_H
+
+/*
+ *  ^[QbgË¶Ìè`
+ */
+#include "target_test.h"
+
+#if TMAX_TPRI == 16
+
+#define INIT_PRIORITY			(1)
+#define ERRORTSK_PRIORITY		(6)
+#define MAIN_PRIORITY			(7)
+#define TASK1_PRIORITY			(8)
+#define TASK2_PRIORITY			(9)
+#define TASK3_PRIORITY			(10)
+#define TASK3_EXEPRIORITY		(9)
+
+#else
+
+/* TMAX_TPRI == 8 */
+#define INIT_PRIORITY			(1)
+#define ERRORTSK_PRIORITY		(2)
+#define MAIN_PRIORITY			(3)
+#define TASK1_PRIORITY			(4)
+#define TASK2_PRIORITY			(5)
+#define TASK3_PRIORITY			(6)
+#define TASK3_EXEPRIORITY		(5)
+
+#endif /* TMAX_TPRI == 16 */
+
+#ifndef ALL_STACKSIZE
+#define ALL_STACKSIZE			(2048)
+#endif /* ITSK_STACKSIZE */
+
+#ifndef INTERRUPT_STACKSIZE
+#define INTERRUPT_STACKSIZE		(1024)
+#endif /* INTERRUPT_STACKSIZE */
+
+
+#ifndef TASK_PORTID
+#define	TASK_PORTID		1					/* ¶üÍ·éVA|[gID */
+#endif /* TASK_PORTID */
+
+#ifndef LOOP_REF
+#define LOOP_REF		ULONG_C(1000000)	/* ¬xvªpÌ[vñ */
+#endif /* LOOP_REF */
+
+#ifndef STACK_SIZE
+#define STACK_SIZE				(256)
+#endif /* STACK_SIZE */
+
+#ifndef TOPPERS_MACRO_ONLY
+
+extern void init_task(intptr_t exinf);
+extern void main_task(intptr_t exinf);
+extern void task(intptr_t exinf);
+
+extern void main_task_cychdr(intptr_t exinf);
+extern void cyclic_handler(intptr_t exinf);
+extern void alarm_handler(intptr_t exinf);
+extern void interrupt_service_routine(intptr_t exinf);
+#ifdef CPUEXC1
+extern void     exc_handler(void *p_excinf);
+#endif /* CPUEXC1 */
+
+#endif /* TOPPERS_MACRO_ONLY */
+#endif /* TOPPERS_SAMPLE1_H */
+
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/ssp_rl78/sample1/sys-cfg/sys-cfg.mtsp
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/ssp_rl78/sample1/sys-cfg/sys-cfg.mtsp	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/ssp_rl78/sample1/sys-cfg/sys-cfg.mtsp	(revision 93)
@@ -0,0 +1,1006 @@
+<CubeSuiteProject>
+  <ProductVersion>4.02.00.00</ProductVersion>
+  <Class Guid="68f4a651-b9cd-473b-a595-b00447132ffa">
+    <Instance Guid="00000000-0000-0000-0000-000000000000">
+      <FormatVersion>2.0</FormatVersion>
+      <FileVersion>4.2</FileVersion>
+      <ProjectGuid>2f761158-6fc5-48bb-9a8d-d087da817306</ProjectGuid>
+      <ProjectItemGuid>af5e4e86-9b16-42e6-93ee-355cb62d1f61</ProjectItemGuid>
+      <FileCategoryGuid>ef7d6f43-ffc4-4ee7-bd61-f10cff0eb0a1</FileCategoryGuid>
+      <Property>fb98844b-2c27-4275-9804-f6e63e204da0</Property>
+    </Instance>
+    <Instance Guid="63bab40a-ea20-4046-ae9a-9339a336259a">
+      <Name>configuration file</Name>
+      <Type>Category</Type>
+      <ParentItem>ef7d6f43-ffc4-4ee7-bd61-f10cff0eb0a1</ParentItem>
+      <Property>8e898c7d-0bce-4fcd-b3d0-8b9bd7ef5390</Property>
+    </Instance>
+    <Instance Guid="7ddeec76-efc6-4439-8ec9-d8ad59af6a64">
+      <Name>API table</Name>
+      <Type>Category</Type>
+      <ParentItem>ef7d6f43-ffc4-4ee7-bd61-f10cff0eb0a1</ParentItem>
+      <Property>6ba159af-4ecc-46ed-a92a-36df0dd3e995</Property>
+    </Instance>
+    <Instance Guid="f7bf5bac-7577-4ef2-b34c-00674858b0c4">
+      <Name>macro definition file</Name>
+      <Type>Category</Type>
+      <ParentItem>ef7d6f43-ffc4-4ee7-bd61-f10cff0eb0a1</ParentItem>
+      <Property>d9220777-3faf-44d8-9327-705c438b8416</Property>
+    </Instance>
+    <Instance Guid="962437a3-5548-4a77-a3f5-d8a38480e925">
+      <Name>build</Name>
+      <Type>Category</Type>
+      <ParentItem>ef7d6f43-ffc4-4ee7-bd61-f10cff0eb0a1</ParentItem>
+      <Property>25f4c5ff-6426-4e73-85d7-67a549830a5f</Property>
+    </Instance>
+    <Instance Guid="0f563763-4a1b-4958-92fe-f85623eec174">
+      <Name>template file</Name>
+      <Type>Category</Type>
+      <ParentItem>ef7d6f43-ffc4-4ee7-bd61-f10cff0eb0a1</ParentItem>
+      <Property>ffcc4c31-672b-4d22-b80a-a66c7d090836</Property>
+    </Instance>
+    <Instance Guid="4f2f2209-abeb-432d-847e-367e58304617">
+      <Name>ã¹ã¿ã¼ãã¢ãã</Name>
+      <Type>Category</Type>
+      <TreeImageGuid>ca577376-6f97-4ef1-9fe7-b03e86e75233</TreeImageGuid>
+      <ParentItem>ef7d6f43-ffc4-4ee7-bd61-f10cff0eb0a1</ParentItem>
+      <Property>81c6c89e-ea6c-4eb1-af20-b3c12e316195</Property>
+    </Instance>
+    <Instance Guid="497c32d7-eb0b-4201-a8ef-4227492f9808">
+      <Name>sample1.cfg</Name>
+      <Type>File</Type>
+      <RelativePath>..\src\sample1.cfg</RelativePath>
+      <ParentItem>63bab40a-ea20-4046-ae9a-9339a336259a</ParentItem>
+      <Property>ce457225-6348-4721-ad58-f5cb9e83e37e</Property>
+    </Instance>
+    <Instance Guid="4e3c6d2c-38d3-4479-8276-a3199e31dc91">
+      <Name>ssp_kernel_api.csv</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\..\kernel\ssp_kernel_api.csv</RelativePath>
+      <ParentItem>7ddeec76-efc6-4439-8ec9-d8ad59af6a64</ParentItem>
+      <Property>ce2ed650-6718-4abf-b4f0-7d45e0eccca3</Property>
+    </Instance>
+    <Instance Guid="e4a5e2e2-1f9c-4736-8e13-dc5c9a7b8647">
+      <Name>ssp_kernel_def.csv</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\..\kernel\ssp_kernel_def.csv</RelativePath>
+      <ParentItem>f7bf5bac-7577-4ef2-b34c-00674858b0c4</ParentItem>
+      <Property>62ac7a9b-baef-45d0-9549-e727733059f0</Property>
+    </Instance>
+    <Instance Guid="f3eb0ff6-13b0-4577-9016-24941d8c00be">
+      <Name>syssvc_def.csv</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\..\syssvc\syssvc_def.csv</RelativePath>
+      <ParentItem>f7bf5bac-7577-4ef2-b34c-00674858b0c4</ParentItem>
+      <Property>e9014e32-cf77-453d-9685-b5865c5f44d3</Property>
+    </Instance>
+    <Instance Guid="61974aa6-607c-43b3-9f65-860e4345ef9d">
+      <Name>prc_def.csv</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\..\arch\rl78_ca78k0r\prc_def.csv</RelativePath>
+      <ParentItem>f7bf5bac-7577-4ef2-b34c-00674858b0c4</ParentItem>
+      <Property>eb3bf94d-b0e3-4b6f-9650-3bbdb890247a</Property>
+    </Instance>
+    <Instance Guid="53b47622-41f5-4b33-842f-105df77c676d">
+      <Name>target_def.csv</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\target_def.csv</RelativePath>
+      <ParentItem>f7bf5bac-7577-4ef2-b34c-00674858b0c4</ParentItem>
+      <Property>96099508-cdbb-4d76-a0b6-453d240a52e9</Property>
+    </Instance>
+    <Instance Guid="53969a79-a4f8-46d3-b13c-6aea90e13f25">
+      <Name>cfg1_out.c</Name>
+      <Type>File</Type>
+      <RelativePath>DefaultBuild\cfg1_out.c</RelativePath>
+      <TreeImageGuid>941832c1-fc3b-4e1b-94e8-01ea17128b42</TreeImageGuid>
+      <ParentItem>962437a3-5548-4a77-a3f5-d8a38480e925</ParentItem>
+      <Property>60845463-1601-4fdd-83b7-034dd682af23</Property>
+    </Instance>
+    <Instance Guid="246562dd-99f4-4e72-bb8d-be5eeeb5e024">
+      <Name>target_cfg1_out.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\target_cfg1_out.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>962437a3-5548-4a77-a3f5-d8a38480e925</ParentItem>
+      <Property>72b96318-e5a0-4147-a2ed-845652f8b7ed</Property>
+    </Instance>
+    <Instance Guid="60ce2d5b-0b15-4066-aa19-e5b29c1c8846">
+      <Name>prc_cfg1_out.h</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\..\arch\rl78_ca78k0r\prc_cfg1_out.h</RelativePath>
+      <TreeImageGuid>03cad1e8-2eb3-4cde-a8a3-982423631122</TreeImageGuid>
+      <ParentItem>962437a3-5548-4a77-a3f5-d8a38480e925</ParentItem>
+      <Property>41044096-a427-4327-b83f-36b271a90cbd</Property>
+    </Instance>
+    <Instance Guid="7c294749-0859-4f5e-9c82-2561def98272">
+      <Name>prc_sil.asm</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\..\arch\rl78_ca78k0r\prc_sil.asm</RelativePath>
+      <TreeImageGuid>f654126d-e7ad-426d-be34-8455271d959b</TreeImageGuid>
+      <ParentItem>962437a3-5548-4a77-a3f5-d8a38480e925</ParentItem>
+      <Property>6a6742d3-1c9c-4ffd-81dc-f73381521c60</Property>
+    </Instance>
+    <Instance Guid="40c6c7e7-5e03-45ed-b8ca-6d7bccc0e17f">
+      <Name>segment_e.asm</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\..\arch\rl78_ca78k0r\segment_e.asm</RelativePath>
+      <TreeImageGuid>f654126d-e7ad-426d-be34-8455271d959b</TreeImageGuid>
+      <ParentItem>962437a3-5548-4a77-a3f5-d8a38480e925</ParentItem>
+      <Property>4905f37e-940a-40f3-a3d6-5b00e33b40a4</Property>
+    </Instance>
+    <Instance Guid="0dca8dc0-234f-4ac1-af9e-0920732ceda3">
+      <Name>segment_s.asm</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\..\arch\rl78_ca78k0r\segment_s.asm</RelativePath>
+      <TreeImageGuid>f654126d-e7ad-426d-be34-8455271d959b</TreeImageGuid>
+      <ParentItem>962437a3-5548-4a77-a3f5-d8a38480e925</ParentItem>
+      <Property>60c75b87-829f-4a51-a236-0d3004e4fe6d</Property>
+    </Instance>
+    <Instance Guid="89067655-2919-4418-a873-d9faae5be121">
+      <Name>start.asm</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\..\arch\rl78_ca78k0r\start.asm</RelativePath>
+      <TreeImageGuid>f654126d-e7ad-426d-be34-8455271d959b</TreeImageGuid>
+      <ParentItem>962437a3-5548-4a77-a3f5-d8a38480e925</ParentItem>
+      <Property>25e8f7a7-8881-4995-b5dc-9e7444f251a8</Property>
+    </Instance>
+    <Instance Guid="e4ae0fab-a428-477b-9539-4c5bd7530b9d">
+      <Name>sys-cfg.vfi</Name>
+      <Type>File</Type>
+      <RelativePath>sys-cfg.vfi</RelativePath>
+      <TreeImageGuid>b5a43a5d-f54e-47f4-8f1d-9df7e9bed7af</TreeImageGuid>
+      <ParentItem>962437a3-5548-4a77-a3f5-d8a38480e925</ParentItem>
+      <Property>534718a9-1c6f-4ff5-a3dc-ea9a52ecaa9c</Property>
+    </Instance>
+    <Instance Guid="db76d520-e67b-4568-9d73-abbc837ae105">
+      <Name>ssp_rl78.dr</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\ssp_rl78.dr</RelativePath>
+      <TreeImageGuid>a4460d02-6943-4122-9169-dd699e916213</TreeImageGuid>
+      <ParentItem>962437a3-5548-4a77-a3f5-d8a38480e925</ParentItem>
+      <Property>e94d4746-b82a-429a-9c9c-3e2a33ae807c</Property>
+    </Instance>
+    <Instance Guid="000b9ecf-4abe-4f84-a711-68861b6c48d9">
+      <Name>target.tf</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\target.tf</RelativePath>
+      <ParentItem>0f563763-4a1b-4958-92fe-f85623eec174</ParentItem>
+      <Property>93f4f11f-08c3-4da7-a787-28043d3fd7d5</Property>
+    </Instance>
+    <Instance Guid="c7eec4f2-cc96-4b26-a102-5f39dc8a6896">
+      <Name>prc.tf</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\..\arch\rl78_ca78k0r\prc.tf</RelativePath>
+      <ParentItem>0f563763-4a1b-4958-92fe-f85623eec174</ParentItem>
+      <Property>f0b2f30b-e9cc-4741-83b3-d4f9eb972f77</Property>
+    </Instance>
+    <Instance Guid="856bebf2-966e-4bc3-9913-83491ad942bc">
+      <Name>rl78g13.tf</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\..\arch\rl78_ca78k0r\rl78g13.tf</RelativePath>
+      <ParentItem>0f563763-4a1b-4958-92fe-f85623eec174</ParentItem>
+      <Property>3e274a97-0fd7-4e98-88ce-28b93d0f0850</Property>
+    </Instance>
+    <Instance Guid="01fd367e-be9d-4568-bac1-fcafa6d6684d">
+      <Name>banner.tf</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\..\syssvc\banner.tf</RelativePath>
+      <ParentItem>0f563763-4a1b-4958-92fe-f85623eec174</ParentItem>
+      <Property>bd0a3838-0445-4a6d-b32a-cb5b76269750</Property>
+    </Instance>
+    <Instance Guid="cf967530-ccea-43c8-9d46-bb1ed29cb542">
+      <Name>kernel.tf</Name>
+      <Type>File</Type>
+      <RelativePath>..\..\..\..\..\kernel\kernel.tf</RelativePath>
+      <ParentItem>0f563763-4a1b-4958-92fe-f85623eec174</ParentItem>
+      <Property>388f201f-fd29-42bd-88d4-f4abb63534b6</Property>
+    </Instance>
+  </Class>
+  <Class Guid="fb98844b-2c27-4275-9804-f6e63e204da0">
+    <Instance Guid="2a349cb6-b982-4ade-adcd-104b883ad81c">
+      <MemoCount>0</MemoCount>
+    </Instance>
+  </Class>
+  <Class Guid="0d548289-d5e9-4893-9a8f-9374b13f19a9">
+    <Instance Guid="ce457225-6348-4721-ad58-f5cb9e83e37e">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="ce2ed650-6718-4abf-b4f0-7d45e0eccca3">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="62ac7a9b-baef-45d0-9549-e727733059f0">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="e9014e32-cf77-453d-9685-b5865c5f44d3">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="eb3bf94d-b0e3-4b6f-9650-3bbdb890247a">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="96099508-cdbb-4d76-a0b6-453d240a52e9">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="60845463-1601-4fdd-83b7-034dd682af23">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="72b96318-e5a0-4147-a2ed-845652f8b7ed">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="41044096-a427-4327-b83f-36b271a90cbd">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="6a6742d3-1c9c-4ffd-81dc-f73381521c60">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="4905f37e-940a-40f3-a3d6-5b00e33b40a4">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="60c75b87-829f-4a51-a236-0d3004e4fe6d">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="25e8f7a7-8881-4995-b5dc-9e7444f251a8">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="534718a9-1c6f-4ff5-a3dc-ea9a52ecaa9c">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="e94d4746-b82a-429a-9c9c-3e2a33ae807c">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="93f4f11f-08c3-4da7-a787-28043d3fd7d5">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="f0b2f30b-e9cc-4741-83b3-d4f9eb972f77">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="3e274a97-0fd7-4e98-88ce-28b93d0f0850">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="bd0a3838-0445-4a6d-b32a-cb5b76269750">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="388f201f-fd29-42bd-88d4-f4abb63534b6">
+      <MemoCount>0</MemoCount>
+    </Instance>
+  </Class>
+  <Class Guid="78a5c5cd-76cb-4bcc-a031-3020011fbc9a">
+    <Instance Guid="8e898c7d-0bce-4fcd-b3d0-8b9bd7ef5390">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="6ba159af-4ecc-46ed-a92a-36df0dd3e995">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="d9220777-3faf-44d8-9327-705c438b8416">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="25f4c5ff-6426-4e73-85d7-67a549830a5f">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="ffcc4c31-672b-4d22-b80a-a66c7d090836">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="81c6c89e-ea6c-4eb1-af20-b3c12e316195">
+      <MemoCount>0</MemoCount>
+    </Instance>
+  </Class>
+  <Class Guid="8fb9c1f6-d351-4d10-8d99-bf5b3015b84c">
+    <Instance Guid="00000000-0000-0000-0000-000000000000">
+      <UsingPlatformGuid>b0cb2657-6337-442d-978c-8dd81ad9ddf5</UsingPlatformGuid>
+    </Instance>
+  </Class>
+  <Class Guid="c325714f-8f51-484b-9e96-b4b59c0fb263">
+    <Instance Guid="c325714f-8f51-484b-9e96-b4b59c0fb263">
+      <DeviceManager>90ee5797-fc0c-48ea-b02f-689179ce9df7</DeviceManager>
+    </Instance>
+  </Class>
+  <Class Guid="90ee5797-fc0c-48ea-b02f-689179ce9df7">
+    <Instance Guid="90ee5797-fc0c-48ea-b02f-689179ce9df7">
+      <DataFormatVersion>1.0</DataFormatVersion>
+    </Instance>
+    <Instance Guid="48a784ef-5532-4564-a0c1-5cb048b777b1">
+      <DeviceName>R5F100LE</DeviceName>
+      <MemoCount>0</MemoCount>
+    </Instance>
+  </Class>
+  <Class Guid="873c9a58-9bc5-439a-b476-78629a4553ed">
+    <Instance Guid="873c9a58-9bc5-439a-b476-78629a4553ed">
+      <ProjectDeviceChangedCounter>0</ProjectDeviceChangedCounter>
+      <ProjectInitialDeviceName>R5F100LE</ProjectInitialDeviceName>
+    </Instance>
+  </Class>
+  <Class Guid="c3835e31-dea3-4c93-b02b-d2db997f7630">
+    <Instance Guid="c3835e31-dea3-4c93-b02b-d2db997f7630">
+      <BuildToolManager>11ff4962-ca73-4419-bb4a-67e9b8de9571</BuildToolManager>
+    </Instance>
+  </Class>
+  <Class Guid="11ff4962-ca73-4419-bb4a-67e9b8de9571">
+    <Instance Guid="11ff4962-ca73-4419-bb4a-67e9b8de9571">
+      <DataFormatVersion>1.1</DataFormatVersion>
+      <BuildModeCount>1</BuildModeCount>
+      <BuildMode0>RABlAGYAYQB1AGwAdABCAHUAaQBsAGQA</BuildMode0>
+      <BatchBuildFlag0>False</BatchBuildFlag0>
+      <CurrentBuildMode>DefaultBuild</CurrentBuildMode>
+      <SourceItemGuid0>53969a79-a4f8-46d3-b13c-6aea90e13f25</SourceItemGuid0>
+      <SourceItemType0>CSource</SourceItemType0>
+      <SourceItemGuid1>7c294749-0859-4f5e-9c82-2561def98272</SourceItemGuid1>
+      <SourceItemType1>AsmSource</SourceItemType1>
+      <SourceItemGuid2>40c6c7e7-5e03-45ed-b8ca-6d7bccc0e17f</SourceItemGuid2>
+      <SourceItemType2>AsmSource</SourceItemType2>
+      <SourceItemGuid3>0dca8dc0-234f-4ac1-af9e-0920732ceda3</SourceItemGuid3>
+      <SourceItemType3>AsmSource</SourceItemType3>
+      <SourceItemGuid4>89067655-2919-4418-a873-d9faae5be121</SourceItemGuid4>
+      <SourceItemType4>AsmSource</SourceItemType4>
+      <SourceItemGuid5>db76d520-e67b-4568-9d73-abbc837ae105</SourceItemGuid5>
+      <SourceItemType5>LinkDirectiveSource</SourceItemType5>
+      <SourceItemCount>6</SourceItemCount>
+      <VfiSourceItemGuid0>e4ae0fab-a428-477b-9539-4c5bd7530b9d</VfiSourceItemGuid0>
+      <VfiSourceItemType0>VariableInformationSource</VfiSourceItemType0>
+      <VfiSourceItemCount>1</VfiSourceItemCount>
+      <LastDeviceChangedCounter>0</LastDeviceChangedCounter>
+    </Instance>
+    <Instance Guid="e6d45d58-de50-4ae7-8d7f-320171fa9617">
+      <AdditionalIncludePathsForAssembler-DefaultValue />
+      <BuildMode-DefaultValue>DefaultBuild</BuildMode-DefaultValue>
+      <DependencyFileExistCheckingType-DefaultValue>Rebuild</DependencyFileExistCheckingType-DefaultValue>
+      <HexFile-DefaultValue>True</HexFile-DefaultValue>
+      <Memo-DefaultValue />
+      <Optimization-DefaultValue>Standard</Optimization-DefaultValue>
+      <OutputFileType-DefaultValue>LoadModuleFile</OutputFileType-DefaultValue>
+      <OutputMessageFormat-DefaultValue>%TargetFiles%</OutputMessageFormat-DefaultValue>
+      <RomizeFile-DefaultValue>False</RomizeFile-DefaultValue>
+      <SecurityId-DefaultValue>00000000000000000000</SecurityId-DefaultValue>
+      <UsingLibraries-DefaultValue />
+      <AdditionalIncludePathsForCompiler-DefaultValue />
+      <AdditionalLibraryPaths-DefaultValue />
+      <CompilerVersion-DefaultValue>
+
+0</CompilerVersion-DefaultValue>
+      <FormatBuildOptionList-DefaultValue>%TargetFiles% : %Program% %Options%</FormatBuildOptionList-DefaultValue>
+      <IntermediateOutputFolder-DefaultValue>%BuildModeName%</IntermediateOutputFolder-DefaultValue>
+      <OutputFolderNameForHex-DefaultValue>%BuildModeName%</OutputFolderNameForHex-DefaultValue>
+      <RomizeFileOutputFolder-DefaultValue>%BuildModeName%</RomizeFileOutputFolder-DefaultValue>
+      <SystemIncludePathsForAssemble-DefaultValue />
+      <MacroDefinitionForAssembler-DefaultValue />
+      <OutputFileNameForHex-DefaultValue>%ProjectName%.hex</OutputFileNameForHex-DefaultValue>
+      <OutputFolderNameForLinker-DefaultValue>%BuildModeName%</OutputFolderNameForLinker-DefaultValue>
+      <RomizeFileName-DefaultValue>romp.lmf</RomizeFileName-DefaultValue>
+      <SystemIncludePaths-DefaultValue />
+      <TemporaryFolder-DefaultValue />
+      <HexadecimalFileFormat-DefaultValue>IntelExtended</HexadecimalFileFormat-DefaultValue>
+      <MacroDefinitionForCompiler-DefaultValue />
+      <OutputFileNameForLinker-DefaultValue>%ProjectName%.lmf</OutputFileNameForLinker-DefaultValue>
+      <PreBuildCommands-DefaultValue />
+      <PostBuildCommands-DefaultValue />
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587883427399865328</TimeTagModified--0>
+      <BuildMode-0>DefaultBuild</BuildMode-0>
+      <Memo-0 />
+      <OutputMessageFormat-0>%TargetFiles%</OutputMessageFormat-0>
+      <FormatBuildOptionList-0>%TargetFiles% : %Program% %Options%</FormatBuildOptionList-0>
+      <PreBuildCommands-0>cd %OutputDir%
+%MainProjectDir%\..\..\..\cfg\cfg.exe --pass=1 --kernel=ssp --api-table %MainProjectDir%\..\..\..\kernel\ssp_kernel_api.csv --cfg1-def-table %MainProjectDir%\..\..\..\kernel\ssp_kernel_def.csv --cfg1-def-table %MainProjectDir%\..\..\..\syssvc\syssvc_def.csv --cfg1-def-table %MainProjectDir%\..\..\..\arch\rl78_ca78k0r\prc_def.csv --cfg1-def-table %MainProjectDir%\..\..\..\target\qb_r5f100le_cs\target_def.csv -I%MainProjectDir%\..\..\.. -I%MainProjectDir%\..\..\..\arch -I%MainProjectDir%\..\..\..\include -I%MainProjectDir%\..\..\..\syssvc -I%MainProjectDir%\..\..\..\target\qb_r5f100le_cs ..\..\src\sample1.cfg
+</PreBuildCommands-0>
+      <PostBuildCommands-0>cd %OutputDir%
+%MainProjectDir%\..\..\..\arch\ca78k0r\gensyms-rl78.exe %OutputDir%\sys-cfg.sym &gt; %OutputDir%\cfg1_out.syms
+%MainProjectDir%\..\..\..\cfg\cfg.exe --pass=2 --kernel=ssp --api-table %MainProjectDir%\..\..\..\kernel\ssp_kernel_api.csv --cfg1-def-table %MainProjectDir%\..\..\..\kernel\ssp_kernel_def.csv --cfg1-def-table %MainProjectDir%\..\..\..\syssvc\syssvc_def.csv --cfg1-def-table %MainProjectDir%\..\..\..\arch\rl78_ca78k0r\prc_def.csv --cfg1-def-table %MainProjectDir%\..\..\..\target\qb_r5f100le_cs\target_def.csv -I%MainProjectDir%\..\..\.. -I%MainProjectDir%\..\..\..\arch -I..\..\include -I%MainProjectDir%\..\..\..\kernel -I%MainProjectDir%\..\..\..\syssvc -I%MainProjectDir%\..\..\..\target\qb_r5f100le_cs -T %MainProjectDir%\..\..\..\target\qb_r5f100le_cs\target.tf ..\..\src\sample1.cfg
+copy prc_support_def.inc ..\..\..\libkernel\%BuildModeName%\prc_support_def.inc
+</PostBuildCommands-0>
+      <DependencyFileExistCheckingType-0>Rebuild</DependencyFileExistCheckingType-0>
+      <OutputFileType-0>HexFile</OutputFileType-0>
+      <SecurityId-0>00000000000000000000</SecurityId-0>
+      <IntermediateOutputFolder-0>%BuildModeName%</IntermediateOutputFolder-0>
+      <TemporaryFolder-0 />
+      <CompilerVersion-0>
+
+0</CompilerVersion-0>
+      <LastCompilerVersion-0>V1.70</LastCompilerVersion-0>
+    </Instance>
+    <Instance Guid="86700a2f-4f2c-4aec-8af7-7d69ad94a4a1">
+      <AdditionalIncludePaths-DefaultValue />
+      <AssemblyFile-DefaultValue>NotOutput</AssemblyFile-DefaultValue>
+      <BitFieldMostSignificantBit-DefaultValue>False</BitFieldMostSignificantBit-DefaultValue>
+      <CPlusPlusStyleComment-DefaultValue>True</CPlusPlusStyleComment-DefaultValue>
+      <CommonObject78K0R-DefaultValue>False</CommonObject78K0R-DefaultValue>
+      <DebugInformation-DefaultValue>AssemblyAndObject</DebugInformation-DefaultValue>
+      <MemoryModelType-DefaultValue>Medium</MemoryModelType-DefaultValue>
+      <OperationSwapping-DefaultValue>Yes</OperationSwapping-DefaultValue>
+      <Optimization-DefaultValue>Standard</Optimization-DefaultValue>
+      <PreCompileCommands-DefaultValue />
+      <PreprocessListFile-DefaultValue>False</PreprocessListFile-DefaultValue>
+      <ProvidedStartup-DefaultValue>Normal</ProvidedStartup-DefaultValue>
+      <StandardLibrary-DefaultValue>True</StandardLibrary-DefaultValue>
+      <VariableInformationFile-DefaultValue>sys-cfg.vfi</VariableInformationFile-DefaultValue>
+      <VerboseMode-DefaultValue>False</VerboseMode-DefaultValue>
+      <AutoVariablesToRegisterOrShortAddressing-DefaultValue>True</AutoVariablesToRegisterOrShortAddressing-DefaultValue>
+      <FixedStandardLibraryArea-DefaultValue>True</FixedStandardLibraryArea-DefaultValue>
+      <FlashObjects-DefaultValue>False</FlashObjects-DefaultValue>
+      <NestedComment-DefaultValue>False</NestedComment-DefaultValue>
+      <PostCompileCommands-DefaultValue />
+      <PreprocessListFileWithNoComment-DefaultValue>False</PreprocessListFileWithNoComment-DefaultValue>
+      <StructureMembersPacking-DefaultValue>False</StructureMembersPacking-DefaultValue>
+      <SystemIncludePaths-DefaultValue />
+      <VariableInformationBootAreaFile-DefaultValue />
+      <WarningLevel-DefaultValue>NormalOutput</WarningLevel-DefaultValue>
+      <ChineseCharactersCodeOnSourceFiles-DefaultValue>ShiftJis</ChineseCharactersCodeOnSourceFiles-DefaultValue>
+      <ExpansionOfDefinePreprocessDirective-DefaultValue>False</ExpansionOfDefinePreprocessDirective-DefaultValue>
+      <FarAreaToRom-DefaultValue>True</FarAreaToRom-DefaultValue>
+      <IndirectReferencingWithOneByte-DefaultValue>False</IndirectReferencingWithOneByte-DefaultValue>
+      <MacroDefinitions-DefaultValue />
+      <OtherAdditionalOptions-DefaultValue />
+      <RegisterVariablesToRegisterAndShortAddressing-DefaultValue>False</RegisterVariablesToRegisterAndShortAddressing-DefaultValue>
+      <StandardIOLibrarySupportingFloat-DefaultValue>False</StandardIOLibrarySupportingFloat-DefaultValue>
+      <StartAddressOfFlashArea-DefaultValue />
+      <AnsiNonstandardFeatures-DefaultValue>False</AnsiNonstandardFeatures-DefaultValue>
+      <DisablementOfSignExtendedCharCalculation-DefaultValue>True</DisablementOfSignExtendedCharCalculation-DefaultValue>
+      <ExpansionOfIfPreprocessDirective-DefaultValue>True</ExpansionOfIfPreprocessDirective-DefaultValue>
+      <MacroUndefinitions-DefaultValue />
+      <Multiplier-DefaultValue>True</Multiplier-DefaultValue>
+      <MultiplierAndDivider-DefaultValue>True</MultiplierAndDivider-DefaultValue>
+      <StandardStartupFileName-DefaultValue />
+      <StartAddressOfFlashAreaBranchTable-DefaultValue />
+      <CharToUnsignedChar-DefaultValue>False</CharToUnsignedChar-DefaultValue>
+      <ExpansionOfIncludePreprocessDirective-DefaultValue>False</ExpansionOfIncludePreprocessDirective-DefaultValue>
+      <MirrorSourceArea-DefaultValue>Maa0</MirrorSourceArea-DefaultValue>
+      <StaticVariablesToShortAddressing-DefaultValue>NotAllocate</StaticVariablesToShortAddressing-DefaultValue>
+      <UseMultiplyAndAccumulation-DefaultValue>True</UseMultiplyAndAccumulation-DefaultValue>
+      <BranchInstructionOptimization-DefaultValue>True</BranchInstructionOptimization-DefaultValue>
+      <ExpansionOfLinePreprocessDirective-DefaultValue>True</ExpansionOfLinePreprocessDirective-DefaultValue>
+      <ExternalVariablesToShortAddressing-DefaultValue>NotAllocate</ExternalVariablesToShortAddressing-DefaultValue>
+      <StandardLibraryFileNames-DefaultValue>cl0rm.lib
+cl0rmf.lib
+</StandardLibraryFileNames-DefaultValue>
+      <DestinationAreaOfRomData-DefaultValue>No</DestinationAreaOfRomData-DefaultValue>
+      <DisablementOfIntExtensionForFunction-DefaultValue>False</DisablementOfIntExtensionForFunction-DefaultValue>
+      <FixedCodeToLibrary-DefaultValue>NotReplace</FixedCodeToLibrary-DefaultValue>
+      <LineNumbers-DefaultValue>True</LineNumbers-DefaultValue>
+      <ErrorListFile-DefaultValue>NotOutput</ErrorListFile-DefaultValue>
+      <OutputObjectForRam-DefaultValue>None</OutputObjectForRam-DefaultValue>
+      <RelativeSwitchBranchTable-DefaultValue>False</RelativeSwitchBranchTable-DefaultValue>
+      <CrossReferenceListFile-DefaultValue>False</CrossReferenceListFile-DefaultValue>
+      <OptimizationForDebugging-DefaultValue>False</OptimizationForDebugging-DefaultValue>
+      <FeedControlCode-DefaultValue>False</FeedControlCode-DefaultValue>
+      <NumberOfCharactersPerLine-DefaultValue>132</NumberOfCharactersPerLine-DefaultValue>
+      <NumberOfLinesPerPage-DefaultValue>0</NumberOfLinesPerPage-DefaultValue>
+      <TabWidth-DefaultValue>8</TabWidth-DefaultValue>
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587930089628999364</TimeTagModified--0>
+      <AdditionalIncludePaths-0>..\..\..\..\..\kernel
+..\..\..
+..\..\..\..\..
+..\src
+..\..\..\..\..\arch
+..\..\..\..\..\include
+..\..\..\..\..\extension
+</AdditionalIncludePaths-0>
+      <AssemblyFile-0>WithNoCSource</AssemblyFile-0>
+      <BitFieldMostSignificantBit-0>False</BitFieldMostSignificantBit-0>
+      <CPlusPlusStyleComment-0>True</CPlusPlusStyleComment-0>
+      <DebugInformation-0>AssemblyAndObject</DebugInformation-0>
+      <Optimization-0>No</Optimization-0>
+      <PreCompileCommands-0 />
+      <PreprocessListFile-0>False</PreprocessListFile-0>
+      <ProvidedStartup-0>NoUse</ProvidedStartup-0>
+      <StandardLibrary-0>True</StandardLibrary-0>
+      <VerboseMode-0>False</VerboseMode-0>
+      <FixedStandardLibraryArea-0>True</FixedStandardLibraryArea-0>
+      <NestedComment-0>False</NestedComment-0>
+      <PostCompileCommands-0 />
+      <PreprocessListFileWithNoComment-0>False</PreprocessListFileWithNoComment-0>
+      <StructureMembersPacking-0>False</StructureMembersPacking-0>
+      <SystemIncludePaths-0 />
+      <WarningLevel-0>NormalOutput</WarningLevel-0>
+      <ChineseCharactersCodeOnSourceFiles-0>ShiftJis</ChineseCharactersCodeOnSourceFiles-0>
+      <ExpansionOfDefinePreprocessDirective-0>False</ExpansionOfDefinePreprocessDirective-0>
+      <MacroDefinitions-0 />
+      <OtherAdditionalOptions-0 />
+      <StandardIOLibrarySupportingFloat-0>False</StandardIOLibrarySupportingFloat-0>
+      <AnsiNonstandardFeatures-0>False</AnsiNonstandardFeatures-0>
+      <ExpansionOfIfPreprocessDirective-0>True</ExpansionOfIfPreprocessDirective-0>
+      <MacroUndefinitions-0 />
+      <Multiplier-0>True</Multiplier-0>
+      <MultiplierAndDivider-0>True</MultiplierAndDivider-0>
+      <StandardStartupFileName-0 />
+      <ExpansionOfIncludePreprocessDirective-0>True</ExpansionOfIncludePreprocessDirective-0>
+      <StaticVariablesToShortAddressing-0>NotAllocate</StaticVariablesToShortAddressing-0>
+      <ExpansionOfLinePreprocessDirective-0>True</ExpansionOfLinePreprocessDirective-0>
+      <ExternalVariablesToShortAddressing-0>NotAllocate</ExternalVariablesToShortAddressing-0>
+      <DisablementOfIntExtensionForFunction-0>False</DisablementOfIntExtensionForFunction-0>
+      <LineNumbers-0>True</LineNumbers-0>
+      <ErrorListFile-0>NotOutput</ErrorListFile-0>
+      <CrossReferenceListFile-0>False</CrossReferenceListFile-0>
+      <FeedControlCode-0>False</FeedControlCode-0>
+      <NumberOfCharactersPerLine-0>132</NumberOfCharactersPerLine-0>
+      <TabWidth-0>8</TabWidth-0>
+      <CommonObject78K0R-0>False</CommonObject78K0R-0>
+      <MemoryModelType-0>Medium</MemoryModelType-0>
+      <OperationSwapping-0>Yes</OperationSwapping-0>
+      <AutoVariablesToRegisterOrShortAddressing-0>True</AutoVariablesToRegisterOrShortAddressing-0>
+      <FlashObjects-0>False</FlashObjects-0>
+      <VariableInformationBootAreaFile-0 />
+      <FarAreaToRom-0>True</FarAreaToRom-0>
+      <IndirectReferencingWithOneByte-0>False</IndirectReferencingWithOneByte-0>
+      <RegisterVariablesToRegisterAndShortAddressing-0>False</RegisterVariablesToRegisterAndShortAddressing-0>
+      <StartAddressOfFlashArea-0 />
+      <DisablementOfSignExtendedCharCalculation-0>True</DisablementOfSignExtendedCharCalculation-0>
+      <StartAddressOfFlashAreaBranchTable-0 />
+      <CharToUnsignedChar-0>False</CharToUnsignedChar-0>
+      <MirrorSourceArea-0>Maa0</MirrorSourceArea-0>
+      <UseMultiplyAndAccumulation-0>False</UseMultiplyAndAccumulation-0>
+      <BranchInstructionOptimization-0>True</BranchInstructionOptimization-0>
+      <DestinationAreaOfRomData-0>No</DestinationAreaOfRomData-0>
+      <FixedCodeToLibrary-0>NotReplace</FixedCodeToLibrary-0>
+      <OutputObjectForRam-0>None</OutputObjectForRam-0>
+      <RelativeSwitchBranchTable-0>False</RelativeSwitchBranchTable-0>
+      <OptimizationForDebugging-0>False</OptimizationForDebugging-0>
+      <NumberOfLinesPerPage-0>0</NumberOfLinesPerPage-0>
+    </Instance>
+    <Instance Guid="7465f21d-b667-41e3-a989-056755c20ba3">
+      <AdditionalIncludePaths-DefaultValue />
+      <AssembleListFile-DefaultValue>True</AssembleListFile-DefaultValue>
+      <ChineseCharactersCodeOnSourceFiles-DefaultValue>ShiftJis</ChineseCharactersCodeOnSourceFiles-DefaultValue>
+      <DebugInformation-DefaultValue>LocalSymbolAndAssemblerDebugInformation</DebugInformation-DefaultValue>
+      <DeviceCommonObject-DefaultValue>False</DeviceCommonObject-DefaultValue>
+      <ErrorListFile-DefaultValue>False</ErrorListFile-DefaultValue>
+      <ListConverter-DefaultValue>False</ListConverter-DefaultValue>
+      <SystemIncludePaths-DefaultValue />
+      <ListConverterErrorListFile-DefaultValue>False</ListConverterErrorListFile-DefaultValue>
+      <MacroCompatibleWith78K0-DefaultValue>False</MacroCompatibleWith78K0-DefaultValue>
+      <MacroDefinitions-DefaultValue />
+      <AssembleList-DefaultValue>True</AssembleList-DefaultValue>
+      <PreAssembleCommands-DefaultValue />
+      <SymbolList-DefaultValue>False</SymbolList-DefaultValue>
+      <CrossReferenceList-DefaultValue>False</CrossReferenceList-DefaultValue>
+      <PostAssembleCommands-DefaultValue />
+      <FeedControlCode-DefaultValue>False</FeedControlCode-DefaultValue>
+      <OtherAdditionalOptions-DefaultValue />
+      <NumberOfCharactersPerLine-DefaultValue>132</NumberOfCharactersPerLine-DefaultValue>
+      <NumberOfLinesPerPage-DefaultValue>0</NumberOfLinesPerPage-DefaultValue>
+      <TabWidth-DefaultValue>8</TabWidth-DefaultValue>
+      <HeaderTitle-DefaultValue />
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587938741330890355</TimeTagModified--0>
+      <AdditionalIncludePaths-0 />
+      <AssembleListFile-0>False</AssembleListFile-0>
+      <ChineseCharactersCodeOnSourceFiles-0>ShiftJis</ChineseCharactersCodeOnSourceFiles-0>
+      <DebugInformation-0>LocalSymbolAndAssemblerDebugInformation</DebugInformation-0>
+      <DeviceCommonObject-0>False</DeviceCommonObject-0>
+      <ErrorListFile-0>False</ErrorListFile-0>
+      <ListConverter-0>False</ListConverter-0>
+      <SystemIncludePaths-0 />
+      <ListConverterErrorListFile-0>False</ListConverterErrorListFile-0>
+      <MacroDefinitions-0 />
+      <AssembleList-0>True</AssembleList-0>
+      <PreAssembleCommands-0 />
+      <SymbolList-0>False</SymbolList-0>
+      <CrossReferenceList-0>False</CrossReferenceList-0>
+      <PostAssembleCommands-0 />
+      <FeedControlCode-0>False</FeedControlCode-0>
+      <OtherAdditionalOptions-0 />
+      <NumberOfCharactersPerLine-0>132</NumberOfCharactersPerLine-0>
+      <TabWidth-0>8</TabWidth-0>
+      <HeaderTitle-0 />
+      <MacroCompatibleWith78K0-0>False</MacroCompatibleWith78K0-0>
+      <NumberOfLinesPerPage-0>0</NumberOfLinesPerPage-0>
+    </Instance>
+    <Instance Guid="6cc3d5a3-a96e-4ab3-8e7f-ab22bbe17552">
+      <DebugInformation-DefaultValue>True</DebugInformation-DefaultValue>
+      <ErrorListFile-DefaultValue>False</ErrorListFile-DefaultValue>
+      <LibraryFiles-DefaultValue />
+      <LinkListFile-DefaultValue>True</LinkListFile-DefaultValue>
+      <OnChipDebugOptionBytes-DefaultValue>False</OnChipDebugOptionBytes-DefaultValue>
+      <OutputFolder-DefaultValue>%BuildModeName%</OutputFolder-DefaultValue>
+      <PreLinkCommands-DefaultValue />
+      <StackSymbol-DefaultValue>False</StackSymbol-DefaultValue>
+      <WarningLevel-DefaultValue>NormalOutput</WarningLevel-DefaultValue>
+      <LinkDirectiveFile-DefaultValue>..\..\ssp_rl78.dr</LinkDirectiveFile-DefaultValue>
+      <LinkDirectiveInformation-DefaultValue>True</LinkDirectiveInformation-DefaultValue>
+      <OnChipDebugOptionBytesValue-DefaultValue />
+      <OutputFileName-DefaultValue>%ProjectName%.lmf</OutputFileName-DefaultValue>
+      <PostLinkCommands-DefaultValue />
+      <StackRegionName-DefaultValue />
+      <SystemLibraryFiles-DefaultValue />
+      <AdditionalLibraryPaths-DefaultValue />
+      <ForceLinking-DefaultValue>False</ForceLinking-DefaultValue>
+      <LocalSymbolList-DefaultValue>False</LocalSymbolList-DefaultValue>
+      <OtherAdditionalOptions-DefaultValue />
+      <StartAddressOfOnChipDebugOptionBytes-DefaultValue>FE00</StartAddressOfOnChipDebugOptionBytes-DefaultValue>
+      <PublicSymbolList-DefaultValue>False</PublicSymbolList-DefaultValue>
+      <SizeOfOnChipDebugOptionBytesArea-DefaultValue>512</SizeOfOnChipDebugOptionBytesArea-DefaultValue>
+      <SystemLibraryPaths-DefaultValue />
+      <MapList-DefaultValue>True</MapList-DefaultValue>
+      <UserOptionBytes-DefaultValue>False</UserOptionBytes-DefaultValue>
+      <FeedControlCode-DefaultValue>False</FeedControlCode-DefaultValue>
+      <UserOptionBytesValue-DefaultValue />
+      <MirrorSourceArea-DefaultValue>Maa0</MirrorSourceArea-DefaultValue>
+      <NumberOfLinesPerPage-DefaultValue>0</NumberOfLinesPerPage-DefaultValue>
+      <SegmentInfoBottomOf64Kbytes-DefaultValue>False</SegmentInfoBottomOf64Kbytes-DefaultValue>
+      <SettingOfFlashStartAddress-DefaultValue>False</SettingOfFlashStartAddress-DefaultValue>
+      <FlashStartAddress-DefaultValue />
+      <BootAreaModuleFile-DefaultValue />
+      <AllocationControlOfSelfRandomAccessMemory-DefaultValue>No</AllocationControlOfSelfRandomAccessMemory-DefaultValue>
+      <AllocationControlOfTraceRandomAccessMemory-DefaultValue>No</AllocationControlOfTraceRandomAccessMemory-DefaultValue>
+      <AllocationControlOfHotPluginRandomAccessMemory-DefaultValue>No</AllocationControlOfHotPluginRandomAccessMemory-DefaultValue>
+      <ReserveWorkingMemoryForRrmDmm-DefaultValue>False</ReserveWorkingMemoryForRrmDmm-DefaultValue>
+      <StartAddressOfWorkingMemoryForRrmDmm-DefaultValue />
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587919047224113036</TimeTagModified--0>
+      <DebugInformation-0>True</DebugInformation-0>
+      <ErrorListFile-0>False</ErrorListFile-0>
+      <LibraryFiles-0 />
+      <LinkListFile-0>False</LinkListFile-0>
+      <OutputFolder-0>%BuildModeName%</OutputFolder-0>
+      <PreLinkCommands-0 />
+      <StackSymbol-0>False</StackSymbol-0>
+      <WarningLevel-0>NormalOutput</WarningLevel-0>
+      <LinkDirectiveInformation-0>True</LinkDirectiveInformation-0>
+      <OutputFileName-0>%ProjectName%.lmf</OutputFileName-0>
+      <PostLinkCommands-0 />
+      <StackRegionName-0 />
+      <SystemLibraryFiles-0 />
+      <AdditionalLibraryPaths-0 />
+      <ForceLinking-0>False</ForceLinking-0>
+      <LocalSymbolList-0>False</LocalSymbolList-0>
+      <OtherAdditionalOptions-0 />
+      <PublicSymbolList-0>True</PublicSymbolList-0>
+      <SystemLibraryPaths-0 />
+      <MapList-0>True</MapList-0>
+      <FeedControlCode-0>False</FeedControlCode-0>
+      <OnChipDebugOptionBytes-0>False</OnChipDebugOptionBytes-0>
+      <OnChipDebugOptionBytesValue-0 />
+      <StartAddressOfOnChipDebugOptionBytes-0>FE00</StartAddressOfOnChipDebugOptionBytes-0>
+      <SizeOfOnChipDebugOptionBytesArea-0>512</SizeOfOnChipDebugOptionBytesArea-0>
+      <UserOptionBytes-0>False</UserOptionBytes-0>
+      <UserOptionBytesValue-0 />
+      <MirrorSourceArea-0>Maa0</MirrorSourceArea-0>
+      <NumberOfLinesPerPage-0>0</NumberOfLinesPerPage-0>
+      <SegmentInfoBottomOf64Kbytes-0>False</SegmentInfoBottomOf64Kbytes-0>
+      <SettingOfFlashStartAddress-0>False</SettingOfFlashStartAddress-0>
+      <BootAreaModuleFile-0 />
+      <AllocationControlOfSelfRandomAccessMemory-0>No</AllocationControlOfSelfRandomAccessMemory-0>
+      <AllocationControlOfTraceRandomAccessMemory-0>No</AllocationControlOfTraceRandomAccessMemory-0>
+      <AllocationControlOfHotPluginRandomAccessMemory-0>No</AllocationControlOfHotPluginRandomAccessMemory-0>
+      <ReserveWorkingMemoryForRrmDmm-0>False</ReserveWorkingMemoryForRrmDmm-0>
+      <StartAddressOfWorkingMemoryForRrmDmm-0 />
+    </Instance>
+    <Instance Guid="804a01c1-c276-4d78-8726-3a750f2c8941">
+      <ErrorListFile-DefaultValue>False</ErrorListFile-DefaultValue>
+      <LinkMapFile-DefaultValue>True</LinkMapFile-DefaultValue>
+      <PreRomizeCommands-DefaultValue />
+      <RomizeFile-DefaultValue>False</RomizeFile-DefaultValue>
+      <LocalSymbolList-DefaultValue>False</LocalSymbolList-DefaultValue>
+      <PostRomizeCommands-DefaultValue />
+      <RomizeFileOutputFolder-DefaultValue>%BuildModeName%</RomizeFileOutputFolder-DefaultValue>
+      <OtherAdditionalOptions-DefaultValue />
+      <PublicSymbolList-DefaultValue>False</PublicSymbolList-DefaultValue>
+      <RomizeFileName-DefaultValue>romp.lmf</RomizeFileName-DefaultValue>
+      <CopyRoutineStartAddress-DefaultValue />
+      <MapList-DefaultValue>True</MapList-DefaultValue>
+      <FeedControlCode-DefaultValue>False</FeedControlCode-DefaultValue>
+      <RomizeAreaStartAddress-DefaultValue />
+      <NumberOfLinesPerPage-DefaultValue>0</NumberOfLinesPerPage-DefaultValue>
+      <RomizeAreaSize-DefaultValue />
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587949838324122169</TimeTagModified--0>
+      <ErrorListFile-0>False</ErrorListFile-0>
+      <LinkMapFile-0>True</LinkMapFile-0>
+      <PreRomizeCommands-0 />
+      <RomizeFile-0>False</RomizeFile-0>
+      <LocalSymbolList-0>False</LocalSymbolList-0>
+      <PostRomizeCommands-0 />
+      <RomizeFileOutputFolder-0>%BuildModeName%</RomizeFileOutputFolder-0>
+      <OtherAdditionalOptions-0 />
+      <PublicSymbolList-0>False</PublicSymbolList-0>
+      <RomizeFileName-0>romp.lmf</RomizeFileName-0>
+      <CopyRoutineStartAddress-0 />
+      <MapList-0>True</MapList-0>
+      <FeedControlCode-0>False</FeedControlCode-0>
+      <RomizeAreaStartAddress-0 />
+      <RomizeAreaSize-0 />
+    </Instance>
+    <Instance Guid="bfd8cc57-9fe7-454b-b449-7711c81ab5ec">
+      <ErrorListFile-DefaultValue>False</ErrorListFile-DefaultValue>
+      <FillingOfFreeMemorySpace-DefaultValue>True</FillingOfFreeMemorySpace-DefaultValue>
+      <HexadecimalFile-DefaultValue>True</HexadecimalFile-DefaultValue>
+      <OutputCrc-DefaultValue>False</OutputCrc-DefaultValue>
+      <PreObjectConvertCommands-DefaultValue />
+      <SymbolTableFile-DefaultValue>True</SymbolTableFile-DefaultValue>
+      <FillingValue-DefaultValue>FF</FillingValue-DefaultValue>
+      <HexadecimalFileOutputFolder-DefaultValue>%BuildModeName%</HexadecimalFileOutputFolder-DefaultValue>
+      <PostObjectConvertCommands-DefaultValue />
+      <CrcRange-DefaultValue />
+      <FillingStartAddress-DefaultValue />
+      <HexadecimalFileName-DefaultValue>%ProjectName%.hex</HexadecimalFileName-DefaultValue>
+      <OtherAdditionalOptions-DefaultValue />
+      <CrcType-DefaultValue>HighSpeed</CrcType-DefaultValue>
+      <FillingSize-DefaultValue />
+      <HexadecimalFileFormat-DefaultValue>IntelExtended</HexadecimalFileFormat-DefaultValue>
+      <SplittingOfHexadecimalFile-DefaultValue>False</SplittingOfHexadecimalFile-DefaultValue>
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587949802546825825</TimeTagModified--0>
+      <ErrorListFile-0>False</ErrorListFile-0>
+      <FillingOfFreeMemorySpace-0>True</FillingOfFreeMemorySpace-0>
+      <HexadecimalFile-0>True</HexadecimalFile-0>
+      <PreObjectConvertCommands-0 />
+      <SymbolTableFile-0>True</SymbolTableFile-0>
+      <FillingValue-0>FF</FillingValue-0>
+      <HexadecimalFileOutputFolder-0>%BuildModeName%</HexadecimalFileOutputFolder-0>
+      <PostObjectConvertCommands-0 />
+      <FillingStartAddress-0 />
+      <HexadecimalFileName-0>cfg1_out.srec</HexadecimalFileName-0>
+      <OtherAdditionalOptions-0 />
+      <FillingSize-0 />
+      <HexadecimalFileFormat-0>MotrolaSType32Bit</HexadecimalFileFormat-0>
+      <SplittingOfHexadecimalFile-0>False</SplittingOfHexadecimalFile-0>
+      <OutputCrc-0>False</OutputCrc-0>
+      <CrcRange-0 />
+      <CrcType-0>HighSpeed</CrcType-0>
+    </Instance>
+    <Instance Guid="53527542-0963-4daa-b0c4-f5d2f25ad29b">
+      <ListFile-DefaultValue>False</ListFile-DefaultValue>
+      <OutputFolder-DefaultValue>%BuildModeName%</OutputFolder-DefaultValue>
+      <PreLibraryCommands-DefaultValue />
+      <OutputFileName-DefaultValue>%ProjectName%.lib</OutputFileName-DefaultValue>
+      <PostLibraryCommands-DefaultValue />
+      <PublicSymbol-DefaultValue>False</PublicSymbol-DefaultValue>
+      <FeedControlCode-DefaultValue>False</FeedControlCode-DefaultValue>
+      <OtherAdditionalOptions-DefaultValue />
+      <NumberOfCharactersPerLine-DefaultValue>132</NumberOfCharactersPerLine-DefaultValue>
+      <NumberOfLinesPerPage-DefaultValue>0</NumberOfLinesPerPage-DefaultValue>
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587919047224113036</TimeTagModified--0>
+      <ListFile-0>False</ListFile-0>
+      <OutputFolder-0>%BuildModeName%</OutputFolder-0>
+      <PreLibraryCommands-0 />
+      <OutputFileName-0>%ProjectName%.lib</OutputFileName-0>
+      <PostLibraryCommands-0 />
+      <PublicSymbol-0>False</PublicSymbol-0>
+      <FeedControlCode-0>False</FeedControlCode-0>
+      <OtherAdditionalOptions-0 />
+      <NumberOfCharactersPerLine-0>132</NumberOfCharactersPerLine-0>
+      <NumberOfLinesPerPage-0>0</NumberOfLinesPerPage-0>
+    </Instance>
+    <Instance Guid="b8c3be84-de3b-445a-8136-13b7e1d0e992">
+      <Margin-DefaultValue>0</Margin-DefaultValue>
+      <OutputRomRamUsage-DefaultValue>False</OutputRomRamUsage-DefaultValue>
+      <VariableInformationFile-DefaultValue>False</VariableInformationFile-DefaultValue>
+      <VariableInformationFolder-DefaultValue>%BuildModeName%</VariableInformationFolder-DefaultValue>
+      <VariableInformationFileName-DefaultValue>%ProjectName%.vfi</VariableInformationFileName-DefaultValue>
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587919047224113036</TimeTagModified--0>
+      <Margin-0>0</Margin-0>
+      <OutputRomRamUsage-0>False</OutputRomRamUsage-0>
+      <VariableInformationFile-0>False</VariableInformationFile-0>
+      <VariableInformationFolder-0>%BuildModeName%</VariableInformationFolder-0>
+      <VariableInformationFileName-0>%ProjectName%.vfi</VariableInformationFileName-0>
+    </Instance>
+    <Instance Guid="6103ece0-d3d1-4daf-9bb6-718f3621e77c">
+      <LinkOrder-0>0</LinkOrder-0>
+    </Instance>
+    <Instance Guid="1ffb9f94-f931-4238-ae2b-d1885b0c5c78">
+      <LinkOrder-0>1</LinkOrder-0>
+    </Instance>
+    <Instance Guid="7971a978-91f7-4db4-a48f-c00b6dc1a974">
+      <LinkOrder-0>2</LinkOrder-0>
+    </Instance>
+    <Instance Guid="11816be7-b6bb-4fe6-a8c8-2714ccc9e7fe">
+      <LinkOrder-0>3</LinkOrder-0>
+    </Instance>
+    <Instance Guid="e4ae0fab-a428-477b-9539-4c5bd7530b9d">
+      <ItemAddTime>635433619523865452</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="60ce2d5b-0b15-4066-aa19-e5b29c1c8846">
+      <ItemAddTime>635442261507220575</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="7c294749-0859-4f5e-9c82-2561def98272">
+      <ItemAddTime>635442261507220575</ItemAddTime>
+      <ItemAddTimeCount>1</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="53969a79-a4f8-46d3-b13c-6aea90e13f25">
+      <ItemAddTime>635422520006119243</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="000b9ecf-4abe-4f84-a711-68861b6c48d9">
+      <ItemAddTime>635442262092224035</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="856bebf2-966e-4bc3-9913-83491ad942bc">
+      <ItemAddTime>635442262257323478</ItemAddTime>
+      <ItemAddTimeCount>1</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="db76d520-e67b-4568-9d73-abbc837ae105">
+      <ItemAddTime>635442261884452151</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="4e3c6d2c-38d3-4479-8276-a3199e31dc91">
+      <ItemAddTime>635442259871727030</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="e4a5e2e2-1f9c-4736-8e13-dc5c9a7b8647">
+      <ItemAddTime>635442260082659094</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="246562dd-99f4-4e72-bb8d-be5eeeb5e024">
+      <ItemAddTime>635442261133809217</ItemAddTime>
+      <ItemAddTimeCount>1</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="61974aa6-607c-43b3-9f65-860e4345ef9d">
+      <ItemAddTime>635442260368075419</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="53b47622-41f5-4b33-842f-105df77c676d">
+      <ItemAddTime>635442260571297043</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="c7eec4f2-cc96-4b26-a102-5f39dc8a6896">
+      <ItemAddTime>635442262257323478</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="01fd367e-be9d-4568-bac1-fcafa6d6684d">
+      <ItemAddTime>635442262447204339</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="cf967530-ccea-43c8-9d46-bb1ed29cb542">
+      <ItemAddTime>635442262567201202</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="497c32d7-eb0b-4201-a8ef-4227492f9808">
+      <ItemAddTime>635442259639843767</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="f3eb0ff6-13b0-4577-9016-24941d8c00be">
+      <ItemAddTime>635442260193585439</ItemAddTime>
+      <ItemAddTimeCount>0</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="40c6c7e7-5e03-45ed-b8ca-6d7bccc0e17f">
+      <ItemAddTime>635442261507220575</ItemAddTime>
+      <ItemAddTimeCount>2</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="0dca8dc0-234f-4ac1-af9e-0920732ceda3">
+      <ItemAddTime>635442261507220575</ItemAddTime>
+      <ItemAddTimeCount>3</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="89067655-2919-4418-a873-d9faae5be121">
+      <ItemAddTime>635442261507220575</ItemAddTime>
+      <ItemAddTimeCount>4</ItemAddTimeCount>
+    </Instance>
+    <Instance Guid="fc999d8f-43d6-4cb3-af4b-cf6891d759fb">
+      <TimeTagModified-SourceItem0--0>-8587949840848656565</TimeTagModified-SourceItem0--0>
+      <SourceItem0-IsLockedByUser>False</SourceItem0-IsLockedByUser>
+      <SourceItem0-BuildingTarget-0>True</SourceItem0-BuildingTarget-0>
+      <SourceItem0-IndividualCompileOption-0>False</SourceItem0-IndividualCompileOption-0>
+    </Instance>
+    <Instance Guid="e64dc9e1-8c43-42d3-afc8-97f426cc2a3b">
+      <TimeTagModified-SourceItem1--0>-8587930099347555233</TimeTagModified-SourceItem1--0>
+      <SourceItem1-IsLockedByUser>False</SourceItem1-IsLockedByUser>
+      <SourceItem1-BuildingTarget-0>True</SourceItem1-BuildingTarget-0>
+      <SourceItem1-IndividualAssembleOption-0>False</SourceItem1-IndividualAssembleOption-0>
+      <TimeTagModified-SourceItem2--0>-8587930099347555233</TimeTagModified-SourceItem2--0>
+      <SourceItem2-IsLockedByUser>False</SourceItem2-IsLockedByUser>
+      <SourceItem2-BuildingTarget-0>True</SourceItem2-BuildingTarget-0>
+      <SourceItem2-IndividualAssembleOption-0>False</SourceItem2-IndividualAssembleOption-0>
+      <TimeTagModified-SourceItem3--0>-8587930099347555233</TimeTagModified-SourceItem3--0>
+      <SourceItem3-IsLockedByUser>False</SourceItem3-IsLockedByUser>
+      <SourceItem3-BuildingTarget-0>True</SourceItem3-BuildingTarget-0>
+      <SourceItem3-IndividualAssembleOption-0>False</SourceItem3-IndividualAssembleOption-0>
+      <TimeTagModified-SourceItem4--0>-8587930099347555233</TimeTagModified-SourceItem4--0>
+      <SourceItem4-IsLockedByUser>False</SourceItem4-IsLockedByUser>
+      <SourceItem4-BuildingTarget-0>True</SourceItem4-BuildingTarget-0>
+      <SourceItem4-IndividualAssembleOption-0>False</SourceItem4-IndividualAssembleOption-0>
+    </Instance>
+    <Instance Guid="2317529b-91c1-49b6-8351-6d8f51718b0d">
+      <TimeTagModified-SourceItem5--0>-8587930098970323657</TimeTagModified-SourceItem5--0>
+      <SourceItem5-IsLockedByUser>False</SourceItem5-IsLockedByUser>
+      <SourceItem5-BuildingTarget-0>True</SourceItem5-BuildingTarget-0>
+    </Instance>
+    <Instance Guid="fda46f45-6a46-44a1-bde0-61f364c9c4a8">
+      <TimeTagModified-SourceItem0--0>-8587938741330890355</TimeTagModified-SourceItem0--0>
+      <SourceItem0-IsLockedByUser>False</SourceItem0-IsLockedByUser>
+      <SourceItem0-BuildingTarget-0>True</SourceItem0-BuildingTarget-0>
+    </Instance>
+  </Class>
+  <Class Guid="44fa27c9-0aa0-4297-bd3b-2c5c5bdb8881">
+    <Instance Guid="44fa27c9-0aa0-4297-bd3b-2c5c5bdb8881">
+      <IsLibraryMode>False</IsLibraryMode>
+      <StartUpCategoryItem>4f2f2209-abeb-432d-847e-367e58304617</StartUpCategoryItem>
+    </Instance>
+  </Class>
+  <Class Guid="2890788c-ef94-47c1-b7a0-ea78a63c62b8">
+    <Instance Guid="94bc6931-8ae1-4fe8-8c88-72587525d642">
+      <ContainLinkDirectiveData>True</ContainLinkDirectiveData>
+      <MemorySpaceCount>1</MemorySpaceCount>
+      <MemorySpaceName-0>REGULAR</MemorySpaceName-0>
+      <MemoryAreaCount>2</MemoryAreaCount>
+      <MemoryAreaName-0>ROM</MemoryAreaName-0>
+      <MemoryAreaParentMemorySpace-0>REGULAR</MemoryAreaParentMemorySpace-0>
+      <MemoryAreaStartAddress-0>0</MemoryAreaStartAddress-0>
+      <MemoryAreaSize-0>65536</MemoryAreaSize-0>
+      <ChildSegmentarentMemorySpace-0>REGULAR</ChildSegmentarentMemorySpace-0>
+      <MemoryAreaName-1>RAM</MemoryAreaName-1>
+      <MemoryAreaParentMemorySpace-1>REGULAR</MemoryAreaParentMemorySpace-1>
+      <MemoryAreaStartAddress-1>1044224</MemoryAreaStartAddress-1>
+      <MemoryAreaSize-1>4096</MemoryAreaSize-1>
+      <ChildSegmentarentMemorySpace-1>REGULAR</ChildSegmentarentMemorySpace-1>
+    </Instance>
+  </Class>
+  <Class Guid="6d256a08-6dc9-4bdb-a221-f0f9fd7dfbf8">
+    <Instance Guid="6d256a08-6dc9-4bdb-a221-f0f9fd7dfbf8">
+      <DataFormatVersionPlugin>1.0</DataFormatVersionPlugin>
+      <DataFormatVersionDebugger>1.0</DataFormatVersionDebugger>
+    </Instance>
+  </Class>
+  <Class Guid="932085a2-9361-4df9-a3f7-12e6de7681a8">
+    <Instance Guid="932085a2-9361-4df9-a3f7-12e6de7681a8">
+      <DebugToolManager>fa6177d7-5670-4a93-b640-3b751278ce4c</DebugToolManager>
+    </Instance>
+  </Class>
+  <Class Guid="59a8ea33-e927-4d12-9690-902219de85d7">
+    <Instance Guid="00000000-0000-0000-0000-000000000000">
+      <dummy />
+    </Instance>
+  </Class>
+  <Class Guid="88233a69-1b02-4b3d-a212-ff2ec4e67e65">
+    <Instance Guid="a809dbf1-d8d5-4bfb-a7f9-5874593160e2">
+      <DeviceChangedCounter>0</DeviceChangedCounter>
+      <DeviceName>R5F100LE</DeviceName>
+      <DebuggerProperty-EssentialProperty-Clock-MainClockFrequency>4000</DebuggerProperty-EssentialProperty-Clock-MainClockFrequency>
+      <DebuggerProperty-EssentialProperty-Clock-SubClockFrequency>32768</DebuggerProperty-EssentialProperty-Clock-SubClockFrequency>
+      <DebuggerProperty-EssentialProperty-Memory-InternalRomSize>64</DebuggerProperty-EssentialProperty-Memory-InternalRomSize>
+      <DebuggerProperty-EssentialProperty-Memory-InternalRamSize>4096</DebuggerProperty-EssentialProperty-Memory-InternalRamSize>
+      <DebuggerProperty-EssentialProperty-Clock-SelectTimerTraceClockFrequency>SelectCpuClockFrequency</DebuggerProperty-EssentialProperty-Clock-SelectTimerTraceClockFrequency>
+      <DebuggerProperty-EssentialProperty-Clock-UnitOfTimerTraceClockFrequency>MHz</DebuggerProperty-EssentialProperty-Clock-UnitOfTimerTraceClockFrequency>
+      <DebuggerProperty-EssentialProperty-Clock-TimerTraceClockFrequency>4000000</DebuggerProperty-EssentialProperty-Clock-TimerTraceClockFrequency>
+      <DebuggerProperty-EssentialProperty-Configuration-UseSimulatorConfigurationFile>No</DebuggerProperty-EssentialProperty-Configuration-UseSimulatorConfigurationFile>
+      <DebuggerProperty-EssentialProperty-Configuration-SimulatorConfigurationFile />
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-Length>1</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-Length>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-DebuggerGuid />
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileName>DefaultBuild\cfg1_out.srec</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileName>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileType>HexFile</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileType>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-Offset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-Offset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-StartAddress>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-StartAddress>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-ObjectDownload>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-ObjectDownload>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-SymbolDownload>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-SymbolDownload>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-UsePicPidOffset>False</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-UsePicPidOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PicOffset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PicOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PidOffset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PidOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-GenerateInformationForInputCompletion>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-GenerateInformationForInputCompletion>
+      <DebuggerProperty-DownloadProperty-DebugInformation-CpuReset>True</DebuggerProperty-DownloadProperty-DebugInformation-CpuReset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-FlashErase>False</DebuggerProperty-DownloadProperty-DebugInformation-FlashErase>
+      <DebuggerProperty-DownloadProperty-DebugInformation-EventCorrection>SuspendEvent</DebuggerProperty-DownloadProperty-DebugInformation-EventCorrection>
+      <DebuggerProperty-DownloadProperty-DebugInformation-SkipStartup>True</DebuggerProperty-DownloadProperty-DebugInformation-SkipStartup>
+      <DebuggerProperty-DownloadProperty-DebugInformation-MainSymbol>XwBtAGEAaQBuAA==</DebuggerProperty-DownloadProperty-DebugInformation-MainSymbol>
+      <DebuggerProperty-DownloadProperty-DebugInformation-StartupStartSymbol>XwBAAGMAcwB0AGEAcgB0AA==</DebuggerProperty-DownloadProperty-DebugInformation-StartupStartSymbol>
+      <DebuggerProperty-DownloadProperty-DebugInformation-StartupEndSymbol>XwBAAGMAZQBuAGQA</DebuggerProperty-DownloadProperty-DebugInformation-StartupEndSymbol>
+      <DebuggerProperty-OptionalProperty-AccessMemory-UpdateDisplayInExecution>Yes</DebuggerProperty-OptionalProperty-AccessMemory-UpdateDisplayInExecution>
+      <DebuggerProperty-OptionalProperty-AccessMemory-UpdateInterval>500</DebuggerProperty-OptionalProperty-AccessMemory-UpdateInterval>
+      <DebuggerProperty-OptionalProperty-Register-ClearRegisterWhenReset>No</DebuggerProperty-OptionalProperty-Register-ClearRegisterWhenReset>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-Length>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-Length>
+      <DebuggerProperty-OptionalProperty-Assemble-DisplaySymbol>SymbolOffset</DebuggerProperty-OptionalProperty-Assemble-DisplaySymbol>
+      <DebuggerProperty-OptionalProperty-Assemble-DisplayFunctionName>Yes</DebuggerProperty-OptionalProperty-Assemble-DisplayFunctionName>
+      <DebuggerProperty-OptionalProperty-Trace-ClearTraceMemory>Yes</DebuggerProperty-OptionalProperty-Trace-ClearTraceMemory>
+      <DebuggerProperty-OptionalProperty-Trace-TraceMode>Nonstop</DebuggerProperty-OptionalProperty-Trace-TraceMode>
+      <DebuggerProperty-OptionalProperty-Trace-UseTrace>No</DebuggerProperty-OptionalProperty-Trace-UseTrace>
+      <DebuggerProperty-OptionalProperty-Timer-UseTimer>No</DebuggerProperty-OptionalProperty-Timer-UseTimer>
+      <DebuggerProperty-OptionalProperty-Coverage-UseCoverage>No</DebuggerProperty-OptionalProperty-Coverage-UseCoverage>
+      <DebuggerProperty-OptionalProperty-Coverage-ReuseCoverageData>No</DebuggerProperty-OptionalProperty-Coverage-ReuseCoverageData>
+      <DebuggerProperty-OptionalProperty-Trace-AddUptimeTag>No</DebuggerProperty-OptionalProperty-Trace-AddUptimeTag>
+      <DebuggerProperty-OptionalProperty-Break-AfterExecution>No</DebuggerProperty-OptionalProperty-Break-AfterExecution>
+      <DebuggerProperty-OptionalProperty-Trace-TraceMemorySize>4096</DebuggerProperty-OptionalProperty-Trace-TraceMemorySize>
+      <DebuggerProperty-OptionalProperty-SimulatorGUI-DisplaySimulatorGui>Yes</DebuggerProperty-OptionalProperty-SimulatorGUI-DisplaySimulatorGui>
+      <DebuggerProperty-OptionalProperty-SimulatorGUI-SimulatorGuiOnTop>Yes</DebuggerProperty-OptionalProperty-SimulatorGUI-SimulatorGuiOnTop>
+      <DebuggerProperty-HookProperty-HookTransaction-Downloading-Length>0</DebuggerProperty-HookProperty-HookTransaction-Downloading-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Downloaded-Length>0</DebuggerProperty-HookProperty-HookTransaction-Downloaded-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Reset-Length>0</DebuggerProperty-HookProperty-HookTransaction-Reset-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Going-Length>0</DebuggerProperty-HookProperty-HookTransaction-Going-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Broke-Length>0</DebuggerProperty-HookProperty-HookTransaction-Broke-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Connected-Length>0</DebuggerProperty-HookProperty-HookTransaction-Connected-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Disconnecting-Length>0</DebuggerProperty-HookProperty-HookTransaction-Disconnecting-Length>
+    </Instance>
+  </Class>
+  <Class Guid="2a2c2a43-ecdb-4e88-80bd-e75f3e33db90">
+    <Instance Guid="2a2c2a43-ecdb-4e88-80bd-e75f3e33db90">
+      <ProductVersion>4.02.00.00</ProductVersion>
+    </Instance>
+  </Class>
+</CubeSuiteProject>
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/ssp_rl78/ssp_rl78.dr
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/ssp_rl78/ssp_rl78.dr	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/ssp_rl78/ssp_rl78.dr	(revision 93)
@@ -0,0 +1,69 @@
+;
+; zuè`
+;   ERpC¾êdlÌuZOg¼êvðQlÉRpC¶¬ÌZOgðè`
+;   EæªÉ"@@"ªt­ZOg¼ÍRpCª¶¬D»êÈOÍÆ©è`
+;   Eu[gtbV
+ÌÄN@\Ígp¹¸CtbV
+Ìæè`ÍÈª
+;   E@@VECTnn Ìè`à±±ÅÍÈª
+;
+
+;
+; MEMORY
+;
+; @@CODE ÌzuAhXðÀè³¹é½ßROMÌæð2ÂÉª·é
+MEMORY ROM_HEAD : ( 00000000H, 000000d8H ) / REGULAR
+MEMORY ROM      : ( 000000d8H, 0000ff28H ) / REGULAR
+MEMORY RAM      : ( 000fef00H, 00001000H ) / REGULAR
+
+;
+; SEGMENT(ROM_HEAD)
+;
+; xN^e[uÌæ(00000H--0007FH,128oCg, ½¾µ02h-03hÉÍzuµÈ¢)
+MERGE VECTOR  : AT ( 00000000H ) = ROM_HEAD / REGULAR
+
+; calltÖÌe[upZOg( 00080H-000BFH, 64oCg), CALLT0®«
+MERGE @@CALT  : AT ( 00000080H ) = ROM_HEAD / REGULAR
+
+; IvVoCgÌæ(C0H--C2H, C3H)ÍZOgè`Å«È¢
+
+; ZL
+eBID(C4H--CDH)
+MERGE SECID  : AT ( 000000c4H ) = ROM_HEAD / REGULAR
+
+; I`bvfobO@\ÌgpÌæ(CEH--D7H)
+;MERGE OCDWORK : AT ( 000000ceH ) = ROM_HEAD / REGULAR
+
+;
+; SEGMENT(ROM)
+;
+MERGE @@CODE  	: = ROM / REGULAR	; R[hpZOg(near), BASE®«
+MERGE @@BASE  	: = ROM / REGULAR	; calltÖEèÝÖpZOg, BASE®«
+MERGE @@LCODE 	: = ROM / REGULAR	; CuER[hpZOg(near), BASE®«
+MERGE @@LBASE 	: = ROM / REGULAR	; CuEcalltÖpZOg, BASE®«
+; ±ÌsðLøÉ·éÆÈº©MIRRORP®«ª¸íêé½ßCÆè ¦¸RgÆ·é
+;MERGE @@CNST  	: = ROM / REGULAR	; ROMf[^(near), MIRRORP®«
+MERGE @@R_INIT	: = ROM / REGULAR	; nearú»f[^pZOg(úl è), UNIT64KP®«
+MERGE @@R_INIS	: = ROM / REGULAR	; ú»f[^pZOg(úl èsregÏ), UNIT64KP®«
+
+MERGE @@CODEL 	: = ROM / REGULAR	; R[hpZOg(far)
+MERGE @@LCODEL	: = ROM / REGULAR	; CuER[hpZOg(far)
+MERGE @@CNSTL 	: = ROM / REGULAR	; ROMf[^(far), PAGE64KP®«
+MERGE @@RLINIT	: = ROM / REGULAR	; farú»f[^pZOg(úl è), UNIT64KP®«
+
+;
+; SEGMENT(RAM)
+;
+MERGE @@BITS  	: = RAM / REGULAR	; boolean^Ï, bit^ÏpZOg, BSEGÌæ
+
+MERGE @@INIT  	: = RAM / REGULAR	; f[^ÌæpZOg(úl è, nearzu), BASEP®«
+MERGE @@DATA  	: = RAM / REGULAR	; f[^ÌæpZOg(úlÈµ, nearzu), BASEP®«
+MERGE @@INIS  	: = RAM / REGULAR	; f[^ÌæpZOg(úl è sreg Ï), SADDRP®«
+MERGE @@DATS  	: = RAM / REGULAR	; f[^ÌæpZOg(úlÈµ sreg Ï), SADDRP®«
+MERGE @@INITL 	: = RAM / REGULAR	; f[^ÌæpZOg(úl è, farzu), UNIT64KP®«
+MERGE @@DATAL 	: = RAM / REGULAR	; f[^ÌæpZOg(úlÈµ, farzu), UNIT64KP®«
+
+MERGE @@CODER  	: = RAM / REGULAR	; RAMzu R[hpZOg
+MERGE @@LCODER	: = RAM / REGULAR	; RAMzu CuER[hpZOg
+MERGE @@CNSTR 	: = RAM / REGULAR	; RAMzu ROMf[^pZOg(near), MIRRORP Ü½Í UNIT64KP®«
+MERGE @@CNSTLR 	: = RAM / REGULAR	; RAMzu ROMf[^pZOg(far), PAGE64KP®«
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/ssp_rl78/ssp_rl78.mtpj
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/ssp_rl78/ssp_rl78.mtpj	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/ssp_rl78/ssp_rl78.mtpj	(revision 93)
@@ -0,0 +1,1612 @@
+<CubeSuiteProject>
+  <ProductVersion>4.02.00.00</ProductVersion>
+  <Class Guid="68f4a651-b9cd-473b-a595-b00447132ffa">
+    <Instance Guid="00000000-0000-0000-0000-000000000000">
+      <FormatVersion>2.0</FormatVersion>
+      <FileVersion>4.2</FileVersion>
+      <ProjectGuid>12f51793-25e1-44d7-8971-9f7de3b33541</ProjectGuid>
+      <ProjectItemGuid>b0e0d00d-7c70-4ac4-8f60-688c46a82ec2</ProjectItemGuid>
+      <FileCategoryGuid>92f2d6e3-b2d2-43df-b97f-8784112050ea</FileCategoryGuid>
+      <Property>fb98844b-2c27-4275-9804-f6e63e204da0</Property>
+      <ActiveProjectGuid>ee86804a-dcb0-40c0-9f7e-65eb050a2ab6</ActiveProjectGuid>
+    </Instance>
+    <Instance Guid="bbf392be-9376-4aba-bf45-bd3546fe324a">
+      <DependentProjectsGuidsSourceProjectsCount>2</DependentProjectsGuidsSourceProjectsCount>
+      <DependentProjectsGuidsSourceProjects0>cd581b2b-8983-41a9-8fb3-01fffb8f1b6d</DependentProjectsGuidsSourceProjects0>
+      <DependentProjectsGuids0Count>1</DependentProjectsGuids0Count>
+      <DependentProjectsGuids0-0>2f761158-6fc5-48bb-9a8d-d087da817306</DependentProjectsGuids0-0>
+      <DependentProjectsGuidsSourceProjects1>ee86804a-dcb0-40c0-9f7e-65eb050a2ab6</DependentProjectsGuidsSourceProjects1>
+      <DependentProjectsGuids1Count>2</DependentProjectsGuids1Count>
+      <DependentProjectsGuids1-0>cd581b2b-8983-41a9-8fb3-01fffb8f1b6d</DependentProjectsGuids1-0>
+      <DependentProjectsGuids1-1>2f761158-6fc5-48bb-9a8d-d087da817306</DependentProjectsGuids1-1>
+      <Type>Data</Type>
+    </Instance>
+    <Instance Guid="6a49f382-64b8-4cda-b6de-092afb95b2fe">
+      <Name>ã¹ã¿ã¼ãã¢ãã</Name>
+      <Type>Category</Type>
+      <TreeImageGuid>ca577376-6f97-4ef1-9fe7-b03e86e75233</TreeImageGuid>
+      <ParentItem>92f2d6e3-b2d2-43df-b97f-8784112050ea</ParentItem>
+      <Property>30f925a9-8772-4492-81ac-a8f8b00a70f4</Property>
+    </Instance>
+  </Class>
+  <Class Guid="9033e9fb-2b12-4437-a25e-27b28d42582b">
+    <Instance Guid="cd581b2b-8983-41a9-8fb3-01fffb8f1b6d">
+      <Name>libkernel</Name>
+      <RelativePath>libkernel\libkernel.mtsp</RelativePath>
+    </Instance>
+    <Instance Guid="ee86804a-dcb0-40c0-9f7e-65eb050a2ab6">
+      <Name>sample1</Name>
+      <RelativePath>sample1\sample1.mtsp</RelativePath>
+    </Instance>
+    <Instance Guid="2f761158-6fc5-48bb-9a8d-d087da817306">
+      <Name>sys-cfg</Name>
+      <RelativePath>sample1\sys-cfg\sys-cfg.mtsp</RelativePath>
+    </Instance>
+  </Class>
+  <Class Guid="fb98844b-2c27-4275-9804-f6e63e204da0">
+    <Instance Guid="fb98844b-2c27-4275-9804-f6e63e204da0">
+      <MemoCount>0</MemoCount>
+    </Instance>
+  </Class>
+  <Class Guid="78a5c5cd-76cb-4bcc-a031-3020011fbc9a">
+    <Instance Guid="30f925a9-8772-4492-81ac-a8f8b00a70f4">
+      <MemoCount>0</MemoCount>
+    </Instance>
+  </Class>
+  <Class Guid="8fb9c1f6-d351-4d10-8d99-bf5b3015b84c">
+    <Instance Guid="00000000-0000-0000-0000-000000000000">
+      <UsingPlatformGuid>b0cb2657-6337-442d-978c-8dd81ad9ddf5</UsingPlatformGuid>
+    </Instance>
+  </Class>
+  <Class Guid="c325714f-8f51-484b-9e96-b4b59c0fb263">
+    <Instance Guid="c325714f-8f51-484b-9e96-b4b59c0fb263">
+      <DeviceManager>90ee5797-fc0c-48ea-b02f-689179ce9df7</DeviceManager>
+    </Instance>
+  </Class>
+  <Class Guid="90ee5797-fc0c-48ea-b02f-689179ce9df7">
+    <Instance Guid="90ee5797-fc0c-48ea-b02f-689179ce9df7">
+      <DataFormatVersion>1.0</DataFormatVersion>
+    </Instance>
+    <Instance Guid="48a784ef-5532-4564-a0c1-5cb048b777b1">
+      <DeviceName>R5F100LE</DeviceName>
+      <MemoCount>0</MemoCount>
+    </Instance>
+  </Class>
+  <Class Guid="873c9a58-9bc5-439a-b476-78629a4553ed">
+    <Instance Guid="873c9a58-9bc5-439a-b476-78629a4553ed">
+      <ProjectDeviceChangedCounter>0</ProjectDeviceChangedCounter>
+      <ProjectInitialDeviceName>R5F100LE</ProjectInitialDeviceName>
+    </Instance>
+  </Class>
+  <Class Guid="c3835e31-dea3-4c93-b02b-d2db997f7630">
+    <Instance Guid="c3835e31-dea3-4c93-b02b-d2db997f7630">
+      <BuildToolManager>11ff4962-ca73-4419-bb4a-67e9b8de9571</BuildToolManager>
+    </Instance>
+  </Class>
+  <Class Guid="11ff4962-ca73-4419-bb4a-67e9b8de9571">
+    <Instance Guid="11ff4962-ca73-4419-bb4a-67e9b8de9571">
+      <DataFormatVersion>1.1</DataFormatVersion>
+      <BuildModeCount>1</BuildModeCount>
+      <BuildMode0>RABlAGYAYQB1AGwAdABCAHUAaQBsAGQA</BuildMode0>
+      <BatchBuildFlag0>False</BatchBuildFlag0>
+      <CurrentBuildMode>DefaultBuild</CurrentBuildMode>
+      <SourceItemCount>0</SourceItemCount>
+      <VfiSourceItemCount>0</VfiSourceItemCount>
+      <LastDeviceChangedCounter>0</LastDeviceChangedCounter>
+    </Instance>
+    <Instance Guid="e6d45d58-de50-4ae7-8d7f-320171fa9617">
+      <AdditionalIncludePathsForAssembler-DefaultValue>..\..\..\arch\rl78_ca78k0r
+sys-cfg\DefaultBuild
+</AdditionalIncludePathsForAssembler-DefaultValue>
+      <BuildMode-DefaultValue>DefaultBuild</BuildMode-DefaultValue>
+      <DependencyFileExistCheckingType-DefaultValue>Rebuild</DependencyFileExistCheckingType-DefaultValue>
+      <HexFile-DefaultValue>False</HexFile-DefaultValue>
+      <Memo-DefaultValue />
+      <Optimization-DefaultValue>No</Optimization-DefaultValue>
+      <OutputFileType-DefaultValue>LoadModuleFile</OutputFileType-DefaultValue>
+      <OutputMessageFormat-DefaultValue>%TargetFiles%</OutputMessageFormat-DefaultValue>
+      <RomizeFile-DefaultValue>False</RomizeFile-DefaultValue>
+      <SecurityId-DefaultValue>00000000000000000000</SecurityId-DefaultValue>
+      <UsingLibraries-DefaultValue />
+      <AdditionalIncludePathsForCompiler-DefaultValue>..\..\..\arch\rl78_ca78k0r
+sys-cfg\DefaultBuild
+..\..\..\syssvc
+..\..\..\include
+..\..\..\sample
+..
+..\..\..\arch
+..\..\..
+%MainProjectDir%\sys-cfg\%BuildModeName%
+</AdditionalIncludePathsForCompiler-DefaultValue>
+      <AdditionalLibraryPaths-DefaultValue />
+      <CompilerVersion-DefaultValue>
+
+0</CompilerVersion-DefaultValue>
+      <FormatBuildOptionList-DefaultValue>%TargetFiles% : %Program% %Options%</FormatBuildOptionList-DefaultValue>
+      <IntermediateOutputFolder-DefaultValue>%BuildModeName%</IntermediateOutputFolder-DefaultValue>
+      <OutputFolderNameForHex-DefaultValue>%BuildModeName%</OutputFolderNameForHex-DefaultValue>
+      <RomizeFileOutputFolder-DefaultValue>%BuildModeName%</RomizeFileOutputFolder-DefaultValue>
+      <SystemIncludePathsForAssemble-DefaultValue />
+      <MacroDefinitionForAssembler-DefaultValue />
+      <OutputFileNameForHex-DefaultValue>%ProjectName%.hex</OutputFileNameForHex-DefaultValue>
+      <OutputFolderNameForLinker-DefaultValue>%BuildModeName%</OutputFolderNameForLinker-DefaultValue>
+      <RomizeFileName-DefaultValue>romp.lmf</RomizeFileName-DefaultValue>
+      <SystemIncludePaths-DefaultValue />
+      <TemporaryFolder-DefaultValue />
+      <HexadecimalFileFormat-DefaultValue>IntelExtended</HexadecimalFileFormat-DefaultValue>
+      <MacroDefinitionForCompiler-DefaultValue />
+      <OutputFileNameForLinker-DefaultValue>%ProjectName%.lmf</OutputFileNameForLinker-DefaultValue>
+      <PreBuildCommands-DefaultValue />
+      <PostBuildCommands-DefaultValue />
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587965452191857684</TimeTagModified--0>
+      <BuildMode-0>DefaultBuild</BuildMode-0>
+      <Memo-0 />
+      <OutputMessageFormat-0>%TargetFiles%</OutputMessageFormat-0>
+      <FormatBuildOptionList-0>%TargetFiles% : %Program% %Options%</FormatBuildOptionList-0>
+      <PreBuildCommands-0 />
+      <PostBuildCommands-0 />
+      <DependencyFileExistCheckingType-0>Rebuild</DependencyFileExistCheckingType-0>
+      <OutputFileType-0>LoadModuleFile</OutputFileType-0>
+      <SecurityId-0>00000000000000000000</SecurityId-0>
+      <IntermediateOutputFolder-0>%BuildModeName%</IntermediateOutputFolder-0>
+      <TemporaryFolder-0 />
+      <CompilerVersion-0>
+
+0</CompilerVersion-0>
+      <LastCompilerVersion-0>V1.70</LastCompilerVersion-0>
+    </Instance>
+    <Instance Guid="86700a2f-4f2c-4aec-8af7-7d69ad94a4a1">
+      <AdditionalIncludePaths-DefaultValue>..\..\..\arch\rl78_ca78k0r
+sys-cfg\DefaultBuild
+..\..\..\syssvc
+..\..\..\include
+..\..\..\sample
+..
+..\..\..\arch
+..\..\..
+%MainProjectDir%\sys-cfg\%BuildModeName%
+</AdditionalIncludePaths-DefaultValue>
+      <AssemblyFile-DefaultValue>WithNoCSource</AssemblyFile-DefaultValue>
+      <BitFieldMostSignificantBit-DefaultValue>False</BitFieldMostSignificantBit-DefaultValue>
+      <CPlusPlusStyleComment-DefaultValue>True</CPlusPlusStyleComment-DefaultValue>
+      <CommonObject78K0R-DefaultValue>False</CommonObject78K0R-DefaultValue>
+      <DebugInformation-DefaultValue>AssemblyAndObject</DebugInformation-DefaultValue>
+      <MemoryModelType-DefaultValue>Medium</MemoryModelType-DefaultValue>
+      <OperationSwapping-DefaultValue>Yes</OperationSwapping-DefaultValue>
+      <Optimization-DefaultValue>No</Optimization-DefaultValue>
+      <PreCompileCommands-DefaultValue />
+      <PreprocessListFile-DefaultValue>False</PreprocessListFile-DefaultValue>
+      <ProvidedStartup-DefaultValue>NoUse</ProvidedStartup-DefaultValue>
+      <StandardLibrary-DefaultValue>True</StandardLibrary-DefaultValue>
+      <VariableInformationFile-DefaultValue />
+      <VerboseMode-DefaultValue>False</VerboseMode-DefaultValue>
+      <AutoVariablesToRegisterOrShortAddressing-DefaultValue>True</AutoVariablesToRegisterOrShortAddressing-DefaultValue>
+      <FixedStandardLibraryArea-DefaultValue>True</FixedStandardLibraryArea-DefaultValue>
+      <FlashObjects-DefaultValue>False</FlashObjects-DefaultValue>
+      <NestedComment-DefaultValue>False</NestedComment-DefaultValue>
+      <PostCompileCommands-DefaultValue />
+      <PreprocessListFileWithNoComment-DefaultValue>False</PreprocessListFileWithNoComment-DefaultValue>
+      <StructureMembersPacking-DefaultValue>False</StructureMembersPacking-DefaultValue>
+      <SystemIncludePaths-DefaultValue />
+      <VariableInformationBootAreaFile-DefaultValue />
+      <WarningLevel-DefaultValue>NormalOutput</WarningLevel-DefaultValue>
+      <ChineseCharactersCodeOnSourceFiles-DefaultValue>ShiftJis</ChineseCharactersCodeOnSourceFiles-DefaultValue>
+      <ExpansionOfDefinePreprocessDirective-DefaultValue>False</ExpansionOfDefinePreprocessDirective-DefaultValue>
+      <FarAreaToRom-DefaultValue>True</FarAreaToRom-DefaultValue>
+      <IndirectReferencingWithOneByte-DefaultValue>False</IndirectReferencingWithOneByte-DefaultValue>
+      <MacroDefinitions-DefaultValue />
+      <OtherAdditionalOptions-DefaultValue />
+      <RegisterVariablesToRegisterAndShortAddressing-DefaultValue>False</RegisterVariablesToRegisterAndShortAddressing-DefaultValue>
+      <StandardIOLibrarySupportingFloat-DefaultValue>False</StandardIOLibrarySupportingFloat-DefaultValue>
+      <StartAddressOfFlashArea-DefaultValue />
+      <AnsiNonstandardFeatures-DefaultValue>False</AnsiNonstandardFeatures-DefaultValue>
+      <DisablementOfSignExtendedCharCalculation-DefaultValue>True</DisablementOfSignExtendedCharCalculation-DefaultValue>
+      <ExpansionOfIfPreprocessDirective-DefaultValue>True</ExpansionOfIfPreprocessDirective-DefaultValue>
+      <MacroUndefinitions-DefaultValue />
+      <Multiplier-DefaultValue>True</Multiplier-DefaultValue>
+      <MultiplierAndDivider-DefaultValue>True</MultiplierAndDivider-DefaultValue>
+      <StandardStartupFileName-DefaultValue />
+      <StartAddressOfFlashAreaBranchTable-DefaultValue />
+      <CharToUnsignedChar-DefaultValue>False</CharToUnsignedChar-DefaultValue>
+      <ExpansionOfIncludePreprocessDirective-DefaultValue>False</ExpansionOfIncludePreprocessDirective-DefaultValue>
+      <MirrorSourceArea-DefaultValue>Maa0</MirrorSourceArea-DefaultValue>
+      <StaticVariablesToShortAddressing-DefaultValue>NotAllocate</StaticVariablesToShortAddressing-DefaultValue>
+      <UseMultiplyAndAccumulation-DefaultValue>False</UseMultiplyAndAccumulation-DefaultValue>
+      <BranchInstructionOptimization-DefaultValue>True</BranchInstructionOptimization-DefaultValue>
+      <ExpansionOfLinePreprocessDirective-DefaultValue>True</ExpansionOfLinePreprocessDirective-DefaultValue>
+      <ExternalVariablesToShortAddressing-DefaultValue>NotAllocate</ExternalVariablesToShortAddressing-DefaultValue>
+      <StandardLibraryFileNames-DefaultValue>cl0rm.lib
+cl0rmf.lib
+</StandardLibraryFileNames-DefaultValue>
+      <DestinationAreaOfRomData-DefaultValue>No</DestinationAreaOfRomData-DefaultValue>
+      <DisablementOfIntExtensionForFunction-DefaultValue>False</DisablementOfIntExtensionForFunction-DefaultValue>
+      <FixedCodeToLibrary-DefaultValue>NotReplace</FixedCodeToLibrary-DefaultValue>
+      <LineNumbers-DefaultValue>True</LineNumbers-DefaultValue>
+      <ErrorListFile-DefaultValue>NotOutput</ErrorListFile-DefaultValue>
+      <OutputObjectForRam-DefaultValue>None</OutputObjectForRam-DefaultValue>
+      <RelativeSwitchBranchTable-DefaultValue>False</RelativeSwitchBranchTable-DefaultValue>
+      <CrossReferenceListFile-DefaultValue>False</CrossReferenceListFile-DefaultValue>
+      <OptimizationForDebugging-DefaultValue>False</OptimizationForDebugging-DefaultValue>
+      <FeedControlCode-DefaultValue>False</FeedControlCode-DefaultValue>
+      <NumberOfCharactersPerLine-DefaultValue>132</NumberOfCharactersPerLine-DefaultValue>
+      <NumberOfLinesPerPage-DefaultValue>0</NumberOfLinesPerPage-DefaultValue>
+      <TabWidth-DefaultValue>8</TabWidth-DefaultValue>
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587930216179017611</TimeTagModified--0>
+      <AdditionalIncludePaths-0>..\..\..\arch\rl78_ca78k0r
+sys-cfg\DefaultBuild
+..\..\..\syssvc
+..\..\..\include
+..\..\..\sample
+..
+..\..\..\arch
+..\..\..
+%MainProjectDir%\sys-cfg\%BuildModeName%
+</AdditionalIncludePaths-0>
+      <AssemblyFile-0>WithNoCSource</AssemblyFile-0>
+      <BitFieldMostSignificantBit-0>False</BitFieldMostSignificantBit-0>
+      <CPlusPlusStyleComment-0>True</CPlusPlusStyleComment-0>
+      <DebugInformation-0>AssemblyAndObject</DebugInformation-0>
+      <Optimization-0>No</Optimization-0>
+      <PreCompileCommands-0 />
+      <PreprocessListFile-0>False</PreprocessListFile-0>
+      <ProvidedStartup-0>NoUse</ProvidedStartup-0>
+      <StandardLibrary-0>True</StandardLibrary-0>
+      <VerboseMode-0>False</VerboseMode-0>
+      <FixedStandardLibraryArea-0>True</FixedStandardLibraryArea-0>
+      <NestedComment-0>False</NestedComment-0>
+      <PostCompileCommands-0 />
+      <PreprocessListFileWithNoComment-0>False</PreprocessListFileWithNoComment-0>
+      <StructureMembersPacking-0>False</StructureMembersPacking-0>
+      <SystemIncludePaths-0 />
+      <WarningLevel-0>NormalOutput</WarningLevel-0>
+      <ChineseCharactersCodeOnSourceFiles-0>ShiftJis</ChineseCharactersCodeOnSourceFiles-0>
+      <ExpansionOfDefinePreprocessDirective-0>False</ExpansionOfDefinePreprocessDirective-0>
+      <MacroDefinitions-0 />
+      <OtherAdditionalOptions-0 />
+      <StandardIOLibrarySupportingFloat-0>False</StandardIOLibrarySupportingFloat-0>
+      <AnsiNonstandardFeatures-0>False</AnsiNonstandardFeatures-0>
+      <ExpansionOfIfPreprocessDirective-0>True</ExpansionOfIfPreprocessDirective-0>
+      <MacroUndefinitions-0 />
+      <Multiplier-0>True</Multiplier-0>
+      <MultiplierAndDivider-0>True</MultiplierAndDivider-0>
+      <StandardStartupFileName-0 />
+      <ExpansionOfIncludePreprocessDirective-0>False</ExpansionOfIncludePreprocessDirective-0>
+      <StaticVariablesToShortAddressing-0>NotAllocate</StaticVariablesToShortAddressing-0>
+      <ExpansionOfLinePreprocessDirective-0>True</ExpansionOfLinePreprocessDirective-0>
+      <ExternalVariablesToShortAddressing-0>NotAllocate</ExternalVariablesToShortAddressing-0>
+      <DisablementOfIntExtensionForFunction-0>False</DisablementOfIntExtensionForFunction-0>
+      <LineNumbers-0>True</LineNumbers-0>
+      <ErrorListFile-0>NotOutput</ErrorListFile-0>
+      <CrossReferenceListFile-0>False</CrossReferenceListFile-0>
+      <FeedControlCode-0>False</FeedControlCode-0>
+      <NumberOfCharactersPerLine-0>132</NumberOfCharactersPerLine-0>
+      <TabWidth-0>8</TabWidth-0>
+      <CommonObject78K0R-0>False</CommonObject78K0R-0>
+      <MemoryModelType-0>Medium</MemoryModelType-0>
+      <OperationSwapping-0>Yes</OperationSwapping-0>
+      <AutoVariablesToRegisterOrShortAddressing-0>True</AutoVariablesToRegisterOrShortAddressing-0>
+      <FlashObjects-0>False</FlashObjects-0>
+      <VariableInformationBootAreaFile-0 />
+      <FarAreaToRom-0>True</FarAreaToRom-0>
+      <IndirectReferencingWithOneByte-0>False</IndirectReferencingWithOneByte-0>
+      <RegisterVariablesToRegisterAndShortAddressing-0>False</RegisterVariablesToRegisterAndShortAddressing-0>
+      <StartAddressOfFlashArea-0 />
+      <DisablementOfSignExtendedCharCalculation-0>True</DisablementOfSignExtendedCharCalculation-0>
+      <StartAddressOfFlashAreaBranchTable-0 />
+      <CharToUnsignedChar-0>False</CharToUnsignedChar-0>
+      <MirrorSourceArea-0>Maa0</MirrorSourceArea-0>
+      <UseMultiplyAndAccumulation-0>False</UseMultiplyAndAccumulation-0>
+      <BranchInstructionOptimization-0>True</BranchInstructionOptimization-0>
+      <DestinationAreaOfRomData-0>No</DestinationAreaOfRomData-0>
+      <FixedCodeToLibrary-0>NotReplace</FixedCodeToLibrary-0>
+      <OutputObjectForRam-0>None</OutputObjectForRam-0>
+      <RelativeSwitchBranchTable-0>False</RelativeSwitchBranchTable-0>
+      <OptimizationForDebugging-0>False</OptimizationForDebugging-0>
+      <NumberOfLinesPerPage-0>0</NumberOfLinesPerPage-0>
+    </Instance>
+    <Instance Guid="7465f21d-b667-41e3-a989-056755c20ba3">
+      <AdditionalIncludePaths-DefaultValue>..\..\..\arch\rl78_ca78k0r
+sys-cfg\DefaultBuild
+</AdditionalIncludePaths-DefaultValue>
+      <AssembleListFile-DefaultValue>False</AssembleListFile-DefaultValue>
+      <ChineseCharactersCodeOnSourceFiles-DefaultValue>ShiftJis</ChineseCharactersCodeOnSourceFiles-DefaultValue>
+      <DebugInformation-DefaultValue>LocalSymbolAndAssemblerDebugInformation</DebugInformation-DefaultValue>
+      <DeviceCommonObject-DefaultValue>False</DeviceCommonObject-DefaultValue>
+      <ErrorListFile-DefaultValue>False</ErrorListFile-DefaultValue>
+      <ListConverter-DefaultValue>False</ListConverter-DefaultValue>
+      <SystemIncludePaths-DefaultValue />
+      <ListConverterErrorListFile-DefaultValue>False</ListConverterErrorListFile-DefaultValue>
+      <MacroCompatibleWith78K0-DefaultValue>False</MacroCompatibleWith78K0-DefaultValue>
+      <MacroDefinitions-DefaultValue />
+      <AssembleList-DefaultValue>True</AssembleList-DefaultValue>
+      <PreAssembleCommands-DefaultValue />
+      <SymbolList-DefaultValue>False</SymbolList-DefaultValue>
+      <CrossReferenceList-DefaultValue>False</CrossReferenceList-DefaultValue>
+      <PostAssembleCommands-DefaultValue />
+      <FeedControlCode-DefaultValue>False</FeedControlCode-DefaultValue>
+      <OtherAdditionalOptions-DefaultValue />
+      <NumberOfCharactersPerLine-DefaultValue>132</NumberOfCharactersPerLine-DefaultValue>
+      <NumberOfLinesPerPage-DefaultValue>0</NumberOfLinesPerPage-DefaultValue>
+      <TabWidth-DefaultValue>8</TabWidth-DefaultValue>
+      <HeaderTitle-DefaultValue />
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587932769085417104</TimeTagModified--0>
+      <AdditionalIncludePaths-0>..\..\..\arch\rl78_ca78k0r
+sys-cfg\DefaultBuild
+</AdditionalIncludePaths-0>
+      <AssembleListFile-0>False</AssembleListFile-0>
+      <ChineseCharactersCodeOnSourceFiles-0>ShiftJis</ChineseCharactersCodeOnSourceFiles-0>
+      <DebugInformation-0>LocalSymbolAndAssemblerDebugInformation</DebugInformation-0>
+      <DeviceCommonObject-0>False</DeviceCommonObject-0>
+      <ErrorListFile-0>False</ErrorListFile-0>
+      <ListConverter-0>False</ListConverter-0>
+      <SystemIncludePaths-0 />
+      <ListConverterErrorListFile-0>False</ListConverterErrorListFile-0>
+      <MacroDefinitions-0 />
+      <AssembleList-0>True</AssembleList-0>
+      <PreAssembleCommands-0 />
+      <SymbolList-0>False</SymbolList-0>
+      <CrossReferenceList-0>False</CrossReferenceList-0>
+      <PostAssembleCommands-0 />
+      <FeedControlCode-0>False</FeedControlCode-0>
+      <OtherAdditionalOptions-0 />
+      <NumberOfCharactersPerLine-0>132</NumberOfCharactersPerLine-0>
+      <TabWidth-0>8</TabWidth-0>
+      <HeaderTitle-0 />
+      <MacroCompatibleWith78K0-0>False</MacroCompatibleWith78K0-0>
+      <NumberOfLinesPerPage-0>0</NumberOfLinesPerPage-0>
+    </Instance>
+    <Instance Guid="6cc3d5a3-a96e-4ab3-8e7f-ab22bbe17552">
+      <DebugInformation-DefaultValue>True</DebugInformation-DefaultValue>
+      <ErrorListFile-DefaultValue>False</ErrorListFile-DefaultValue>
+      <LibraryFiles-DefaultValue />
+      <LinkListFile-DefaultValue>True</LinkListFile-DefaultValue>
+      <OnChipDebugOptionBytes-DefaultValue>False</OnChipDebugOptionBytes-DefaultValue>
+      <OutputFolder-DefaultValue>%BuildModeName%</OutputFolder-DefaultValue>
+      <PreLinkCommands-DefaultValue />
+      <StackSymbol-DefaultValue>False</StackSymbol-DefaultValue>
+      <WarningLevel-DefaultValue>NormalOutput</WarningLevel-DefaultValue>
+      <LinkDirectiveFile-DefaultValue />
+      <LinkDirectiveInformation-DefaultValue>True</LinkDirectiveInformation-DefaultValue>
+      <OnChipDebugOptionBytesValue-DefaultValue />
+      <OutputFileName-DefaultValue>%ProjectName%.lmf</OutputFileName-DefaultValue>
+      <PostLinkCommands-DefaultValue />
+      <StackRegionName-DefaultValue />
+      <SystemLibraryFiles-DefaultValue />
+      <AdditionalLibraryPaths-DefaultValue />
+      <ForceLinking-DefaultValue>True</ForceLinking-DefaultValue>
+      <LocalSymbolList-DefaultValue>False</LocalSymbolList-DefaultValue>
+      <OtherAdditionalOptions-DefaultValue />
+      <StartAddressOfOnChipDebugOptionBytes-DefaultValue>FE00</StartAddressOfOnChipDebugOptionBytes-DefaultValue>
+      <PublicSymbolList-DefaultValue>False</PublicSymbolList-DefaultValue>
+      <SizeOfOnChipDebugOptionBytesArea-DefaultValue>512</SizeOfOnChipDebugOptionBytesArea-DefaultValue>
+      <SystemLibraryPaths-DefaultValue />
+      <MapList-DefaultValue>True</MapList-DefaultValue>
+      <UserOptionBytes-DefaultValue>False</UserOptionBytes-DefaultValue>
+      <FeedControlCode-DefaultValue>False</FeedControlCode-DefaultValue>
+      <UserOptionBytesValue-DefaultValue />
+      <MirrorSourceArea-DefaultValue>Maa0</MirrorSourceArea-DefaultValue>
+      <NumberOfLinesPerPage-DefaultValue>0</NumberOfLinesPerPage-DefaultValue>
+      <SegmentInfoBottomOf64Kbytes-DefaultValue>False</SegmentInfoBottomOf64Kbytes-DefaultValue>
+      <SettingOfFlashStartAddress-DefaultValue>False</SettingOfFlashStartAddress-DefaultValue>
+      <FlashStartAddress-DefaultValue />
+      <BootAreaModuleFile-DefaultValue />
+      <AllocationControlOfSelfRandomAccessMemory-DefaultValue>No</AllocationControlOfSelfRandomAccessMemory-DefaultValue>
+      <AllocationControlOfTraceRandomAccessMemory-DefaultValue>No</AllocationControlOfTraceRandomAccessMemory-DefaultValue>
+      <AllocationControlOfHotPluginRandomAccessMemory-DefaultValue>No</AllocationControlOfHotPluginRandomAccessMemory-DefaultValue>
+      <ReserveWorkingMemoryForRrmDmm-DefaultValue>False</ReserveWorkingMemoryForRrmDmm-DefaultValue>
+      <StartAddressOfWorkingMemoryForRrmDmm-DefaultValue />
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587930213080100363</TimeTagModified--0>
+      <DebugInformation-0>True</DebugInformation-0>
+      <ErrorListFile-0>False</ErrorListFile-0>
+      <LibraryFiles-0 />
+      <LinkListFile-0>True</LinkListFile-0>
+      <OutputFolder-0>%BuildModeName%</OutputFolder-0>
+      <PreLinkCommands-0 />
+      <StackSymbol-0>False</StackSymbol-0>
+      <WarningLevel-0>NormalOutput</WarningLevel-0>
+      <LinkDirectiveInformation-0>True</LinkDirectiveInformation-0>
+      <OutputFileName-0>%ProjectName%.lmf</OutputFileName-0>
+      <PostLinkCommands-0 />
+      <StackRegionName-0 />
+      <SystemLibraryFiles-0 />
+      <AdditionalLibraryPaths-0 />
+      <ForceLinking-0>True</ForceLinking-0>
+      <LocalSymbolList-0>False</LocalSymbolList-0>
+      <OtherAdditionalOptions-0 />
+      <PublicSymbolList-0>False</PublicSymbolList-0>
+      <SystemLibraryPaths-0 />
+      <MapList-0>True</MapList-0>
+      <FeedControlCode-0>False</FeedControlCode-0>
+      <OnChipDebugOptionBytes-0>False</OnChipDebugOptionBytes-0>
+      <OnChipDebugOptionBytesValue-0 />
+      <StartAddressOfOnChipDebugOptionBytes-0>FE00</StartAddressOfOnChipDebugOptionBytes-0>
+      <SizeOfOnChipDebugOptionBytesArea-0>512</SizeOfOnChipDebugOptionBytesArea-0>
+      <UserOptionBytes-0>False</UserOptionBytes-0>
+      <UserOptionBytesValue-0 />
+      <MirrorSourceArea-0>Maa0</MirrorSourceArea-0>
+      <NumberOfLinesPerPage-0>0</NumberOfLinesPerPage-0>
+      <SegmentInfoBottomOf64Kbytes-0>False</SegmentInfoBottomOf64Kbytes-0>
+      <SettingOfFlashStartAddress-0>False</SettingOfFlashStartAddress-0>
+      <BootAreaModuleFile-0 />
+      <AllocationControlOfSelfRandomAccessMemory-0>No</AllocationControlOfSelfRandomAccessMemory-0>
+      <AllocationControlOfTraceRandomAccessMemory-0>No</AllocationControlOfTraceRandomAccessMemory-0>
+      <AllocationControlOfHotPluginRandomAccessMemory-0>No</AllocationControlOfHotPluginRandomAccessMemory-0>
+      <ReserveWorkingMemoryForRrmDmm-0>False</ReserveWorkingMemoryForRrmDmm-0>
+      <StartAddressOfWorkingMemoryForRrmDmm-0 />
+    </Instance>
+    <Instance Guid="804a01c1-c276-4d78-8726-3a750f2c8941">
+      <ErrorListFile-DefaultValue>False</ErrorListFile-DefaultValue>
+      <LinkMapFile-DefaultValue>True</LinkMapFile-DefaultValue>
+      <PreRomizeCommands-DefaultValue />
+      <RomizeFile-DefaultValue>False</RomizeFile-DefaultValue>
+      <LocalSymbolList-DefaultValue>False</LocalSymbolList-DefaultValue>
+      <PostRomizeCommands-DefaultValue />
+      <RomizeFileOutputFolder-DefaultValue>%BuildModeName%</RomizeFileOutputFolder-DefaultValue>
+      <OtherAdditionalOptions-DefaultValue />
+      <PublicSymbolList-DefaultValue>False</PublicSymbolList-DefaultValue>
+      <RomizeFileName-DefaultValue>romp.lmf</RomizeFileName-DefaultValue>
+      <CopyRoutineStartAddress-DefaultValue />
+      <MapList-DefaultValue>True</MapList-DefaultValue>
+      <FeedControlCode-DefaultValue>False</FeedControlCode-DefaultValue>
+      <RomizeAreaStartAddress-DefaultValue />
+      <NumberOfLinesPerPage-DefaultValue>0</NumberOfLinesPerPage-DefaultValue>
+      <RomizeAreaSize-DefaultValue />
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587965452191327654</TimeTagModified--0>
+      <ErrorListFile-0>False</ErrorListFile-0>
+      <LinkMapFile-0>True</LinkMapFile-0>
+      <PreRomizeCommands-0 />
+      <RomizeFile-0>False</RomizeFile-0>
+      <LocalSymbolList-0>False</LocalSymbolList-0>
+      <PostRomizeCommands-0 />
+      <RomizeFileOutputFolder-0>%BuildModeName%</RomizeFileOutputFolder-0>
+      <OtherAdditionalOptions-0 />
+      <PublicSymbolList-0>False</PublicSymbolList-0>
+      <RomizeFileName-0>romp.lmf</RomizeFileName-0>
+      <CopyRoutineStartAddress-0 />
+      <MapList-0>True</MapList-0>
+      <FeedControlCode-0>False</FeedControlCode-0>
+      <RomizeAreaStartAddress-0 />
+      <RomizeAreaSize-0 />
+    </Instance>
+    <Instance Guid="bfd8cc57-9fe7-454b-b449-7711c81ab5ec">
+      <ErrorListFile-DefaultValue>False</ErrorListFile-DefaultValue>
+      <FillingOfFreeMemorySpace-DefaultValue>True</FillingOfFreeMemorySpace-DefaultValue>
+      <HexadecimalFile-DefaultValue>False</HexadecimalFile-DefaultValue>
+      <OutputCrc-DefaultValue>False</OutputCrc-DefaultValue>
+      <PreObjectConvertCommands-DefaultValue />
+      <SymbolTableFile-DefaultValue>True</SymbolTableFile-DefaultValue>
+      <FillingValue-DefaultValue>FF</FillingValue-DefaultValue>
+      <HexadecimalFileOutputFolder-DefaultValue>%BuildModeName%</HexadecimalFileOutputFolder-DefaultValue>
+      <PostObjectConvertCommands-DefaultValue />
+      <CrcRange-DefaultValue />
+      <FillingStartAddress-DefaultValue />
+      <HexadecimalFileName-DefaultValue>%ProjectName%.hex</HexadecimalFileName-DefaultValue>
+      <OtherAdditionalOptions-DefaultValue />
+      <CrcType-DefaultValue>HighSpeed</CrcType-DefaultValue>
+      <FillingSize-DefaultValue />
+      <HexadecimalFileFormat-DefaultValue>IntelExtended</HexadecimalFileFormat-DefaultValue>
+      <SplittingOfHexadecimalFile-DefaultValue>False</SplittingOfHexadecimalFile-DefaultValue>
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587944679386735038</TimeTagModified--0>
+      <ErrorListFile-0>False</ErrorListFile-0>
+      <FillingOfFreeMemorySpace-0>True</FillingOfFreeMemorySpace-0>
+      <HexadecimalFile-0>False</HexadecimalFile-0>
+      <PreObjectConvertCommands-0 />
+      <SymbolTableFile-0>True</SymbolTableFile-0>
+      <FillingValue-0>FF</FillingValue-0>
+      <HexadecimalFileOutputFolder-0>%BuildModeName%</HexadecimalFileOutputFolder-0>
+      <PostObjectConvertCommands-0 />
+      <FillingStartAddress-0 />
+      <HexadecimalFileName-0>%ProjectName%.hex</HexadecimalFileName-0>
+      <OtherAdditionalOptions-0 />
+      <FillingSize-0 />
+      <HexadecimalFileFormat-0>IntelExtended</HexadecimalFileFormat-0>
+      <SplittingOfHexadecimalFile-0>False</SplittingOfHexadecimalFile-0>
+      <OutputCrc-0>False</OutputCrc-0>
+      <CrcRange-0 />
+      <CrcType-0>HighSpeed</CrcType-0>
+    </Instance>
+    <Instance Guid="53527542-0963-4daa-b0c4-f5d2f25ad29b">
+      <ListFile-DefaultValue>False</ListFile-DefaultValue>
+      <OutputFolder-DefaultValue>%BuildModeName%</OutputFolder-DefaultValue>
+      <PreLibraryCommands-DefaultValue />
+      <OutputFileName-DefaultValue>%ProjectName%.lib</OutputFileName-DefaultValue>
+      <PostLibraryCommands-DefaultValue />
+      <PublicSymbol-DefaultValue>False</PublicSymbol-DefaultValue>
+      <FeedControlCode-DefaultValue>False</FeedControlCode-DefaultValue>
+      <OtherAdditionalOptions-DefaultValue />
+      <NumberOfCharactersPerLine-DefaultValue>132</NumberOfCharactersPerLine-DefaultValue>
+      <NumberOfLinesPerPage-DefaultValue>0</NumberOfLinesPerPage-DefaultValue>
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587930213080100363</TimeTagModified--0>
+      <ListFile-0>False</ListFile-0>
+      <OutputFolder-0>%BuildModeName%</OutputFolder-0>
+      <PreLibraryCommands-0 />
+      <OutputFileName-0>%ProjectName%.lib</OutputFileName-0>
+      <PostLibraryCommands-0 />
+      <PublicSymbol-0>False</PublicSymbol-0>
+      <FeedControlCode-0>False</FeedControlCode-0>
+      <OtherAdditionalOptions-0 />
+      <NumberOfCharactersPerLine-0>132</NumberOfCharactersPerLine-0>
+      <NumberOfLinesPerPage-0>0</NumberOfLinesPerPage-0>
+    </Instance>
+    <Instance Guid="b8c3be84-de3b-445a-8136-13b7e1d0e992">
+      <Margin-DefaultValue>0</Margin-DefaultValue>
+      <OutputRomRamUsage-DefaultValue>False</OutputRomRamUsage-DefaultValue>
+      <VariableInformationFile-DefaultValue>False</VariableInformationFile-DefaultValue>
+      <VariableInformationFolder-DefaultValue>%BuildModeName%</VariableInformationFolder-DefaultValue>
+      <VariableInformationFileName-DefaultValue>%ProjectName%.vfi</VariableInformationFileName-DefaultValue>
+      <IsLockedByUser>False</IsLockedByUser>
+      <TimeTagModified--0>-8587930213080100363</TimeTagModified--0>
+      <Margin-0>0</Margin-0>
+      <OutputRomRamUsage-0>False</OutputRomRamUsage-0>
+      <VariableInformationFile-0>False</VariableInformationFile-0>
+      <VariableInformationFolder-0>%BuildModeName%</VariableInformationFolder-0>
+      <VariableInformationFileName-0>%ProjectName%.vfi</VariableInformationFileName-0>
+    </Instance>
+    <Instance Guid="d43c4ff2-bd06-4015-b258-a099eae5c12c">
+      <LinkOrder-0>0</LinkOrder-0>
+    </Instance>
+    <Instance Guid="f465576e-5f73-4bda-82c7-8026e5f8578d">
+      <LinkOrder-0>1</LinkOrder-0>
+    </Instance>
+    <Instance Guid="21135742-51e3-4f37-8865-b7fc1fbef2bc">
+      <LinkOrder-0>2</LinkOrder-0>
+    </Instance>
+    <Instance Guid="ada9b0f0-1387-42ee-8e61-632174b9f532">
+      <LinkOrder-0>3</LinkOrder-0>
+    </Instance>
+    <Instance Guid="4f51b839-f034-4c94-95f7-0ee22932ff66">
+      <LinkOrder-0>4</LinkOrder-0>
+    </Instance>
+    <Instance Guid="7dff0828-a565-486f-a681-40d16ca82df5">
+      <LinkOrder-0>5</LinkOrder-0>
+    </Instance>
+    <Instance Guid="8e820256-7c73-4653-a3b5-733b998a0d5a">
+      <LinkOrder-0>6</LinkOrder-0>
+    </Instance>
+    <Instance Guid="8eabf05c-c18f-46cb-b6bc-628bc6dfabb7">
+      <LinkOrder-0>7</LinkOrder-0>
+    </Instance>
+    <Instance Guid="d0f55856-b2bb-4f33-9335-b3fbbc9e5128">
+      <LinkOrder-0>8</LinkOrder-0>
+    </Instance>
+  </Class>
+  <Class Guid="44fa27c9-0aa0-4297-bd3b-2c5c5bdb8881">
+    <Instance Guid="44fa27c9-0aa0-4297-bd3b-2c5c5bdb8881">
+      <IsLibraryMode>False</IsLibraryMode>
+      <StartUpCategoryItem>6a49f382-64b8-4cda-b6de-092afb95b2fe</StartUpCategoryItem>
+    </Instance>
+  </Class>
+  <Class Guid="2890788c-ef94-47c1-b7a0-ea78a63c62b8">
+    <Instance Guid="94bc6931-8ae1-4fe8-8c88-72587525d642">
+      <ContainLinkDirectiveData>True</ContainLinkDirectiveData>
+      <MemorySpaceCount>1</MemorySpaceCount>
+      <MemorySpaceName-0>REGULAR</MemorySpaceName-0>
+      <MemoryAreaCount>3</MemoryAreaCount>
+      <MemoryAreaName-0>ROM</MemoryAreaName-0>
+      <MemoryAreaParentMemorySpace-0>REGULAR</MemoryAreaParentMemorySpace-0>
+      <MemoryAreaStartAddress-0>216</MemoryAreaStartAddress-0>
+      <MemoryAreaSize-0>65320</MemoryAreaSize-0>
+      <MemoryAreaChildSegmentCount-0>2</MemoryAreaChildSegmentCount-0>
+      <ChildSegmentName-0-0>@@CODE</ChildSegmentName-0-0>
+      <ChildSegmentParentMemAreaName-0-0>ROM</ChildSegmentParentMemAreaName-0-0>
+      <ChildSegmentParentMemSpaceName-0-0>REGULAR</ChildSegmentParentMemSpaceName-0-0>
+      <ChildSegmentIsSpecifyStartAddress-0-0>True</ChildSegmentIsSpecifyStartAddress-0-0>
+      <ChildSegmentAddress-0-0>216</ChildSegmentAddress-0-0>
+      <ChildSegmentMergeAttributeType-0-0>Auto</ChildSegmentMergeAttributeType-0-0>
+      <ChildSegmentName-0-1>@@CODEL</ChildSegmentName-0-1>
+      <ChildSegmentParentMemAreaName-0-1>ROM</ChildSegmentParentMemAreaName-0-1>
+      <ChildSegmentParentMemSpaceName-0-1>REGULAR</ChildSegmentParentMemSpaceName-0-1>
+      <ChildSegmentIsSpecifyStartAddress-0-1>False</ChildSegmentIsSpecifyStartAddress-0-1>
+      <ChildSegmentAddress-0-1>216</ChildSegmentAddress-0-1>
+      <ChildSegmentMergeAttributeType-0-1>Auto</ChildSegmentMergeAttributeType-0-1>
+      <ChildSegmentarentMemorySpace-0>REGULAR</ChildSegmentarentMemorySpace-0>
+      <MemoryAreaName-1>ROM_S</MemoryAreaName-1>
+      <MemoryAreaParentMemorySpace-1>REGULAR</MemoryAreaParentMemorySpace-1>
+      <MemoryAreaStartAddress-1>0</MemoryAreaStartAddress-1>
+      <MemoryAreaSize-1>216</MemoryAreaSize-1>
+      <MemoryAreaChildSegmentCount-1>5</MemoryAreaChildSegmentCount-1>
+      <ChildSegmentName-1-0>VECTOR</ChildSegmentName-1-0>
+      <ChildSegmentParentMemAreaName-1-0>ROM_S</ChildSegmentParentMemAreaName-1-0>
+      <ChildSegmentParentMemSpaceName-1-0>REGULAR</ChildSegmentParentMemSpaceName-1-0>
+      <ChildSegmentIsSpecifyStartAddress-1-0>True</ChildSegmentIsSpecifyStartAddress-1-0>
+      <ChildSegmentAddress-1-0>0</ChildSegmentAddress-1-0>
+      <ChildSegmentMergeAttributeType-1-0>Auto</ChildSegmentMergeAttributeType-1-0>
+      <ChildSegmentName-1-1>@@CALT</ChildSegmentName-1-1>
+      <ChildSegmentParentMemAreaName-1-1>ROM_S</ChildSegmentParentMemAreaName-1-1>
+      <ChildSegmentParentMemSpaceName-1-1>REGULAR</ChildSegmentParentMemSpaceName-1-1>
+      <ChildSegmentIsSpecifyStartAddress-1-1>True</ChildSegmentIsSpecifyStartAddress-1-1>
+      <ChildSegmentAddress-1-1>128</ChildSegmentAddress-1-1>
+      <ChildSegmentMergeAttributeType-1-1>Auto</ChildSegmentMergeAttributeType-1-1>
+      <ChildSegmentName-1-2>OPT_BYTE</ChildSegmentName-1-2>
+      <ChildSegmentParentMemAreaName-1-2>ROM_S</ChildSegmentParentMemAreaName-1-2>
+      <ChildSegmentParentMemSpaceName-1-2>REGULAR</ChildSegmentParentMemSpaceName-1-2>
+      <ChildSegmentIsSpecifyStartAddress-1-2>True</ChildSegmentIsSpecifyStartAddress-1-2>
+      <ChildSegmentAddress-1-2>192</ChildSegmentAddress-1-2>
+      <ChildSegmentMergeAttributeType-1-2>Auto</ChildSegmentMergeAttributeType-1-2>
+      <ChildSegmentName-1-3>OCD_SID</ChildSegmentName-1-3>
+      <ChildSegmentParentMemAreaName-1-3>ROM_S</ChildSegmentParentMemAreaName-1-3>
+      <ChildSegmentParentMemSpaceName-1-3>REGULAR</ChildSegmentParentMemSpaceName-1-3>
+      <ChildSegmentIsSpecifyStartAddress-1-3>True</ChildSegmentIsSpecifyStartAddress-1-3>
+      <ChildSegmentAddress-1-3>196</ChildSegmentAddress-1-3>
+      <ChildSegmentMergeAttributeType-1-3>Auto</ChildSegmentMergeAttributeType-1-3>
+      <ChildSegmentName-1-4>OCD_WORK</ChildSegmentName-1-4>
+      <ChildSegmentParentMemAreaName-1-4>ROM_S</ChildSegmentParentMemAreaName-1-4>
+      <ChildSegmentParentMemSpaceName-1-4>REGULAR</ChildSegmentParentMemSpaceName-1-4>
+      <ChildSegmentIsSpecifyStartAddress-1-4>True</ChildSegmentIsSpecifyStartAddress-1-4>
+      <ChildSegmentAddress-1-4>206</ChildSegmentAddress-1-4>
+      <ChildSegmentMergeAttributeType-1-4>Auto</ChildSegmentMergeAttributeType-1-4>
+      <ChildSegmentarentMemorySpace-1>REGULAR</ChildSegmentarentMemorySpace-1>
+      <MemoryAreaName-2>RAM</MemoryAreaName-2>
+      <MemoryAreaParentMemorySpace-2>REGULAR</MemoryAreaParentMemorySpace-2>
+      <MemoryAreaStartAddress-2>1044224</MemoryAreaStartAddress-2>
+      <MemoryAreaSize-2>4096</MemoryAreaSize-2>
+      <ChildSegmentarentMemorySpace-2>REGULAR</ChildSegmentarentMemorySpace-2>
+    </Instance>
+  </Class>
+  <Class Guid="6d256a08-6dc9-4bdb-a221-f0f9fd7dfbf8">
+    <Instance Guid="6d256a08-6dc9-4bdb-a221-f0f9fd7dfbf8">
+      <DataFormatVersionPlugin>1.0</DataFormatVersionPlugin>
+      <DataFormatVersionDebugger>1.0</DataFormatVersionDebugger>
+    </Instance>
+  </Class>
+  <Class Guid="7810be7d-576e-4fcd-9e97-491c01222099">
+    <Instance Guid="00000000-0000-0000-0000-000000000000">
+      <SubDebugger>a1b29f7a-6007-4082-b223-0b9f7a2063c9</SubDebugger>
+    </Instance>
+  </Class>
+  <Class Guid="e50bf280-79ff-436f-9e4f-b5ec01920b25">
+    <Instance Guid="d8928929-32a4-483f-a4e7-5b2f1df172a7">
+      <DeviceChangedCounter>0</DeviceChangedCounter>
+      <DeviceName>R5F100LE</DeviceName>
+      <DebuggerProperty-EssentialProperty-TargetConnect-TargetConnect>No</DebuggerProperty-EssentialProperty-TargetConnect-TargetConnect>
+      <DebuggerProperty-EssentialProperty-Clock-MainClock>Emulator</DebuggerProperty-EssentialProperty-Clock-MainClock>
+      <DebuggerProperty-EssentialProperty-Clock-SubClock>Emulator</DebuggerProperty-EssentialProperty-Clock-SubClock>
+      <DebuggerProperty-EssentialProperty-Clock-MainClockFrequency>4000</DebuggerProperty-EssentialProperty-Clock-MainClockFrequency>
+      <DebuggerProperty-EssentialProperty-Clock-SubClockFrequency>32768</DebuggerProperty-EssentialProperty-Clock-SubClockFrequency>
+      <DebuggerProperty-EssentialProperty-Memory-InternalRomSize>64</DebuggerProperty-EssentialProperty-Memory-InternalRomSize>
+      <DebuggerProperty-EssentialProperty-Memory-InternalRamSize>4096</DebuggerProperty-EssentialProperty-Memory-InternalRamSize>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-Length>1</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-Length>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-DebuggerGuid />
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileName>DefaultBuild\ssp_rl78.lmf</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileName>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileType>LoadModuleFile</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileType>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-Offset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-Offset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-StartAddress>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-StartAddress>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-ObjectDownload>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-ObjectDownload>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-SymbolDownload>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-SymbolDownload>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-UsePicPidOffset>False</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-UsePicPidOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PicOffset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PicOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PidOffset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PidOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-GenerateInformationForInputCompletion>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-GenerateInformationForInputCompletion>
+      <DebuggerProperty-DownloadProperty-DebugInformation-CpuReset>True</DebuggerProperty-DownloadProperty-DebugInformation-CpuReset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-FlashErase>False</DebuggerProperty-DownloadProperty-DebugInformation-FlashErase>
+      <DebuggerProperty-DownloadProperty-DebugInformation-EventCorrection>SuspendEvent</DebuggerProperty-DownloadProperty-DebugInformation-EventCorrection>
+      <DebuggerProperty-DownloadProperty-DebugInformation-SkipStartup>True</DebuggerProperty-DownloadProperty-DebugInformation-SkipStartup>
+      <DebuggerProperty-DownloadProperty-DebugInformation-MainSymbol>XwBtAGEAaQBuAA==</DebuggerProperty-DownloadProperty-DebugInformation-MainSymbol>
+      <DebuggerProperty-DownloadProperty-DebugInformation-StartupStartSymbol>XwBAAGMAcwB0AGEAcgB0AA==</DebuggerProperty-DownloadProperty-DebugInformation-StartupStartSymbol>
+      <DebuggerProperty-DownloadProperty-DebugInformation-StartupEndSymbol>XwBAAGMAZQBuAGQA</DebuggerProperty-DownloadProperty-DebugInformation-StartupEndSymbol>
+      <DebuggerProperty-DownloadProperty-Download-DownloadMode>SpeedPriority</DebuggerProperty-DownloadProperty-Download-DownloadMode>
+      <DebuggerProperty-FlashEmulationProperty-FlashSelfEmulation-FlashSelfProgramming>No</DebuggerProperty-FlashEmulationProperty-FlashSelfEmulation-FlashSelfProgramming>
+      <DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-WritingTime>Typical</DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-WritingTime>
+      <DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-AddressForWritingTime>0</DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-AddressForWritingTime>
+      <DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-AddressMaskForWritingTime>0</DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-AddressMaskForWritingTime>
+      <DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-ErasingTime>Typical</DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-ErasingTime>
+      <DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-AddressForErasingTime>0</DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-AddressForErasingTime>
+      <DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-AddressMaskForErasingTime>0</DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-AddressMaskForErasingTime>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors0-GenerateError>None</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors0-GenerateError>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors0-AddressForError>0</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors0-AddressForError>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors0-AddressMaskForError>0</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors0-AddressMaskForError>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors1-GenerateError>None</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors1-GenerateError>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors1-AddressForError>0</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors1-AddressForError>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors1-AddressMaskForError>0</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors1-AddressMaskForError>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors2-GenerateError>None</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors2-GenerateError>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors2-AddressForError>0</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors2-AddressForError>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors2-AddressMaskForError>0</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors2-AddressMaskForError>
+      <DebuggerProperty-FlashEmulationProperty-FlashShieldWindow-FlashSelfStartBlock>0</DebuggerProperty-FlashEmulationProperty-FlashShieldWindow-FlashSelfStartBlock>
+      <DebuggerProperty-FlashEmulationProperty-FlashShieldWindow-FlashSelfEndBlock>65535</DebuggerProperty-FlashEmulationProperty-FlashShieldWindow-FlashSelfEndBlock>
+      <DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableChipErase>No</DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableChipErase>
+      <DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableBlockErase>No</DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableBlockErase>
+      <DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableRead>No</DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableRead>
+      <DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableProgram>No</DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableProgram>
+      <DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableBootBlockClusterReprogram>No</DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableBootBlockClusterReprogram>
+      <DebuggerProperty-DataFlashEmulationProperty-DataFlashSelfEmulation-DataFlashSelfProgramming>No</DebuggerProperty-DataFlashEmulationProperty-DataFlashSelfEmulation-DataFlashSelfProgramming>
+      <DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-WritingTime>Typical</DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-WritingTime>
+      <DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-AddressForWritingTime>987136</DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-AddressForWritingTime>
+      <DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-AddressMaskForWritingTime>0</DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-AddressMaskForWritingTime>
+      <DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-ErasingTime>Typical</DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-ErasingTime>
+      <DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-AddressForErasingTime>987136</DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-AddressForErasingTime>
+      <DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-AddressMaskForErasingTime>0</DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-AddressMaskForErasingTime>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors0-GenerateError>None</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors0-GenerateError>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors0-AddressForError>987136</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors0-AddressForError>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors0-AddressMaskForError>0</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors0-AddressMaskForError>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors1-GenerateError>None</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors1-GenerateError>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors1-AddressForError>987136</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors1-AddressForError>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors1-AddressMaskForError>0</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors1-AddressMaskForError>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors2-GenerateError>None</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors2-GenerateError>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors2-AddressForError>987136</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors2-AddressForError>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors2-AddressMaskForError>0</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors2-AddressMaskForError>
+      <DebuggerProperty-OptionalProperty-AccessMemory-UpdateDisplayInExecution>Yes</DebuggerProperty-OptionalProperty-AccessMemory-UpdateDisplayInExecution>
+      <DebuggerProperty-OptionalProperty-AccessMemory-UpdateInterval>500</DebuggerProperty-OptionalProperty-AccessMemory-UpdateInterval>
+      <DebuggerProperty-OptionalProperty-Register-ClearRegisterWhenReset>No</DebuggerProperty-OptionalProperty-Register-ClearRegisterWhenReset>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-Length>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-Length>
+      <DebuggerProperty-OptionalProperty-Memory-VerifyCheck>Yes</DebuggerProperty-OptionalProperty-Memory-VerifyCheck>
+      <DebuggerProperty-OptionalProperty-Assemble-DisplaySymbol>SymbolOffset</DebuggerProperty-OptionalProperty-Assemble-DisplaySymbol>
+      <DebuggerProperty-OptionalProperty-Assemble-DisplayFunctionName>Yes</DebuggerProperty-OptionalProperty-Assemble-DisplayFunctionName>
+      <DebuggerProperty-OptionalProperty-Break-BreakpointPriority>SoftwareBreak</DebuggerProperty-OptionalProperty-Break-BreakpointPriority>
+      <DebuggerProperty-OptionalProperty-Break-TimerPeripheralBreak>No</DebuggerProperty-OptionalProperty-Break-TimerPeripheralBreak>
+      <DebuggerProperty-OptionalProperty-Break-SerialPeripheralBreak>No</DebuggerProperty-OptionalProperty-Break-SerialPeripheralBreak>
+      <DebuggerProperty-OptionalProperty-MemoryAccess-PermitToStopAndRead>No</DebuggerProperty-OptionalProperty-MemoryAccess-PermitToStopAndRead>
+      <DebuggerProperty-OptionalProperty-MemoryAccess-PermitToStopAndSetBreak>No</DebuggerProperty-OptionalProperty-MemoryAccess-PermitToStopAndSetBreak>
+      <DebuggerProperty-OptionalProperty-PinMask-TargetResetMask>No</DebuggerProperty-OptionalProperty-PinMask-TargetResetMask>
+      <DebuggerProperty-OptionalProperty-PinMask-InternalResetMask>No</DebuggerProperty-OptionalProperty-PinMask-InternalResetMask>
+      <DebuggerProperty-OptionalProperty-Trace-ClearTraceMemory>Yes</DebuggerProperty-OptionalProperty-Trace-ClearTraceMemory>
+      <DebuggerProperty-OptionalProperty-Trace-TraceMode>Nonstop</DebuggerProperty-OptionalProperty-Trace-TraceMode>
+      <DebuggerProperty-OptionalProperty-Trace-TraceRate>0</DebuggerProperty-OptionalProperty-Trace-TraceRate>
+      <DebuggerProperty-OptionalProperty-PinMask-WaitMask>No</DebuggerProperty-OptionalProperty-PinMask-WaitMask>
+      <DebuggerProperty-OptionalProperty-PinMask-NmiMask>No</DebuggerProperty-OptionalProperty-PinMask-NmiMask>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectFetchGuard>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectFetchGuard>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectWriteGuard>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectWriteGuard>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectSfrRead>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectSfrRead>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectSfrWrite>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectSfrWrite>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-StackOverflow>No</DebuggerProperty-OptionalProperty-FailSafeBreak-StackOverflow>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-StackTop>QABTAFQARQBOAEQA</DebuggerProperty-OptionalProperty-FailSafeBreak-StackTop>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-StackUnderflow>No</DebuggerProperty-OptionalProperty-FailSafeBreak-StackUnderflow>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-StackBottom>QABTAFQAQgBFAEcA</DebuggerProperty-OptionalProperty-FailSafeBreak-StackBottom>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-UnInitializedSp>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-UnInitializedSp>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-UnInitializedRam>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-UnInitializedRam>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectGuard>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectGuard>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-MissAlign>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-MissAlign>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-PeripheralFailsafe>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-PeripheralFailsafe>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-FlashIllegal>No</DebuggerProperty-OptionalProperty-FailSafeBreak-FlashIllegal>
+      <DebuggerProperty-OptionalProperty-Break-OpenBreak>No</DebuggerProperty-OptionalProperty-Break-OpenBreak>
+      <DebuggerProperty-OptionalProperty-Coverage-ReuseCoverageData>No</DebuggerProperty-OptionalProperty-Coverage-ReuseCoverageData>
+      <DebuggerProperty-OptionalProperty-Timer-TimerRate>1</DebuggerProperty-OptionalProperty-Timer-TimerRate>
+      <DebuggerProperty-HookProperty-HookTransaction-Downloading-Length>0</DebuggerProperty-HookProperty-HookTransaction-Downloading-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Downloaded-Length>0</DebuggerProperty-HookProperty-HookTransaction-Downloaded-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Reset-Length>0</DebuggerProperty-HookProperty-HookTransaction-Reset-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Going-Length>0</DebuggerProperty-HookProperty-HookTransaction-Going-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Broke-Length>0</DebuggerProperty-HookProperty-HookTransaction-Broke-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Connected-Length>0</DebuggerProperty-HookProperty-HookTransaction-Connected-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Disconnecting-Length>0</DebuggerProperty-HookProperty-HookTransaction-Disconnecting-Length>
+    </Instance>
+    <Instance Guid="5c2754eb-8b67-47d7-b205-e913e38c9746">
+      <DeviceChangedCounter>0</DeviceChangedCounter>
+      <DeviceName>R5F100LE</DeviceName>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Length>10</DebuggerProperty-EssentialProperty-Flash-IdCode-Length>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code0>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code0>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code1>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code1>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code2>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code2>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code3>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code3>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code4>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code4>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code5>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code5>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code6>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code6>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code7>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code7>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code8>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code8>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code9>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code9>
+      <DebuggerProperty-EssentialProperty-Clock-MainClockGeneration>0</DebuggerProperty-EssentialProperty-Clock-MainClockGeneration>
+      <DebuggerProperty-EssentialProperty-Clock-SubClockGeneration>0</DebuggerProperty-EssentialProperty-Clock-SubClockGeneration>
+      <DebuggerProperty-EssentialProperty-Flash-PermitFlashProgramming>Yes</DebuggerProperty-EssentialProperty-Flash-PermitFlashProgramming>
+      <DebuggerProperty-EssentialProperty-Flash-ForceEraseChip>No</DebuggerProperty-EssentialProperty-Flash-ForceEraseChip>
+      <DebuggerProperty-EssentialProperty-Clock-MonitorClock>System</DebuggerProperty-EssentialProperty-Clock-MonitorClock>
+      <DebuggerProperty-EssentialProperty-Flash-UseLowVoltageFlashMode>Yes</DebuggerProperty-EssentialProperty-Flash-UseLowVoltageFlashMode>
+      <DebuggerProperty-EssentialProperty-TargetConnect-TargetSupplyPower>No</DebuggerProperty-EssentialProperty-TargetConnect-TargetSupplyPower>
+      <DebuggerProperty-EssentialProperty-TargetConnect-TargetSuppliedVoltage>Use3_3V</DebuggerProperty-EssentialProperty-TargetConnect-TargetSuppliedVoltage>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-Length>1</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-Length>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-DebuggerGuid />
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileName>DefaultBuild\ssp_rl78.lmf</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileName>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileType>LoadModuleFile</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileType>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-Offset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-Offset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-StartAddress>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-StartAddress>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-ObjectDownload>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-ObjectDownload>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-SymbolDownload>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-SymbolDownload>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-UsePicPidOffset>False</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-UsePicPidOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PicOffset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PicOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PidOffset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PidOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-GenerateInformationForInputCompletion>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-GenerateInformationForInputCompletion>
+      <DebuggerProperty-DownloadProperty-DebugInformation-CpuReset>True</DebuggerProperty-DownloadProperty-DebugInformation-CpuReset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-FlashErase>False</DebuggerProperty-DownloadProperty-DebugInformation-FlashErase>
+      <DebuggerProperty-DownloadProperty-DebugInformation-EventCorrection>SuspendEvent</DebuggerProperty-DownloadProperty-DebugInformation-EventCorrection>
+      <DebuggerProperty-DownloadProperty-DebugInformation-SkipStartup>True</DebuggerProperty-DownloadProperty-DebugInformation-SkipStartup>
+      <DebuggerProperty-DownloadProperty-DebugInformation-MainSymbol>XwBzAHQAYQBfAGsAZQByAA==</DebuggerProperty-DownloadProperty-DebugInformation-MainSymbol>
+      <DebuggerProperty-DownloadProperty-DebugInformation-StartupStartSymbol>XwBzAHQAYQByAHQA</DebuggerProperty-DownloadProperty-DebugInformation-StartupStartSymbol>
+      <DebuggerProperty-DownloadProperty-DebugInformation-StartupEndSymbol>XwBAAGMAZQBuAGQA</DebuggerProperty-DownloadProperty-DebugInformation-StartupEndSymbol>
+      <DebuggerProperty-DownloadProperty-Download-DownloadMode>SpeedPriority</DebuggerProperty-DownloadProperty-Download-DownloadMode>
+      <DebuggerProperty-DownloadProperty-DebugInformation-MonitorOverwrite>Yes</DebuggerProperty-DownloadProperty-DebugInformation-MonitorOverwrite>
+      <DebuggerProperty-OptionalProperty-AccessMemory-UpdateDisplayInExecution>Yes</DebuggerProperty-OptionalProperty-AccessMemory-UpdateDisplayInExecution>
+      <DebuggerProperty-OptionalProperty-AccessMemory-UpdateInterval>500</DebuggerProperty-OptionalProperty-AccessMemory-UpdateInterval>
+      <DebuggerProperty-OptionalProperty-Register-ClearRegisterWhenReset>No</DebuggerProperty-OptionalProperty-Register-ClearRegisterWhenReset>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-Length>9</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-Length>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-MapType>InternalRom</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-StartAddress>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-EndAddress>65535</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-AccessSize>16</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-MapType>NonMap</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-StartAddress>65536</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-EndAddress>983039</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-AccessSize>8</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-MapType>Sfr</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-StartAddress>983040</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-EndAddress>985087</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-AccessSize>8</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-MapType>NonMap</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-StartAddress>985088</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-EndAddress>987135</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-AccessSize>8</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-MapType>Eeprom</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-StartAddress>987136</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-EndAddress>991231</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-AccessSize>8</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-MapType>Mirror</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-StartAddress>991232</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-EndAddress>1044223</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-AccessSize>16</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-MapType>InternalRam</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-StartAddress>1044224</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-EndAddress>1048287</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-AccessSize>16</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-MapType>Register</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-StartAddress>1048288</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-EndAddress>1048319</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-AccessSize>16</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-MapType>Sfr</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-StartAddress>1048320</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-EndAddress>1048575</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-AccessSize>8</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-VerifyCheck>Yes</DebuggerProperty-OptionalProperty-Memory-VerifyCheck>
+      <DebuggerProperty-OptionalProperty-Assemble-DisplaySymbol>SymbolOffset</DebuggerProperty-OptionalProperty-Assemble-DisplaySymbol>
+      <DebuggerProperty-OptionalProperty-Assemble-DisplayFunctionName>Yes</DebuggerProperty-OptionalProperty-Assemble-DisplayFunctionName>
+      <DebuggerProperty-OptionalProperty-Break-BreakpointPriority>SoftwareBreak</DebuggerProperty-OptionalProperty-Break-BreakpointPriority>
+      <DebuggerProperty-OptionalProperty-Break-TimerPeripheralBreak>No</DebuggerProperty-OptionalProperty-Break-TimerPeripheralBreak>
+      <DebuggerProperty-OptionalProperty-Break-SerialPeripheralBreak>No</DebuggerProperty-OptionalProperty-Break-SerialPeripheralBreak>
+      <DebuggerProperty-OptionalProperty-MemoryAccess-PermitToStopAndRead>No</DebuggerProperty-OptionalProperty-MemoryAccess-PermitToStopAndRead>
+      <DebuggerProperty-OptionalProperty-MemoryAccess-PermitToStopAndSetBreak>No</DebuggerProperty-OptionalProperty-MemoryAccess-PermitToStopAndSetBreak>
+      <DebuggerProperty-OptionalProperty-PinMask-TargetResetMask>No</DebuggerProperty-OptionalProperty-PinMask-TargetResetMask>
+      <DebuggerProperty-OptionalProperty-PinMask-InternalResetMask>No</DebuggerProperty-OptionalProperty-PinMask-InternalResetMask>
+      <DebuggerProperty-OptionalProperty-AccessMemory-RamMonitorClockFrequency>8000</DebuggerProperty-OptionalProperty-AccessMemory-RamMonitorClockFrequency>
+      <DebuggerProperty-OptionalProperty-AccessMemory-RamMonitorClock>Internal</DebuggerProperty-OptionalProperty-AccessMemory-RamMonitorClock>
+      <DebuggerProperty-OptionalProperty-AccessMemory-CkcRegisterValue>9</DebuggerProperty-OptionalProperty-AccessMemory-CkcRegisterValue>
+      <DebuggerProperty-HookProperty-HookTransaction-Downloading-Length>0</DebuggerProperty-HookProperty-HookTransaction-Downloading-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Downloaded-Length>0</DebuggerProperty-HookProperty-HookTransaction-Downloaded-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Reset-Length>0</DebuggerProperty-HookProperty-HookTransaction-Reset-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Going-Length>0</DebuggerProperty-HookProperty-HookTransaction-Going-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Broke-Length>0</DebuggerProperty-HookProperty-HookTransaction-Broke-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Connected-Length>0</DebuggerProperty-HookProperty-HookTransaction-Connected-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Disconnecting-Length>0</DebuggerProperty-HookProperty-HookTransaction-Disconnecting-Length>
+    </Instance>
+  </Class>
+  <Class Guid="9206d65e-d8cb-4c0e-a7c5-e551fc54e14b">
+    <Instance Guid="5c2754eb-8b67-47d7-b205-e913e38c9746">
+      <EventFunction-Timer1-Name>UgB1AG4ALQBCAHIAZQBhAGsAvzCkMN4w</EventFunction-Timer1-Name>
+      <EventFunction-Timer1-Description />
+      <EventFunction-Timer1-EventStatus>Enable</EventFunction-Timer1-EventStatus>
+      <EventFunction-Timer1-EventStatusBeforeInvalid>Invalid</EventFunction-Timer1-EventStatusBeforeInvalid>
+      <EventFunction-Timer1-IsBuiltIn>True</EventFunction-Timer1-IsBuiltIn>
+      <EventFunction-Timer1-CountLimit>0</EventFunction-Timer1-CountLimit>
+      <EventFunction-Timer1-TimerLimit>0</EventFunction-Timer1-TimerLimit>
+      <EventFunction-Timer1-StartTimerEvent-SaveLength>0</EventFunction-Timer1-StartTimerEvent-SaveLength>
+      <EventFunction-Timer1-EndTimerEvent-SaveLength>0</EventFunction-Timer1-EndTimerEvent-SaveLength>
+      <EventFunction-EventCondition1-Software-Name>RQB2AGUAbgB0ACAAQwBvAG4AZABpAHQAaQBvAG4AIAAxAA==</EventFunction-EventCondition1-Software-Name>
+      <EventFunction-EventCondition1-Software-Description />
+      <EventFunction-EventCondition1-Software-IsBuiltIn>False</EventFunction-EventCondition1-Software-IsBuiltIn>
+      <EventFunction-EventCondition1-Software-EventConditionType>Software</EventFunction-EventCondition1-Software-EventConditionType>
+      <EventFunction-EventCondition1-Software-EventNumber>1</EventFunction-EventCondition1-Software-EventNumber>
+      <EventFunction-EventCondition1-Software-BreakAddress-LocationType>SymbolOffset</EventFunction-EventCondition1-Software-BreakAddress-LocationType>
+      <EventFunction-EventCondition1-Software-BreakAddress-LoadModule>C:\Users\saito\Documents\toppers_ssp_qbr5f100le\ssp\target\qb_r5f100le_cs\ssp_rl78\DefaultBuild\ssp_rl78.lmf</EventFunction-EventCondition1-Software-BreakAddress-LoadModule>
+      <EventFunction-EventCondition1-Software-BreakAddress-File>start.asm</EventFunction-EventCondition1-Software-BreakAddress-File>
+      <EventFunction-EventCondition1-Software-BreakAddress-Symbol>_start</EventFunction-EventCondition1-Software-BreakAddress-Symbol>
+      <EventFunction-EventCondition1-Software-BreakAddress-Offset>7</EventFunction-EventCondition1-Software-BreakAddress-Offset>
+      <EventFunction-EventCondition1-Software-EffectiveBreakAddress-LocationType>Address</EventFunction-EventCondition1-Software-EffectiveBreakAddress-LocationType>
+      <EventFunction-EventCondition1-Software-EffectiveBreakAddress-Address>223</EventFunction-EventCondition1-Software-EffectiveBreakAddress-Address>
+      <EventFunction-Break1-Name>1jDsMPwwrzAwADAAMAAxAA==</EventFunction-Break1-Name>
+      <EventFunction-Break1-Description />
+      <EventFunction-Break1-EventStatus>Enable</EventFunction-Break1-EventStatus>
+      <EventFunction-Break1-EventStatusBeforeInvalid>Invalid</EventFunction-Break1-EventStatusBeforeInvalid>
+      <EventFunction-Break1-IsBuiltIn>False</EventFunction-Break1-IsBuiltIn>
+      <EventFunction-Break1-CombinationType>None</EventFunction-Break1-CombinationType>
+      <EventFunction-Break1-HardwareBreakData-SaveLength>0</EventFunction-Break1-HardwareBreakData-SaveLength>
+      <EventFunction-Break1-SoftwareBreakData-SoftwareBreakNumber1>1</EventFunction-Break1-SoftwareBreakData-SoftwareBreakNumber1>
+      <EventFunction-Break1-SoftwareBreakData-EventConditionName1>RQB2AGUAbgB0ACAAQwBvAG4AZABpAHQAaQBvAG4AIAAxAA==</EventFunction-Break1-SoftwareBreakData-EventConditionName1>
+      <EventFunction-Break1-SoftwareBreakData-SaveLength>1</EventFunction-Break1-SoftwareBreakData-SaveLength>
+      <EventFunction-SaveEventConditionItemHardwareNumber>0</EventFunction-SaveEventConditionItemHardwareNumber>
+      <EventFunction-SaveEventConditionItemSoftwareNumber>1</EventFunction-SaveEventConditionItemSoftwareNumber>
+      <EventFunction-SaveActionEventNumber>0</EventFunction-SaveActionEventNumber>
+      <EventFunction-SaveBreakNumber>1</EventFunction-SaveBreakNumber>
+      <EventFunction-SaveTimerNumber>1</EventFunction-SaveTimerNumber>
+      <EventFunction-SaveTraceNumber>0</EventFunction-SaveTraceNumber>
+      <EventFunction-SaveNumberOfProcessorElement>1</EventFunction-SaveNumberOfProcessorElement>
+    </Instance>
+  </Class>
+  <Class Guid="5a52642a-b3e1-4542-8d5e-3c44bf6e43a1">
+    <Instance Guid="5a52642a-b3e1-4542-8d5e-3c44bf6e43a1">
+      <DataFormatVersionPlugin>1.0</DataFormatVersionPlugin>
+      <DataFormatVersionDebugger>1.0</DataFormatVersionDebugger>
+    </Instance>
+  </Class>
+  <Class Guid="932085a2-9361-4df9-a3f7-12e6de7681a8">
+    <Instance Guid="932085a2-9361-4df9-a3f7-12e6de7681a8">
+      <DebugToolManager>fa6177d7-5670-4a93-b640-3b751278ce4c</DebugToolManager>
+    </Instance>
+  </Class>
+  <Class Guid="59a8ea33-e927-4d12-9690-902219de85d7">
+    <Instance Guid="00000000-0000-0000-0000-000000000000">
+      <dummy />
+    </Instance>
+  </Class>
+  <Class Guid="88233a69-1b02-4b3d-a212-ff2ec4e67e65">
+    <Instance Guid="a809dbf1-d8d5-4bfb-a7f9-5874593160e2">
+      <DeviceChangedCounter>0</DeviceChangedCounter>
+      <DeviceName>R5F100LE</DeviceName>
+      <DebuggerProperty-EssentialProperty-Clock-MainClockFrequency>4000</DebuggerProperty-EssentialProperty-Clock-MainClockFrequency>
+      <DebuggerProperty-EssentialProperty-Clock-SubClockFrequency>32768</DebuggerProperty-EssentialProperty-Clock-SubClockFrequency>
+      <DebuggerProperty-EssentialProperty-Memory-InternalRomSize>64</DebuggerProperty-EssentialProperty-Memory-InternalRomSize>
+      <DebuggerProperty-EssentialProperty-Memory-InternalRamSize>4096</DebuggerProperty-EssentialProperty-Memory-InternalRamSize>
+      <DebuggerProperty-EssentialProperty-Clock-SelectTimerTraceClockFrequency>SelectCpuClockFrequency</DebuggerProperty-EssentialProperty-Clock-SelectTimerTraceClockFrequency>
+      <DebuggerProperty-EssentialProperty-Clock-UnitOfTimerTraceClockFrequency>MHz</DebuggerProperty-EssentialProperty-Clock-UnitOfTimerTraceClockFrequency>
+      <DebuggerProperty-EssentialProperty-Clock-TimerTraceClockFrequency>4000000</DebuggerProperty-EssentialProperty-Clock-TimerTraceClockFrequency>
+      <DebuggerProperty-EssentialProperty-Configuration-UseSimulatorConfigurationFile>No</DebuggerProperty-EssentialProperty-Configuration-UseSimulatorConfigurationFile>
+      <DebuggerProperty-EssentialProperty-Configuration-SimulatorConfigurationFile />
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-Length>1</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-Length>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-DebuggerGuid />
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileName>DefaultBuild\ssp_rl78.lmf</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileName>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileType>LoadModuleFile</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileType>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-Offset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-Offset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-StartAddress>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-StartAddress>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-ObjectDownload>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-ObjectDownload>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-SymbolDownload>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-SymbolDownload>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-UsePicPidOffset>False</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-UsePicPidOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PicOffset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PicOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PidOffset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PidOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-GenerateInformationForInputCompletion>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-GenerateInformationForInputCompletion>
+      <DebuggerProperty-DownloadProperty-DebugInformation-CpuReset>True</DebuggerProperty-DownloadProperty-DebugInformation-CpuReset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-FlashErase>False</DebuggerProperty-DownloadProperty-DebugInformation-FlashErase>
+      <DebuggerProperty-DownloadProperty-DebugInformation-EventCorrection>SuspendEvent</DebuggerProperty-DownloadProperty-DebugInformation-EventCorrection>
+      <DebuggerProperty-DownloadProperty-DebugInformation-SkipStartup>True</DebuggerProperty-DownloadProperty-DebugInformation-SkipStartup>
+      <DebuggerProperty-DownloadProperty-DebugInformation-MainSymbol>XwBtAGEAaQBuAA==</DebuggerProperty-DownloadProperty-DebugInformation-MainSymbol>
+      <DebuggerProperty-DownloadProperty-DebugInformation-StartupStartSymbol>XwBAAGMAcwB0AGEAcgB0AA==</DebuggerProperty-DownloadProperty-DebugInformation-StartupStartSymbol>
+      <DebuggerProperty-DownloadProperty-DebugInformation-StartupEndSymbol>XwBAAGMAZQBuAGQA</DebuggerProperty-DownloadProperty-DebugInformation-StartupEndSymbol>
+      <DebuggerProperty-OptionalProperty-AccessMemory-UpdateDisplayInExecution>Yes</DebuggerProperty-OptionalProperty-AccessMemory-UpdateDisplayInExecution>
+      <DebuggerProperty-OptionalProperty-AccessMemory-UpdateInterval>500</DebuggerProperty-OptionalProperty-AccessMemory-UpdateInterval>
+      <DebuggerProperty-OptionalProperty-Register-ClearRegisterWhenReset>No</DebuggerProperty-OptionalProperty-Register-ClearRegisterWhenReset>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-Length>9</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-Length>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-MapType>InternalRom</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-StartAddress>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-EndAddress>65535</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-AccessSize>16</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-MapType>NonMap</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-StartAddress>65536</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-EndAddress>983039</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-AccessSize>8</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-MapType>Sfr</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-StartAddress>983040</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-EndAddress>985087</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-AccessSize>8</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-MapType>NonMap</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-StartAddress>985088</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-EndAddress>987135</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-AccessSize>8</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-MapType>Eeprom</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-StartAddress>987136</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-EndAddress>991231</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-AccessSize>8</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-MapType>Mirror</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-StartAddress>991232</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-EndAddress>1044223</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-AccessSize>16</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-MapType>InternalRam</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-StartAddress>1044224</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-EndAddress>1048287</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-AccessSize>16</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-MapType>Register</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-StartAddress>1048288</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-EndAddress>1048319</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-AccessSize>16</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-MapType>Sfr</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-StartAddress>1048320</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-EndAddress>1048575</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-AccessSize>8</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Assemble-DisplaySymbol>SymbolOffset</DebuggerProperty-OptionalProperty-Assemble-DisplaySymbol>
+      <DebuggerProperty-OptionalProperty-Assemble-DisplayFunctionName>Yes</DebuggerProperty-OptionalProperty-Assemble-DisplayFunctionName>
+      <DebuggerProperty-OptionalProperty-Trace-ClearTraceMemory>Yes</DebuggerProperty-OptionalProperty-Trace-ClearTraceMemory>
+      <DebuggerProperty-OptionalProperty-Trace-TraceMode>Nonstop</DebuggerProperty-OptionalProperty-Trace-TraceMode>
+      <DebuggerProperty-OptionalProperty-Trace-UseTrace>No</DebuggerProperty-OptionalProperty-Trace-UseTrace>
+      <DebuggerProperty-OptionalProperty-Timer-UseTimer>No</DebuggerProperty-OptionalProperty-Timer-UseTimer>
+      <DebuggerProperty-OptionalProperty-Coverage-UseCoverage>No</DebuggerProperty-OptionalProperty-Coverage-UseCoverage>
+      <DebuggerProperty-OptionalProperty-Coverage-ReuseCoverageData>No</DebuggerProperty-OptionalProperty-Coverage-ReuseCoverageData>
+      <DebuggerProperty-OptionalProperty-Trace-AddUptimeTag>No</DebuggerProperty-OptionalProperty-Trace-AddUptimeTag>
+      <DebuggerProperty-OptionalProperty-Break-AfterExecution>No</DebuggerProperty-OptionalProperty-Break-AfterExecution>
+      <DebuggerProperty-OptionalProperty-Trace-TraceMemorySize>4096</DebuggerProperty-OptionalProperty-Trace-TraceMemorySize>
+      <DebuggerProperty-OptionalProperty-SimulatorGUI-DisplaySimulatorGui>Yes</DebuggerProperty-OptionalProperty-SimulatorGUI-DisplaySimulatorGui>
+      <DebuggerProperty-OptionalProperty-SimulatorGUI-SimulatorGuiOnTop>Yes</DebuggerProperty-OptionalProperty-SimulatorGUI-SimulatorGuiOnTop>
+      <DebuggerProperty-HookProperty-HookTransaction-Downloading-Length>0</DebuggerProperty-HookProperty-HookTransaction-Downloading-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Downloaded-Length>0</DebuggerProperty-HookProperty-HookTransaction-Downloaded-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Reset-Length>0</DebuggerProperty-HookProperty-HookTransaction-Reset-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Going-Length>0</DebuggerProperty-HookProperty-HookTransaction-Going-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Broke-Length>0</DebuggerProperty-HookProperty-HookTransaction-Broke-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Connected-Length>0</DebuggerProperty-HookProperty-HookTransaction-Connected-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Disconnecting-Length>0</DebuggerProperty-HookProperty-HookTransaction-Disconnecting-Length>
+      <Simulator-EditWave-WindowCount>0</Simulator-EditWave-WindowCount>
+      <Simulator-Panel-WindowCount>0</Simulator-Panel-WindowCount>
+      <Simulator-PrmFile-Contents>AQAAAAUAAAA=</Simulator-PrmFile-Contents>
+      <Simulator-PrsFile-Contents />
+    </Instance>
+  </Class>
+  <Class Guid="0d548289-d5e9-4893-9a8f-9374b13f19a9">
+    <Instance Guid="23aee4d5-a465-47d1-a7a2-4098eb6b1870">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="1e0447ee-3f22-4ffd-be1f-035c25441692">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="274571b5-62f3-4395-8d74-b2d481f4c9ee">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="d829958d-424f-4c6d-92fe-7a72d7d1c735">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="04c12467-a2f3-4588-9b8a-4d4fd3f2bff0">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="e4262de0-552e-4df2-84cf-60b68f8aa4b1">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="93257cc9-3498-4eaf-94b0-5316624b2884">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="dc98aa4f-0f36-4067-9304-3b5f67dfc63e">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="7c646e67-ffb9-4e6a-88ba-3aeb5199e733">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="056d5b59-f372-4486-8997-eff8e570d4ee">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="c75af5e0-5210-40d7-89b1-36b96edfb0e2">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="e1066ea2-cac1-4635-a53d-e3c44a243e2f">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="ce84b1cc-fbf3-4bdd-a944-8d27e5699d23">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="9218e778-ab4f-4f7e-8059-3a72af2b68df">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="d7cc21d9-0450-4d79-a939-61d8ac7754b9">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="4b5c311b-034b-4bcd-83bd-9cd0862e3281">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="7b4c094f-be22-4b98-b1fa-f6cc49ed7504">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="782024be-fc59-4710-9551-045d0df18a89">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="e7219e2c-181b-4591-9ed9-f2e7ed699bd7">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="a54debee-2906-4194-9d09-75aa65e7b648">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="608fb644-869c-4dcf-956a-2051ea2b485d">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="7641b805-fb1c-4b0a-8858-916f1a05ca2a">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="12e11891-5ecd-40e8-aed3-b0f31f7bd903">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="821f054d-c7fb-439a-bfcb-dfbf1723fa4f">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="8ca46be8-a611-4ee6-a2ad-0816b6f9c633">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="d6f62768-aa4b-49ee-8950-f38a3b0cb409">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="7b81b1bb-2b4d-433f-bf5b-e15916208056">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="94a04302-0416-44ed-b93e-ee83b17e752c">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="56901363-da2a-4c13-8e95-9c1c0b86e5fd">
+      <MemoCount>0</MemoCount>
+    </Instance>
+    <Instance Guid="23d25e30-f35b-4286-a6bd-13de4920c618">
+      <MemoCount>0</MemoCount>
+    </Instance>
+  </Class>
+  <Class Guid="606767c3-4bf3-4e65-90c1-19075517355d">
+    <Instance Guid="606767c3-4bf3-4e65-90c1-19075517355d">
+      <CurrentToolKey>a1b29f7a-6007-4082-b223-0b9f7a2063c9</CurrentToolKey>
+    </Instance>
+  </Class>
+  <Class Guid="1bbfd190-8eb9-4207-b3c7-cc844743a14f">
+    <Instance Guid="00000000-0000-0000-0000-000000000000">
+      <dummy />
+    </Instance>
+  </Class>
+  <Class Guid="892095e2-3cf7-4b10-86a1-f57cef9e9c20">
+    <Instance Guid="a809dbf1-d8d5-4bfb-a7f9-5874593160e2">
+      <DeviceChangedCounter>0</DeviceChangedCounter>
+      <DeviceName>R5F100LE</DeviceName>
+      <DebuggerProperty-EssentialProperty-Clock-MainClockFrequency>4000</DebuggerProperty-EssentialProperty-Clock-MainClockFrequency>
+      <DebuggerProperty-EssentialProperty-Clock-SubClockFrequency>32768</DebuggerProperty-EssentialProperty-Clock-SubClockFrequency>
+      <DebuggerProperty-EssentialProperty-Memory-InternalRomSize>64</DebuggerProperty-EssentialProperty-Memory-InternalRomSize>
+      <DebuggerProperty-EssentialProperty-Memory-InternalRamSize>4096</DebuggerProperty-EssentialProperty-Memory-InternalRamSize>
+      <DebuggerProperty-EssentialProperty-Clock-SelectTimerTraceClockFrequency>SelectCpuClockFrequency</DebuggerProperty-EssentialProperty-Clock-SelectTimerTraceClockFrequency>
+      <DebuggerProperty-EssentialProperty-Clock-UnitOfTimerTraceClockFrequency>MHz</DebuggerProperty-EssentialProperty-Clock-UnitOfTimerTraceClockFrequency>
+      <DebuggerProperty-EssentialProperty-Clock-TimerTraceClockFrequency>4000000</DebuggerProperty-EssentialProperty-Clock-TimerTraceClockFrequency>
+      <DebuggerProperty-EssentialProperty-Configuration-UseSimulatorConfigurationFile>No</DebuggerProperty-EssentialProperty-Configuration-UseSimulatorConfigurationFile>
+      <DebuggerProperty-EssentialProperty-Configuration-SimulatorConfigurationFile />
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-Length>1</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-Length>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-DebuggerGuid />
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileName>DefaultBuild\ssp_rl78.lmf</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileName>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileType>LoadModuleFile</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileType>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-Offset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-Offset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-StartAddress>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-StartAddress>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-ObjectDownload>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-ObjectDownload>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-SymbolDownload>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-SymbolDownload>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-UsePicPidOffset>False</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-UsePicPidOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PicOffset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PicOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PidOffset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PidOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-GenerateInformationForInputCompletion>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-GenerateInformationForInputCompletion>
+      <DebuggerProperty-DownloadProperty-DebugInformation-CpuReset>True</DebuggerProperty-DownloadProperty-DebugInformation-CpuReset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-FlashErase>False</DebuggerProperty-DownloadProperty-DebugInformation-FlashErase>
+      <DebuggerProperty-DownloadProperty-DebugInformation-EventCorrection>SuspendEvent</DebuggerProperty-DownloadProperty-DebugInformation-EventCorrection>
+      <DebuggerProperty-DownloadProperty-DebugInformation-SkipStartup>True</DebuggerProperty-DownloadProperty-DebugInformation-SkipStartup>
+      <DebuggerProperty-DownloadProperty-DebugInformation-MainSymbol>XwBtAGEAaQBuAA==</DebuggerProperty-DownloadProperty-DebugInformation-MainSymbol>
+      <DebuggerProperty-DownloadProperty-DebugInformation-StartupStartSymbol>XwBAAGMAcwB0AGEAcgB0AA==</DebuggerProperty-DownloadProperty-DebugInformation-StartupStartSymbol>
+      <DebuggerProperty-DownloadProperty-DebugInformation-StartupEndSymbol>XwBAAGMAZQBuAGQA</DebuggerProperty-DownloadProperty-DebugInformation-StartupEndSymbol>
+      <DebuggerProperty-OptionalProperty-AccessMemory-UpdateDisplayInExecution>Yes</DebuggerProperty-OptionalProperty-AccessMemory-UpdateDisplayInExecution>
+      <DebuggerProperty-OptionalProperty-AccessMemory-UpdateInterval>500</DebuggerProperty-OptionalProperty-AccessMemory-UpdateInterval>
+      <DebuggerProperty-OptionalProperty-Register-ClearRegisterWhenReset>No</DebuggerProperty-OptionalProperty-Register-ClearRegisterWhenReset>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-Length>9</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-Length>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-MapType>InternalRom</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-StartAddress>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-EndAddress>65535</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-AccessSize>16</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-MapType>NonMap</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-StartAddress>65536</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-EndAddress>983039</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-AccessSize>8</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-MapType>Sfr</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-StartAddress>983040</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-EndAddress>985087</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-AccessSize>8</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-MapType>NonMap</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-StartAddress>985088</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-EndAddress>987135</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-AccessSize>8</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-MapType>Eeprom</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-StartAddress>987136</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-EndAddress>991231</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-AccessSize>8</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-MapType>Mirror</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-StartAddress>991232</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-EndAddress>1044223</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-AccessSize>16</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-MapType>InternalRam</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-StartAddress>1044224</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-EndAddress>1048287</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-AccessSize>16</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-MapType>Register</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-StartAddress>1048288</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-EndAddress>1048319</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-AccessSize>16</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-MapType>Sfr</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-StartAddress>1048320</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-EndAddress>1048575</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-AccessSize>8</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Assemble-DisplaySymbol>SymbolOffset</DebuggerProperty-OptionalProperty-Assemble-DisplaySymbol>
+      <DebuggerProperty-OptionalProperty-Assemble-DisplayFunctionName>Yes</DebuggerProperty-OptionalProperty-Assemble-DisplayFunctionName>
+      <DebuggerProperty-OptionalProperty-Trace-ClearTraceMemory>Yes</DebuggerProperty-OptionalProperty-Trace-ClearTraceMemory>
+      <DebuggerProperty-OptionalProperty-Trace-TraceMode>Nonstop</DebuggerProperty-OptionalProperty-Trace-TraceMode>
+      <DebuggerProperty-OptionalProperty-Trace-UseTrace>No</DebuggerProperty-OptionalProperty-Trace-UseTrace>
+      <DebuggerProperty-OptionalProperty-Timer-UseTimer>No</DebuggerProperty-OptionalProperty-Timer-UseTimer>
+      <DebuggerProperty-OptionalProperty-Coverage-UseCoverage>No</DebuggerProperty-OptionalProperty-Coverage-UseCoverage>
+      <DebuggerProperty-OptionalProperty-Coverage-ReuseCoverageData>No</DebuggerProperty-OptionalProperty-Coverage-ReuseCoverageData>
+      <DebuggerProperty-OptionalProperty-Trace-AddUptimeTag>No</DebuggerProperty-OptionalProperty-Trace-AddUptimeTag>
+      <DebuggerProperty-OptionalProperty-Break-AfterExecution>No</DebuggerProperty-OptionalProperty-Break-AfterExecution>
+      <DebuggerProperty-OptionalProperty-Trace-TraceMemorySize>4096</DebuggerProperty-OptionalProperty-Trace-TraceMemorySize>
+      <DebuggerProperty-OptionalProperty-SimulatorGUI-DisplaySimulatorGui>Yes</DebuggerProperty-OptionalProperty-SimulatorGUI-DisplaySimulatorGui>
+      <DebuggerProperty-OptionalProperty-SimulatorGUI-SimulatorGuiOnTop>Yes</DebuggerProperty-OptionalProperty-SimulatorGUI-SimulatorGuiOnTop>
+      <DebuggerProperty-HookProperty-HookTransaction-Downloading-Length>0</DebuggerProperty-HookProperty-HookTransaction-Downloading-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Downloaded-Length>0</DebuggerProperty-HookProperty-HookTransaction-Downloaded-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Reset-Length>0</DebuggerProperty-HookProperty-HookTransaction-Reset-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Going-Length>0</DebuggerProperty-HookProperty-HookTransaction-Going-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Broke-Length>0</DebuggerProperty-HookProperty-HookTransaction-Broke-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Connected-Length>0</DebuggerProperty-HookProperty-HookTransaction-Connected-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Disconnecting-Length>0</DebuggerProperty-HookProperty-HookTransaction-Disconnecting-Length>
+      <Simulator-EditWave-WindowCount>0</Simulator-EditWave-WindowCount>
+      <Simulator-Panel-WindowCount>0</Simulator-Panel-WindowCount>
+      <Simulator-PrmFile-Contents>AQAAAAUAAAA=</Simulator-PrmFile-Contents>
+      <Simulator-PrsFile-Contents />
+    </Instance>
+  </Class>
+  <Class Guid="6a8a6aa2-f44c-4d5f-8c40-72d9cbca95c5">
+    <Instance Guid="00000000-0000-0000-0000-000000000000">
+      <SubDebugger>a1b29f7a-6007-4082-b223-0b9f7a2063c9</SubDebugger>
+    </Instance>
+  </Class>
+  <Class Guid="f72c6cc0-ae77-4a2d-964e-b970c2010835">
+    <Instance Guid="d8928929-32a4-483f-a4e7-5b2f1df172a7">
+      <DeviceChangedCounter>0</DeviceChangedCounter>
+      <DeviceName>R5F100LE</DeviceName>
+      <DebuggerProperty-EssentialProperty-TargetConnect-TargetConnect>No</DebuggerProperty-EssentialProperty-TargetConnect-TargetConnect>
+      <DebuggerProperty-EssentialProperty-Clock-MainClock>Emulator</DebuggerProperty-EssentialProperty-Clock-MainClock>
+      <DebuggerProperty-EssentialProperty-Clock-SubClock>Emulator</DebuggerProperty-EssentialProperty-Clock-SubClock>
+      <DebuggerProperty-EssentialProperty-Clock-MainClockFrequency>4000</DebuggerProperty-EssentialProperty-Clock-MainClockFrequency>
+      <DebuggerProperty-EssentialProperty-Clock-SubClockFrequency>32768</DebuggerProperty-EssentialProperty-Clock-SubClockFrequency>
+      <DebuggerProperty-EssentialProperty-Memory-InternalRomSize>64</DebuggerProperty-EssentialProperty-Memory-InternalRomSize>
+      <DebuggerProperty-EssentialProperty-Memory-InternalRamSize>4096</DebuggerProperty-EssentialProperty-Memory-InternalRamSize>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-Length>1</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-Length>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-DebuggerGuid />
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileName>DefaultBuild\ssp_rl78.lmf</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileName>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileType>LoadModuleFile</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileType>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-Offset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-Offset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-StartAddress>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-StartAddress>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-ObjectDownload>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-ObjectDownload>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-SymbolDownload>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-SymbolDownload>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-UsePicPidOffset>False</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-UsePicPidOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PicOffset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PicOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PidOffset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PidOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-GenerateInformationForInputCompletion>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-GenerateInformationForInputCompletion>
+      <DebuggerProperty-DownloadProperty-DebugInformation-CpuReset>True</DebuggerProperty-DownloadProperty-DebugInformation-CpuReset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-FlashErase>False</DebuggerProperty-DownloadProperty-DebugInformation-FlashErase>
+      <DebuggerProperty-DownloadProperty-DebugInformation-EventCorrection>SuspendEvent</DebuggerProperty-DownloadProperty-DebugInformation-EventCorrection>
+      <DebuggerProperty-DownloadProperty-DebugInformation-SkipStartup>True</DebuggerProperty-DownloadProperty-DebugInformation-SkipStartup>
+      <DebuggerProperty-DownloadProperty-DebugInformation-MainSymbol>XwBtAGEAaQBuAA==</DebuggerProperty-DownloadProperty-DebugInformation-MainSymbol>
+      <DebuggerProperty-DownloadProperty-DebugInformation-StartupStartSymbol>XwBAAGMAcwB0AGEAcgB0AA==</DebuggerProperty-DownloadProperty-DebugInformation-StartupStartSymbol>
+      <DebuggerProperty-DownloadProperty-DebugInformation-StartupEndSymbol>XwBAAGMAZQBuAGQA</DebuggerProperty-DownloadProperty-DebugInformation-StartupEndSymbol>
+      <DebuggerProperty-DownloadProperty-Download-DownloadMode>SpeedPriority</DebuggerProperty-DownloadProperty-Download-DownloadMode>
+      <DebuggerProperty-FlashEmulationProperty-FlashSelfEmulation-FlashSelfProgramming>No</DebuggerProperty-FlashEmulationProperty-FlashSelfEmulation-FlashSelfProgramming>
+      <DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-WritingTime>Typical</DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-WritingTime>
+      <DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-AddressForWritingTime>0</DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-AddressForWritingTime>
+      <DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-AddressMaskForWritingTime>0</DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-AddressMaskForWritingTime>
+      <DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-ErasingTime>Typical</DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-ErasingTime>
+      <DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-AddressForErasingTime>0</DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-AddressForErasingTime>
+      <DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-AddressMaskForErasingTime>0</DebuggerProperty-FlashEmulationProperty-FlashTimeEmulation-AddressMaskForErasingTime>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors0-GenerateError>None</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors0-GenerateError>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors0-AddressForError>0</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors0-AddressForError>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors0-AddressMaskForError>0</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors0-AddressMaskForError>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors1-GenerateError>None</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors1-GenerateError>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors1-AddressForError>0</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors1-AddressForError>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors1-AddressMaskForError>0</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors1-AddressMaskForError>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors2-GenerateError>None</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors2-GenerateError>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors2-AddressForError>0</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors2-AddressForError>
+      <DebuggerProperty-FlashEmulationProperty-MacroServiceErrors2-AddressMaskForError>0</DebuggerProperty-FlashEmulationProperty-MacroServiceErrors2-AddressMaskForError>
+      <DebuggerProperty-FlashEmulationProperty-FlashShieldWindow-FlashSelfStartBlock>0</DebuggerProperty-FlashEmulationProperty-FlashShieldWindow-FlashSelfStartBlock>
+      <DebuggerProperty-FlashEmulationProperty-FlashShieldWindow-FlashSelfEndBlock>65535</DebuggerProperty-FlashEmulationProperty-FlashShieldWindow-FlashSelfEndBlock>
+      <DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableChipErase>No</DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableChipErase>
+      <DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableBlockErase>No</DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableBlockErase>
+      <DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableRead>No</DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableRead>
+      <DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableProgram>No</DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableProgram>
+      <DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableBootBlockClusterReprogram>No</DebuggerProperty-FlashEmulationProperty-PGFP4SecurityFlagSettings-DisableBootBlockClusterReprogram>
+      <DebuggerProperty-DataFlashEmulationProperty-DataFlashSelfEmulation-DataFlashSelfProgramming>No</DebuggerProperty-DataFlashEmulationProperty-DataFlashSelfEmulation-DataFlashSelfProgramming>
+      <DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-WritingTime>Typical</DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-WritingTime>
+      <DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-AddressForWritingTime>987136</DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-AddressForWritingTime>
+      <DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-AddressMaskForWritingTime>0</DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-AddressMaskForWritingTime>
+      <DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-ErasingTime>Typical</DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-ErasingTime>
+      <DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-AddressForErasingTime>987136</DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-AddressForErasingTime>
+      <DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-AddressMaskForErasingTime>0</DebuggerProperty-DataFlashEmulationProperty-DataFlashTimeEmulation-AddressMaskForErasingTime>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors0-GenerateError>None</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors0-GenerateError>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors0-AddressForError>987136</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors0-AddressForError>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors0-AddressMaskForError>0</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors0-AddressMaskForError>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors1-GenerateError>None</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors1-GenerateError>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors1-AddressForError>987136</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors1-AddressForError>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors1-AddressMaskForError>0</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors1-AddressMaskForError>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors2-GenerateError>None</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors2-GenerateError>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors2-AddressForError>987136</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors2-AddressForError>
+      <DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors2-AddressMaskForError>0</DebuggerProperty-DataFlashEmulationProperty-MacroServiceErrors2-AddressMaskForError>
+      <DebuggerProperty-OptionalProperty-AccessMemory-UpdateDisplayInExecution>Yes</DebuggerProperty-OptionalProperty-AccessMemory-UpdateDisplayInExecution>
+      <DebuggerProperty-OptionalProperty-AccessMemory-UpdateInterval>500</DebuggerProperty-OptionalProperty-AccessMemory-UpdateInterval>
+      <DebuggerProperty-OptionalProperty-Register-ClearRegisterWhenReset>No</DebuggerProperty-OptionalProperty-Register-ClearRegisterWhenReset>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-Length>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-Length>
+      <DebuggerProperty-OptionalProperty-Memory-VerifyCheck>Yes</DebuggerProperty-OptionalProperty-Memory-VerifyCheck>
+      <DebuggerProperty-OptionalProperty-Assemble-DisplaySymbol>SymbolOffset</DebuggerProperty-OptionalProperty-Assemble-DisplaySymbol>
+      <DebuggerProperty-OptionalProperty-Assemble-DisplayFunctionName>Yes</DebuggerProperty-OptionalProperty-Assemble-DisplayFunctionName>
+      <DebuggerProperty-OptionalProperty-Break-BreakpointPriority>SoftwareBreak</DebuggerProperty-OptionalProperty-Break-BreakpointPriority>
+      <DebuggerProperty-OptionalProperty-Break-TimerPeripheralBreak>No</DebuggerProperty-OptionalProperty-Break-TimerPeripheralBreak>
+      <DebuggerProperty-OptionalProperty-Break-SerialPeripheralBreak>No</DebuggerProperty-OptionalProperty-Break-SerialPeripheralBreak>
+      <DebuggerProperty-OptionalProperty-MemoryAccess-PermitToStopAndRead>No</DebuggerProperty-OptionalProperty-MemoryAccess-PermitToStopAndRead>
+      <DebuggerProperty-OptionalProperty-MemoryAccess-PermitToStopAndSetBreak>No</DebuggerProperty-OptionalProperty-MemoryAccess-PermitToStopAndSetBreak>
+      <DebuggerProperty-OptionalProperty-PinMask-TargetResetMask>No</DebuggerProperty-OptionalProperty-PinMask-TargetResetMask>
+      <DebuggerProperty-OptionalProperty-PinMask-InternalResetMask>No</DebuggerProperty-OptionalProperty-PinMask-InternalResetMask>
+      <DebuggerProperty-OptionalProperty-Trace-ClearTraceMemory>Yes</DebuggerProperty-OptionalProperty-Trace-ClearTraceMemory>
+      <DebuggerProperty-OptionalProperty-Trace-TraceMode>Nonstop</DebuggerProperty-OptionalProperty-Trace-TraceMode>
+      <DebuggerProperty-OptionalProperty-Trace-TraceRate>0</DebuggerProperty-OptionalProperty-Trace-TraceRate>
+      <DebuggerProperty-OptionalProperty-PinMask-WaitMask>No</DebuggerProperty-OptionalProperty-PinMask-WaitMask>
+      <DebuggerProperty-OptionalProperty-PinMask-NmiMask>No</DebuggerProperty-OptionalProperty-PinMask-NmiMask>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectFetchGuard>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectFetchGuard>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectWriteGuard>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectWriteGuard>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectSfrRead>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectSfrRead>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectSfrWrite>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectSfrWrite>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-StackOverflow>No</DebuggerProperty-OptionalProperty-FailSafeBreak-StackOverflow>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-StackTop>QABTAFQARQBOAEQA</DebuggerProperty-OptionalProperty-FailSafeBreak-StackTop>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-StackUnderflow>No</DebuggerProperty-OptionalProperty-FailSafeBreak-StackUnderflow>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-StackBottom>QABTAFQAQgBFAEcA</DebuggerProperty-OptionalProperty-FailSafeBreak-StackBottom>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-UnInitializedSp>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-UnInitializedSp>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-UnInitializedRam>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-UnInitializedRam>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectGuard>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-ProtectGuard>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-MissAlign>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-MissAlign>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-PeripheralFailsafe>Yes</DebuggerProperty-OptionalProperty-FailSafeBreak-PeripheralFailsafe>
+      <DebuggerProperty-OptionalProperty-FailSafeBreak-FlashIllegal>No</DebuggerProperty-OptionalProperty-FailSafeBreak-FlashIllegal>
+      <DebuggerProperty-OptionalProperty-Break-OpenBreak>No</DebuggerProperty-OptionalProperty-Break-OpenBreak>
+      <DebuggerProperty-OptionalProperty-Coverage-ReuseCoverageData>No</DebuggerProperty-OptionalProperty-Coverage-ReuseCoverageData>
+      <DebuggerProperty-OptionalProperty-Timer-TimerRate>1</DebuggerProperty-OptionalProperty-Timer-TimerRate>
+      <DebuggerProperty-HookProperty-HookTransaction-Downloading-Length>0</DebuggerProperty-HookProperty-HookTransaction-Downloading-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Downloaded-Length>0</DebuggerProperty-HookProperty-HookTransaction-Downloaded-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Reset-Length>0</DebuggerProperty-HookProperty-HookTransaction-Reset-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Going-Length>0</DebuggerProperty-HookProperty-HookTransaction-Going-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Broke-Length>0</DebuggerProperty-HookProperty-HookTransaction-Broke-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Connected-Length>0</DebuggerProperty-HookProperty-HookTransaction-Connected-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Disconnecting-Length>0</DebuggerProperty-HookProperty-HookTransaction-Disconnecting-Length>
+    </Instance>
+    <Instance Guid="5c2754eb-8b67-47d7-b205-e913e38c9746">
+      <DeviceChangedCounter>0</DeviceChangedCounter>
+      <DeviceName>R5F100LE</DeviceName>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Length>10</DebuggerProperty-EssentialProperty-Flash-IdCode-Length>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code0>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code0>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code1>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code1>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code2>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code2>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code3>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code3>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code4>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code4>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code5>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code5>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code6>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code6>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code7>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code7>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code8>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code8>
+      <DebuggerProperty-EssentialProperty-Flash-IdCode-Code9>0</DebuggerProperty-EssentialProperty-Flash-IdCode-Code9>
+      <DebuggerProperty-EssentialProperty-Clock-MainClockGeneration>0</DebuggerProperty-EssentialProperty-Clock-MainClockGeneration>
+      <DebuggerProperty-EssentialProperty-Clock-SubClockGeneration>0</DebuggerProperty-EssentialProperty-Clock-SubClockGeneration>
+      <DebuggerProperty-EssentialProperty-Flash-PermitFlashProgramming>Yes</DebuggerProperty-EssentialProperty-Flash-PermitFlashProgramming>
+      <DebuggerProperty-EssentialProperty-Flash-ForceEraseChip>No</DebuggerProperty-EssentialProperty-Flash-ForceEraseChip>
+      <DebuggerProperty-EssentialProperty-Clock-MonitorClock>System</DebuggerProperty-EssentialProperty-Clock-MonitorClock>
+      <DebuggerProperty-EssentialProperty-Flash-UseLowVoltageFlashMode>Yes</DebuggerProperty-EssentialProperty-Flash-UseLowVoltageFlashMode>
+      <DebuggerProperty-EssentialProperty-TargetConnect-TargetSupplyPower>No</DebuggerProperty-EssentialProperty-TargetConnect-TargetSupplyPower>
+      <DebuggerProperty-EssentialProperty-TargetConnect-TargetSuppliedVoltage>Use3_3V</DebuggerProperty-EssentialProperty-TargetConnect-TargetSuppliedVoltage>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-Length>1</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-Length>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-DebuggerGuid />
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileName>DefaultBuild\ssp_rl78.lmf</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileName>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileType>LoadModuleFile</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-FileType>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-Offset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-Offset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-StartAddress>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-StartAddress>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-ObjectDownload>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-ObjectDownload>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-SymbolDownload>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-SymbolDownload>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-UsePicPidOffset>False</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-UsePicPidOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PicOffset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PicOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PidOffset>0</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-PidOffset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-GenerateInformationForInputCompletion>True</DebuggerProperty-DownloadProperty-DebugInformation-DownloadFiles-DownloadItem0-GenerateInformationForInputCompletion>
+      <DebuggerProperty-DownloadProperty-DebugInformation-CpuReset>True</DebuggerProperty-DownloadProperty-DebugInformation-CpuReset>
+      <DebuggerProperty-DownloadProperty-DebugInformation-FlashErase>False</DebuggerProperty-DownloadProperty-DebugInformation-FlashErase>
+      <DebuggerProperty-DownloadProperty-DebugInformation-EventCorrection>SuspendEvent</DebuggerProperty-DownloadProperty-DebugInformation-EventCorrection>
+      <DebuggerProperty-DownloadProperty-DebugInformation-SkipStartup>True</DebuggerProperty-DownloadProperty-DebugInformation-SkipStartup>
+      <DebuggerProperty-DownloadProperty-DebugInformation-MainSymbol>XwBzAHQAYQBfAGsAZQByAA==</DebuggerProperty-DownloadProperty-DebugInformation-MainSymbol>
+      <DebuggerProperty-DownloadProperty-DebugInformation-StartupStartSymbol>XwBzAHQAYQByAHQA</DebuggerProperty-DownloadProperty-DebugInformation-StartupStartSymbol>
+      <DebuggerProperty-DownloadProperty-DebugInformation-StartupEndSymbol>XwBAAGMAZQBuAGQA</DebuggerProperty-DownloadProperty-DebugInformation-StartupEndSymbol>
+      <DebuggerProperty-DownloadProperty-Download-DownloadMode>SpeedPriority</DebuggerProperty-DownloadProperty-Download-DownloadMode>
+      <DebuggerProperty-DownloadProperty-DebugInformation-MonitorOverwrite>Yes</DebuggerProperty-DownloadProperty-DebugInformation-MonitorOverwrite>
+      <DebuggerProperty-OptionalProperty-AccessMemory-UpdateDisplayInExecution>Yes</DebuggerProperty-OptionalProperty-AccessMemory-UpdateDisplayInExecution>
+      <DebuggerProperty-OptionalProperty-AccessMemory-UpdateInterval>500</DebuggerProperty-OptionalProperty-AccessMemory-UpdateInterval>
+      <DebuggerProperty-OptionalProperty-Register-ClearRegisterWhenReset>No</DebuggerProperty-OptionalProperty-Register-ClearRegisterWhenReset>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-Length>9</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-Length>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-MapType>InternalRom</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-StartAddress>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-EndAddress>65535</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-AccessSize>16</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem0-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-MapType>NonMap</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-StartAddress>65536</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-EndAddress>983039</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-AccessSize>8</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem1-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-MapType>Sfr</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-StartAddress>983040</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-EndAddress>985087</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-AccessSize>8</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem2-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-MapType>NonMap</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-StartAddress>985088</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-EndAddress>987135</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-AccessSize>8</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem3-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-MapType>Eeprom</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-StartAddress>987136</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-EndAddress>991231</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-AccessSize>8</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem4-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-MapType>Mirror</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-StartAddress>991232</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-EndAddress>1044223</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-AccessSize>16</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem5-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-MapType>InternalRam</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-StartAddress>1044224</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-EndAddress>1048287</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-AccessSize>16</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem6-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-MapType>Register</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-StartAddress>1048288</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-EndAddress>1048319</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-AccessSize>16</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem7-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-MapType>Sfr</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-MapType>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-StartAddress>1048320</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-StartAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-EndAddress>1048575</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-EndAddress>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-ChipSelect>0</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-ChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-AccessSize>8</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-AccessSize>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-IsReadOnly>True</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-IsReadOnly>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-HasChipSelect>False</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-HasChipSelect>
+      <DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-FieldInformation>None</DebuggerProperty-OptionalProperty-Memory-MemoryMappings-MemoryMapItem8-FieldInformation>
+      <DebuggerProperty-OptionalProperty-Memory-VerifyCheck>Yes</DebuggerProperty-OptionalProperty-Memory-VerifyCheck>
+      <DebuggerProperty-OptionalProperty-Assemble-DisplaySymbol>SymbolOffset</DebuggerProperty-OptionalProperty-Assemble-DisplaySymbol>
+      <DebuggerProperty-OptionalProperty-Assemble-DisplayFunctionName>Yes</DebuggerProperty-OptionalProperty-Assemble-DisplayFunctionName>
+      <DebuggerProperty-OptionalProperty-Break-BreakpointPriority>SoftwareBreak</DebuggerProperty-OptionalProperty-Break-BreakpointPriority>
+      <DebuggerProperty-OptionalProperty-Break-TimerPeripheralBreak>No</DebuggerProperty-OptionalProperty-Break-TimerPeripheralBreak>
+      <DebuggerProperty-OptionalProperty-Break-SerialPeripheralBreak>No</DebuggerProperty-OptionalProperty-Break-SerialPeripheralBreak>
+      <DebuggerProperty-OptionalProperty-MemoryAccess-PermitToStopAndRead>No</DebuggerProperty-OptionalProperty-MemoryAccess-PermitToStopAndRead>
+      <DebuggerProperty-OptionalProperty-MemoryAccess-PermitToStopAndSetBreak>No</DebuggerProperty-OptionalProperty-MemoryAccess-PermitToStopAndSetBreak>
+      <DebuggerProperty-OptionalProperty-PinMask-TargetResetMask>No</DebuggerProperty-OptionalProperty-PinMask-TargetResetMask>
+      <DebuggerProperty-OptionalProperty-PinMask-InternalResetMask>No</DebuggerProperty-OptionalProperty-PinMask-InternalResetMask>
+      <DebuggerProperty-OptionalProperty-AccessMemory-RamMonitorClockFrequency>8000</DebuggerProperty-OptionalProperty-AccessMemory-RamMonitorClockFrequency>
+      <DebuggerProperty-OptionalProperty-AccessMemory-RamMonitorClock>Internal</DebuggerProperty-OptionalProperty-AccessMemory-RamMonitorClock>
+      <DebuggerProperty-OptionalProperty-AccessMemory-CkcRegisterValue>9</DebuggerProperty-OptionalProperty-AccessMemory-CkcRegisterValue>
+      <DebuggerProperty-HookProperty-HookTransaction-Downloading-Length>0</DebuggerProperty-HookProperty-HookTransaction-Downloading-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Downloaded-Length>0</DebuggerProperty-HookProperty-HookTransaction-Downloaded-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Reset-Length>0</DebuggerProperty-HookProperty-HookTransaction-Reset-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Going-Length>0</DebuggerProperty-HookProperty-HookTransaction-Going-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Broke-Length>0</DebuggerProperty-HookProperty-HookTransaction-Broke-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Connected-Length>0</DebuggerProperty-HookProperty-HookTransaction-Connected-Length>
+      <DebuggerProperty-HookProperty-HookTransaction-Disconnecting-Length>0</DebuggerProperty-HookProperty-HookTransaction-Disconnecting-Length>
+    </Instance>
+  </Class>
+  <Class Guid="2a2c2a43-ecdb-4e88-80bd-e75f3e33db90">
+    <Instance Guid="2a2c2a43-ecdb-4e88-80bd-e75f3e33db90">
+      <ProductVersion>4.02.00.00</ProductVersion>
+    </Instance>
+  </Class>
+</CubeSuiteProject>
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target.tf
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target.tf	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target.tf	(revision 93)
@@ -0,0 +1,32 @@
+$ 
+$  ^[QbgË¶ev[giQB-R5F100LEpj
+$ 
+
+$ 
+$  J[lÇÉÅè³êÄ¢éÝÔ(INTNO_FIX_KERNEL)
+$  J[lÇOÉÅè³êÄ¢éÝÔ(INTNO_FIX_NONKERNEL)
+$ 
+
+$INTNO_FIX_KERNEL = {}$
+$INTNO_FIX_NONKERNEL = {}$ 
+
+$ 
+$  J[lÇÉÅè³êÄ¢éÝnhÔ(INHNO_FIX_KERNEL)
+$  J[lÇOÉÅè³êÄ¢éÝnhÔ(INHNO_FIX_NONKERNEL)
+$ 
+
+$INHNO_FIX_KERNEL = {}$
+$INHNO_FIX_NONKERNEL = {}$ 
+
+
+$ 
+$  Ë¶ÌÇÝÝ
+$ 
+$INCLUDE "rl78_ca78k0r/rl78g13.tf"$
+
+$ 
+$  oi[oÍpÌTFt@C
+$ 
+$INCLUDE "syssvc/banner.tf"$
+
+$DUMP("dump.txt")$
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_cfg1_out.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_cfg1_out.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_cfg1_out.h	(revision 93)
@@ -0,0 +1,5 @@
+/*
+ *		cfg1_out.cÌNÉKvÈX^uÌè`
+ */
+
+#include "rl78_ca78k0r/prc_cfg1_out.h"
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_config.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_config.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_config.c	(revision 93)
@@ -0,0 +1,142 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Smallest Set Profile Kernel
+ *
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2003-2004 by Platform Development Center
+ *                                          RICOH COMPANY,LTD. JAPAN
+ *  Copyright (C) 2003-2015 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ (1)`(4) Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏE
+ *  ÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì 
+ *      \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[X
+ *      R[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gipÒ}
+ *      j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºLÌ³Û
+ *      ØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Égp
+ *      Å«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+ *         \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉñ
+ *        ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹Q
+ *      ©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆDÜ½C
+ *      {\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©ÈéRÉîÃ
+ *      ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨æ
+ *  ÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚIÉÎ·
+ *  éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEFAÌp
+ *  Éæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»ÌÓCð
+ *  íÈ¢D
+ * 
+ */
+
+/*
+ *	^[QbgVXeË¶W
+[iQB-R5F100LEpj
+ */
+#pragma sfr
+#pragma NOP
+#include "kernel_impl.h"
+
+/*
+ *  ^[QbgVXeË¶ ú»[`
+ */
+
+void
+target_initialize(void)
+{
+	/*
+	 *  vZbTË¶Ìú»
+	 */
+	prc_initialize();
+	
+	/*
+	 * NbNÝè
+	 */
+	// X1­M[hCáÁï­UCAMPH=1(¬NbN)
+	CMC = UINT8_C(0x51);
+	
+	// NbN®ìXe[^X§äWX^(X1JnCXT1â~, I`bvIV[^®ì)
+	CSC = UINT8_C(0x40);
+
+	// ­UªÀè·éÜÅÌÔ¾¯ÒÂ
+	while((OSTC & UINT8_C(0x01)) == 0){}
+	
+	// VXeNbN§äWX^
+	CKC &= ~UINT8_C(0x40);	// CPU/üÓn[hEFANbNÉCVXeNbN
+	CKC |= UINT8_C(0x10);	// CVXeNbNÉ¬VXeNbN
+	CKC &= ~UINT8_C(0x0f);	// K¸0ÉÝè
+
+	// NbN®ìXe[^X§äWX^
+	CSC |= UINT8_C(0x01); 	// ¬I`bvIV[^â~
+
+	/*
+	 * UARTpsÝè
+	 */
+	// RXDCTXD É P11, P12 ðgp
+	PIOR &= ~TBIT_PIOR_PIOR1;
+
+	// P11(RxD0) ðüÍÉÝè
+	PM1 |= UINT8_C(0x02);
+
+	// P12(TxD0) ðHÉÝèµÄ¨­
+	P1 |= UINT8_C(0x04);
+
+	// P12(TxD0) ðoÍÉÝè
+	PM1 &= ~UINT8_C(0x04);
+
+	/*
+	 * UARTÌÝè
+	 */
+	target_sau_init(1);	
+}
+
+
+/*
+ *  ^[QbgVXeÌI¹[`
+ */
+
+void
+target_exit(void)
+{
+	/* CPUË¶ÌI¹[` */
+	prc_terminate();
+	
+	while (true)
+	{
+	}
+}
+
+/*
+ * VXeOÌáxoÍÌ½ßÌ¶oÍ
+ */
+void target_fput_log(char c)
+{
+	if (c == '\n') {
+		sys_putc('\r', LOGTASK_PORTID);
+	}
+	sys_putc(c, LOGTASK_PORTID);
+}
+
+/*
+ *  AT[VÌ¸sÌÀsf
+ */
+void
+TOPPERS_assert_abort(void)
+{
+	while(1)
+	{
+	}
+}
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_config.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_config.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_config.h	(revision 93)
@@ -0,0 +1,107 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Toyohashi Open Platform for Embedded Real-Time Systems/
+ *      Advanced Standard Profile Kernel
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2005-2007 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2011-2014 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ *		^[QbgË¶W
+[iQB-R5F100LE pj
+ *
+ *  J[lÌ^[QbgË¶ÌCN[ht@CD
+ *  kernel_impl.h Ì^[QbgË¶ÌÊut¯ÆÈéD
+ */
+
+#ifndef TOPPERS_TARGET_CONFIG_H
+#define TOPPERS_TARGET_CONFIG_H
+
+/*
+ *  ^[QbgVXeÌn[hEFA¹Ìè`
+ */
+#include "qb_r5f100le.h"
+
+
+/*
+ *  SSPJ[l®ìÌ}bvÆÖA·éè`
+ *
+ *  0x000D8 - 0x0ffff     à FlashROM  ñ63.8KB
+ *  0xFEF00 - 0xFFEDF     à RAM  3.9KB
+ */
+
+/*
+ *  ftHgÌñ^XNReLXgpÌX^bNÌæÌè`
+ */
+#define DEFAULT_ISTKSZ		0x400U
+
+/*
+ *  áxOoÍÌoÍæ(ùèÅÍVAÆ·é)
+ */
+#include "target_serial.h"
+#define sys_putc	sio_pol_snd_chr
+
+
+#ifndef TOPPERS_MACRO_ONLY
+
+/*
+ *  ^[QbgVXeË¶Ìú»
+ */
+extern void	target_initialize(void);
+
+/*
+ *  ^[QbgVXeÌI¹
+ *
+ *  VXeðI¹·éÉg¤D
+ */
+extern void	target_exit(void) NoReturn;
+
+#endif /* TOPPERS_MACRO_ONLY */
+
+/*
+ *  vZbTË¶W
+[iRL78pj
+ */
+#include "rl78_ca78k0r/rl78g13_config.h"
+
+
+#endif /* TOPPERS_TARGET_CONFIG_H */
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_kernel.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_kernel.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_kernel.h	(revision 93)
@@ -0,0 +1,76 @@
+/*
+ *  TOPPERS/ASP Kernel
+ *      Toyohashi Open Platform for Embedded Real-Time Systems/
+ *      Advanced Standard Profile Kernel
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2003-2014 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ *  Copyright (C) 2003-2004 by Platform Development Center
+ *                                          RICOH COMPANY,LTD. JAPAN
+ *  Copyright (C) 2008 by Witz Corporation, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ *
+ *  ±ÌCN[ht@CÍCkernel.hÅCN[h³êéD¼Ìt@
+ *  C©ç¼ÚCN[h·é±ÆÍÈ¢D±Ìt@CðCN[h
+ *  ·éOÉCt_stddef.hªCN[h³êéÌÅC»êçÉË¶µÄàæ
+ *  ¢D
+ */
+
+#ifndef TOPPERS_TARGET_KERNEL_H
+#define TOPPERS_TARGET_KERNEL_H
+
+/*
+ *  vZbTÅ¤ÊÈè`
+ */
+#include "rl78_ca78k0r/prc_kernel.h"
+
+/*
+ *  T|[g·é@\Ìè`
+ */
+//#define TOPPERS_SUPPORT_GET_UTM			/* get_utmðT|[g·é */
+
+/*
+ *  ^CeBbNÌè`
+ */
+#define	TIC_NUME		1U			/* ^CeBbNÌüúÌªq */
+#define	TIC_DENO		1U			/* ^CeBbNÌüúÌªê */
+
+#endif /* TOPPERS_TARGET_KERNEL_H */
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_rename.def
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_rename.def	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_rename.def	(revision 93)
@@ -0,0 +1,1 @@
+INCLUDE	"rl78_ca78k0r/prc"
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_rename.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_rename.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_rename.h	(revision 93)
@@ -0,0 +1,14 @@
+/* This file is generated from target_rename.def by genrename. */
+
+#ifndef TOPPERS_TARGET_RENAME_H
+#define TOPPERS_TARGET_RENAME_H
+
+
+#ifdef TOPPERS_LABEL_ASM
+
+
+#endif /* TOPPERS_LABEL_ASM */
+
+#include "rl78_ca78k0r/prc_rename.h"
+
+#endif /* TOPPERS_TARGET_RENAME_H */
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_serial.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_serial.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_serial.c	(revision 93)
@@ -0,0 +1,317 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Toyohashi Open Platform for Embedded Real-Time Systems/
+ *      Advanced Standard Profile Kernel
+ * 
+ *  Copyright (C) 2007 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2010 by Meika Sugimoto
+ *  Copyright (C) 2011-2015 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ * VAhCoiQB-R5F100LEpj
+ */
+#pragma sfr
+#pragma NOP
+
+#include <kernel.h>
+#include "target_serial.h"
+#include "target_syssvc.h"
+
+/*
+ * VAI/O|[gÇubNGA
+ */
+static SIOPCB siopcb_table[TNUM_SIOP];
+
+
+/*
+ * WX^Ýèl
+ */
+#define PORT2SIOPID(x)	((x) + 1)
+#define INDEX_PORT(x)	((x) - 1)
+#define GET_SIOPCB(x)	(&siopcb_table[INDEX_PORT(x)])
+
+extern void x_clear_int(INTNO intno);
+
+/*
+ * áxVAú»
+ */
+void target_sau_init(ID siopid)
+{
+	/* ú»ÏÝÌêÍ·®É^[ */
+	if(PER0 & TBIT_PER0_SAU0EN) {
+		return;
+	}
+
+	/* NbNÂ  */
+	PER0 |= TBIT_PER0_SAU0EN;
+
+	// ­µÒÂ
+	NOP();
+	NOP();
+	NOP();
+	
+	// CKm0 ðIðDügÍ fclk/8 (=2.5MHz)
+	SPS0 = UINT16_C(0x0033);
+
+	// jbg0C`l{0,1} Ì®ìâ~
+	ST0 |= UINT16_C(0x0003);
+	
+	// [hÝè
+	// ®ìNbNFSPS0WX^ÅÝèµ½®ìNbNÌ¤¿CCK00 Ìûðg¤ 
+	// ]NbNFCKS00, CKS01 rbgÅwèµ½®ìNbN(ÂÜèCK00)ÌªüNbN
+	// X^[ggKvöFM-->\tgEFAgKÌÝ, óM-->RxD0[q
+	// §ºèðX^[grbgÆµÄo
+	// UART[hCèÝÍ]®¹Ý
+	SMR00 = UINT16_C(0x0022);
+	SMR01 = UINT16_C(0x0122);
+	
+	// `l0: MÌÝÂC`l1: óMÌÝÂ
+	// G[ÝINTSRExÌ­¶ðÖ~
+	// peBÈµCLSBt@[XgC1XgbvrbgC8rbgf[^·
+	SCR00 = UINT16_C(0x8097);
+	SCR01 = UINT16_C(0x4097);
+
+	// [rbg15:9] = 0x40 --> 64
+	// VAÖÌNbNÍ 2.5MHz(=20/8)
+	// ªüäÍ (64+1)*2 = 130
+	// 2.5[MHz]/130 = 19.23[kHz]
+	SDR00 = UINT16_C(0x8000);
+	SDR01 = UINT16_C(0x8000);
+
+	// óM|[gÌmCYtB^ON
+	NFEN0 |= UINT8_C(0x01);
+
+	// G[tOÌNA(óM¤Ì`l1ÌÝ)
+	SIR01 |= UINT16_C(0x0007);
+	
+	// VAf[^oÍlð`l0ÌÝ1Æ·éD
+	SO0 |= UINT16_C(0x0001);
+	
+	// ÊMf[^Í½]¹¸»ÌÜÜoÍ
+	SOL0 = UINT16_C(0x0000);
+
+	/*
+	 * VA`l0Jn
+	 */
+	// VAoÍÂ
+	SOE0 |= UINT16_C(0x0001);
+
+	// `l{0,1}ÌJn
+	SS0 |= UINT16_C(0x0003);
+}
+
+/*
+ *  SIOú»
+ */
+void sio_initialize(intptr_t exinf)
+{
+}
+
+/*
+ *  VAI[v
+ */
+SIOPCB *sio_opn_por(ID siopid, intptr_t exinf)
+{
+	int_t i;
+	SIOPCB* p_siopcb;
+
+	if (siopid > TNUM_PORT) {
+		return NULL;
+	}
+	
+	p_siopcb = GET_SIOPCB(siopid);
+	p_siopcb->enacb &= ~TBIT_ENACB_SND;
+	p_siopcb->enacb &= ~TBIT_ENACB_RCV;
+	p_siopcb->exinf = exinf;
+	
+	// ÝÌ}XN
+	dis_int(INTNO_INTST0);
+	dis_int(INTNO_INTSR0);
+	// ÝvNA
+	x_clear_int(INTNO_INTST0);
+	x_clear_int(INTNO_INTSR0);
+
+	// n[hEFAÌú»
+	target_sau_init(siopid);	
+
+	return p_siopcb;
+}
+
+/*
+ *  VAN[Y
+ */
+void sio_cls_por(SIOPCB *p_siopcb)
+{
+	/* óMÖ~ */
+
+	// `l{0,1}Ìâ~
+	ST0 |= UINT16_C(0x0003);
+
+	/* VAW
+[ð³øÉ·é */
+	PER0 &= ~TBIT_PER0_SAU0EN;
+}
+
+
+/*
+ *  1¶M
+ */
+bool_t
+sio_snd_chr(SIOPCB *p_siopcb, char c)
+{
+	// Mobt@ªóÈçÎC1¶M
+	if((SSR00L & TBIT_SSRmnL_TSF) == UINT16_C(0)) {
+		SDR00 = (uint16_t)c;
+		
+		return true;
+	}
+
+	return false;
+}
+
+/*
+ *  1¶óM
+ */
+int_t
+sio_rcv_chr(SIOPCB *p_siopcb)
+{
+	int_t c = -1;
+
+	// óMobt@Éf[^ª êÎC1¶óM
+	if((SSR01L & TBIT_SSRmnL_BFF) != 0) {
+		c = (int_t)SDR01;
+	}
+
+	return c;
+}
+
+/*
+ *  R[obNÌÂ
+ */
+void
+sio_ena_cbr(SIOPCB *p_siopcb, uint_t cbrtn)
+{
+	switch (cbrtn) {
+	case SIO_RDY_SND:
+		p_siopcb->enacb |= TBIT_ENACB_SND;
+		x_clear_int(INTNO_INTST0);
+		ena_int(INTNO_INTST0);
+		break;
+	case SIO_RDY_RCV:
+		p_siopcb->enacb |= TBIT_ENACB_RCV;
+		x_clear_int(INTNO_INTSR0);
+		ena_int(INTNO_INTSR0);
+		break;
+	default:
+		break;
+	}
+}
+
+/* 
+ *  R[obNÌÖ~
+ */
+void
+sio_dis_cbr(SIOPCB *p_siopcb, uint_t cbrtn)
+{
+	switch (cbrtn) {
+	case SIO_RDY_SND:
+		p_siopcb->enacb &= ~TBIT_ENACB_SND;
+		dis_int(INTNO_INTST0);
+		x_clear_int(INTNO_INTST0);
+		break;
+	case SIO_RDY_RCV:
+		p_siopcb->enacb &= ~TBIT_ENACB_RCV;
+		dis_int(INTNO_INTSR0);
+		x_clear_int(INTNO_INTSR0);
+		break;
+	default:
+		break;
+	}
+}
+
+
+/*
+ *  ÝT[rX[`
+ */
+
+/*
+ *  óMÝ
+ */
+void
+sio_isr_rcv(intptr_t portid)
+{
+	SIOPCB *p_siopcb = GET_SIOPCB((ID)portid);
+
+	if((p_siopcb->enacb & TBIT_ENACB_RCV) != 0) {
+		/*
+		 *  óMÊmR[obN[`ðÄÑo·D
+		 */
+		sio_irdy_rcv(p_siopcb->exinf);
+	}
+}
+
+/*
+ *  MÝ
+ */
+void
+sio_isr_snd(intptr_t portid)
+{
+	SIOPCB *p_siopcb = GET_SIOPCB((ID)portid);
+
+	if((p_siopcb->enacb & TBIT_ENACB_SND) != 0) {
+		/*
+		 *  MÊmR[obN[`ðÄÑo·D
+		 */
+		sio_irdy_snd(p_siopcb->exinf);
+	}
+}
+
+/*
+ *  1¶oÍi|[OÅÌoÍj
+ */
+void
+sio_pol_snd_chr(char c, ID siopid)
+{
+	/* Mobt@ªóÉÈéÜÅÒÂ(LÀÔàÌð¬§ð¼è) */
+	while((SSR00L & TBIT_SSRmnL_TSF) != 0){}
+
+	// 1¶M	
+	SDR00 = (uint16_t)c;
+}
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_serial.cfg
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_serial.cfg	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_serial.cfg	(revision 93)
@@ -0,0 +1,14 @@
+/*
+ *  SIOhCoiQB-R5F100LEpjÌRtBO[Vt@C
+ */
+
+#include "target_syssvc.h"
+#include "target_serial.h"
+
+ATT_INI({ TA_NULL, 0, sio_initialize });
+
+CFG_INT(INTNO_SIOP1_RCV, { INTATR_SIOP1_RCV, INTPRI_SIOP1_RCV });
+CFG_INT(INTNO_SIOP1_SND, { INTATR_SIOP1_SND, INTPRI_SIOP1_SND });
+
+ATT_ISR({ TA_NULL, LOGTASK_PORTID, INTNO_SIOP1_RCV, sio_isr_rcv, 1 });
+ATT_ISR({ TA_NULL, LOGTASK_PORTID, INTNO_SIOP1_SND, sio_isr_snd, 1 });
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_serial.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_serial.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_serial.h	(revision 93)
@@ -0,0 +1,158 @@
+/*
+ *  TOPPERS/ASP Kernel
+ *      Toyohashi Open Platform for Embedded Real-Time Systems/
+ *      Advanced Standard Profile Kernel
+ * 
+ *  Copyright (C) 2007 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2014,2015 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ *  VAI/OfoCXiSIOjhCo
+ */
+
+#ifndef TOPPERS_TARGET_SERIAL_H
+#define TOPPERS_TARGET_SERIAL_H
+
+#include "qb_r5f100le.h"
+#include "target_syssvc.h"
+
+#define	TBIT_ENACB_RCV	UINT8_C(0x02)	/* óMR[obNÂ */
+#define	TBIT_ENACB_SND	UINT8_C(0x01)	/* MR[obNÂ */
+
+/*
+ *  e|[gÉÎ·éÝÔCDæx
+ */
+/* |[g1 */
+// ÝÔ
+#define INTNO_SIOP1_SND	INTNO_INTST0
+#define INTNO_SIOP1_RCV	INTNO_INTSR0
+
+// ÝDæx
+#define INTPRI_SIOP1_SND	(-1)	
+#define INTPRI_SIOP1_RCV	(-2)
+
+// ÝvC®«
+#define INTATR_SIOP1_RCV  	(0)
+#define INTATR_SIOP1_SND  	(0)
+
+/*
+ *  R[obN[`Ì¯ÊÔ
+ */
+#define SIO_RDY_SND    1U        /* MÂ\R[obN */
+#define SIO_RDY_RCV    2U        /* óMÊmR[obN */
+
+#ifndef TOPPERS_MACRO_ONLY
+
+/*
+ *  VAI/O|[gÇubN
+ */
+typedef struct sio_port_control_block {
+	intptr_t      	exinf;    	/* g£îñ */
+	uint8_t       	enacb;      /* R[obNÂÛÌóÔ */
+};
+
+/*
+ *  VAI/O|[gÇubNÌè`
+ */
+typedef struct sio_port_control_block	SIOPCB;
+
+/*
+ *  SIOú»
+ */
+extern void sio_initialize(intptr_t exinf);
+
+/*
+ * áxVAú»
+ */
+extern void target_sau_init(ID siopid);
+
+/*
+ *  VAI[v
+ */
+extern SIOPCB *sio_opn_por(ID siopid, intptr_t exinf);
+
+/*
+ *  VAN[Y
+ */
+extern void sio_cls_por(SIOPCB *p_siopcb);
+
+/*
+ *  ÝT[rX[`
+ */
+extern void sio_isr_rcv(intptr_t exinf);
+extern void sio_isr_snd(intptr_t exinf);
+
+/*
+ *  1¶M
+ */
+extern bool_t sio_snd_chr(SIOPCB *siopcb, char c);
+
+/*
+ *  1¶óM
+ */
+extern int_t sio_rcv_chr(SIOPCB *siopcb);
+
+/*
+ *  R[obNÌÂ
+ */
+extern void sio_ena_cbr(SIOPCB *siopcb, uint_t cbrtn);
+
+/* 
+ *  R[obNÌÖ~
+ */
+extern void sio_dis_cbr(SIOPCB *siopcb, uint_t cbrtn);
+
+/*
+ *  MÂ\R[obN
+ */
+extern void sio_irdy_snd(intptr_t exinf);
+
+/*
+ *  óMÊmR[obN
+ */
+extern void sio_irdy_rcv(intptr_t exinf);
+
+/*
+ *  1¶Mi|[OÅÌoÍj
+ */
+extern void sio_pol_snd_chr(char c, ID siopid);
+
+#endif /* TOPPERS_MACRO_ONLY */
+#endif /* TOPPERS_TARGET_SERIAL_H */
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_sil.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_sil.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_sil.h	(revision 93)
@@ -0,0 +1,68 @@
+/*
+ *  TOPPERS Software
+ *      Toyohashi Open Platform for Embedded Real-Time Systems
+ * 
+ *  Copyright (C) 2008 by Witz Corporation, JAPAN
+ *  Copyright (C) 2011-2014 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ *		sil.h Ì^[QbgË¶iQB-R5F100LEpj
+ *
+ *  ±ÌCN[ht@CÍCsil.hÌæªÅCN[h³êéD¼Ìt@
+ *  C©çÍ¼ÚCN[h·é±ÆÍÈ¢D±Ìt@CðCN[
+ *  h·éOÉCt_stddef.hªCN[h³êéÌÅC»êçÉË¶µÄà
+ *  æ¢D
+ */
+
+#ifndef TOPPERS_TARGET_SIL_H
+#define TOPPERS_TARGET_SIL_H
+
+/*
+ *  ^[QbgÉË¶·éÈºÌè`Ítarget_support.asm ÉLq·éD(not yet)
+ *
+ *  ESIL_DLY_TIM1
+ *  ESIL_DLY_TIM2
+ */
+
+/*
+ *  vZbTÅ¤ÊÈè`
+ */
+#include "rl78_ca78k0r/prc_sil.h"
+
+#endif /* TOPPERS_TARGET_SIL_H */
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_stddef.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_stddef.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_stddef.h	(revision 93)
@@ -0,0 +1,90 @@
+/*
+ *  TOPPERS Software
+ *      Toyohashi Open Platform for Embedded Real-Time Systems
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2003-2014 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ *  Copyright (C) 2003-2004 by Platform Development Center
+ *                                          RICOH COMPANY,LTD. JAPAN
+ *  Copyright (C) 2008 by Witz Corporation, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ *  t_stddef.hÌ^[QbgË¶iQB-R5F100LEpj
+ *
+ *  ±ÌCN[ht@CÍCt_stddef.hÌæªÅCN[h³êéD
+ *  ¼Ìt@C©çÍ¼ÚCN[h·é±ÆÍÈ¢D¼ÌCN[h
+ *  t@CÉæ§ÁÄ³êé½ßC¼ÌCN[ht@CÉË¶µ
+ *  ÄÍÈçÈ¢D
+ */
+
+#ifndef TOPPERS_TARGET_STDDEF_H
+#define TOPPERS_TARGET_STDDEF_H
+
+/*
+ *  ^[Qbgð¯Ê·é½ßÌ}NÌè`
+ */
+#define TOPPERS_QB_R5F100LE		/* VXeªÌ */
+
+/*
+ *  J­Â«Å¤ÊÈè`
+ */
+#include "ca78k0r/tool_stddef.h"
+
+/*
+ *  vZbTÅ¤ÊÈè`
+ */
+#include "rl78_ca78k0r/prc_stddef.h"
+
+#ifndef TOPPERS_MACRO_ONLY
+
+/*
+ *  AT[VÌ¸sÌÀsf
+ */
+extern void TOPPERS_assert_abort(void);
+
+/*
+ *  assert¸sÌîñ\¦/L^}N
+ *    ftHgÅÍVXeOªg¦È¢½ßCóè`Æ·é(T.B.D)
+ *    VXeOðOñÉÅ«éÌÅ êÎCè`·éD
+ */
+#define TOPPERS_assert_fail(exp, file, line) (0)
+
+#endif /* TOPPERS_MACRO_ONLY */
+#endif /* TOPPERS_TARGET_STDDEF_H */
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_support.asm
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_support.asm	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_support.asm	(revision 93)
@@ -0,0 +1,63 @@
+;
+;   TOPPERS/SSP Kernel
+;       Toyohashi Open Platform for Embedded Real-Time Systems/
+;       Advanced Standard Profile Kernel
+;  
+;   Copyright (C) 2014 by Naoki Saito
+;              Nagoya Municipal Industrial Research Institute, JAPAN
+;  
+;   ãLì ÒÍCFree Software Foundation ÉæÁÄö\³êÄ¢é 
+;   GNU General Public License Ì Version 2 ÉLq³êÄ¢éð©CÈ
+;   ºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEFAi{\tgEF
+;   AðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»EüÏEÄzziÈºC
+;   pÆÄÔj·é±Æð³Åø·éD
+;   (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+;        \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+;       XR[hÉÜÜêÄ¢é±ÆD
+;   (2) {\tgEFAðÄpÂ\ÈoCiR[hiP[^uIu
+;       WFNgt@CâCuÈÇjÌ`Åp·éêÉÍCp
+;       Éº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì \¦C
+;       ±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+;   (3) {\tgEFAðÄpsÂ\ÈoCiR[hÌ`Ü½Í@íÉg
+;       Ýñ¾`Åp·éêÉÍCÌ¢¸ê©Ìðð½·±ÆD
+;     (a) pÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌì
+;          \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+;     (b) pÌ`ÔðCÊÉèßéû@ÉæÁÄCãLì ÒÉñ·é
+;         ±ÆD
+;   (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+;       Q©çàCãLì ÒðÆÓ·é±ÆD
+;  
+;   {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì ÒÍC
+;   {\tgEFAÉÖµÄC»ÌKpÂ\«àÜßÄC¢©ÈéÛØàsí
+;   È¢DÜ½C{\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢
+;   ©Èé¹QÉÖµÄàC»ÌÓCðíÈ¢D
+
+;
+;  ^[QbgË¶ÌAZu[`
+;
+
+	public	_software_init_hook
+	public	_hardware_init_hook
+
+@@CODE	CSEG
+
+_hardware_init_hook:
+	ret
+
+_software_init_hook:
+	ret
+
+;
+;  sil_dly_nseÅp¢éèl(not yet)
+;
+	public	SIL_DLY_TIM1
+	public	SIL_DLY_TIM2
+
+SIL_DLY_TIM1	equ 	0
+SIL_DLY_TIM2	equ 	0
+
+	end
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_syssvc.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_syssvc.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_syssvc.h	(revision 93)
@@ -0,0 +1,112 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Toyohashi Open Platform for Embedded Real-Time Systems/
+ *      Advanced Standard Profile Kernel
+ * 
+ *  Copyright (C) 2007 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2011-2015 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ *  VXeT[rXÌ^[QbgË¶iQB-R5F100LEpj
+ *
+ *  VXeT[rXÌ^[QbgË¶ÌCN[ht@CD±Ìt@
+ *  CÌàeÍCR|[lgLqt@CÉLq³êC±Ìt@CÍ
+ *  ³­Èé©ÝD
+ */
+
+#ifndef TOPPERS_TARGET_SYSSVC_H
+#define TOPPERS_TARGET_SYSSVC_H
+
+/*
+ *  ^[QbgVXeÌn[hEFA¹Ìè`
+ */
+#include "qb_r5f100le.h"
+
+/*
+ *  g[XOÉÖ·éÝè
+ */
+#ifdef TOPPERS_TRACE_ENABLE
+//#include "logtrace/trace_config.h"
+#endif /* TOPPERS_TRACE_ENABLE */
+
+/*
+ *  N®bZ[WÌ^[QbgVXe¼
+ */
+#define TARGET_NAME    "QB-R5F100LE"
+
+/*
+ *  N®bZ[WÉ^[QbgË¶Ìì \¦ð
+ *  ÇÁ·é½ßÌ}ND
+ */
+#ifdef PRC_COPYRIGHT
+#define TARGET_COPYRIGHT	PRC_COPYRIGHT
+#endif /* PRC_COPYRIGHT */
+
+/*
+ *  VXeOÌáxoÍÌ½ßÌ¶oÍ
+ *
+ *  ^[QbgË¶Ìû@ÅC¶cð\¦/oÍ/Û¶·éD
+ */
+extern void	target_fput_log(char c);
+
+/*
+ *  VA|[gÌè`
+ */
+#define TNUM_PORT	(1) 	/* serial.c Ågp·éVA|[gÌ */
+#define TNUM_SIOP	(1) 	/* xxx_serial.c Ågp·é|[g */
+
+
+/*
+ *  {[[g
+ */
+#define BPS_SETTING		(19200)
+
+/*
+ *  gp·éVAfoCX|[gID
+ */
+#define LOGTASK_PORTID		(1)
+
+/*
+ *  VXeO^XNÖAÌèÌè`
+ *
+ *  ftHglÌÊèD
+ */
+
+#endif /* TOPPERS_TARGET_SYSSVC_H */
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_test.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_test.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_test.h	(revision 93)
@@ -0,0 +1,72 @@
+/*
+ *  TOPPERS/SSP Kernel
+ *      Toyohashi Open Platform for Embedded Real-Time Systems/
+ *      Advanced Standard Profile Kernel
+ * 
+ *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+ *                              Toyohashi Univ. of Technology, JAPAN
+ *  Copyright (C) 2003-2014 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ *  Copyright (C) 2003-2004 by Platform Development Center
+ *                                          RICOH COMPANY,LTD. JAPAN
+ *  Copyright (C) 2008 by Witz Corporation, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ *		eXgvOÌ^[QbgË¶è`iQB-R5F100LEpj
+ */
+
+#ifndef TOPPERS_TARGET_TEST_H
+#define TOPPERS_TARGET_TEST_H
+
+#define STACK_SIZE			(128)
+
+/*
+ *  ^C}ðT|[gµÄ¢é©
+ */
+#define USE_TIMER
+
+/*
+ *  gp·éVA|[gID
+ */
+#define TASK_PORTID   	(1)
+
+
+#define CPUEXC1             	0	/* BRK½ß */
+#define RAISE_CPU_EXCEPTION 	{__asm("brk");}
+
+#endif /* TOPPERS_TARGET_TEST_H */
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_timer.c
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_timer.c	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_timer.c	(revision 93)
@@ -0,0 +1,100 @@
+/*
+ *  TOPPERS/ASP Kernel
+ *      Toyohashi Open Platform for Embedded Real-Time Systems/
+ *      Advanced Standard Profile Kernel
+ * 
+ *  Copyright (C) 2007 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2011-2014 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ *  @(#) $Id: prc_timer.c 1304 2008-08-27 07:28:36Z ertl-honda $
+ */
+
+/*
+ *  J[lÌ^CeBbNp^C}hCo
+ *    ^[QbgÉgp·é^C}foCXªÙÈè¾é±Æ©ç
+ *    ±Ìt@Cð^[QbgË¶Ézu·éD
+ *    ±±ÅÍC^C}jbg0`l0 ðJ[lÌ^CeBbNp^C}ÆµÄgp·éD
+ */
+#pragma sfr
+ 
+#include "kernel_impl.h"
+#include "target_timer.h"
+#include "time_event.h"
+
+/*
+ *  ^C}ÌN®
+ */
+void
+target_timer_initialize(intptr_t exinf)
+{
+	/* NbNÂ  */
+	PER0 |= TBIT_PER0_TAU0EN;
+	
+	// fclk/4 = 5MHz ð®ìNbNÆ·éD
+	TPS0 &= ~UINT16_C(0x000f);	/* NbNIð  */
+	TPS0 |= UINT16_C(0x0002);
+		
+	// [hÝè(C^[o[^C}CÝ­¶C§ºèGbW
+	// \tgEFAEgKÌÝCNbNCK00)
+	TMR00 = UINT16_C(0x0001);
+
+	// üúÌÝè
+	TDR00 = TIMER_CLOCK;
+
+	// ^C}JEgJn
+	TS0L |= TBIT_TSmL_TSm0;
+}
+
+/*
+ *  ^C}Ìâ~
+ */
+void
+target_timer_terminate(intptr_t exinf)
+{
+	// ^C}JEgâ~
+	TT0L |= TBIT_TTmL_TTm0;
+}
+
+/*
+ *  ^C}Ýnh
+ */
+void
+target_timer_handler(void)
+{
+	signal_time();                    /* ^CeBbNÌ */
+}
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_timer.cfg
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_timer.cfg	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_timer.cfg	(revision 93)
@@ -0,0 +1,10 @@
+#include "target_timer.h"
+
+/*
+ *  J[lÌ^CeBbNp^C}hCoü¯RtBM
+[Vt@C
+ */
+ATT_INI({ TA_NULL, 0, target_timer_initialize });
+ATT_TER({ TA_NULL, 0, target_timer_terminate });
+DEF_INH(INHNO_TIMER, { TA_NULL, target_timer_handler });
+CFG_INT(INTNO_TIMER, { TA_ENAINT, INTPRI_TIMER });
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_timer.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_timer.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_timer.h	(revision 93)
@@ -0,0 +1,123 @@
+/*
+ *  TOPPERS/ASP Kernel
+ *      Toyohashi Open Platform for Embedded Real-Time Systems/
+ *      Advanced Standard Profile Kernel
+ * 
+ *  Copyright (C) 2007 by Embedded and Real-Time Systems Laboratory
+ *              Graduate School of Information Science, Nagoya Univ., JAPAN
+ *  Copyright (C) 2011-2014 by Naoki Saito
+ *             Nagoya Municipal Industrial Research Institute, JAPAN
+ * 
+ *  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+ *  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+ *  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+ *  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+ *       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+ *      XR[hÉÜÜêÄ¢é±ÆD
+ *  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+ *      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+ *      Ì³ÛØKèðfÚ·é±ÆD
+ *  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+ *      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+ *      ÆD
+ *    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+ *        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+ *    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+ *        ñ·é±ÆD
+ *  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+ *      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+ *      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+ *      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+ *      ÆÓ·é±ÆD
+ * 
+ *  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+ *  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+ *  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+ *  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+ *  ÌÓCðíÈ¢D
+ * 
+ */
+
+/*
+ *  ^C}hCoiQB-R5F100LEpj
+ */
+
+#ifndef TOPPERS_TARGET_TIMER_H
+#define TOPPERS_TARGET_TIMER_H
+
+#include <sil.h>
+
+/*
+ *  ^C}Ýnho^Ì½ßÌè
+ */
+#define INTNO_TIMER     INTNO_INTTM00	/* ÝÔ */
+#define INHNO_TIMER     INHNO_INTTM00	/* ÝnhÔ */
+#define INTPRI_TIMER    (-2)         	/* ÝDæx */
+
+/*
+ *  ^C}lÌà\»ÆÐØbPÊÆÌÏ·
+ */
+#define TIMER_CLOCK  UINT16_C(5000) /* VXeNbN 20MHzCJEg\[X f4 ÌÆ«C
+                                1ms Í^C}JE^ 5000JEgª */
+
+/*
+ *  ^C}lÌà\»Æ~bEÊbPÊÆÌÏ·
+ *
+ */
+#define TO_CLOCK(nume, deno)	((CLOCK)(TIMER_CLOCK * (nume) / (deno)))
+#define TO_USEC(clock)      	(((SYSUTM) clock) * 1000U / TIMER_CLOCK)
+
+
+#ifndef TOPPERS_MACRO_ONLY
+
+/*
+ *  ^C}lÌà\»Ì^
+ */
+typedef uint16_t    CLOCK;
+
+/*
+ *  ^C}ÌN®
+ *
+ *  ^C}ðú»µCüúIÈ^C}Ývð­¶³¹éD
+ */
+extern void target_timer_initialize(intptr_t exinf);
+
+/*
+ *  ^C}Ìâ~
+ *
+ *  ^C}Ì®ìðâ~³¹éD
+ */
+extern void target_timer_terminate(intptr_t exinf);
+
+#if 0
+/*
+ *  ^C}Ì»ÝlÌÇoµ(not yet)
+ */
+Inline CLOCK
+target_timer_get_current(void)
+{
+	return(0);
+}
+
+/*
+ *  ^C}ÝvÌ`FbN(not yet)
+ */
+Inline bool_t
+target_timer_probe_int(void)
+{
+	return(0);
+}
+#endif
+
+/*
+ *  ^C}Ýnh
+ */
+extern void target_timer_handler(void);
+
+#endif /* TOPPERS_MACRO_ONLY */
+#endif /* TOPPERS_TARGET_TIMER_H */
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_unrename.h
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_unrename.h	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_unrename.h	(revision 93)
@@ -0,0 +1,15 @@
+/* This file is generated from target_rename.def by genrename. */
+
+/* This file is included only when target_rename.h has been included. */
+#ifdef TOPPERS_TARGET_RENAME_H
+#undef TOPPERS_TARGET_RENAME_H
+
+
+#ifdef TOPPERS_LABEL_ASM
+
+
+#endif /* TOPPERS_LABEL_ASM */
+
+#include "rl78_ca78k0r/prc_unrename.h"
+
+#endif /* TOPPERS_TARGET_RENAME_H */
Index: /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_user.txt
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_user.txt	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/target/qb_r5f100le_cs/target_user.txt	(revision 93)
@@ -0,0 +1,249 @@
+=====================================================================
+           QB-R5F100LE-TB ^[QbgË¶
+                                  Last Modified: '15/6/2
+=====================================================================
+
+Tv
+
+QB-R5F100LE-TB^[QbgË¶ÍCvZbTÉ RL78/G13 ðÚµ½C
+ijlTXGNgjNX»Ì QB-R5F100LE-TB {[hðT|[gµÄ¢éD
+http://japan.renesas.com/products/tools/introductory_tools/cpu_board/qb_r5f100le_tb/index.jsp
+
+J[lÌgp\[X
+
+J[lÍÈºÌ\[Xðgp·éD
+
+EROM
+	R[hCèCúlCÝxN^ðzu·éD
+	gpÊÍgp·éAPIÌÉË¶·éD
+
+ERAM
+	f[^CX^bNðzu·éD
+	gpÊÍIuWFNgÉË¶·éD
+
+E^C}
+	J[làÌeBbNÌ¶¬É^C}EACEjbgÌ
+	jbg0 `l0 ðgp·éD
+	^CeBbNÌüúyÑVXeÌ¸xÍ¤É 1ms Æ·éD
+
+EVA
+	VAhCoÉ UART0(VAEACjbgÌjbg0
+	`l{0,1}) ðgp·éD
+	vZbTÌ UART0 óM|[gÍ{[h CN2 Ì 12s(M)
+	¨æÑ13s(óM)Æü³êÄ¢éD±ÌsðUARThCoICâ
+	USBVAÏ·W
+[ðpµÄPCÆÚ±·é±ÆÅoÍð
+	mF·é±ÆªÅ«éD
+
+¼Ì^[QbgÖÌÚA
+
+^[QbgË¶Ågp·é^C}¨æÑVAÍCRL78/G13 Ì
+à @\ÌÝðgp·é½ßCRL78 Ì¯lÌvZbTðp¢½Â«ÉÍ
+eÕÉ|[eBOªÂ\Å éD|[eBOÉÖµÄÍCÈºÌú»[`É
+^[QbgÌú»ðÇÁ·êÎæ¢D
+
+  Etarget_initialize() : target_config.c
+	    ^[QbgË¶Ìú»iC¾êj
+  E_hardware_init_hook : target_support.asm
+	    áxÌ^[QbgË¶Ìú»
+	    X^[gAbvW
+[ÌÅCÌú»ÌOÉÄÑo³êé
+	    ùèÅÍX^[gAbvW
+[©çp³êÄ¨ç¸C
+	    RgAEg³êÄ¢éD
+
+
+fobOÂ«
+
+fobOÂ«ÆµÄCE1 fobKÌgpðzèµÄ¢éD
+
+
+RpC
+
+ÈºÌJ­Â«ðp¢Ä®ìmFðsÁ½D
+
+n
+@lTXeNmW» RpC CA78K0R V1.70
+
+J­Â«
+@lTXeNmW» J­Â« Cube Suite+ V2.02.00
+
+
+R\[oÍ
+
+R\[oÍÉÍCUART0ðp¢éDÊMtH[}bgÍÈºÌÊèD
+
+  E19200bps, Data 8bit, Parity none, Stop 1bit, Flow control none
+
+
+AhX}bsO (¦1)
+
+  0x00000 - 0x0007F     xN^e[u                  128oCg
+  0x00080 - 0x000Bf     calltÖÌe[upZOg  64oCg
+  0x000C0 - 0x000C3     IvVoCgÌæ              4oCg
+  0x000C4 - 0x000CD     ZL
+eBID                   10oCg
+  0x000CE - 0x000D7     I`bvfobO@\ÌgpÌæ 10oCg
+  0x000D8 - 0x0ffff     à FlashROM  ñ63.8KB
+                            @@CODE  	; R[hpZOg(near)
+                            @@BASE  	; calltÖEèÝÖpZOg
+                            @@LCODE 	; CuER[hpZOg(near)
+                            @@LBASE 	; CuEcalltÖpZOg
+                            @@CNST  	; èf[^(near)
+                            @@R_INIT	; nearú»f[^pZOg(úl è)
+                            @@R_INIS	; ú»f[^pZOg(úl èsregÏ)
+                            @@CODEL 	; R[hpZOg(far)
+                            @@LCODEL	; CuER[hpZOg(far)
+                            @@CNSTL 	; ROMf[^(far)
+                            @@RLINIT	; farú»f[^pZOg(úl è)
+
+  0xF0000 - 0xF07FF     2nd SFRÌæ  2KB
+
+  0xF1000 - 0xF1FFF     f[^tbV
+
+  0xF2000 - 0xFEEFF     ~[Ìæ(0x2000-0xEEFFÆ¯¶l)
+  0xFEF00 - 0xFFEDF     à RAM  3.9KB (¦2)
+                            @@BITS  	; boolean^Ï, bit^ÏpZOg, BSEGÌæ
+                            @@INIT  	; f[^ÌæpZOg(úl è, nearzu)
+                            @@DATA  	; f[^ÌæpZOg(úlÈµ, nearzu)
+                            @@INIS  	; f[^ÌæpZOg(úl è sreg Ï)
+                            @@DATS  	; f[^ÌæpZOg(úlÈµ sreg Ï)
+                            @@INITL 	; f[^ÌæpZOg(úl è, farzu)
+                            @@DATAL 	; f[^ÌæpZOg(úlÈµ, farzu)
+                            @@CODER 	; RAMzu R[hpZOg
+                            @@LCODER	; RAMzu CuER[hpZOg
+                            @@CNSTR 	; RAMzu ROMf[^pZOg(near)
+                            @@CNSTLR	; RAMzu ROMf[^pZOg(far)
+  0xFFEE0 - 0xFFEFF         ÄpWX^ 32oCg (¦2)
+  0xFFF00 - 0xFFFFF         SFRÌæ (¦2)
+
+(¦1) @@ÅnÜéZOgÍRpCÉæè¶¬³êéD
+  uCubeSuite+ V2.01.00 J­Â«[U[Y}j
+A RL78,78K0RR[fBOÒvÌ
+  u3. 5 ZOg¼êvð³Éµ½D
+  http://documentation.renesas.com/doc/products/tool/doc/r20ut2774jj0100_qscd78.pdf
+
+(¦2) V[gE_CNgEAhbVOÌæ(0xFFE20-0xFFF1F) Æêd¡·é
+
+eíÝèÌÏX
+
+ôÂ©Ìp[^ÍÏXÂ\ÉÈÁÄ¢éDÝèt@CÉÝèÂ\Ú
+ÍÌæ¤ÉÈÁÄ¢éD
+
+target.tfÌÝèÚ
+
+INTNO_FIX_KERNEL
+	ÅèIÉJ[lÇÌÝÆ·éÝÔ
+INTNO_FIX_NONKERNEL
+	ÅèIÉJ[lÇOÌÝÆ·éÝÔ
+INHNO_FIX_KERNEL
+	ÅèIÉJ[lÇÌÝÆ·éÝnhÔ
+INHNO_FIX_NONKERNEL
+	ÅèIÉJ[lÇOÌÝÆ·éÝnhÔ
+
+
+target_config.h ÌÝèÚ
+
+EDEFAULT_ISTKSZ
+	ñ^XNReLXgpX^bNTCYÌKèl
+	i½¾µCSSPÅÍ¤LX^bNÌæÌùèTCYðÓ¡·éj
+
+target_syssvc.h ÌÝèÚ
+
+EBPS_SETTING
+	R\[Égp·éVA|[gÌ{[[g(KèÅÍ 19200)
+	¦ »óÅÍ±Ì}NÍgpµÄ¢È¢D
+
+CPUbNÅp¢éÝDæxTMIN_INTPRIÌè`
+
+EC¾êpÌè`F
+	vZbTÉùèÌè`ÊuFprc_kernel.h
+	^[QbgË¶Åè`·éêÌè`ÊuFtarget_config.hi»óÅÍ¢è`j
+
+
+TvvWFNgÌÀsè
+   J­Â«ªCXg[³êÄ¢é±ÆðOñÆ·éD
+   ÈºÌà¾ÅÍpXÌæØè¶ÆµÄXbV
+ '/' ðgp·éD
+
+0. ZIP³k³êÄ¢ét@CðKÈêÖWJ·éD
+   WJæÌpXÉÍú{ê¶âóÈÇðÜÜÈ¢ûªæ¢D
+
+1. [NXy[Xt@CðJ­
+	<WJætH_>/ssp/target/qb_r5c100le_cs/ssp_rl78/ssp_rl78.mtpj ð_uNbN·éD
+	CubeSuite+ ªCXg[³êÄ¢êÎCJ­Â«ªN®·éD
+
+2. sample1 vWFNgðANeBuvWFNgÉ·é
+	ùèÌÝèÅÍ·ÅÉANeBuÉÈÁÄ¢éD
+
+3. j
+[urh¨rhvWFNgvðIðµÄCsample1vWFNgðrh·é
+	Ë¶ÖWÌÝèÉæèæÉ libkernel, sys-cfg vWFNgÌrhªsíêC
+	»ÌãCsample1 vWFNgÌrhªÀ{³êéD
+	»µÄCAvP[V(sample1)CVXeCuCVXeT[rXC
+	yÑJ[lªN³êCÀst@Cª¶¬³êéD
+
+4. vOÌÀsðmF·éD
+
+	TvÍVA|[gÌ@\ðOñÆµÄ¢éDvZbTÌ
+	UART0 |[gª{[hÌ CN2 12Ôs(TxD0)C13Ôs(RxD0)Éü³êÄ¨èC
+	±Ìs¨æÑ GNDÌsðUARThCoIC é¢ÍUSB-VAÏ·W
+[ð
+	pµÄPCÉÚ±·éÆCVA©çÌoÍðmF·é±ÆªÅ«éD
+
+	ßÅÍCE1 ðpµ½tbV
+ÖÌvO«ÝCyÑCÀsÌ
+	èÉÂ¢ÄLq·éD
+
+5. tbV
+ROM ÖÌvO«Ý
+
+(1) E1ðPC¨æÑ^[Qbg{[hÉÚ±·éD
+(2) j
+[ufobO¨fobOc[Ö_E[hvðIð·éD
+    ¸s·éêCÈºðmF·éD
+    EE1ÌhCoªCXg[³êÄ¢é©Ç¤©D
+    EE1Æ{[hÌÚ±ª³µ¢©Ç¤©D¸êÄ¢È¢©Cü«Í³µ¢©D
+    E^[Qbg{[hÉd¹ª³êÄ¢é©Ç¤©D
+        ùèÌÝèÅÍµÈ¢ÝèÆÈÁÄ¢éD
+        E1©çd¹·éêÍÌèÅÝèÏX·éD
+        (2-1)uvWFNgEc[vEBhEÌussp_rl78(vWFNg) 
+               --> sample1(TuvWFNg) --> RL78_E1(Serial)vÚð
+               ENbNµCReLXgj
+[ð\¦·éD
+        (2-2) ReLXgj
+[©çuvpeBvðIð·éD
+        (2-3) uvpeBvEBhE©çuÚ±pÝèv^uðIð·éD
+        (2-4) u^[Qbg{[hÆÌÚ±vÌÚàÉ éC
+              uG~
+[^©çd¹·é(Åå200mA)vðuÍ¢vÉ·éD
+(3) _E[hª®¹·éÆC^[QbgÍ sta_ker ÌæªÅÀsâ~·éD
+(4) j
+[ufobO¨ÀsvðIð·éÆCvOÌÀsðJn·éD
+
+Ó
+ENÉÂ¢Ä
+	X^[gAbvW
+[(start.asm)ÉÄRAMÌú»ðs¤½ßÉÍ
+	ZNVÌæªAhX¨æÑÅIAhXðméKvª éD
+	»êçÌAhXðæ¾·é½ß segment_s.asm ¨æÑ segment_e.asm ð
+	»ê¼êÀsW
+[ÌæªÆöÉN·éKvª éD
+	
+	segment_s.asm Í sample1TuvWFNgÌNÝèÅÅÉN
+	³êéæ¤Ýè³êÄ¢éDêûÅ segment_e.asm Í libkernel.lib ÌöÉ
+	N³êéæ¤Ýè³êÄ¢éD
+	
+	±êÍCsample1TuvWFNgÅ libkernel.lib ÌNð
+	ÏX·é±ÆªÅ«È¢½ßCêI[uÆµÄ±Ìæ¤ÉµÄ¢éD
+	
+	¡ãÉ¨¢ÄCÊCuðÇÁIÉN·éêC
+	libkernel.lib ªöÉN³êéæ¤NÌÝèðs¤Kvª éD
+	öÉzu³êÈ¢êÍCÏZNVÌöAhXð³µ­æ¾Å«¸C
+	RAMÌú»ª³µ­síêÈ¢D
+
+
+ÏXð
+2014/08/21  EVKì¬
+2015/6/2    ESSP-1.3.0Î
+
Index: /ssp_qb_r5f100le_cs/trunk/utils/applyrename
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/utils/applyrename	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/utils/applyrename	(revision 93)
@@ -0,0 +1,123 @@
+#! /usr/bin/perl
+#
+#  TOPPERS Software
+#      Toyohashi Open Platform for Embedded Real-Time Systems
+# 
+#  Copyright (C) 2003 by Embedded and Real-Time Systems Laboratory
+#                              Toyohashi Univ. of Technology, JAPAN
+#  Copyright (C) 2004-2007 by Embedded and Real-Time Systems Laboratory
+#              Graduate School of Information Science, Nagoya Univ., JAPAN
+# 
+#  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+#  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+#  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+#  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+#       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+#      XR[hÉÜÜêÄ¢é±ÆD
+#  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+#      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+#      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+#      Ì³ÛØKèðfÚ·é±ÆD
+#  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+#      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+#      ÆD
+#    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+#        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+#    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+#        ñ·é±ÆD
+#  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+#      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+#      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+#      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+#      ÆÓ·é±ÆD
+# 
+#  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+#  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+#  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+#  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+#  ÌÓCðíÈ¢D
+# 
+#  @(#) $Id: applyrename 332 2007-07-17 12:15:37Z hiro $
+# 
+
+#
+#  t@CÉl[ðKp·é
+#
+sub applyrename
+{
+	local($infile) = @_;
+	local($outfile) = $infile.".new";
+	local($line);
+
+	open(INFILE, "< ".$infile) || die;
+	open(OUTFILE, "> ".$outfile) || die;
+
+	while ($line = <INFILE>) {
+		$line =~ s/\b(_?)($syms)\b/$1_kernel_$2/gc;
+		print OUTFILE $line;
+	}
+
+	close(INFILE);
+	close(OUTFILE);
+
+	if (`cmp $infile $outfile`) {
+		rename($infile, $infile.".bak");
+		rename($outfile, $infile);
+		print STDERR "Modified: ",$infile,"\n";
+	}
+	else {
+		unlink($outfile);
+	}
+}
+
+#
+#  G[`FbN
+#
+if ($#ARGV < 1) {
+	die "Usage: appyrename <prefix> <filelist>\n";
+}
+
+#
+#  ú»
+#
+@syms = ();
+$name = $ARGV[0];
+
+#
+#  V{XgðÇÝÞ
+#
+$deffile = $name."_rename.def";
+open(INFILE, $deffile) || die "Cannot open $deffile";
+while ($line = <INFILE>) {
+	chomp $line;
+	if ($line =~ /^#(.*)$/) {
+		# do nothing
+	}
+	elsif ($line =~ /^INCLUDE[ \t]+(.*)$/) {
+		# do nothing
+	}
+	elsif ($line ne "") {
+		@syms = (@syms, $line)
+	}
+}
+close(INFILE);
+
+#
+#  ³K\»ðìé
+#
+$syms = join("|", @syms);
+
+#
+#  t@CÉl[ðKp·é
+#
+shift @ARGV;
+foreach $infile (@ARGV) {
+	# t@CÅÈ¯êÎXLbv
+	next unless (-f $infile);
+
+	applyrename($infile) if ($infile ne $deffile);
+}
Index: /ssp_qb_r5f100le_cs/trunk/utils/genrename
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/utils/genrename	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/utils/genrename	(revision 93)
@@ -0,0 +1,253 @@
+#! /usr/bin/perl
+#
+#  TOPPERS Software
+#      Toyohashi Open Platform for Embedded Real-Time Systems
+# 
+#  Copyright (C) 2003 by Embedded and Real-Time Systems Laboratory
+#                              Toyohashi Univ. of Technology, JAPAN
+#  Copyright (C) 2005-2007 by Embedded and Real-Time Systems Laboratory
+#              Graduate School of Information Science, Nagoya Univ., JAPAN
+# 
+#  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+#  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+#  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+#  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+#       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+#      XR[hÉÜÜêÄ¢é±ÆD
+#  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+#      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+#      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+#      Ì³ÛØKèðfÚ·é±ÆD
+#  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+#      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+#      ÆD
+#    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+#        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+#    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+#        ñ·é±ÆD
+#  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+#      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+#      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+#      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+#      ÆÓ·é±ÆD
+# 
+#  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+#  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+#  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+#  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+#  ÌÓCðíÈ¢D
+# 
+#  @(#) $Id: genrename 509 2007-08-22 23:09:56Z hiro $
+# 
+
+#
+#  æªÉÂ¯é¶ñ
+#
+sub prefix_string {
+	local($sym) = @_;
+
+	if ($sym =~ /[a-z]/) {
+		return("_kernel_");
+	}
+	else {
+		return("_KERNEL_");
+	}
+}
+
+#
+#  l[è`ð¶¬·é
+#
+sub generate_define
+{
+	local($sym, $prefix) = @_;
+
+	print FILE "#define ",$prefix,$sym;
+	print FILE "\t" if (length($prefix.$sym) < 4);
+	print FILE "\t" if (length($prefix.$sym) < 8);
+	print FILE "\t" if (length($prefix.$sym) < 12);
+	print FILE "\t" if (length($prefix.$sym) < 16);
+	print FILE "\t" if (length($prefix.$sym) < 20);
+	print FILE "\t" if (length($prefix.$sym) < 24);
+	print FILE "\t",$prefix, prefix_string($sym),$sym,"\n";
+}
+
+#
+#  l[ðð¶¬·é
+#
+sub generate_undef
+{
+	local($sym, $prefix) = @_;
+
+	print FILE "#undef ",$prefix,$sym,"\n";
+}
+
+#
+#  CN[hfBNeBuð¶¬·é
+#
+sub generate_include
+{
+	local($file, $prefix) = @_;
+
+	$file =~ s/([>"])$/_$prefix.h$1/;
+	$includes .= "#include ".$file."\n";
+}
+
+#
+#  G[`FbN
+#
+if ($#ARGV != 0) {
+	die "Usage: genrename <prefix>\n";
+}
+
+#
+#  ú»
+#
+@syms = ();
+$name = $ARGV[0];
+$NAME = $name; $NAME =~ y/a-z/A-Z/;
+
+$infile = $name."_rename.def";
+$header_defsym = "TOPPERS_".$NAME."_RENAME_H";
+
+#
+#  V{XgðÇÝÞ
+#
+open(INFILE, $infile) || die "Cannot open $infile";
+while ($line = <INFILE>) {
+	chomp $line;
+	@syms = (@syms, $line);
+}
+close(INFILE);
+
+#
+#  ???_rename.h ð¶¬·é
+#
+$includes = "";
+$file = $name."_rename.h";
+open(FILE, "> ".$file);
+
+print FILE <<END;
+/* This file is generated from $infile by genrename. */
+
+#ifndef $header_defsym
+#define $header_defsym
+
+END
+
+foreach $sym (@syms) {
+	if ($sym =~ /^#(.*)$/) {
+		print FILE "/*\n";
+		print FILE " * ",$1,"\n";
+		print FILE " */\n";
+	}
+	elsif ($sym =~ /^INCLUDE[ \t]+(.*)$/) {
+		generate_include($1, "rename");
+	}
+	elsif ($sym ne "") {
+		generate_define($sym, "");
+	}
+	else {
+		print FILE "\n";
+	}
+}
+
+print FILE <<END;
+
+#ifdef TOPPERS_LABEL_ASM
+
+END
+
+foreach $sym (@syms) {
+	if ($sym =~ /^#(.*)$/) {
+		print FILE "/*\n";
+		print FILE " * ",$1,"\n";
+		print FILE " */\n";
+	}
+	elsif ($sym =~ /^INCLUDE[ \t]+(.*)$/) {
+		# do nothing
+	}
+	elsif ($sym ne "") {
+		generate_define($sym, "_");
+	}
+	else {
+		print FILE "\n";
+	}
+}
+
+print FILE <<END;
+
+#endif /* TOPPERS_LABEL_ASM */
+
+$includes
+#endif /* $header_defsym */
+END
+
+#
+#  ???_unrename.h ð¶¬·é
+#
+$includes = "";
+$file = $name."_unrename.h";
+open(FILE, "> ".$file);
+
+print FILE <<END;
+/* This file is generated from $infile by genrename. */
+
+/* This file is included only when $name\_rename.h has been included. */
+#ifdef $header_defsym
+#undef $header_defsym
+
+END
+
+foreach $sym (@syms) {
+	if ($sym =~ /^#(.*)$/) {
+		print FILE "/*\n";
+		print FILE " * ",$1,"\n";
+		print FILE " */\n";
+	}
+	elsif ($sym =~ /^INCLUDE[ \t]+(.*)$/) {
+		generate_include($1, "unrename");
+	}
+	elsif ($sym ne "") {
+		generate_undef($sym, "");
+	}
+	else {
+		print FILE "\n";
+	}
+}
+
+print FILE <<END;
+
+#ifdef TOPPERS_LABEL_ASM
+
+END
+
+foreach $sym (@syms) {
+	if ($sym =~ /^#(.*)$/) {
+		print FILE "/*\n";
+		print FILE " * ",$1,"\n";
+		print FILE " */\n";
+	}
+	elsif ($sym =~ /^INCLUDE[ \t]+(.*)$/) {
+		# do nothing
+	}
+	elsif ($sym ne "") {
+		generate_undef($sym, "_");
+	}
+	else {
+		print FILE "\n";
+	}
+}
+
+print FILE <<END;
+
+#endif /* TOPPERS_LABEL_ASM */
+
+$includes
+#endif /* $header_defsym */
+END
+
+close(FILE);
Index: /ssp_qb_r5f100le_cs/trunk/utils/makedep
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/utils/makedep	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/utils/makedep	(revision 93)
@@ -0,0 +1,183 @@
+#! /usr/bin/perl
+#
+#  TOPPERS Software
+#      Toyohashi Open Platform for Embedded Real-Time Systems
+# 
+#  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
+#                              Toyohashi Univ. of Technology, JAPAN
+#  Copyright (C) 2004-2011 by Embedded and Real-Time Systems Laboratory
+#              Graduate School of Information Science, Nagoya Univ., JAPAN
+# 
+#  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+#  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+#  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+#  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+#       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+#      XR[hÉÜÜêÄ¢é±ÆD
+#  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+#      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+#      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+#      Ì³ÛØKèðfÚ·é±ÆD
+#  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+#      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+#      ÆD
+#    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+#        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+#    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+#        ñ·é±ÆD
+#  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+#      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+#      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+#      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+#      ÆÓ·é±ÆD
+# 
+#  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+#  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+#  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+#  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+#  ÌÓCðíÈ¢D
+# 
+#  @(#) $Id: makedep 2264 2011-10-27 04:22:01Z ertl-hiro $
+# 
+
+use Getopt::Std;
+
+#  IvVÌè`
+#
+#  -C <cc_path>		CRpCÌR}h¼
+#  -O <cc_opts>		CRpC/CPPÉn·IvV
+#  -X				\[Xt@Cð­§IÉCwb_t@CÆ©È·
+#
+#  -T <target>		^[Qbg¼iÌXgj
+#  -D <t_dir>		^[QbgÌfBNg¼ðwè·éi-Tðp¢½ê
+#					Í³øj
+#  -d				^[QbgÌfBNgðÛ·éi-Tðp¢½ê
+#					Í³øj
+#  -S				¡Ì^[Qbgª éË¶[ðC^[QbgÉ
+#					ª·éi±¤µÈ¢ÆÎÅ«È¢makeª éçµ¢j
+#
+#  -R <dirname>		CygwinÂ«É¨¯é[gfBNg¼ðwè·é
+#					iftHgÍcygdrivej
+
+#
+#  IvVÌ
+#
+getopt("COTDR");
+
+$cc_path = $opt_C;
+$cc_opts = $opt_O;
+
+if ($opt_T) {
+	$target_name = $opt_T;
+}
+elsif ($opt_D) {
+	$target_dir = $opt_D;
+}
+elsif (!$opt_d) {
+	$target_dir = "";
+}
+
+if ($opt_R) {
+	$cygwin_root = $opt_R;
+}
+else {
+	$cygwin_root = "cygdrive";
+}
+
+#
+#  CygwinÂ«Ì»Ê
+#
+if ($^O eq 'cygwin') {
+	$cygwin = 1;
+}
+
+#
+#  %dependlist Éìçê½Ë¶ÖWðoÍ·é
+#
+sub output_dependlist {
+	local($target) = @_;
+	local($column, $len, $file);
+
+	print $target, ": ";
+	$column = length($target) + 2;
+
+	foreach $file (keys(%dependlist)) {
+		$len = length($file) + 1;
+		if ($column > 8 && $column + $len >= 70) {
+			print "\\\n\t";
+			$column = 8;
+		}
+		$column += $len;
+		print "$file ";
+	}
+	print "\n";
+}
+
+#
+#  $file ÌË¶ÖWð %dependlist Éìé
+#
+sub makedepend_one {
+	local($file) = @_;
+	local($command, $input, $dir, $filename);
+
+	$command = "$cc_path -E $cc_opts";
+	if ($opt_X) {
+		$command .= " -x c-header";
+	}
+	unless (open(INPUT, "$command $file |")) {
+		print STDERR "makedep: can't open $file\n";
+		exit(1);
+	}
+	while ($line = <INPUT>) {
+		if ($line =~ /^\#\s*([0-9]+)\s*\"([^\"]+)\"/) {
+			$filename = $2;
+			$filename =~ s/ /\\ /g;
+			if ($filename !~ /^\<.*\>$/ && $filename !~ /\/$/) {
+				if ($cygwin) {
+					$filename =~ s/\\\\/\//g;
+					$filename =~ s/^([a-zA-Z]):/\/$cygwin_root\/$1/;
+				}
+				$dependlist{$filename} = 1;
+			}
+		}
+	}
+	unless (close(INPUT)) {
+		print STDERR "makedep: can't execute $command\n";
+		exit(1);
+	}
+}
+
+#
+#  C[`
+#
+foreach $file (@ARGV) {
+	%dependlist = ();
+	makedepend_one($file);
+	if (%dependlist) {
+		if ($target_name) {
+			if ($opt_S) {
+				foreach $target (split(/[ \t]+/, $target_name)) {
+					output_dependlist($target);
+				}
+			}
+			else {
+				output_dependlist($target_name);
+			}
+		}
+		else {
+			$target = $file;
+			$target =~ s/(.*)\.(.*)/$1.o/;
+			if (defined($target_dir)) {
+				$target =~ s/^.*\/([^\/]+)$/$1/;
+				if ($target_dir) {
+					$target = $target_dir."/".$target;
+				}
+			}
+			output_dependlist($target);
+		}
+	}
+}
Index: /ssp_qb_r5f100le_cs/trunk/utils/makerelease
===================================================================
--- /ssp_qb_r5f100le_cs/trunk/utils/makerelease	(revision 93)
+++ /ssp_qb_r5f100le_cs/trunk/utils/makerelease	(revision 93)
@@ -0,0 +1,161 @@
+#! /usr/bin/perl
+#
+#  TOPPERS Software
+#      Toyohashi Open Platform for Embedded Real-Time Systems
+# 
+#  Copyright (C) 2006-2010 by Embedded and Real-Time Systems Laboratory
+#              Graduate School of Information Science, Nagoya Univ., JAPAN
+# 
+#  ãLì ÒÍCÈºÌ(1)`(4)Ìðð½·êÉÀèC{\tgEF
+#  Ai{\tgEFAðüÏµ½àÌðÜÞDÈº¯¶jðgpE¡»Eü
+#  ÏEÄzziÈºCpÆÄÔj·é±Æð³Åø·éD
+#  (1) {\tgEFAð\[XR[hÌ`Åp·éêÉÍCãLÌì
+#       \¦C±Ìpð¨æÑºLÌ³ÛØKèªC»ÌÜÜÌ`Å\[
+#      XR[hÉÜÜêÄ¢é±ÆD
+#  (2) {\tgEFAðCCu`®ÈÇC¼Ì\tgEFAJ­Ég
+#      pÅ«é`ÅÄzz·éêÉÍCÄzzÉº¤hL
+gip
+#      Ò}j
+AÈÇjÉCãLÌì \¦C±Ìpð¨æÑºL
+#      Ì³ÛØKèðfÚ·é±ÆD
+#  (3) {\tgEFAðC@íÉgÝÞÈÇC¼Ì\tgEFAJ­Ég
+#      pÅ«È¢`ÅÄzz·éêÉÍCÌ¢¸ê©Ìðð½·±
+#      ÆD
+#    (a) ÄzzÉº¤hL
+gipÒ}j
+AÈÇjÉCãLÌ
+#        ì \¦C±Ìpð¨æÑºLÌ³ÛØKèðfÚ·é±ÆD
+#    (b) ÄzzÌ`ÔðCÊÉèßéû@ÉæÁÄCTOPPERSvWFNgÉ
+#        ñ·é±ÆD
+#  (4) {\tgEFAÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶é¢©Èé¹
+#      Q©çàCãLì Ò¨æÑTOPPERSvWFNgðÆÓ·é±ÆD
+#      Ü½C{\tgEFAÌ[UÜ½ÍGh[U©çÌ¢©Èé
+#      RÉîÃ­¿©çàCãLì Ò¨æÑTOPPERSvWFNgð
+#      ÆÓ·é±ÆD
+# 
+#  {\tgEFAÍC³ÛØÅñ³êÄ¢éàÌÅ éDãLì Ò¨
+#  æÑTOPPERSvWFNgÍC{\tgEFAÉÖµÄCÁèÌgpÚI
+#  ÉÎ·éK«àÜßÄC¢©ÈéÛØàsíÈ¢DÜ½C{\tgEF
+#  AÌpÉæè¼ÚIÜ½ÍÔÚIÉ¶¶½¢©Èé¹QÉÖµÄàC»
+#  ÌÓCðíÈ¢D
+# 
+#  @(#) $Id: makerelease 1866 2010-07-25 13:19:17Z ertl-hiro $
+# 
+
+use Cwd;
+
+
+$cwd = getcwd();
+$cwd =~ s/^.*[\/\\]([^\/\\]+)$/$1/;
+$prefix = "./".$cwd;
+
+@file_list = ();
+%file_list = ();
+
+if ($#ARGV >= 0) {
+	$arg1 = $ARGV[0];
+	$arg1 =~ s/\.\///;
+}
+else {
+	$arg1 = "MANIFEST";
+}
+
+sub gen_path
+{
+	local($base, $path) = @_;
+
+	while ($path =~ /^..\/(.*)$/) {
+		$path = $1;
+		$base =~ s/(\/?)[^\/]*\/$/$1/;
+	}
+	return($base.$path);
+}
+
+sub read_file {
+	local($filename) = @_;
+	local($fh, $dirname);
+
+	if ($filename =~ /^(.*\/)[^\/]*$/) {
+		$dirname = $1;
+	}
+	else {
+		$dirname = "";
+	}
+
+	open($fh, $filename) || die "Cannot open $filename";
+	while ($line = <$fh>) {
+		chomp $line;
+		$line =~ s/\r$//;
+		$line =~ s/[ \t]*\#.*$//;
+		next if ($line =~ /^[ \t]*$/);
+
+		if ($line =~ /^E_PACKAGE[ \t]+(.*)$/) {
+			if ($package) {
+				die "Duplicated E_PACKAGE directive.";
+			}
+			else {
+				$package = $1;
+				$e_package = 1;
+			}
+		}
+		elsif ($line =~ /^PACKAGE[ \t]+(.*)$/) {
+			if ($package) {
+				if (!$e_package && $package != $1) {
+					die "Inconsistent PACKAGE directive.";
+				}
+			}
+			else {
+				$package = $1;
+			}
+		}
+		elsif ($line =~ /^VERSION[ \t]+(.*)$/) {
+			if ($version) {
+				if (!$e_package && $version != $1) {
+					die "Inconsistent VERSION directive.";
+				}
+			}
+			else {
+				$version = $1;
+				if ($version =~ /%date/) {
+					@current_time = localtime();
+					$vdate = sprintf("%04d%02d%02d", $current_time[5]+1900,
+										$current_time[4]+1, $current_time[3]);
+					$version =~ s/%date/$vdate/;
+				}
+			}
+		}
+		elsif ($line =~ /^INCLUDE[ \t]+(.*)$/) {
+			read_file(gen_path($dirname, $1));
+		}
+		else {
+			$filename = $prefix."/".$dirname.$line;
+			while ($filename =~ s|/[^/]+/\.\./|/|) {}
+			if ($file_list{$filename}) {
+				die "$filename is duplicated.";
+			}
+			else {
+				push(@file_list, $filename);
+				$file_list{$filename} = $filename;
+			}
+		}
+	}
+	close($fh);
+}
+
+read_file($arg1);
+unless ($package) {
+	die "PACKAGE/E_PACKAGE directive not found.";
+}
+unless ($version) {
+	die "VERSION directive not found.";
+}
+
+if (! -d "RELEASE") {
+	mkdir("RELEASE");
+}
+
+$archive_name = $package."-".$version.".tar.gz";
+$file_list = join(" ", @file_list);
+$command = "tar cvfz RELEASE/$archive_name -C .. $file_list\n";
+die if (system($command));
+print STDERR "== RELEASE/$archive_name is generated. ==\n";
