/* *---------------------------------------------------------------------- * micro T-Kernel * * Copyright (C) 2006-2007 by Ken Sakamura. All rights reserved. * micro T-Kernel is distributed under the micro T-License. *---------------------------------------------------------------------- * * Version: 1.00.00 * Released by T-Engine Forum(http://www.t-engine.org) at 2007/03/26. * *---------------------------------------------------------------------- * * Modified Source Code: * - Renesas Starter Kit for M16C/62P Version m16c62p.1B * * Changes: * - Adapted to the Renesas Starter Kit for M16C/62P * - Corresponded to the RENESAS Compiler (M3T-NC30WA). * * Changed by RENESAS TECHNOLOGY CORP. * and RENESAS SOLUTIONS CORP. * and RENESAS SYSTEM SOLUTIONS ASIA PTE. LTD. at 2007/04/20. * *---------------------------------------------------------------------- */ /* * utk_config_depend.h (m16c62p) * System Configuration Definition */ /* ROMINFO */ #define SYSTEMAREA_TOP 0x0400 /* RAM system area top */ #define SYSTEMAREA_END 0x7f00 /* RAM system area end */ /* User definition */ #define RI_USERINIT NULL /* User initialization program */ /* Stacks */ #define RI_INTSTACK 0x8000 /* Interrupt stack top(internal RAM end) */ #pragma ASM __RI_INTSTACK__ .define 08000H #pragma ENDASM /* SYSCONF */ #define CFN_TIMER_PERIOD 10 #define CFN_MAX_TSKID 2 #define CFN_MAX_SEMID 1 #define CFN_MAX_FLGID 1 #define CFN_MAX_MBXID 1 #define CFN_MAX_MTXID 0 #define CFN_MAX_MBFID 0 #define CFN_MAX_PORID 0 #define CFN_MAX_MPLID 0 #define CFN_MAX_MPFID 0 #define CFN_MAX_CYCID 0 #define CFN_MAX_ALMID 0 #define CFN_MAX_SSYID 0 #define CFN_MAX_SSYPRI 0 #define CFN_MAX_REGDEV (0 #define CFN_MAX_OPNDEV (0) #define CFN_MAX_REQDEV (0) #define CFN_DEVT_MBFSZ0 (-1) #define CFN_DEVT_MBFSZ1 (-1) #define CFN_VER_MAKER 0 #define CFN_VER_PRID 0 #define CFN_VER_SPVER 0x6100 #define CFN_VER_PRVER 0x0000 #define CFN_VER_PRNO1 0 #define CFN_VER_PRNO2 0 #define CFN_VER_PRNO3 0 #define CFN_VER_PRNO4 0 #define CFN_REALMEMEND ((VP)0x00007fff) /* * Initial task priority */ #define INIT_TASK_PRI (MAX_PRI-2) /* * Use non-clear section */ #define USE_NOINIT (1) /* * Use dynamic memory allocation */ #define USE_IMALLOC (1) /* * Use program trace function (in debugger support) */ #define USE_HOOK_TRACE (0) /* * Use clean-up sequence */ #define USE_CLEANUP (1) /* * Use full interrupt vector */ #define USE_FULL_VECTOR (1) /* * Use high level programming language support routine */ #define USE_HLL_INTHDR (1) /* * Use dynamic interrupt handler change * USE_FULL_VECTOR must be set to 0 if this macro is set to 0. */ #define USE_DYNAMIC_INTHDR (1)