Ignore:
Timestamp:
Mar 12, 2020, 4:49:45 PM (4 years ago)
Author:
nmir-saito
Message:

support ruby configurator(file's charactor code is converted to UTF-8)

File:
1 copied

Legend:

Unmodified
Added
Removed
  • ssp_armv6_m_gcc/branches/rubycfg/armv6_m_gcc/prc_kernel.trb

    r411 r414  
    88#   Copyright (C) 2015,2016 by Embedded and Real-Time Systems Laboratory
    99#               Graduate School of Information Science, Nagoya Univ., JAPAN
    10 #   Copyright (C) 2017 by Naoki Saito
     10#   Copyright (C) 2017-2020 by Naoki Saito
    1111#              Nagoya Municipal Industrial Research Institute, JAPAN
    1212#
     
    4545
    4646#
    47 #               パス2の生成スクリプトのコア依存部(ARM用)
     47#               パス2の生成スクリプトのコア依存部(ARMv6-M用)
    4848#
    4949
     
    5757#  有効なCPU例外ハンドラ番号
    5858#
    59 $EXCNO_VALID = [ 2, 3, 4, 5, 6, 11, 12, 14 ]
     59$EXCNO_VALID = [ 2, 3, 11, 14 ]
    6060
    6161#
     
    9292IncludeTrb("kernel/kernel.trb")
    9393
    94 $kernelCfgC.comment_header("Target-dependent Definitions (ARM-M)")
     94$kernelCfgC.comment_header("Target-dependent Definitions (ARMv6-M)")
    9595
    9696#
     
    107107
    108108(2..14).each do |excno|
    109   if excno == 11
    110     $kernelCfgC.append("\t(FP)(kernel_svc_handler),      // 11 SVCall handler")
    111   else
    112     $kernelCfgC.append("\t(FP)(_kernel_exc_entry),")
    113   end
     109  $kernelCfgC.append("\t(FP)(_kernel_exc_entry),")
    114110  $kernelCfgC.add(" /* #{excno} */")
    115111end
Note: See TracChangeset for help on using the changeset viewer.