source: EcnlProtoTool/trunk/asp3_dcre/arch/arm_gcc/common/core_offset.trb@ 439

Last change on this file since 439 was 439, checked in by coas-nagasima, 4 years ago

mrubyを2.1.1に更新

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-ruby;charset=UTF-8
File size: 685 bytes
Line 
1# -*- coding: utf-8 -*-
2#
3# オフセットファイル生成用Rubyテンプレート(ARM用)
4#
5# $Id$
6#
7
8#
9# ターゲット非依存部のインクルード
10#
11IncludeTrb("kernel/genoffset.trb")
12
13#
14# フィールドのオフセットの定義の生成
15#
16$offsetH.append(<<EOS)
17#define TCB_p_tinib #{$offsetof_TCB_p_tinib}
18#define TCB_sp #{$offsetof_TCB_sp}
19#define TCB_pc #{$offsetof_TCB_pc}
20#define TINIB_tskatr #{$offsetof_TINIB_tskatr}
21#define TINIB_exinf #{$offsetof_TINIB_exinf}
22#define TINIB_task #{$offsetof_TINIB_task}
23#define TINIB_stksz #{$offsetof_TINIB_stksz}
24#define TINIB_stk #{$offsetof_TINIB_stk}
25#define T_EXCINF_cpsr #{$offsetof_T_EXCINF_cpsr}
26EOS
Note: See TracBrowser for help on using the repository browser.