Changeset 304


Ignore:
Timestamp:
Jun 26, 2017, 5:33:59 PM (7 years ago)
Author:
ertl-honda
Message:

コンフィギュレータをruby版に変更

Location:
asp3_wo_tecs/trunk
Files:
50 added
39 deleted
60 edited

Legend:

Unmodified
Added
Removed
  • asp3_wo_tecs/trunk/README.txt

    r302 r304  
    11
    2         TOPPERS/ASP3 Kernel(Release 3.B.0)
     2        TOPPERS/ASP3 Kernel(Release 3.0.0)
    33                Toyohashi Open Platform for Embedded Real-Time Systems/
    44                Advanced Standard Profile Kernel
     
    1616
    1717ASP3カーネルの仕様概要がdoc/asp_spec.txtに,ユーザーズマニュアルが
    18 doc/user.txtにあります.ASP3カーネルを使用する場合には,まずはこれらの
    19 ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã‚’お読み下さい.
     18doc/user.txtにあります.また,従来のTOPPERSカーネルからASP3カーネルへ移
     19行するための方法を記述したマイグレーションガイドがdoc/migration.txtにあ
     20ります.ASP3カーネルを使用する場合には,まずはこれらのドキュメントをお
     21読み下さい.
    2022
    2123【ファイルの閲覧にあたって】
  • asp3_wo_tecs/trunk/arch/arm_gcc/common/Makefile.core

    r302 r304  
    3636#  コンフィギュレータ関係の変数の定義
    3737#
    38 CFG_TABS := $(CFG_TABS) --cfg1-def-table $(COREDIR)/core_def.csv
     38CFG_TABS := $(CFG_TABS) --symval-table $(COREDIR)/core_sym.def
    3939
    4040#
    4141#  オフセットファイル生成のための定義
    4242#
    43 OFFSET_TF = $(COREDIR)/core_offset.tf
     43TARGET_OFFSET_TRB = $(COREDIR)/core_offset.trb
    4444
    4545#
  • asp3_wo_tecs/trunk/arch/arm_gcc/common/arm_insn.h

    r302 r304  
    55 *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
    66 *                              Toyohashi Univ. of Technology, JAPAN
    7  *  Copyright (C) 2006-2015 by Embedded and Real-Time Systems Laboratory
     7 *  Copyright (C) 2006-2016 by Embedded and Real-Time Systems Laboratory
    88 *              Graduate School of Information Science, Nagoya Univ., JAPAN
    99 *
     
    5252 *  の責任を負わない.
    5353 *
    54  *  $Id: arm_insn.h 438 2015-08-09 01:37:47Z ertl-hiro $
     54 *  $Id: arm_insn.h 547 2016-01-16 06:26:08Z ertl-hiro $
    5555 */
    5656
     
    365365 *  では最大範囲(システムå
    366366¨ä½“,リード/ライトの両方)で同期を取る.
     367 *
     368 *  ARMv5以前では,メモリバリア機能は実è£
     369依存であるため,それぞれ,
     370 *  DATA_MEMORY_BARRIER,DATA_SYNC_BARRIER,INST_SYNC_BARRIERを定義する
     371 *  ことによって,関数のå†
     372容をå
     373¥ã‚Œæ›ãˆã‚‰ã‚Œã‚‹ã‚ˆã†ã«ã—ている.
    367374 */
    368375
     
    377384data_memory_barrier(void)
    378385{
    379 #if __TARGET_ARCH_ARM <= 6
     386#ifdef DATA_MEMORY_BARRIER
     387        DATA_MEMORY_BARRIER();
     388#elif __TARGET_ARCH_ARM <= 6
    380389        CP15_DATA_MEMORY_BARRIER();
    381390#else /* __TARGET_ARCH_ARM <= 6 */
    382391        Asm("dmb":::"memory");
    383 #endif /* __TARGET_ARCH_ARM <= 6 */
     392#endif
    384393}
    385394
     
    396405data_sync_barrier(void)
    397406{
    398 #if __TARGET_ARCH_ARM <= 6
     407#ifdef DATA_SYNC_BARRIER
     408        DATA_SYNC_BARRIER();
     409#elif __TARGET_ARCH_ARM <= 6
    399410        CP15_DATA_SYNC_BARRIER();
    400411#else /* __TARGET_ARCH_ARM <= 6 */
    401412        Asm("dsb":::"memory");
    402 #endif /* __TARGET_ARCH_ARM <= 6 */
     413#endif
    403414}
    404415
     
    415426inst_sync_barrier(void)
    416427{
    417 #if __TARGET_ARCH_ARM <= 6
     428#ifdef INST_SYNC_BARRIER
     429        INST_SYNC_BARRIER();
     430#elif __TARGET_ARCH_ARM <= 6
    418431        CP15_INST_SYNC_BARRIER();
    419432#else /* __TARGET_ARCH_ARM <= 6 */
    420433        Asm("isb":::"memory");
    421 #endif /* __TARGET_ARCH_ARM <= 6 */
     434#endif
    422435}
    423436
  • asp3_wo_tecs/trunk/arch/arm_gcc/common/core_kernel_impl.h

    r302 r304  
    5353 *  の責任を負わない.
    5454 *
    55  *  $Id: core_kernel_impl.h 471 2015-12-30 10:03:16Z ertl-hiro $
     55 *  $Id: core_kernel_impl.h 546 2016-01-16 06:00:09Z ertl-hiro $
    5656 */
    5757
     
    482482 *  変換テーブルベースレジスタ(TTBR)の設定値
    483483 */
    484 #if __TARGET_ARCH_ARM < 7
     484#if __TARGET_ARCH_ARM < 6
     485#define TTBR_CONFIG             0U
     486#elif __TARGET_ARCH_ARM < 7
    485487#define TTBR_CONFIG             (CP15_TTBR_RGN_CACHEABLE|CP15_TTBR_RGN_SHAREABLE \
    486488                                                                                                |CP15_TTBR_RGN_WBACK)
     
    488490#define TTBR_CONFIG             (CP15_TTBR_RGN_SHAREABLE|CP15_TTBR_RGN_WBWA \
    489491                                                                                                |CP15_TTBR_IRGN_WBWA)
    490 #endif /* __TARGET_ARCH_ARM < 7 */
     492#endif
    491493
    492494#ifndef TOPPERS_MACRO_ONLY
  • asp3_wo_tecs/trunk/arch/arm_gcc/common/core_rename.h

    r302 r304  
    6363#define arm_memory_area                         _kernel_arm_memory_area
    6464
    65 #ifdef TOPPERS_LABEL_ASM
    66 
    67 /*
    68  *  kernel_cfg.c
    69  */
    70 #define _inh_table                                      __kernel_inh_table
    71 #define _intcfg_table                           __kernel_intcfg_table
    72 #define _exc_table                                      __kernel_exc_table
    73 
    74 /*
    75  *  core_support.S
    76  */
    77 #define _dispatch                                       __kernel_dispatch
    78 #define _start_dispatch                         __kernel_start_dispatch
    79 #define _exit_and_dispatch                      __kernel_exit_and_dispatch
    80 #define _call_exit_kernel                       __kernel_call_exit_kernel
    81 #define _start_r                                        __kernel_start_r
    82 #define _irq_handler                            __kernel_irq_handler
    83 #define _undef_handler                          __kernel_undef_handler
    84 #define _svc_handler                            __kernel_svc_handler
    85 #define _pabort_handler                         __kernel_pabort_handler
    86 #define _dabort_handler                         __kernel_dabort_handler
    87 #define _fiq_handler                            __kernel_fiq_handler
    88 #define _current_cpsr                           __kernel_current_cpsr
    89 #define _set_cpsr                                       __kernel_set_cpsr
    90 
    91 /*
    92  *  core_kernel_impl.c
    93  */
    94 #define _excpt_nest_count                       __kernel_excpt_nest_count
    95 #define _arm_mmu_initialize                     __kernel_arm_mmu_initialize
    96 #define _core_initialize                        __kernel_core_initialize
    97 #define _core_terminate                         __kernel_core_terminate
    98 #define _xlog_sys                                       __kernel_xlog_sys
    99 #define _xlog_fsr                                       __kernel_xlog_fsr
    100 #define _default_int_handler            __kernel_default_int_handler
    101 #define _default_exc_handler            __kernel_default_exc_handler
    102 
    103 /*
    104  *  gic_kernel_impl.c
    105  */
    106 #define _gicc_initialize                        __kernel_gicc_initialize
    107 #define _gicc_terminate                         __kernel_gicc_terminate
    108 #define _gicd_initialize                        __kernel_gicd_initialize
    109 #define _gicd_terminate                         __kernel_gicd_terminate
    110 
    111 /*
    112  *  gic_support.S
    113  */
    114 #define _irc_begin_int                          __kernel_irc_begin_int
    115 #define _irc_end_int                            __kernel_irc_end_int
    116 #define _irc_get_intpri                         __kernel_irc_get_intpri
    117 #define _irc_begin_exc                          __kernel_irc_begin_exc
    118 #define _irc_end_exc                            __kernel_irc_end_exc
    119 
    120 /*
    121  *  target_kernel_impl.c
    122  */
    123 #define _arm_tnum_memory_area           __kernel_arm_tnum_memory_area
    124 #define _arm_memory_area                        __kernel_arm_memory_area
    125 
    126 #endif /* TOPPERS_LABEL_ASM */
    127 
    12865
    12966#endif /* TOPPERS_CORE_RENAME_H */
  • asp3_wo_tecs/trunk/arch/arm_gcc/common/core_unrename.h

    r302 r304  
    6464#undef arm_memory_area
    6565
    66 #ifdef TOPPERS_LABEL_ASM
    67 
    68 /*
    69  *  kernel_cfg.c
    70  */
    71 #undef _inh_table
    72 #undef _intcfg_table
    73 #undef _exc_table
    74 
    75 /*
    76  *  core_support.S
    77  */
    78 #undef _dispatch
    79 #undef _start_dispatch
    80 #undef _exit_and_dispatch
    81 #undef _call_exit_kernel
    82 #undef _start_r
    83 #undef _irq_handler
    84 #undef _undef_handler
    85 #undef _svc_handler
    86 #undef _pabort_handler
    87 #undef _dabort_handler
    88 #undef _fiq_handler
    89 #undef _current_cpsr
    90 #undef _set_cpsr
    91 
    92 /*
    93  *  core_kernel_impl.c
    94  */
    95 #undef _excpt_nest_count
    96 #undef _arm_mmu_initialize
    97 #undef _core_initialize
    98 #undef _core_terminate
    99 #undef _xlog_sys
    100 #undef _xlog_fsr
    101 #undef _default_int_handler
    102 #undef _default_exc_handler
    103 
    104 /*
    105  *  gic_kernel_impl.c
    106  */
    107 #undef _gicc_initialize
    108 #undef _gicc_terminate
    109 #undef _gicd_initialize
    110 #undef _gicd_terminate
    111 
    112 /*
    113  *  gic_support.S
    114  */
    115 #undef _irc_begin_int
    116 #undef _irc_end_int
    117 #undef _irc_get_intpri
    118 #undef _irc_begin_exc
    119 #undef _irc_end_exc
    120 
    121 /*
    122  *  target_kernel_impl.c
    123  */
    124 #undef _arm_tnum_memory_area
    125 #undef _arm_memory_area
    126 
    127 #endif /* TOPPERS_LABEL_ASM */
    128 
    12966
    13067#endif /* TOPPERS_CORE_RENAME_H */
  • asp3_wo_tecs/trunk/arch/arm_gcc/mpcore/chip_rename.h

    r302 r304  
    1818
    1919
    20 #ifdef TOPPERS_LABEL_ASM
    21 
    22 /*
    23  *  chip_kernel_impl.c
    24  */
    25 #define _chip_initialize                        __kernel_chip_initialize
    26 #define _chip_terminate                         __kernel_chip_terminate
    27 
    28 /*
    29  *  chip_timer.c
    30  */
    31 #define _target_hrt_initialize          __kernel_target_hrt_initialize
    32 #define _target_hrt_terminate           __kernel_target_hrt_terminate
    33 #define _target_hrt_handler                     __kernel_target_hrt_handler
    34 
    35 
    36 #endif /* TOPPERS_LABEL_ASM */
    37 
    3820#include "core_rename.h"
    3921
  • asp3_wo_tecs/trunk/arch/arm_gcc/mpcore/chip_unrename.h

    r302 r304  
    1919
    2020
    21 #ifdef TOPPERS_LABEL_ASM
    22 
    23 /*
    24  *  chip_kernel_impl.c
    25  */
    26 #undef _chip_initialize
    27 #undef _chip_terminate
    28 
    29 /*
    30  *  chip_timer.c
    31  */
    32 #undef _target_hrt_initialize
    33 #undef _target_hrt_terminate
    34 #undef _target_hrt_handler
    35 
    36 
    37 #endif /* TOPPERS_LABEL_ASM */
    38 
    3921#include "core_unrename.h"
    4022
  • asp3_wo_tecs/trunk/arch/arm_m_gcc/common/Makefile.core

    r303 r304  
    9292#  コンフィギュレータ関係の変数の定義
    9393#
    94 cfg1_out.c: $(COREDIR)/core_def.csv
    95 kernel_cfg.timestamp: $(COREDIR)/core.tf
    96 #CFG_TABS := $(CFG_TABS) --symval-table $(COREDIR)/core_sym.def
     94CFG_TABS := $(CFG_TABS) --symval-table $(COREDIR)/core_sym.def
    9795
    9896#
    9997#  オフセットファイル生成のための定義(ToDo)
    10098#
    101 OFFSET_TF = $(COREDIR)/core_offset.tf
    102 #TARGET_OFFSET_TRB = $(COREDIR)/core_offset.trb
     99TARGET_OFFSET_TRB = $(COREDIR)/core_offset.trb
    103100
    104101#
     
    153150        CDEFS := $(CDEFS) -D$(FPU_ARCH_MACRO) -DTOPPERS_FPU_ENABLE -DTOPPERS_FPU_LAZYSTACKING -DTOPPERS_FPU_CONTEXT
    154151endif
    155 
    156 #
    157 #  コンフィギュレータ関係の変数の定義
    158 #
    159 CFG_TABS := $(CFG_TABS) --cfg1-def-table $(COREDIR)/core_def.csv
  • asp3_wo_tecs/trunk/arch/arm_m_gcc/common/core_cfg1_out.h

    r302 r304  
    6161 */
    6262
    63 void sta_ker(void){}
     63void start(void){}
    6464
    6565/*
  • asp3_wo_tecs/trunk/arch/arm_m_gcc/common/core_kernel_impl.h

    r303 r304  
    482482 *  スタートアップルーチン(start.S)
    483483 */
    484 extern void _kernel_start(void);
     484extern void start(void);
    485485
    486486/*
  • asp3_wo_tecs/trunk/arch/arm_m_gcc/common/core_rename.h

    r302 r304  
    4040
    4141
    42 #ifdef TOPPERS_LABEL_ASM
    43 
    44 /*
    45  *  core_kernel_impl.c
    46  */
    47 #define _exc_tbl                                        __kernel_exc_tbl
    48 #define _vector_table                           __kernel_vector_table
    49 #define _lock_flag                                      __kernel_lock_flag
    50 #define _saved_iipm                                     __kernel_saved_iipm
    51 #define _default_exc_handler            __kernel_default_exc_handler
    52 #define _default_int_handler            __kernel_default_int_handler
    53 #define _config_int                                     __kernel_config_int
    54 #define _core_initialize                        __kernel_core_initialize
    55 #define _core_terminate                         __kernel_core_terminate
    56 #define _bitpat_cfgint                          __kernel_bitpat_cfgint
    57 #define _set_exc_int_priority           __kernel_set_exc_int_priority
    58 #define _enable_exc                                     __kernel_enable_exc
    59 #define _disable_exc                            __kernel_disable_exc
    60 
    61 /*
    62  *  core_support.S
    63  */
    64 #define _core_int_entry                         __kernel_core_int_entry
    65 #define _core_exc_entry                         __kernel_core_exc_entry
    66 #define _ret_int                                        __kernel_ret_int
    67 #define _ret_int_r                                      __kernel_ret_int_r
    68 #define _ret_exc                                        __kernel_ret_exc
    69 #define _svc_handler                            __kernel_svc_handler
    70 #define _svc_vector_tbl                         __kernel_svc_vector_tbl
    71 #define _start_r                                        __kernel_start_r
    72 #define _dispatcher                                     __kernel_dispatcher
    73 #define _dispatch                                       __kernel_dispatch
    74 #define _dispatch_r                                     __kernel_dispatch_r
    75 #define _start_dispatch                         __kernel_start_dispatch
    76 #define _exit_and_dispatch                      __kernel_exit_and_dispatch
    77 #define _call_exit_kernel                       __kernel_call_exit_kernel
    78 
    79 
    80 #endif /* TOPPERS_LABEL_ASM */
    81 
    8242
    8343#endif /* TOPPERS_CORE_RENAME_H */
  • asp3_wo_tecs/trunk/arch/arm_m_gcc/common/core_unrename.h

    r302 r304  
    4141
    4242
    43 #ifdef TOPPERS_LABEL_ASM
    44 
    45 /*
    46  *  core_kernel_impl.c
    47  */
    48 #undef _exc_tbl
    49 #undef _vector_table
    50 #undef _lock_flag
    51 #undef _saved_iipm
    52 #undef _default_exc_handler
    53 #undef _default_int_handler
    54 #undef _config_int
    55 #undef _core_initialize
    56 #undef _core_terminate
    57 #undef _bitpat_cfgint
    58 #undef _set_exc_int_priority
    59 #undef _enable_exc
    60 #undef _disable_exc
    61 
    62 /*
    63  *  core_support.S
    64  */
    65 #undef _core_int_entry
    66 #undef _core_exc_entry
    67 #undef _ret_int
    68 #undef _ret_int_r
    69 #undef _ret_exc
    70 #undef _svc_handler
    71 #undef _svc_vector_tbl
    72 #undef _start_r
    73 #undef _dispatcher
    74 #undef _dispatch
    75 #undef _dispatch_r
    76 #undef _start_dispatch
    77 #undef _exit_and_dispatch
    78 #undef _call_exit_kernel
    79 
    80 
    81 #endif /* TOPPERS_LABEL_ASM */
    82 
    8343
    8444#endif /* TOPPERS_CORE_RENAME_H */
  • asp3_wo_tecs/trunk/arch/arm_m_gcc/stm32f4xx_stm32cube/chip_rename.def

    r303 r304  
    1 INCLUDE "arm_m_gcc/common/core"
     1INCLUDE "core"
  • asp3_wo_tecs/trunk/arch/arm_m_gcc/stm32f4xx_stm32cube/chip_rename.h

    r303 r304  
    55
    66
    7 #ifdef TOPPERS_LABEL_ASM
    8 
    9 
    10 #endif /* TOPPERS_LABEL_ASM */
    11 
    127#include "core_rename.h"
    138
  • asp3_wo_tecs/trunk/arch/arm_m_gcc/stm32f4xx_stm32cube/chip_unrename.h

    r303 r304  
    66
    77
    8 #ifdef TOPPERS_LABEL_ASM
    9 
    10 
    11 #endif /* TOPPERS_LABEL_ASM */
    12 
    138#include "core_unrename.h"
    149
  • asp3_wo_tecs/trunk/kernel/kernel_rename.h

    r302 r304  
    184184
    185185
    186 #ifdef TOPPERS_LABEL_ASM
    187 
    188 /*
    189  *  startup.c
    190  */
    191 #define _kerflg                                         __kernel_kerflg
    192 #define _exit_kernel                            __kernel_exit_kernel
    193 
    194 /*
    195  *  task.c
    196  */
    197 #define _p_runtsk                                       __kernel_p_runtsk
    198 #define _p_schedtsk                                     __kernel_p_schedtsk
    199 #define _enadsp                                         __kernel_enadsp
    200 #define _dspflg                                         __kernel_dspflg
    201 #define _ready_queue                            __kernel_ready_queue
    202 #define _ready_primap                           __kernel_ready_primap
    203 #define _initialize_task                        __kernel_initialize_task
    204 #define _search_schedtsk                        __kernel_search_schedtsk
    205 #define _make_runnable                          __kernel_make_runnable
    206 #define _make_non_runnable                      __kernel_make_non_runnable
    207 #define _make_dormant                           __kernel_make_dormant
    208 #define _make_active                            __kernel_make_active
    209 #define _change_priority                        __kernel_change_priority
    210 #define _rotate_ready_queue                     __kernel_rotate_ready_queue
    211 #define _task_terminate                         __kernel_task_terminate
    212 
    213 /*
    214  *  taskhook.c
    215  */
    216 #define _mtxhook_check_ceilpri          __kernel_mtxhook_check_ceilpri
    217 #define _mtxhook_scan_ceilmtx           __kernel_mtxhook_scan_ceilmtx
    218 #define _mtxhook_release_all            __kernel_mtxhook_release_all
    219 
    220 /*
    221  *  wait.c
    222  */
    223 #define _make_wait_tmout                        __kernel_make_wait_tmout
    224 #define _wait_complete                          __kernel_wait_complete
    225 #define _wait_tmout                                     __kernel_wait_tmout
    226 #define _wait_tmout_ok                          __kernel_wait_tmout_ok
    227 #define _wobj_make_wait                         __kernel_wobj_make_wait
    228 #define _wobj_make_wait_tmout           __kernel_wobj_make_wait_tmout
    229 #define _init_wait_queue                        __kernel_init_wait_queue
    230 
    231 /*
    232  *  time_event.c
    233  */
    234 #define _boundary_evttim                        __kernel_boundary_evttim
    235 #define _current_evttim                         __kernel_current_evttim
    236 #define _current_hrtcnt                         __kernel_current_hrtcnt
    237 #define _monotonic_evttim                       __kernel_monotonic_evttim
    238 #define _systim_offset                          __kernel_systim_offset
    239 #define _in_signal_time                         __kernel_in_signal_time
    240 #define _initialize_tmevt                       __kernel_initialize_tmevt
    241 #define _tmevt_up                                       __kernel_tmevt_up
    242 #define _tmevt_down                                     __kernel_tmevt_down
    243 #define _update_current_evttim          __kernel_update_current_evttim
    244 #define _set_hrt_event                          __kernel_set_hrt_event
    245 #define _tmevtb_register                        __kernel_tmevtb_register
    246 #define _tmevtb_enqueue                         __kernel_tmevtb_enqueue
    247 #define _tmevtb_dequeue                         __kernel_tmevtb_dequeue
    248 #define _check_adjtim                           __kernel_check_adjtim
    249 #define _tmevt_lefttim                          __kernel_tmevt_lefttim
    250 #define _signal_time                            __kernel_signal_time
    251 
    252 /*
    253  *  semaphore.c
    254  */
    255 #define _initialize_semaphore           __kernel_initialize_semaphore
    256 
    257 /*
    258  *  eventflag.c
    259  */
    260 #define _initialize_eventflag           __kernel_initialize_eventflag
    261 #define _check_flg_cond                         __kernel_check_flg_cond
    262 
    263 /*
    264  *  dataqueue.c
    265  */
    266 #define _initialize_dataqueue           __kernel_initialize_dataqueue
    267 #define _enqueue_data                           __kernel_enqueue_data
    268 #define _force_enqueue_data                     __kernel_force_enqueue_data
    269 #define _dequeue_data                           __kernel_dequeue_data
    270 #define _send_data                                      __kernel_send_data
    271 #define _force_send_data                        __kernel_force_send_data
    272 #define _receive_data                           __kernel_receive_data
    273 
    274 /*
    275  *  pridataq.c
    276  */
    277 #define _initialize_pridataq            __kernel_initialize_pridataq
    278 #define _enqueue_pridata                        __kernel_enqueue_pridata
    279 #define _dequeue_pridata                        __kernel_dequeue_pridata
    280 #define _send_pridata                           __kernel_send_pridata
    281 #define _receive_pridata                        __kernel_receive_pridata
    282 
    283 /*
    284  *  mutex.c
    285  */
    286 #define _initialize_mutex                       __kernel_initialize_mutex
    287 #define _mutex_check_ceilpri            __kernel_mutex_check_ceilpri
    288 #define _mutex_scan_ceilmtx                     __kernel_mutex_scan_ceilmtx
    289 #define _mutex_drop_priority            __kernel_mutex_drop_priority
    290 #define _mutex_acquire                          __kernel_mutex_acquire
    291 #define _mutex_release                          __kernel_mutex_release
    292 #define _mutex_release_all                      __kernel_mutex_release_all
    293 
    294 /*
    295  *  mempfix.c
    296  */
    297 #define _initialize_mempfix                     __kernel_initialize_mempfix
    298 #define _get_mpf_block                          __kernel_get_mpf_block
    299 
    300 /*
    301  *  cyclic.c
    302  */
    303 #define _initialize_cyclic                      __kernel_initialize_cyclic
    304 #define _call_cyclic                            __kernel_call_cyclic
    305 
    306 /*
    307  *  alarm.c
    308  */
    309 #define _initialize_alarm                       __kernel_initialize_alarm
    310 #define _call_alarm                                     __kernel_call_alarm
    311 
    312 /*
    313  *  interrupt.c
    314  */
    315 #define _initialize_interrupt           __kernel_initialize_interrupt
    316 
    317 /*
    318  *  exception.c
    319  */
    320 #define _initialize_exception           __kernel_initialize_exception
    321 
    322 /*
    323  *  kernel_cfg.c
    324  */
    325 #define _initialize_object                      __kernel_initialize_object
    326 #define _call_inirtn                            __kernel_call_inirtn
    327 #define _call_terrtn                            __kernel_call_terrtn
    328 #define _tmax_tskid                                     __kernel_tmax_tskid
    329 #define _tinib_table                            __kernel_tinib_table
    330 #define _torder_table                           __kernel_torder_table
    331 #define _tcb_table                                      __kernel_tcb_table
    332 #define _tmax_semid                                     __kernel_tmax_semid
    333 #define _seminib_table                          __kernel_seminib_table
    334 #define _semcb_table                            __kernel_semcb_table
    335 #define _tmax_flgid                                     __kernel_tmax_flgid
    336 #define _flginib_table                          __kernel_flginib_table
    337 #define _flgcb_table                            __kernel_flgcb_table
    338 #define _tmax_dtqid                                     __kernel_tmax_dtqid
    339 #define _dtqinib_table                          __kernel_dtqinib_table
    340 #define _dtqcb_table                            __kernel_dtqcb_table
    341 #define _tmax_pdqid                                     __kernel_tmax_pdqid
    342 #define _pdqinib_table                          __kernel_pdqinib_table
    343 #define _pdqcb_table                            __kernel_pdqcb_table
    344 #define _tmax_mtxid                                     __kernel_tmax_mtxid
    345 #define _mtxinib_table                          __kernel_mtxinib_table
    346 #define _mtxcb_table                            __kernel_mtxcb_table
    347 #define _tmax_mpfid                                     __kernel_tmax_mpfid
    348 #define _mpfinib_table                          __kernel_mpfinib_table
    349 #define _mpfcb_table                            __kernel_mpfcb_table
    350 #define _tmax_cycid                                     __kernel_tmax_cycid
    351 #define _cycinib_table                          __kernel_cycinib_table
    352 #define _cyccb_table                            __kernel_cyccb_table
    353 #define _tmax_almid                                     __kernel_tmax_almid
    354 #define _alminib_table                          __kernel_alminib_table
    355 #define _almcb_table                            __kernel_almcb_table
    356 #define _tnum_def_inhno                         __kernel_tnum_def_inhno
    357 #define _inhinib_table                          __kernel_inhinib_table
    358 #define _tnum_cfg_intno                         __kernel_tnum_cfg_intno
    359 #define _intinib_table                          __kernel_intinib_table
    360 #define _tnum_def_excno                         __kernel_tnum_def_excno
    361 #define _excinib_table                          __kernel_excinib_table
    362 #define _tmevt_heap                                     __kernel_tmevt_heap
    363 #define _istksz                                         __kernel_istksz
    364 #define _istk                                           __kernel_istk
    365 #define _istkpt                                         __kernel_istkpt
    366 
    367 
    368 #endif /* TOPPERS_LABEL_ASM */
    369 
    370186#include "target_rename.h"
    371187
  • asp3_wo_tecs/trunk/kernel/kernel_unrename.h

    r302 r304  
    185185
    186186
    187 #ifdef TOPPERS_LABEL_ASM
    188 
    189 /*
    190  *  startup.c
    191  */
    192 #undef _kerflg
    193 #undef _exit_kernel
    194 
    195 /*
    196  *  task.c
    197  */
    198 #undef _p_runtsk
    199 #undef _p_schedtsk
    200 #undef _enadsp
    201 #undef _dspflg
    202 #undef _ready_queue
    203 #undef _ready_primap
    204 #undef _initialize_task
    205 #undef _search_schedtsk
    206 #undef _make_runnable
    207 #undef _make_non_runnable
    208 #undef _make_dormant
    209 #undef _make_active
    210 #undef _change_priority
    211 #undef _rotate_ready_queue
    212 #undef _task_terminate
    213 
    214 /*
    215  *  taskhook.c
    216  */
    217 #undef _mtxhook_check_ceilpri
    218 #undef _mtxhook_scan_ceilmtx
    219 #undef _mtxhook_release_all
    220 
    221 /*
    222  *  wait.c
    223  */
    224 #undef _make_wait_tmout
    225 #undef _wait_complete
    226 #undef _wait_tmout
    227 #undef _wait_tmout_ok
    228 #undef _wobj_make_wait
    229 #undef _wobj_make_wait_tmout
    230 #undef _init_wait_queue
    231 
    232 /*
    233  *  time_event.c
    234  */
    235 #undef _boundary_evttim
    236 #undef _current_evttim
    237 #undef _current_hrtcnt
    238 #undef _monotonic_evttim
    239 #undef _systim_offset
    240 #undef _in_signal_time
    241 #undef _initialize_tmevt
    242 #undef _tmevt_up
    243 #undef _tmevt_down
    244 #undef _update_current_evttim
    245 #undef _set_hrt_event
    246 #undef _tmevtb_register
    247 #undef _tmevtb_enqueue
    248 #undef _tmevtb_dequeue
    249 #undef _check_adjtim
    250 #undef _tmevt_lefttim
    251 #undef _signal_time
    252 
    253 /*
    254  *  semaphore.c
    255  */
    256 #undef _initialize_semaphore
    257 
    258 /*
    259  *  eventflag.c
    260  */
    261 #undef _initialize_eventflag
    262 #undef _check_flg_cond
    263 
    264 /*
    265  *  dataqueue.c
    266  */
    267 #undef _initialize_dataqueue
    268 #undef _enqueue_data
    269 #undef _force_enqueue_data
    270 #undef _dequeue_data
    271 #undef _send_data
    272 #undef _force_send_data
    273 #undef _receive_data
    274 
    275 /*
    276  *  pridataq.c
    277  */
    278 #undef _initialize_pridataq
    279 #undef _enqueue_pridata
    280 #undef _dequeue_pridata
    281 #undef _send_pridata
    282 #undef _receive_pridata
    283 
    284 /*
    285  *  mutex.c
    286  */
    287 #undef _initialize_mutex
    288 #undef _mutex_check_ceilpri
    289 #undef _mutex_scan_ceilmtx
    290 #undef _mutex_drop_priority
    291 #undef _mutex_acquire
    292 #undef _mutex_release
    293 #undef _mutex_release_all
    294 
    295 /*
    296  *  mempfix.c
    297  */
    298 #undef _initialize_mempfix
    299 #undef _get_mpf_block
    300 
    301 /*
    302  *  cyclic.c
    303  */
    304 #undef _initialize_cyclic
    305 #undef _call_cyclic
    306 
    307 /*
    308  *  alarm.c
    309  */
    310 #undef _initialize_alarm
    311 #undef _call_alarm
    312 
    313 /*
    314  *  interrupt.c
    315  */
    316 #undef _initialize_interrupt
    317 
    318 /*
    319  *  exception.c
    320  */
    321 #undef _initialize_exception
    322 
    323 /*
    324  *  kernel_cfg.c
    325  */
    326 #undef _initialize_object
    327 #undef _call_inirtn
    328 #undef _call_terrtn
    329 #undef _tmax_tskid
    330 #undef _tinib_table
    331 #undef _torder_table
    332 #undef _tcb_table
    333 #undef _tmax_semid
    334 #undef _seminib_table
    335 #undef _semcb_table
    336 #undef _tmax_flgid
    337 #undef _flginib_table
    338 #undef _flgcb_table
    339 #undef _tmax_dtqid
    340 #undef _dtqinib_table
    341 #undef _dtqcb_table
    342 #undef _tmax_pdqid
    343 #undef _pdqinib_table
    344 #undef _pdqcb_table
    345 #undef _tmax_mtxid
    346 #undef _mtxinib_table
    347 #undef _mtxcb_table
    348 #undef _tmax_mpfid
    349 #undef _mpfinib_table
    350 #undef _mpfcb_table
    351 #undef _tmax_cycid
    352 #undef _cycinib_table
    353 #undef _cyccb_table
    354 #undef _tmax_almid
    355 #undef _alminib_table
    356 #undef _almcb_table
    357 #undef _tnum_def_inhno
    358 #undef _inhinib_table
    359 #undef _tnum_cfg_intno
    360 #undef _intinib_table
    361 #undef _tnum_def_excno
    362 #undef _excinib_table
    363 #undef _tmevt_heap
    364 #undef _istksz
    365 #undef _istk
    366 #undef _istkpt
    367 
    368 
    369 #endif /* TOPPERS_LABEL_ASM */
    370 
    371187#include "target_unrename.h"
    372188
  • asp3_wo_tecs/trunk/sample/Makefile

    r302 r304  
    192192#  ターゲットファイル(複数を同時に選択してはならない)
    193193#
    194 all: $(OBJFILE)
    195 #all: $(OBJNAME).bin
    196 #all: $(OBJNAME).srec
     194.PHONY: all
     195all: check
     196#all: check $(OBJNAME).bin
     197#all: check $(OBJNAME).srec
    197198
    198199##### 以下は編集しないこと #####
     
    201202#  コンフィギュレータに関する定義
    202203#
    203 CFG_TABS := --api-table $(SRCDIR)/kernel/kernel_api.csv \
    204                         --cfg1-def-table $(SRCDIR)/kernel/kernel_def.csv $(CFG_TABS)
     204CFG_TABS := --api-table $(SRCDIR)/kernel/kernel_api.def \
     205                        --symval-table $(SRCDIR)/kernel/kernel_sym.def $(CFG_TABS)
    205206CFG_ASMOBJS := $(CFG_ASMOBJS)
    206207CFG_COBJS := kernel_cfg.o $(CFG_COBJS)
     
    243244        OFFSET_H = offset.h
    244245endif
    245 ifndef OFFSET_TF
    246         OFFSET_TF := $(TARGETDIR)/target_offset.tf
    247 endif
    248 ifndef TARGET_TF
    249         TARGET_TF := $(TARGETDIR)/target.tf
    250 endif
    251 ifndef TARGET_CHECK_TF
    252         TARGET_CHECK_TF := $(TARGETDIR)/target_check.tf
     246ifndef TARGET_OFFSET_TRB
     247        TARGET_OFFSET_TRB := $(TARGETDIR)/target_offset.trb
     248endif
     249ifndef TARGET_KERNEL_TRB
     250        TARGET_KERNEL_TRB := $(TARGETDIR)/target_kernel.trb
     251endif
     252ifndef TARGET_CHECK_TRB
     253        TARGET_CHECK_TRB := $(TARGETDIR)/target_check.trb
     254endif
     255ifndef TARGET_KERNEL_CFG
     256        TARGET_KERNEL_CFG := $(TARGETDIR)/target_kernel.cfg
    253257endif
    254258
     
    291295#  カーネルのコンフィギュレーションファイルの生成
    292296#
    293 cfg1_out.c: $(APPL_CFG)
    294         $(CFG) --pass 1 --kernel asp $(INCLUDES) $(CFG_TABS) $<
    295         $(CFG) -M cfg1_out.c $(INCLUDES) $< > $(DEPDIR)/cfg1_out_c.d
    296 
    297 $(CFG1_OUT) cfg1_out.syms cfg1_out.srec: \
    298                                         $(START_OBJS) cfg1_out.o $(END_OBJS) $(HIDDEN_OBJS)
     297cfg1_out.c cfg1_out.db: cfg1_out.timestamp ;
     298cfg1_out.timestamp: $(APPL_CFG) $(TECSGEN_TIMESTAMP)
     299        $(CFG) --pass 1 --kernel asp $(INCLUDES) $(CFG_TABS) \
     300                                                -M $(DEPDIR)/cfg1_out_c.d $(TARGET_KERNEL_CFG) $<
     301
     302$(CFG1_OUT): $(START_OBJS) cfg1_out.o $(END_OBJS) $(HIDDEN_OBJS)
    299303        $(LINK) $(CFLAGS) $(LDFLAGS) $(CFG1_OUT_LDFLAGS) -o $(CFG1_OUT) \
    300304                                                $(START_OBJS) cfg1_out.o $(END_OBJS)
     305
     306cfg1_out.syms: $(CFG1_OUT)
    301307        $(NM) -n $(CFG1_OUT) > cfg1_out.syms
     308
     309cfg1_out.srec: $(CFG1_OUT)
    302310        $(OBJCOPY) -O srec -S $(CFG1_OUT) cfg1_out.srec
    303311
    304 $(CFG2_OUT_SRCS): kernel_cfg.timestamp
    305 kernel_cfg.timestamp: $(APPL_CFG) cfg1_out.syms cfg1_out.srec
    306         $(CFG) --pass 2 --kernel asp $(INCLUDES) -T $(TARGET_TF) $(CFG_TABS) $<
    307         $(SRCDIR)/utils/move-if-change kernel_cfg.h.new kernel_cfg.h
     312$(CFG2_OUT_SRCS) cfg2_out.db: kernel_cfg.timestamp ;
     313kernel_cfg.timestamp: cfg1_out.db cfg1_out.syms cfg1_out.srec
     314        $(CFG) --pass 2 --kernel asp $(INCLUDES) -T $(TARGET_KERNEL_TRB)
    308315
    309316#
    310317#  オフセットファイル(offset.h)の生成規則
    311318#
    312 $(OFFSET_H): offset.timestamp
    313 offset.timestamp: $(APPL_CFG) cfg1_out.syms cfg1_out.srec
    314         $(CFG) --pass 3 --kernel asp $(INCLUDES) \
    315                                 --rom-image cfg1_out.srec --symbol-table cfg1_out.syms \
    316                                 -T $(OFFSET_TF) $(CFG_TABS) $<
    317         $(SRCDIR)/utils/move-if-change offset.h.new offset.h
     319$(OFFSET_H): offset.timestamp ;
     320offset.timestamp: cfg1_out.db cfg1_out.syms cfg1_out.srec
     321        $(CFG) --pass 2 -O --kernel asp $(INCLUDES) -T $(TARGET_OFFSET_TRB) \
     322                                --rom-symbol cfg1_out.syms --rom-image cfg1_out.srec
    318323
    319324#
     
    334339¨ä½“のリンク
    335340#
    336 $(OBJFILE): $(APPL_CFG) kernel_cfg.h $(ALL_OBJS) $(LIBS_DEP)
     341$(OBJFILE): $(ALL_OBJS) $(LIBS_DEP)
    337342        $(LINK) $(CFLAGS) $(LDFLAGS) $(OBJ_LDFLAGS) -o $(OBJFILE) \
    338343                        $(START_OBJS) $(APPL_OBJS) $(SYSSVC_OBJS) $(CFG_OBJS) \
    339344                        $(ALL_LIBS) $(END_OBJS)
     345
     346#
     347#  シンボルファイルの生成
     348#
     349$(OBJNAME).syms: $(OBJFILE)
    340350        $(NM) -n $(OBJFILE) > $(OBJNAME).syms
    341         $(OBJCOPY) -O srec -S $(OBJFILE) $(OBJNAME).srec
    342         $(CFG) --pass 3 --kernel asp $(INCLUDES) \
    343                                 --rom-image $(OBJNAME).srec --symbol-table $(OBJNAME).syms \
    344                                 -T $(TARGET_CHECK_TF) $(CFG_TABS) $<
    345351
    346352#
     
    356362        $(OBJCOPY) -O srec -S $(OBJFILE) $(OBJNAME).srec
    357363
     364.PHONY: check
     365check: check.timestamp ;
     366check.timestamp: cfg2_out.db $(OBJNAME).syms $(OBJNAME).srec
     367        $(CFG) --pass 3 --kernel asp $(INCLUDES) -T $(TARGET_CHECK_TRB) \
     368                                --rom-symbol $(OBJNAME).syms --rom-image $(OBJNAME).srec
     369        @echo "configuration check passed"
     370
    358371#
    359372#  コンパイル結果の消去
     
    361374.PHONY: clean
    362375clean:
    363         rm -f \#* *~ *.o $(CLEAN_FILES) offset.timestamp $(OFFSET_H)
     376        rm -f \#* *~ *.o $(DEPDIR)/*.d $(CLEAN_FILES) check.timestamp
    364377        rm -f $(OBJFILE) $(OBJNAME).syms $(OBJNAME).srec $(OBJNAME).bin
    365         rm -f kernel_cfg.timestamp $(CFG2_OUT_SRCS)
    366         rm -f cfg1_out.c $(CFG1_OUT) cfg1_out.syms cfg1_out.srec
    367         rm -f $(DEPDIR)/*.d
     378        rm -f kernel_cfg.timestamp $(CFG2_OUT_SRCS) cfg2_out.db
     379        rm -f offset.timestamp $(OFFSET_H)
     380        rm -f cfg1_out.syms cfg1_out.srec $(CFG1_OUT)
     381        rm -f cfg1_out.timestamp cfg1_out.c cfg1_out.db
    368382ifndef KERNEL_LIB
    369383        rm -f libkernel.a
  • asp3_wo_tecs/trunk/sample/sample1.cfg

    r302 r304  
    44 *  $Id: sample1.cfg 326 2015-06-21 06:06:45Z ertl-hiro $
    55 */
    6 INCLUDE("target_timer.cfg");
    76INCLUDE("syssvc/syslog.cfg");
    87INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/target/ct11mpcore_gcc/Makefile.target

    r302 r304  
    7575
    7676#
    77 #  コンフィギュレータ関係の変数の定義
    78 #
    79 #CFG_TABS := $(CFG_TABS) --cfg1-def-table $(TARGETDIR)/target_def.csv
    80 
    81 #
    8277#  トレースログ記録のサンプルコードに関する定義
    8378#
  • asp3_wo_tecs/trunk/target/ct11mpcore_gcc/target_rename.h

    r302 r304  
    3131
    3232
    33 #ifdef TOPPERS_LABEL_ASM
    34 
    35 /*
    36  *  target_kernel_impl.c
    37  */
    38 #define _target_initialize                      __kernel_target_initialize
    39 #define _target_exit                            __kernel_target_exit
    40 
    41 /*
    42  *  target_timer.c
    43  */
    44 #define _target_ovrtimer_initialize     __kernel_target_ovrtimer_initialize
    45 #define _target_ovrtimer_terminate      __kernel_target_ovrtimer_terminate
    46 #define _target_ovrtimer_start          __kernel_target_ovrtimer_start
    47 #define _target_ovrtimer_stop           __kernel_target_ovrtimer_stop
    48 #define _target_ovrtimer_get_current    __kernel_target_ovrtimer_get_current
    49 #define _target_ovrtimer_handler        __kernel_target_ovrtimer_handler
    50 
    51 /*
    52  *  trace_config.c
    53  */
    54 #define _log_dsp_enter                          __kernel_log_dsp_enter
    55 #define _log_dsp_leave                          __kernel_log_dsp_leave
    56 #define _log_inh_enter                          __kernel_log_inh_enter
    57 #define _log_inh_leave                          __kernel_log_inh_leave
    58 #define _log_exc_enter                          __kernel_log_exc_enter
    59 #define _log_exc_leave                          __kernel_log_exc_leave
    60 
    61 
    62 #endif /* TOPPERS_LABEL_ASM */
    63 
    6433#include "chip_rename.h"
    6534
  • asp3_wo_tecs/trunk/target/ct11mpcore_gcc/target_unrename.h

    r302 r304  
    3232
    3333
    34 #ifdef TOPPERS_LABEL_ASM
    35 
    36 /*
    37  *  target_kernel_impl.c
    38  */
    39 #undef _target_initialize
    40 #undef _target_exit
    41 
    42 /*
    43  *  target_timer.c
    44  */
    45 #undef _target_ovrtimer_initialize
    46 #undef _target_ovrtimer_terminate
    47 #undef _target_ovrtimer_start
    48 #undef _target_ovrtimer_stop
    49 #undef _target_ovrtimer_get_current
    50 #undef _target_ovrtimer_handler
    51 
    52 /*
    53  *  trace_config.c
    54  */
    55 #undef _log_dsp_enter
    56 #undef _log_dsp_leave
    57 #undef _log_inh_enter
    58 #undef _log_inh_leave
    59 #undef _log_exc_enter
    60 #undef _log_exc_leave
    61 
    62 
    63 #endif /* TOPPERS_LABEL_ASM */
    64 
    6534#include "chip_unrename.h"
    6635
  • asp3_wo_tecs/trunk/target/dummy_gcc/Makefile.target

    r302 r304  
    4242#  コンフィギュレータ関係の変数の定義
    4343#
    44 CFG_TABS := $(CFG_TABS) --cfg1-def-table $(TARGETDIR)/target_def.csv
     44CFG_TABS := $(CFG_TABS) --symval-table $(TARGETDIR)/target_sym.def
    4545
    4646#
  • asp3_wo_tecs/trunk/target/dummy_gcc/target_rename.h

    r302 r304  
    4343#define log_exc_leave                           _kernel_log_exc_leave
    4444
    45 #ifdef TOPPERS_LABEL_ASM
    46 
    47 /*
    48  *  target_kernel_impl.c
    49  */
    50 #define _dispatch                                       __kernel_dispatch
    51 #define _start_dispatch                         __kernel_start_dispatch
    52 #define _exit_and_dispatch                      __kernel_exit_and_dispatch
    53 #define _ret_int                                        __kernel_ret_int
    54 #define _ret_exc                                        __kernel_ret_exc
    55 #define _call_exit_kernel                       __kernel_call_exit_kernel
    56 #define _start_r                                        __kernel_start_r
    57 #define _target_initialize                      __kernel_target_initialize
    58 #define _target_exit                            __kernel_target_exit
    59 
    60 /*
    61  *  target_timer.c
    62  */
    63 #define _target_hrt_initialize          __kernel_target_hrt_initialize
    64 #define _target_hrt_terminate           __kernel_target_hrt_terminate
    65 #define _target_hrt_get_current         __kernel_target_hrt_get_current
    66 #define _target_hrt_set_event           __kernel_target_hrt_set_event
    67 #define _target_hrt_raise_event         __kernel_target_hrt_raise_event
    68 #define _target_hrt_handler                     __kernel_target_hrt_handler
    69 #define _target_ovrtimer_initialize     __kernel_target_ovrtimer_initialize
    70 #define _target_ovrtimer_terminate      __kernel_target_ovrtimer_terminate
    71 #define _target_ovrtimer_start          __kernel_target_ovrtimer_start
    72 #define _target_ovrtimer_stop           __kernel_target_ovrtimer_stop
    73 #define _target_ovrtimer_get_current    __kernel_target_ovrtimer_get_current
    74 #define _target_ovrtimer_handler        __kernel_target_ovrtimer_handler
    75 
    76 /*
    77  *  trace_config.c
    78  */
    79 #define _log_dsp_enter                          __kernel_log_dsp_enter
    80 #define _log_dsp_leave                          __kernel_log_dsp_leave
    81 #define _log_inh_enter                          __kernel_log_inh_enter
    82 #define _log_inh_leave                          __kernel_log_inh_leave
    83 #define _log_exc_enter                          __kernel_log_exc_enter
    84 #define _log_exc_leave                          __kernel_log_exc_leave
    85 
    86 #endif /* TOPPERS_LABEL_ASM */
    87 
    8845
    8946#endif /* TOPPERS_TARGET_RENAME_H */
  • asp3_wo_tecs/trunk/target/dummy_gcc/target_unrename.h

    r302 r304  
    4444#undef log_exc_leave
    4545
    46 #ifdef TOPPERS_LABEL_ASM
    47 
    48 /*
    49  *  target_kernel_impl.c
    50  */
    51 #undef _dispatch
    52 #undef _start_dispatch
    53 #undef _exit_and_dispatch
    54 #undef _ret_int
    55 #undef _ret_exc
    56 #undef _call_exit_kernel
    57 #undef _start_r
    58 #undef _target_initialize
    59 #undef _target_exit
    60 
    61 /*
    62  *  target_timer.c
    63  */
    64 #undef _target_hrt_initialize
    65 #undef _target_hrt_terminate
    66 #undef _target_hrt_get_current
    67 #undef _target_hrt_set_event
    68 #undef _target_hrt_raise_event
    69 #undef _target_hrt_handler
    70 #undef _target_ovrtimer_initialize
    71 #undef _target_ovrtimer_terminate
    72 #undef _target_ovrtimer_start
    73 #undef _target_ovrtimer_stop
    74 #undef _target_ovrtimer_get_current
    75 #undef _target_ovrtimer_handler
    76 
    77 /*
    78  *  trace_config.c
    79  */
    80 #undef _log_dsp_enter
    81 #undef _log_dsp_leave
    82 #undef _log_inh_enter
    83 #undef _log_inh_leave
    84 #undef _log_exc_enter
    85 #undef _log_exc_leave
    86 
    87 #endif /* TOPPERS_LABEL_ASM */
    88 
    8946
    9047#endif /* TOPPERS_TARGET_RENAME_H */
  • asp3_wo_tecs/trunk/target/nucleo_f401re_gcc/target_rename.def

    r303 r304  
    1 INCLUDE "arm_m_gcc/stm32f4xx_stm32cube/chip"
     1INCLUDE "chip"
    22
    33#target_config.c
  • asp3_wo_tecs/trunk/target/nucleo_f401re_gcc/target_rename.h

    r303 r304  
    66
    77/*
    8  * target_config.c
     8 *  target_config.c
    99 */
    1010#define target_initialize                       _kernel_target_initialize
    1111#define target_exit                                     _kernel_target_exit
    1212
    13 #ifdef TOPPERS_LABEL_ASM
    14 
    15 
    16 /*
    17  * target_config.c
    18  */
    19 #define _target_initialize                      __kernel_target_initialize
    20 #define _target_exit                            __kernel_target_exit
    21 
    22 #endif /* TOPPERS_LABEL_ASM */
    23 
    2413#include "chip_rename.h"
    2514
  • asp3_wo_tecs/trunk/target/nucleo_f401re_gcc/target_unrename.h

    r303 r304  
    77
    88/*
    9  * target_config.c
     9 *  target_config.c
    1010 */
    1111#undef target_initialize
    1212#undef target_exit
    1313
    14 #ifdef TOPPERS_LABEL_ASM
    15 
    16 
    17 /*
    18  * target_config.c
    19  */
    20 #undef _target_initialize
    21 #undef _target_exit
    22 
    23 #endif /* TOPPERS_LABEL_ASM */
    24 
    2514#include "chip_unrename.h"
    2615
  • asp3_wo_tecs/trunk/test/MANIFEST

    r302 r304  
    3434perf5.cfg
    3535perf5.h
     36perf_pf.cdl
    3637test_cpuexc.cfg
    3738test_cpuexc.h
     
    5051test_dlynse.cfg
    5152test_dlynse.h
     53test_flg1.c
     54test_flg1.cfg
     55test_flg1.h
    5256test_hrt1.c
    5357test_hrt1.cfg
     
    7882test_notify1.cfg
    7983test_notify1.h
     84test_pf.cdl
    8085test_raster1.c
    8186test_raster1.cfg
  • asp3_wo_tecs/trunk/test/hrt_systim1.cfg

    r302 r304  
    55 *  $Id: hrt_systim1.cfg 326 2015-06-21 06:06:45Z ertl-hiro $
    66 */
    7 INCLUDE("target_timer.cfg");
    87INCLUDE("syssvc/syslog.cfg");
    98INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/hrt_systim2.cfg

    r302 r304  
    55 *  $Id: hrt_systim2.cfg 326 2015-06-21 06:06:45Z ertl-hiro $
    66 */
    7 INCLUDE("target_timer.cfg");
    87INCLUDE("syssvc/syslog.cfg");
    98INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/hrt_systim3.cfg

    r302 r304  
    55 *  $Id: hrt_systim3.cfg 326 2015-06-21 06:06:45Z ertl-hiro $
    66 */
    7 INCLUDE("target_timer.cfg");
    87INCLUDE("syssvc/syslog.cfg");
    98INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/hrt_systim4.cfg

    r302 r304  
    55 *  $Id: hrt_systim4.cfg 326 2015-06-21 06:06:45Z ertl-hiro $
    66 */
    7 INCLUDE("target_timer.cfg");
    87INCLUDE("syssvc/syslog.cfg");
    98INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/perf0.cfg

    r302 r304  
    44 *  $Id: perf0.cfg 326 2015-06-21 06:06:45Z ertl-hiro $
    55 */
    6 INCLUDE("target_timer.cfg");
    76INCLUDE("syssvc/syslog.cfg");
    87INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/perf1.cfg

    r302 r304  
    44 *  $Id: perf1.cfg 326 2015-06-21 06:06:45Z ertl-hiro $
    55 */
    6 INCLUDE("target_timer.cfg");
    76INCLUDE("syssvc/syslog.cfg");
    87INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/perf2.cfg

    r302 r304  
    44 *  $Id: perf2.cfg 326 2015-06-21 06:06:45Z ertl-hiro $
    55 */
    6 INCLUDE("target_timer.cfg");
    76INCLUDE("syssvc/syslog.cfg");
    87INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/perf3.cfg

    r302 r304  
    44 *  $Id: perf3.cfg 326 2015-06-21 06:06:45Z ertl-hiro $
    55 */
    6 INCLUDE("target_timer.cfg");
    76INCLUDE("syssvc/syslog.cfg");
    87INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/perf4.cfg

    r302 r304  
    44 *  $Id: perf4.cfg 326 2015-06-21 06:06:45Z ertl-hiro $
    55 */
    6 INCLUDE("target_timer.cfg");
    76INCLUDE("syssvc/syslog.cfg");
    87INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/perf5.cfg

    r302 r304  
    44 *  $Id: perf5.cfg 449 2015-08-14 01:26:43Z ertl-hiro $
    55 */
    6 INCLUDE("target_timer.cfg");
    76INCLUDE("syssvc/syslog.cfg");
    87INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/test_cpuexc.cfg

    r302 r304  
    44 *  $Id: test_cpuexc.cfg 404 2015-08-02 21:56:21Z ertl-hiro $
    55 */
    6 INCLUDE("target_timer.cfg");
    76INCLUDE("syssvc/syslog.cfg");
    87INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/test_dlynse.cfg

    r302 r304  
    44 *  $Id: test_dlynse.cfg 263 2014-10-05 13:30:34Z ertl-hiro $
    55 */
    6 INCLUDE("target_timer.cfg");
    76INCLUDE("syssvc/syslog.cfg");
    87INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/test_hrt1.cfg

    r302 r304  
    44 *  $Id: test_hrt1.cfg 326 2015-06-21 06:06:45Z ertl-hiro $
    55 */
    6 INCLUDE("target_timer.cfg");
    76INCLUDE("syssvc/syslog.cfg");
    87INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/test_mutex1.cfg

    r302 r304  
    44 *  $Id: test_mutex1.cfg 263 2014-10-05 13:30:34Z ertl-hiro $
    55 */
    6 INCLUDE("target_timer.cfg");
    76INCLUDE("syssvc/syslog.cfg");
    87INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/test_mutex2.cfg

    r302 r304  
    44 *  $Id: test_mutex2.cfg 263 2014-10-05 13:30:34Z ertl-hiro $
    55 */
    6 INCLUDE("target_timer.cfg");
    76INCLUDE("syssvc/syslog.cfg");
    87INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/test_mutex3.cfg

    r302 r304  
    44 *  $Id: test_mutex3.cfg 263 2014-10-05 13:30:34Z ertl-hiro $
    55 */
    6 INCLUDE("target_timer.cfg");
    76INCLUDE("syssvc/syslog.cfg");
    87INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/test_mutex4.cfg

    r302 r304  
    44 *  $Id: test_mutex4.cfg 263 2014-10-05 13:30:34Z ertl-hiro $
    55 */
    6 INCLUDE("target_timer.cfg");
    76INCLUDE("syssvc/syslog.cfg");
    87INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/test_mutex5.cfg

    r302 r304  
    44 *  $Id: test_mutex5.cfg 263 2014-10-05 13:30:34Z ertl-hiro $
    55 */
    6 INCLUDE("target_timer.cfg");
    76INCLUDE("syssvc/syslog.cfg");
    87INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/test_mutex6.cfg

    r302 r304  
    44 *  $Id: test_mutex6.cfg 263 2014-10-05 13:30:34Z ertl-hiro $
    55 */
    6 INCLUDE("target_timer.cfg");
    76INCLUDE("syssvc/syslog.cfg");
    87INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/test_mutex7.cfg

    r302 r304  
    44 *  $Id: test_mutex7.cfg 263 2014-10-05 13:30:34Z ertl-hiro $
    55 */
    6 INCLUDE("target_timer.cfg");
    76INCLUDE("syssvc/syslog.cfg");
    87INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/test_mutex8.cfg

    r302 r304  
    44 *  $Id: test_mutex8.cfg 263 2014-10-05 13:30:34Z ertl-hiro $
    55 */
    6 INCLUDE("target_timer.cfg");
    76INCLUDE("syssvc/syslog.cfg");
    87INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/test_notify1.cfg

    r302 r304  
    44 *  $Id: test_notify1.cfg 463 2015-10-18 14:25:55Z ertl-hiro $
    55 */
    6 INCLUDE("target_timer.cfg");
    76INCLUDE("syssvc/syslog.cfg");
    87INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/test_raster1.cfg

    r302 r304  
    55 *  $Id: test_raster1.cfg 326 2015-06-21 06:06:45Z ertl-hiro $
    66 */
    7 INCLUDE("target_timer.cfg");
    87INCLUDE("syssvc/syslog.cfg");
    98INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/test_raster2.cfg

    r302 r304  
    55 *  $Id: test_raster2.cfg 326 2015-06-21 06:06:45Z ertl-hiro $
    66 */
    7 INCLUDE("target_timer.cfg");
    87INCLUDE("syssvc/syslog.cfg");
    98INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/test_sem1.cfg

    r302 r304  
    44 *  $Id: test_sem1.cfg 326 2015-06-21 06:06:45Z ertl-hiro $
    55 */
    6 INCLUDE("target_timer.cfg");
    76INCLUDE("syssvc/syslog.cfg");
    87INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/test_sem2.cfg

    r302 r304  
    44 *  $Id: test_sem2.cfg 326 2015-06-21 06:06:45Z ertl-hiro $
    55 */
    6 INCLUDE("target_timer.cfg");
    76INCLUDE("syssvc/syslog.cfg");
    87INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/test_sysman1.cfg

    r302 r304  
    66 *  $Id: test_sysman1.cfg 263 2014-10-05 13:30:34Z ertl-hiro $
    77 */
    8 INCLUDE("target_timer.cfg");
    98INCLUDE("syssvc/syslog.cfg");
    109INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/test_sysstat1.cfg

    r302 r304  
    55 *  $Id: test_sysstat1.cfg 263 2014-10-05 13:30:34Z ertl-hiro $
    66 */
    7 INCLUDE("target_timer.cfg");
    87INCLUDE("syssvc/syslog.cfg");
    98INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/test_task1.cfg

    r302 r304  
    44 *  $Id: test_task1.cfg 326 2015-06-21 06:06:45Z ertl-hiro $
    55 */
    6 INCLUDE("target_timer.cfg");
    76INCLUDE("syssvc/syslog.cfg");
    87INCLUDE("syssvc/banner.cfg");
  • asp3_wo_tecs/trunk/test/test_tmevt1.cfg

    r302 r304  
    55 *  $Id: test_tmevt1.cfg 326 2015-06-21 06:06:45Z ertl-hiro $
    66 */
    7 INCLUDE("target_timer.cfg");
    87INCLUDE("syssvc/syslog.cfg");
    98INCLUDE("syssvc/banner.cfg");
Note: See TracChangeset for help on using the changeset viewer.