• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

TWIペリフェラルを使ってI2Cプロトコルを制御する


Commit MetaInfo

Revision05e3e31477445617851d1df9f43392568974a8e5 (tree)
Zeit2012-09-08 23:16:49
Autortakemasa <suikan@user...>
Commitertakemasa

Log Message

ステートマシン内部のログ出力をオプショナルにした。

Ändern Zusammenfassung

Diff

--- a/i2c-test/Makefile.depend
+++ b/i2c-test/Makefile.depend
@@ -620,7 +620,8 @@ i2c_subsystem.o: \
620620 /opt/uClinux2011R1RC4/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/../../../../bfin-elf/include/defBF59x_base.h \
621621 kernel/config/blackfin/cpu_defs.h \
622622 /opt/uClinux2011R1RC4/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/../../../../bfin-elf/include/newlib.h \
623- kernel/config/blackfin/tool_config.h i2c_subsystem.c \
623+ kernel/include/serial.h kernel/config/blackfin/tool_config.h \
624+ i2c_subsystem.c \
624625 /opt/uClinux2011R1RC4/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/../../../../bfin-elf/include/cdefBF59x_base.h \
625626 /opt/uClinux2011R1RC4/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/../../../../bfin-elf/include/machine/_default_types.h \
626627 kernel/include/t_stddef.h \
@@ -650,6 +651,7 @@ i2c_subsystem.o: \
650651 i2c_subsystem.h \
651652 /opt/uClinux2011R1RC4/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/../../../../bfin-elf/include/cdefBF592-A.h \
652653 kernel/config/blackfin/cpu_rename.h kernel/include/sil.h \
654+ kernel/include/t_services.h \
653655 /opt/uClinux2011R1RC4/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/../../../../bfin-elf/include/def_LPBlackfin.h \
654656 /opt/uClinux2011R1RC4/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/../../../../bfin-elf/include/machine/stdlib.h \
655657 /opt/uClinux2011R1RC4/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/include-fixed/limits.h \
--- a/i2c-test/i2c_subsystem.c
+++ b/i2c-test/i2c_subsystem.c
@@ -17,6 +17,16 @@
1717
1818 #include <ccblkfn.h>
1919
20+
21+// #define I2C_DEBUG
22+
23+#ifdef I2C_DEBUG
24+#define I2C_SYSLOG(level,msg) syslog( level, msg )
25+#else
26+#define I2C_SYSLOG(level,msg)
27+#endif
28+
29+
2030 /**
2131 * \brief チップ上のI2Cペリフェラルの数
2232 */
@@ -143,25 +153,25 @@ int i2c_master_write_read( int peripheral, int slave, unsigned char write_data[]
143153 switch (state)
144154 {
145155 case I2C_XMT_ENTRY :
146- syslog(LOG_NOTICE, "I2C_XMT_ENTRY" );
156+ I2C_SYSLOG(LOG_NOTICE, "I2C_XMT_ENTRY" );
147157 rstart = FALSE;
148158 *twi->master_ctl = ( write_count<<6 ) | MEN; // no rstart, transmit, no fast mode;
149159 state = I2C_XMT_NEXT_BYTE;
150160 break;
151161 case I2C_XMTRCV_ENTRY :
152- syslog(LOG_NOTICE, "I2C_XMTRCV_ENTRY" );
162+ I2C_SYSLOG(LOG_NOTICE, "I2C_XMTRCV_ENTRY" );
153163 rstart = TRUE;
154164 *twi->master_ctl = ( write_count<<6 ) | RSTART | MEN; // rstart, transmit, no fast mode;
155165 state = I2C_XMT_NEXT_BYTE;
156166 break;
157167 case I2C_RCV_ENTRY :
158- syslog(LOG_NOTICE, "I2C_RCV_ENTRY" );
168+ I2C_SYSLOG(LOG_NOTICE, "I2C_RCV_ENTRY" );
159169 rstart = FALSE;
160170 *twi->master_ctl = ( read_count<<6 ) | MDIR | MEN; // no rstart, receive, no fast mode;
161171 state = I2C_RCV_WAIT;
162172 break;
163173 case I2C_XMT_WAIT :
164- syslog(LOG_NOTICE, "I2C_XMT_WAIT" );
174+ I2C_SYSLOG(LOG_NOTICE, "I2C_XMT_WAIT" );
165175 // 割り込みハンドラが送信割り込みを通知するまで待つ
166176 if ( E_OK != twai_sem(twi->signal, I2C_TIMEOUT))
167177 {
@@ -172,8 +182,7 @@ int i2c_master_write_read( int peripheral, int slave, unsigned char write_data[]
172182 state = I2C_XMT_INT;
173183 break;
174184 case I2C_XMT_INT :
175- syslog(LOG_NOTICE, "I2C_XMT_INT" );
176- syslog(LOG_NOTICE, "intrrupt state = %04x", twi->intr_state );
185+ I2C_SYSLOG(LOG_NOTICE, "I2C_XMT_INT" );
177186 if ( twi->intr_state & MERR ) // エラーならすぐ終了
178187 state = I2C_EXIT;
179188 else if ( ( twi->intr_state & MCOMP ) && rstart) // MCOMP かつ RSTARTなら受信へ
@@ -186,12 +195,12 @@ int i2c_master_write_read( int peripheral, int slave, unsigned char write_data[]
186195 state = I2C_XMT_NEXT_BYTE;
187196 break;
188197 case I2C_XMT_NEXT_BYTE :
189- syslog(LOG_NOTICE, "I2C_XMT_NEXT_BYTE" );
198+ I2C_SYSLOG(LOG_NOTICE, "I2C_XMT_NEXT_BYTE" );
190199 *twi->xmt_data8 = *(wptr++); // 1バイト送信
191200 state = I2C_XMT_WAIT; // 次の送信待
192201 break;
193202 case I2C_RCV_WAIT :
194- syslog(LOG_NOTICE, "I2C_RCV_WAIT" );
203+ I2C_SYSLOG(LOG_NOTICE, "I2C_RCV_WAIT" );
195204 // 割り込みハンドラが受信割り込みを通知するまで待つ
196205 if ( E_OK != twai_sem(twi->signal, I2C_TIMEOUT))
197206 {
@@ -202,7 +211,7 @@ int i2c_master_write_read( int peripheral, int slave, unsigned char write_data[]
202211 state = I2C_RCV_INT;
203212 break;
204213 case I2C_RCV_INT :
205- syslog(LOG_NOTICE, "I2C_RCV_INT" );
214+ I2C_SYSLOG(LOG_NOTICE, "I2C_RCV_INT" );
206215 if ( twi->intr_state & MERR) // エラーならすぐ終了
207216 state = I2C_EXIT;
208217 else if ( twi->intr_state & MCOMP ){ // 終了ならエラークリア
@@ -213,12 +222,12 @@ int i2c_master_write_read( int peripheral, int slave, unsigned char write_data[]
213222 state = I2C_RCV_NEXT_BYTE;
214223 break;
215224 case I2C_RCV_NEXT_BYTE :
216- syslog(LOG_NOTICE, "I2C_RCV_NEXT_BYTE" );
225+ I2C_SYSLOG(LOG_NOTICE, "I2C_RCV_NEXT_BYTE" );
217226 *(rptr++) = *twi->rcv_data8; // 1バイト受信
218227 state = I2C_RCV_WAIT; // 次の受信待
219228 break;
220229 case I2C_EXIT :
221- syslog(LOG_NOTICE, "I2C_EXIT" );
230+ I2C_SYSLOG(LOG_NOTICE, "I2C_EXIT" );
222231 * twi->master_ctl = 0; // マスターをディセーブルして終了
223232 quit = TRUE;
224233 break;
--- a/i2c-test/kernel/config/blackfin/_common_bf533/chip_config.c
+++ b/i2c-test/kernel/config/blackfin/_common_bf533/chip_config.c
@@ -262,7 +262,7 @@ ER chg_ims( IMS ims )
262262 extern ER get_ims( IMS * p_ims )
263263 {
264264 *p_ims = *__pSIC_IMASK;
265- return( 0 );;
265+ return( 0 );
266266 }
267267
268268
--- a/i2c-test/kernel/config/blackfin/_common_bf592/chip_config.c
+++ b/i2c-test/kernel/config/blackfin/_common_bf592/chip_config.c
@@ -275,7 +275,7 @@ ER chg_ims( IMS ims )
275275 extern ER get_ims( IMS * p_ims )
276276 {
277277 *p_ims = *pSIC_IMASK;
278- return( 0 );;
278+ return( 0 );
279279 }
280280
281281
--- a/i2c-test/kernel_cfg.c
+++ b/i2c-test/kernel_cfg.c
@@ -20,7 +20,7 @@
2020 #error "You can not use this configuration file without TOPPERS/JSP"
2121 #endif
2222
23- /* User specified include files*/
23+ /* User specified include files*/
2424 #include "i2c-test.h"
2525 #include "hw_timer.h"
2626 #include "timer.h"
@@ -30,7 +30,7 @@
3030 #include "i2c_subsystem.h"
3131
3232
33- /* Object initializer [task] */
33+ /* Object initializer [task] */
3434
3535 #define TNUM_TSKID 2
3636
@@ -40,8 +40,8 @@ static __STK_UNIT __stack_MAIN_TASK[__TCOUNT_STK_UNIT(1024)];
4040 static __STK_UNIT __stack_LOGTASK[__TCOUNT_STK_UNIT(LOGTASK_STACK_SIZE)];
4141
4242 const TINIB _kernel_tinib_table[TNUM_TSKID] = {
43- {0x00u | 0x02u, (VP_INT)(0), (FP)(main_task), INT_PRIORITY(5), __TROUND_STK_UNIT(1024), __stack_MAIN_TASK, TA_NULL, (FP)(NULL)},
44- {0x00u | 0x02u, (VP_INT)(( VP_INT ) 1), (FP)(logtask), INT_PRIORITY(LOGTASK_PRIORITY), __TROUND_STK_UNIT(LOGTASK_STACK_SIZE), __stack_LOGTASK, TA_NULL, (FP)(NULL)}
43+ {0x00u | 0x02u, (VP_INT)(0), (FP)(main_task), INT_PRIORITY(5), __TROUND_STK_UNIT(1024), __stack_MAIN_TASK, TA_NULL, (FP)(NULL)},
44+ {0x00u | 0x02u, (VP_INT)(( VP_INT ) 1), (FP)(logtask), INT_PRIORITY(LOGTASK_PRIORITY), __TROUND_STK_UNIT(LOGTASK_STACK_SIZE), __stack_LOGTASK, TA_NULL, (FP)(NULL)}
4545 };
4646
4747 const ID _kernel_torder_table[TNUM_TSKID] = {1,2};
@@ -49,23 +49,23 @@ const ID _kernel_torder_table[TNUM_TSKID] = {1,2};
4949 TCB _kernel_tcb_table[TNUM_TSKID];
5050
5151
52- /* Object initializer [semaphore] */
52+ /* Object initializer [semaphore] */
5353
5454 #define TNUM_SEMID 4
5555
5656 const ID _kernel_tmax_semid = (TMIN_SEMID + TNUM_SEMID - 1);
5757
5858 const SEMINIB _kernel_seminib_table[TNUM_SEMID] = {
59- {1, 0, 1},
60- {1, 1, 1},
61- {1, 1, 1},
62- {1, 0, 1}
59+ {1, 0, 1},
60+ {1, 1, 1},
61+ {1, 1, 1},
62+ {1, 0, 1}
6363 };
6464
6565 SEMCB _kernel_semcb_table[TNUM_SEMID];
6666
6767
68- /* Object initializer [eventflag] */
68+ /* Object initializer [eventflag] */
6969
7070 #define TNUM_FLGID 0
7171
@@ -75,7 +75,7 @@ __EMPTY_LABEL(const FLGINIB, _kernel_flginib_table);
7575 __EMPTY_LABEL(FLGCB, _kernel_flgcb_table);
7676
7777
78- /* Object initializer [dataqueue] */
78+ /* Object initializer [dataqueue] */
7979
8080 #define TNUM_DTQID 0
8181
@@ -85,7 +85,7 @@ __EMPTY_LABEL(const DTQINIB, _kernel_dtqinib_table);
8585 __EMPTY_LABEL(DTQCB, _kernel_dtqcb_table);
8686
8787
88- /* Object initializer [mailbox] */
88+ /* Object initializer [mailbox] */
8989
9090 #define TNUM_MBXID 0
9191
@@ -95,7 +95,7 @@ __EMPTY_LABEL(const MBXINIB, _kernel_mbxinib_table);
9595 __EMPTY_LABEL(MBXCB, _kernel_mbxcb_table);
9696
9797
98- /* Object initializer [mempfix] */
98+ /* Object initializer [mempfix] */
9999
100100 #define TNUM_MPFID 0
101101
@@ -105,7 +105,7 @@ __EMPTY_LABEL(const MPFINIB, _kernel_mpfinib_table);
105105 __EMPTY_LABEL(MPFCB, _kernel_mpfcb_table);
106106
107107
108- /* Object initializer [cyclic] */
108+ /* Object initializer [cyclic] */
109109
110110 #define TNUM_CYCID 0
111111
@@ -115,7 +115,7 @@ __EMPTY_LABEL(const CYCINIB, _kernel_cycinib_table);
115115 __EMPTY_LABEL(CYCCB, _kernel_cyccb_table);
116116
117117
118- /* Object initializer [interrupt] */
118+ /* Object initializer [interrupt] */
119119
120120 #define TNUM_INHNO 4
121121
@@ -127,48 +127,48 @@ CFG_INTHDR_ENTRY(timer_handler);
127127 CFG_INTHDR_ENTRY(i2c0_master_handler);
128128
129129 const INHINIB _kernel_inhinib_table[TNUM_INHNO] = {
130- {15,0,(FP)CFG_INT_ENTRY(sio0_rx_handler)},
131- {16,0,(FP)CFG_INT_ENTRY(sio0_tx_handler)},
132- {21,0,(FP)CFG_INT_ENTRY(timer_handler)},
133- {24,0,(FP)CFG_INT_ENTRY(i2c0_master_handler)}
130+ {15,0,(FP)CFG_INT_ENTRY(sio0_rx_handler)},
131+ {16,0,(FP)CFG_INT_ENTRY(sio0_tx_handler)},
132+ {21,0,(FP)CFG_INT_ENTRY(timer_handler)},
133+ {24,0,(FP)CFG_INT_ENTRY(i2c0_master_handler)}
134134 };
135135
136136
137- /* Object initializer [exception] */
137+ /* Object initializer [exception] */
138138
139139 #define TNUM_EXCNO 0
140140
141141 const UINT _kernel_tnum_excno = TNUM_EXCNO;
142142
143143 __EMPTY_LABEL(const EXCINIB, _kernel_excinib_table);
144- /* Initialization handler */
144+ /* Initialization handler */
145145
146146 void
147147 _kernel_call_inirtn(void)
148148 {
149- timer_initialize( (VP_INT)(0) );
150- serial_initialize( (VP_INT)(0) );
151- i2c_master_initialize( (VP_INT)(0) );
149+ timer_initialize( (VP_INT)(0) );
150+ serial_initialize( (VP_INT)(0) );
151+ i2c_master_initialize( (VP_INT)(0) );
152152 }
153153
154154 void
155155 _kernel_call_terrtn(void)
156156 {
157- timer_terminate( (VP_INT)(0) );
157+ timer_terminate( (VP_INT)(0) );
158158 }
159159
160- /* Object initialization routine */
160+ /* Object initialization routine */
161161
162162 void
163163 _kernel_object_initialize(void)
164164 {
165- _kernel_task_initialize();
166- _kernel_semaphore_initialize();
167- _kernel_interrupt_initialize();
165+ _kernel_task_initialize();
166+ _kernel_semaphore_initialize();
167+ _kernel_interrupt_initialize();
168168 }
169169
170170 TMEVTN _kernel_tmevt_heap[TNUM_TSKID + TNUM_CYCID];
171171
172- /* Variables for kernel checker */
172+ /* Variables for kernel checker */
173173 const UW _checker_magic_number = 0x01234567;
174174
--- a/i2c-test/kernel_chk.c
+++ b/i2c-test/kernel_chk.c
@@ -25,112 +25,112 @@
2525
2626 void checker_function(void)
2727 {
28- DEFS(TMAX_TPRI);
29- DEFS(TMIN_TPRI);
28+ DEFS(TMAX_TPRI);
29+ DEFS(TMIN_TPRI);
3030
31- DEFS(TMAX_MPRI);
32- DEFS(TMIN_MPRI);
31+ DEFS(TMAX_MPRI);
32+ DEFS(TMIN_MPRI);
3333
34- DEFS(TMAX_RELTIM);
34+ DEFS(TMAX_RELTIM);
3535
36- MEMBER(queue,next);
37- MEMBER(queue,prev);
36+ MEMBER(queue,next);
37+ MEMBER(queue,prev);
3838
3939
40- /* task */
40+ /* task */
4141
42- OBJECT(task_2,LOGTASK);
43- OBJECT(task_1,MAIN_TASK);
44- EVAR(ID,_kernel_tmax_tskid);
45- EVAR(TINIB,_kernel_tinib_table);
46- MEMBER(task_initialization_block,tskatr);
47- MEMBER(task_initialization_block,exinf);
48- MEMBER(task_initialization_block,task);
49- MEMBER(task_initialization_block,ipriority);
50- MEMBER(task_initialization_block,stksz);
51- MEMBER(task_initialization_block,stk);
52- MEMBER(task_initialization_block,texatr);
53- MEMBER(task_initialization_block,texrtn);
42+ OBJECT(task_2,LOGTASK);
43+ OBJECT(task_1,MAIN_TASK);
44+ EVAR(ID,_kernel_tmax_tskid);
45+ EVAR(TINIB,_kernel_tinib_table);
46+ MEMBER(task_initialization_block,tskatr);
47+ MEMBER(task_initialization_block,exinf);
48+ MEMBER(task_initialization_block,task);
49+ MEMBER(task_initialization_block,ipriority);
50+ MEMBER(task_initialization_block,stksz);
51+ MEMBER(task_initialization_block,stk);
52+ MEMBER(task_initialization_block,texatr);
53+ MEMBER(task_initialization_block,texrtn);
5454
5555
56- /* semaphore */
56+ /* semaphore */
5757
58- OBJECT(semaphore_3,SEM_I2C0_BLOCK);
59- OBJECT(semaphore_4,SEM_I2C0_SIGNAL);
60- OBJECT(semaphore_1,SERIAL_RCV_SEM1);
61- OBJECT(semaphore_2,SERIAL_SND_SEM1);
62- EVAR(ID,_kernel_tmax_semid);
63- EVAR(SEMINIB,_kernel_seminib_table);
64- MEMBER(semaphore_initialization_block,sematr);
65- MEMBER(semaphore_initialization_block,isemcnt);
66- MEMBER(semaphore_initialization_block,maxsem);
58+ OBJECT(semaphore_3,SEM_I2C0_BLOCK);
59+ OBJECT(semaphore_4,SEM_I2C0_SIGNAL);
60+ OBJECT(semaphore_1,SERIAL_RCV_SEM1);
61+ OBJECT(semaphore_2,SERIAL_SND_SEM1);
62+ EVAR(ID,_kernel_tmax_semid);
63+ EVAR(SEMINIB,_kernel_seminib_table);
64+ MEMBER(semaphore_initialization_block,sematr);
65+ MEMBER(semaphore_initialization_block,isemcnt);
66+ MEMBER(semaphore_initialization_block,maxsem);
6767
6868
69- /* eventflag */
69+ /* eventflag */
7070
71- EVAR(ID,_kernel_tmax_flgid);
72- EVAR(FLGINIB,_kernel_flginib_table);
73- MEMBER(eventflag_initialization_block,flgatr);
74- MEMBER(eventflag_initialization_block,iflgptn);
71+ EVAR(ID,_kernel_tmax_flgid);
72+ EVAR(FLGINIB,_kernel_flginib_table);
73+ MEMBER(eventflag_initialization_block,flgatr);
74+ MEMBER(eventflag_initialization_block,iflgptn);
7575
7676
77- /* dataqueue */
77+ /* dataqueue */
7878
79- EVAR(ID,_kernel_tmax_dtqid);
80- EVAR(DTQINIB,_kernel_dtqinib_table);
81- MEMBER(dataqueue_initialization_block,dtqatr);
82- MEMBER(dataqueue_initialization_block,dtqcnt);
83- MEMBER(dataqueue_initialization_block,dtq);
79+ EVAR(ID,_kernel_tmax_dtqid);
80+ EVAR(DTQINIB,_kernel_dtqinib_table);
81+ MEMBER(dataqueue_initialization_block,dtqatr);
82+ MEMBER(dataqueue_initialization_block,dtqcnt);
83+ MEMBER(dataqueue_initialization_block,dtq);
8484
8585
86- /* mailbox */
86+ /* mailbox */
8787
88- EVAR(ID,_kernel_tmax_mbxid);
89- EVAR(MBXINIB,_kernel_mbxinib_table);
90- MEMBER(mailbox_initialization_block,mbxatr);
91- MEMBER(mailbox_initialization_block,maxmpri);
88+ EVAR(ID,_kernel_tmax_mbxid);
89+ EVAR(MBXINIB,_kernel_mbxinib_table);
90+ MEMBER(mailbox_initialization_block,mbxatr);
91+ MEMBER(mailbox_initialization_block,maxmpri);
9292
9393
94- /* mempfix */
94+ /* mempfix */
9595
96- EVAR(ID,_kernel_tmax_mpfid);
97- EVAR(MPFINIB,_kernel_mpfinib_table);
98- MEMBER(fixed_memorypool_initialization_block,mpfatr);
99- MEMBER(fixed_memorypool_initialization_block,blksz);
100- MEMBER(fixed_memorypool_initialization_block,mpf);
101- MEMBER(fixed_memorypool_initialization_block,limit);
96+ EVAR(ID,_kernel_tmax_mpfid);
97+ EVAR(MPFINIB,_kernel_mpfinib_table);
98+ MEMBER(fixed_memorypool_initialization_block,mpfatr);
99+ MEMBER(fixed_memorypool_initialization_block,blksz);
100+ MEMBER(fixed_memorypool_initialization_block,mpf);
101+ MEMBER(fixed_memorypool_initialization_block,limit);
102102
103103
104- /* cyclic */
104+ /* cyclic */
105105
106- EVAR(ID,_kernel_tmax_cycid);
107- EVAR(CYCINIB,_kernel_cycinib_table);
108- MEMBER(cyclic_handler_initialization_block,cycatr);
109- MEMBER(cyclic_handler_initialization_block,exinf);
110- MEMBER(cyclic_handler_initialization_block,cychdr);
111- MEMBER(cyclic_handler_initialization_block,cyctim);
112- MEMBER(cyclic_handler_initialization_block,cycphs);
106+ EVAR(ID,_kernel_tmax_cycid);
107+ EVAR(CYCINIB,_kernel_cycinib_table);
108+ MEMBER(cyclic_handler_initialization_block,cycatr);
109+ MEMBER(cyclic_handler_initialization_block,exinf);
110+ MEMBER(cyclic_handler_initialization_block,cychdr);
111+ MEMBER(cyclic_handler_initialization_block,cyctim);
112+ MEMBER(cyclic_handler_initialization_block,cycphs);
113113
114114
115- /* interrupt */
115+ /* interrupt */
116116
117- OBJECT(interrupt_0,15);
118- OBJECT(interrupt_1,16);
119- OBJECT(interrupt_2,21);
120- OBJECT(interrupt_3,24);
121- EVAR(ID,_kernel_tnum_inhno);
122- EVAR(INHINIB,_kernel_inhinib_table);
123- MEMBER(interrupt_handler_initialization_block,inhno);
124- MEMBER(interrupt_handler_initialization_block,inhatr);
125- MEMBER(interrupt_handler_initialization_block,inthdr);
117+ OBJECT(interrupt_0,15);
118+ OBJECT(interrupt_1,16);
119+ OBJECT(interrupt_2,21);
120+ OBJECT(interrupt_3,24);
121+ EVAR(ID,_kernel_tnum_inhno);
122+ EVAR(INHINIB,_kernel_inhinib_table);
123+ MEMBER(interrupt_handler_initialization_block,inhno);
124+ MEMBER(interrupt_handler_initialization_block,inhatr);
125+ MEMBER(interrupt_handler_initialization_block,inthdr);
126126
127127
128- /* exception */
128+ /* exception */
129129
130- EVAR(ID,_kernel_tnum_excno);
131- EVAR(EXCINIB,_kernel_excinib_table);
132- MEMBER(cpu_exception_handler_initialization_block,excno);
133- MEMBER(cpu_exception_handler_initialization_block,excatr);
134- MEMBER(cpu_exception_handler_initialization_block,exchdr);
130+ EVAR(ID,_kernel_tnum_excno);
131+ EVAR(EXCINIB,_kernel_excinib_table);
132+ MEMBER(cpu_exception_handler_initialization_block,excno);
133+ MEMBER(cpu_exception_handler_initialization_block,excatr);
134+ MEMBER(cpu_exception_handler_initialization_block,exchdr);
135135
136136 }
--- a/i2c-test/kernel_id.h
+++ b/i2c-test/kernel_id.h
@@ -1,7 +1,7 @@
11 #ifndef KERNEL_ID_H
22 #define KERNEL_ID_H
33
4- /* object identifier deifnition */
4+ /* object identifier deifnition */
55
66 #define LOGTASK 2
77 #define MAIN_TASK 1
Binary files a/i2c-test/kernel_obj.dat and b/i2c-test/kernel_obj.dat differ
--- a/i2c-test/makeoffset.s
+++ b/i2c-test/makeoffset.s
@@ -1,1134 +1,1134 @@
11 .file "kernel/config/blackfin/makeoffset.c";
2- .section .debug_abbrev,"",@progbits
2+ .section .debug_abbrev,"",@progbits
33 .Ldebug_abbrev0:
4- .section .debug_info,"",@progbits
4+ .section .debug_info,"",@progbits
55 .Ldebug_info0:
6- .section .debug_line,"",@progbits
6+ .section .debug_line,"",@progbits
77 .Ldebug_line0:
88 .text;
99 .Ltext0:
10- .align 4
10+ .align 4
1111 .global _makeoffset;
1212 .type _makeoffset, STT_FUNC;
1313 _makeoffset:
1414 .LFB30:
15- .file 1 "kernel/config/blackfin/makeoffset.c"
16- .loc 1 60 0
17- nop;
18- nop;
19- LINK 0;
15+ .file 1 "kernel/config/blackfin/makeoffset.c"
16+ .loc 1 60 0
17+ nop;
18+ nop;
19+ LINK 0;
2020 .LCFI0:
21- .loc 1 61 0
21+ .loc 1 61 0
2222 // 61 "kernel/config/blackfin/makeoffset.c" 1
23- OFFSET_DEF TCB_texptn = 16
23+ OFFSET_DEF TCB_texptn = 16
2424 // 0 "" 2
25- .loc 1 62 0
25+ .loc 1 62 0
2626 // 62 "kernel/config/blackfin/makeoffset.c" 1
27- OFFSET_DEF TCB_sp = 24
27+ OFFSET_DEF TCB_sp = 24
2828 // 0 "" 2
29- .loc 1 63 0
29+ .loc 1 63 0
3030 // 63 "kernel/config/blackfin/makeoffset.c" 1
31- OFFSET_DEF TCB_pc = 28
31+ OFFSET_DEF TCB_pc = 28
3232 // 0 "" 2
33- .loc 1 64 0
34- UNLINK;
35- rts;
33+ .loc 1 64 0
34+ UNLINK;
35+ rts;
3636 .LFE30:
37- .size _makeoffset, .-_makeoffset
37+ .size _makeoffset, .-_makeoffset
3838 .global _BIT_REF_4;
3939 .data;
40- .align 4
41- .type _BIT_REF_4, @object
42- .size _BIT_REF_4, 4
40+ .align 4
41+ .type _BIT_REF_4, @object
42+ .size _BIT_REF_4, 4
4343 _BIT_REF_4:
44- .long 305419896
44+ .long 305419896
4545 .global _BIT_REF_2;
46- .align 2
47- .type _BIT_REF_2, @object
48- .size _BIT_REF_2, 2
46+ .align 2
47+ .type _BIT_REF_2, @object
48+ .size _BIT_REF_2, 2
4949 _BIT_REF_2:
50- .short 4660
50+ .short 4660
5151 .global _BIT_REF_1;
52- .type _BIT_REF_1, @object
53- .size _BIT_REF_1, 1
52+ .type _BIT_REF_1, @object
53+ .size _BIT_REF_1, 1
5454 _BIT_REF_1:
55- .byte 18
55+ .byte 18
5656 .global _BIT_LB_TCB_enatex;
57- .align 4
58- .type _BIT_LB_TCB_enatex, @object
59- .size _BIT_LB_TCB_enatex, 32
57+ .align 4
58+ .type _BIT_LB_TCB_enatex, @object
59+ .size _BIT_LB_TCB_enatex, 32
6060 _BIT_LB_TCB_enatex:
61- .long 0
62- .long 0
63- .long 0
64- .byte 0
65- .byte 0
66- .byte 4
67- .zero 1
68- .long 0
69- .long 0
70- .long 0
71- .long 0
72- .section .debug_frame,"",@progbits
61+ .long 0
62+ .long 0
63+ .long 0
64+ .byte 0
65+ .byte 0
66+ .byte 4
67+ .zero 1
68+ .long 0
69+ .long 0
70+ .long 0
71+ .long 0
72+ .section .debug_frame,"",@progbits
7373 .Lframe0:
74- .4byte .LECIE0-.LSCIE0
74+ .4byte .LECIE0-.LSCIE0
7575 .LSCIE0:
76- .4byte 0xffffffff
77- .byte 0x1
78- .string ""
79- .uleb128 0x1
80- .sleb128 -4
81- .byte 0x23
82- .byte 0xc
83- .uleb128 0xe
84- .uleb128 0x0
85- .align 4
76+ .4byte 0xffffffff
77+ .byte 0x1
78+ .string ""
79+ .uleb128 0x1
80+ .sleb128 -4
81+ .byte 0x23
82+ .byte 0xc
83+ .uleb128 0xe
84+ .uleb128 0x0
85+ .align 4
8686 .LECIE0:
8787 .LSFDE0:
88- .4byte .LEFDE0-.LASFDE0
88+ .4byte .LEFDE0-.LASFDE0
8989 .LASFDE0:
90- .4byte .Lframe0
91- .4byte .LFB30
92- .4byte .LFE30-.LFB30
93- .byte 0x4
94- .4byte .LCFI0-.LFB30
95- .byte 0xc
96- .uleb128 0xf
97- .uleb128 0x8
98- .byte 0x8f
99- .uleb128 0x2
100- .byte 0xa3
101- .uleb128 0x1
102- .align 4
90+ .4byte .Lframe0
91+ .4byte .LFB30
92+ .4byte .LFE30-.LFB30
93+ .byte 0x4
94+ .4byte .LCFI0-.LFB30
95+ .byte 0xc
96+ .uleb128 0xf
97+ .uleb128 0x8
98+ .byte 0x8f
99+ .uleb128 0x2
100+ .byte 0xa3
101+ .uleb128 0x1
102+ .align 4
103103 .LEFDE0:
104104 .text;
105105 .Letext0:
106- .section .debug_loc,"",@progbits
106+ .section .debug_loc,"",@progbits
107107 .Ldebug_loc0:
108108 .LLST0:
109- .4byte .LFB30-.Ltext0
110- .4byte .LCFI0-.Ltext0
111- .2byte 0x1
112- .byte 0x5e
113- .4byte .LCFI0-.Ltext0
114- .4byte .LFE30-.Ltext0
115- .2byte 0x2
116- .byte 0x7f
117- .sleb128 8
118- .4byte 0x0
119- .4byte 0x0
120- .file 2 "kernel/include/itron.h"
121- .file 3 "/opt/uClinux2011R1RC4/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/include/stddef.h"
122- .file 4 "kernel/include/kernel.h"
123- .file 5 "kernel/config/blackfin/cpu_config.h"
124- .file 6 "kernel/kernel/queue.h"
125- .file 7 "kernel/kernel/time_event.h"
126- .file 8 "kernel/kernel/task.h"
127- .section .debug_info
128- .4byte 0x3f8
129- .2byte 0x2
130- .4byte .Ldebug_abbrev0
131- .byte 0x4
132- .uleb128 0x1
133- .4byte .LASF57
134- .byte 0x1
135- .4byte .LASF58
136- .4byte .LASF59
137- .4byte .Ltext0
138- .4byte .Letext0
139- .4byte .Ldebug_line0
140- .uleb128 0x2
141- .byte 0x4
142- .byte 0x5
143- .4byte .LASF0
144- .uleb128 0x3
145- .4byte .LASF3
146- .byte 0x3
147- .byte 0xd6
148- .4byte 0x37
149- .uleb128 0x2
150- .byte 0x4
151- .byte 0x7
152- .4byte .LASF1
153- .uleb128 0x4
154- .byte 0x4
155- .byte 0x5
156- .string "int"
157- .uleb128 0x2
158- .byte 0x1
159- .byte 0x6
160- .4byte .LASF2
161- .uleb128 0x5
162- .string "UB"
163- .byte 0x2
164- .byte 0x61
165- .4byte 0x56
166- .uleb128 0x2
167- .byte 0x1
168- .byte 0x8
169- .4byte .LASF4
170- .uleb128 0x2
171- .byte 0x1
172- .byte 0x6
173- .4byte .LASF5
174- .uleb128 0x2
175- .byte 0x2
176- .byte 0x5
177- .4byte .LASF6
178- .uleb128 0x5
179- .string "UH"
180- .byte 0x2
181- .byte 0x67
182- .4byte 0x75
183- .uleb128 0x2
184- .byte 0x2
185- .byte 0x7
186- .4byte .LASF7
187- .uleb128 0x5
188- .string "UW"
189- .byte 0x2
190- .byte 0x6c
191- .4byte 0x86
192- .uleb128 0x2
193- .byte 0x4
194- .byte 0x7
195- .4byte .LASF8
196- .uleb128 0x2
197- .byte 0x8
198- .byte 0x5
199- .4byte .LASF9
200- .uleb128 0x2
201- .byte 0x8
202- .byte 0x7
203- .4byte .LASF10
204- .uleb128 0x5
205- .string "VP"
206- .byte 0x2
207- .byte 0x75
208- .4byte 0xa5
209- .uleb128 0x6
210- .byte 0x4
211- .uleb128 0x5
212- .string "FP"
213- .byte 0x2
214- .byte 0x76
215- .4byte 0xb1
216- .uleb128 0x7
217- .byte 0x4
218- .4byte 0xb7
219- .uleb128 0x8
220- .4byte 0xbe
221- .uleb128 0x9
222- .byte 0x0
223- .uleb128 0x5
224- .string "INT"
225- .byte 0x2
226- .byte 0x78
227- .4byte 0x3e
228- .uleb128 0x3
229- .4byte .LASF11
230- .byte 0x2
231- .byte 0x79
232- .4byte 0x86
233- .uleb128 0x5
234- .string "ER"
235- .byte 0x2
236- .byte 0x7e
237- .4byte 0xbe
238- .uleb128 0x5
239- .string "ATR"
240- .byte 0x2
241- .byte 0x80
242- .4byte 0xc9
243- .uleb128 0x3
244- .4byte .LASF12
245- .byte 0x2
246- .byte 0x84
247- .4byte 0x2c
248- .uleb128 0x3
249- .4byte .LASF13
250- .byte 0x2
251- .byte 0x88
252- .4byte 0x7c
253- .uleb128 0x3
254- .4byte .LASF14
255- .byte 0x2
256- .byte 0x8d
257- .4byte 0x9b
258- .uleb128 0xa
259- .byte 0x4
260- .byte 0x7
261- .uleb128 0x3
262- .4byte .LASF15
263- .byte 0x4
264- .byte 0x65
265- .4byte 0xc9
266- .uleb128 0xb
267- .4byte .LASF17
268- .byte 0x8
269- .byte 0x5
270- .byte 0x99
271- .4byte 0x13f
272- .uleb128 0xc
273- .string "sp"
274- .byte 0x5
275- .byte 0x9a
276- .4byte 0x9b
277- .byte 0x2
278- .byte 0x23
279- .uleb128 0x0
280- .uleb128 0xc
281- .string "pc"
282- .byte 0x5
283- .byte 0x9b
284- .4byte 0xa7
285- .byte 0x2
286- .byte 0x23
287- .uleb128 0x4
288- .byte 0x0
289- .uleb128 0x3
290- .4byte .LASF16
291- .byte 0x5
292- .byte 0x9c
293- .4byte 0x118
294- .uleb128 0xb
295- .4byte .LASF18
296- .byte 0x8
297- .byte 0x6
298- .byte 0x38
299- .4byte 0x173
300- .uleb128 0xd
301- .4byte .LASF19
302- .byte 0x6
303- .byte 0x39
304- .4byte 0x173
305- .byte 0x2
306- .byte 0x23
307- .uleb128 0x0
308- .uleb128 0xd
309- .4byte .LASF20
310- .byte 0x6
311- .byte 0x3a
312- .4byte 0x173
313- .byte 0x2
314- .byte 0x23
315- .uleb128 0x4
316- .byte 0x0
317- .uleb128 0x7
318- .byte 0x4
319- .4byte 0x14a
320- .uleb128 0x3
321- .4byte .LASF21
322- .byte 0x6
323- .byte 0x3b
324- .4byte 0x14a
325- .uleb128 0x3
326- .4byte .LASF22
327- .byte 0x7
328- .byte 0x40
329- .4byte 0x18f
330- .uleb128 0x7
331- .byte 0x4
332- .4byte 0x195
333- .uleb128 0xe
334- .byte 0x1
335- .4byte 0x1a1
336- .uleb128 0xf
337- .4byte 0x9b
338- .byte 0x0
339- .uleb128 0xb
340- .4byte .LASF23
341- .byte 0xc
342- .byte 0x7
343- .byte 0x42
344- .4byte 0x1d8
345- .uleb128 0xd
346- .4byte .LASF24
347- .byte 0x7
348- .byte 0x43
349- .4byte 0xc9
350- .byte 0x2
351- .byte 0x23
352- .uleb128 0x0
353- .uleb128 0xd
354- .4byte .LASF25
355- .byte 0x7
356- .byte 0x44
357- .4byte 0x184
358- .byte 0x2
359- .byte 0x23
360- .uleb128 0x4
361- .uleb128 0xc
362- .string "arg"
363- .byte 0x7
364- .byte 0x45
365- .4byte 0x9b
366- .byte 0x2
367- .byte 0x23
368- .uleb128 0x8
369- .byte 0x0
370- .uleb128 0x3
371- .4byte .LASF26
372- .byte 0x7
373- .byte 0x46
374- .4byte 0x1a1
375- .uleb128 0x7
376- .byte 0x4
377- .4byte 0x1d8
378- .uleb128 0x10
379- .4byte .LASF60
380- .byte 0x4
381- .byte 0x8
382- .byte 0x82
383- .4byte 0x20c
384- .uleb128 0x11
385- .4byte .LASF27
386- .byte 0x8
387- .byte 0x83
388- .4byte 0xd4
389- .uleb128 0x11
390- .4byte .LASF28
391- .byte 0x8
392- .byte 0x84
393- .4byte 0x1e3
394- .byte 0x0
395- .uleb128 0x3
396- .4byte .LASF29
397- .byte 0x8
398- .byte 0x85
399- .4byte 0x1e9
400- .uleb128 0xb
401- .4byte .LASF30
402- .byte 0x20
403- .byte 0x8
404- .byte 0x94
405- .4byte 0x294
406- .uleb128 0xd
407- .4byte .LASF31
408- .byte 0x8
409- .byte 0x95
410- .4byte 0xde
411- .byte 0x2
412- .byte 0x23
413- .uleb128 0x0
414- .uleb128 0xd
415- .4byte .LASF32
416- .byte 0x8
417- .byte 0x96
418- .4byte 0xff
419- .byte 0x2
420- .byte 0x23
421- .uleb128 0x4
422- .uleb128 0xd
423- .4byte .LASF33
424- .byte 0x8
425- .byte 0x97
426- .4byte 0xa7
427- .byte 0x2
428- .byte 0x23
429- .uleb128 0x8
430- .uleb128 0xd
431- .4byte .LASF34
432- .byte 0x8
433- .byte 0x98
434- .4byte 0xc9
435- .byte 0x2
436- .byte 0x23
437- .uleb128 0xc
438- .uleb128 0xd
439- .4byte .LASF35
440- .byte 0x8
441- .byte 0x99
442- .4byte 0xe9
443- .byte 0x2
444- .byte 0x23
445- .uleb128 0x10
446- .uleb128 0xc
447- .string "stk"
448- .byte 0x8
449- .byte 0x9a
450- .4byte 0x9b
451- .byte 0x2
452- .byte 0x23
453- .uleb128 0x14
454- .uleb128 0xd
455- .4byte .LASF36
456- .byte 0x8
457- .byte 0x9c
458- .4byte 0xde
459- .byte 0x2
460- .byte 0x23
461- .uleb128 0x18
462- .uleb128 0xd
463- .4byte .LASF37
464- .byte 0x8
465- .byte 0x9d
466- .4byte 0xa7
467- .byte 0x2
468- .byte 0x23
469- .uleb128 0x1c
470- .byte 0x0
471- .uleb128 0x3
472- .4byte .LASF38
473- .byte 0x8
474- .byte 0x9e
475- .4byte 0x217
476- .uleb128 0xb
477- .4byte .LASF39
478- .byte 0x20
479- .byte 0x8
480- .byte 0xb7
481- .4byte 0x347
482- .uleb128 0xd
483- .4byte .LASF40
484- .byte 0x8
485- .byte 0xb8
486- .4byte 0x179
487- .byte 0x2
488- .byte 0x23
489- .uleb128 0x0
490- .uleb128 0xd
491- .4byte .LASF41
492- .byte 0x8
493- .byte 0xb9
494- .4byte 0x347
495- .byte 0x2
496- .byte 0x23
497- .uleb128 0x8
498- .uleb128 0x12
499- .4byte .LASF42
500- .byte 0x8
501- .byte 0xbb
502- .4byte 0x86
503- .byte 0x4
504- .byte 0x8
505- .byte 0x18
506- .byte 0x2
507- .byte 0x23
508- .uleb128 0xc
509- .uleb128 0x12
510- .4byte .LASF43
511- .byte 0x8
512- .byte 0xbc
513- .4byte 0x86
514- .byte 0x4
515- .byte 0x8
516- .byte 0x10
517- .byte 0x2
518- .byte 0x23
519- .uleb128 0xc
520- .uleb128 0x12
521- .4byte .LASF44
522- .byte 0x8
523- .byte 0xbe
524- .4byte 0x86
525- .byte 0x4
526- .byte 0x1
527- .byte 0xf
528- .byte 0x2
529- .byte 0x23
530- .uleb128 0xc
531- .uleb128 0x12
532- .4byte .LASF45
533- .byte 0x8
534- .byte 0xbf
535- .4byte 0x86
536- .byte 0x4
537- .byte 0x1
538- .byte 0xe
539- .byte 0x2
540- .byte 0x23
541- .uleb128 0xc
542- .uleb128 0x12
543- .4byte .LASF46
544- .byte 0x8
545- .byte 0xc0
546- .4byte 0x86
547- .byte 0x4
548- .byte 0x1
549- .byte 0xd
550- .byte 0x2
551- .byte 0x23
552- .uleb128 0xc
553- .uleb128 0xd
554- .4byte .LASF47
555- .byte 0x8
556- .byte 0xc2
557- .4byte 0x10d
558- .byte 0x2
559- .byte 0x23
560- .uleb128 0x10
561- .uleb128 0xd
562- .4byte .LASF48
563- .byte 0x8
564- .byte 0xc3
565- .4byte 0x352
566- .byte 0x2
567- .byte 0x23
568- .uleb128 0x14
569- .uleb128 0xd
570- .4byte .LASF49
571- .byte 0x8
572- .byte 0xc4
573- .4byte 0x13f
574- .byte 0x2
575- .byte 0x23
576- .uleb128 0x18
577- .byte 0x0
578- .uleb128 0x7
579- .byte 0x4
580- .4byte 0x34d
581- .uleb128 0x13
582- .4byte 0x294
583- .uleb128 0x7
584- .byte 0x4
585- .4byte 0x20c
586- .uleb128 0x5
587- .string "TCB"
588- .byte 0x8
589- .byte 0xc5
590- .4byte 0x29f
591- .uleb128 0x14
592- .byte 0x1
593- .4byte .LASF61
594- .byte 0x1
595- .byte 0x3c
596- .4byte .LFB30
597- .4byte .LFE30
598- .4byte .LLST0
599- .uleb128 0x15
600- .4byte 0x384
601- .4byte 0x382
602- .uleb128 0x16
603- .byte 0x0
604- .uleb128 0x17
605- .byte 0x1
606- .uleb128 0x7
607- .byte 0x4
608- .4byte 0x382
609- .uleb128 0x18
610- .4byte .LASF50
611- .byte 0x5
612- .2byte 0x12e
613- .4byte 0x377
614- .byte 0x1
615- .byte 0x1
616- .uleb128 0x18
617- .4byte .LASF51
618- .byte 0x5
619- .2byte 0x130
620- .4byte 0x18f
621- .byte 0x1
622- .byte 0x1
623- .uleb128 0x19
624- .4byte .LASF52
625- .byte 0x7
626- .byte 0x65
627- .4byte 0xf4
628- .byte 0x1
629- .byte 0x1
630- .uleb128 0x1a
631- .4byte .LASF53
632- .byte 0x1
633- .byte 0x42
634- .4byte 0x7c
635- .byte 0x1
636- .byte 0x5
637- .byte 0x3
638- .4byte _BIT_REF_4
639- .uleb128 0x1a
640- .4byte .LASF54
641- .byte 0x1
642- .byte 0x43
643- .4byte 0x6b
644- .byte 0x1
645- .byte 0x5
646- .byte 0x3
647- .4byte _BIT_REF_2
648- .uleb128 0x1a
649- .4byte .LASF55
650- .byte 0x1
651- .byte 0x44
652- .4byte 0x4c
653- .byte 0x1
654- .byte 0x5
655- .byte 0x3
656- .4byte _BIT_REF_1
657- .uleb128 0x1a
658- .4byte .LASF56
659- .byte 0x1
660- .byte 0x46
661- .4byte 0x358
662- .byte 0x1
663- .byte 0x5
664- .byte 0x3
665- .4byte _BIT_LB_TCB_enatex
666- .byte 0x0
667- .section .debug_abbrev
668- .uleb128 0x1
669- .uleb128 0x11
670- .byte 0x1
671- .uleb128 0x25
672- .uleb128 0xe
673- .uleb128 0x13
674- .uleb128 0xb
675- .uleb128 0x3
676- .uleb128 0xe
677- .uleb128 0x1b
678- .uleb128 0xe
679- .uleb128 0x11
680- .uleb128 0x1
681- .uleb128 0x12
682- .uleb128 0x1
683- .uleb128 0x10
684- .uleb128 0x6
685- .byte 0x0
686- .byte 0x0
687- .uleb128 0x2
688- .uleb128 0x24
689- .byte 0x0
690- .uleb128 0xb
691- .uleb128 0xb
692- .uleb128 0x3e
693- .uleb128 0xb
694- .uleb128 0x3
695- .uleb128 0xe
696- .byte 0x0
697- .byte 0x0
698- .uleb128 0x3
699- .uleb128 0x16
700- .byte 0x0
701- .uleb128 0x3
702- .uleb128 0xe
703- .uleb128 0x3a
704- .uleb128 0xb
705- .uleb128 0x3b
706- .uleb128 0xb
707- .uleb128 0x49
708- .uleb128 0x13
709- .byte 0x0
710- .byte 0x0
711- .uleb128 0x4
712- .uleb128 0x24
713- .byte 0x0
714- .uleb128 0xb
715- .uleb128 0xb
716- .uleb128 0x3e
717- .uleb128 0xb
718- .uleb128 0x3
719- .uleb128 0x8
720- .byte 0x0
721- .byte 0x0
722- .uleb128 0x5
723- .uleb128 0x16
724- .byte 0x0
725- .uleb128 0x3
726- .uleb128 0x8
727- .uleb128 0x3a
728- .uleb128 0xb
729- .uleb128 0x3b
730- .uleb128 0xb
731- .uleb128 0x49
732- .uleb128 0x13
733- .byte 0x0
734- .byte 0x0
735- .uleb128 0x6
736- .uleb128 0xf
737- .byte 0x0
738- .uleb128 0xb
739- .uleb128 0xb
740- .byte 0x0
741- .byte 0x0
742- .uleb128 0x7
743- .uleb128 0xf
744- .byte 0x0
745- .uleb128 0xb
746- .uleb128 0xb
747- .uleb128 0x49
748- .uleb128 0x13
749- .byte 0x0
750- .byte 0x0
751- .uleb128 0x8
752- .uleb128 0x15
753- .byte 0x1
754- .uleb128 0x1
755- .uleb128 0x13
756- .byte 0x0
757- .byte 0x0
758- .uleb128 0x9
759- .uleb128 0x18
760- .byte 0x0
761- .byte 0x0
762- .byte 0x0
763- .uleb128 0xa
764- .uleb128 0x24
765- .byte 0x0
766- .uleb128 0xb
767- .uleb128 0xb
768- .uleb128 0x3e
769- .uleb128 0xb
770- .byte 0x0
771- .byte 0x0
772- .uleb128 0xb
773- .uleb128 0x13
774- .byte 0x1
775- .uleb128 0x3
776- .uleb128 0xe
777- .uleb128 0xb
778- .uleb128 0xb
779- .uleb128 0x3a
780- .uleb128 0xb
781- .uleb128 0x3b
782- .uleb128 0xb
783- .uleb128 0x1
784- .uleb128 0x13
785- .byte 0x0
786- .byte 0x0
787- .uleb128 0xc
788- .uleb128 0xd
789- .byte 0x0
790- .uleb128 0x3
791- .uleb128 0x8
792- .uleb128 0x3a
793- .uleb128 0xb
794- .uleb128 0x3b
795- .uleb128 0xb
796- .uleb128 0x49
797- .uleb128 0x13
798- .uleb128 0x38
799- .uleb128 0xa
800- .byte 0x0
801- .byte 0x0
802- .uleb128 0xd
803- .uleb128 0xd
804- .byte 0x0
805- .uleb128 0x3
806- .uleb128 0xe
807- .uleb128 0x3a
808- .uleb128 0xb
809- .uleb128 0x3b
810- .uleb128 0xb
811- .uleb128 0x49
812- .uleb128 0x13
813- .uleb128 0x38
814- .uleb128 0xa
815- .byte 0x0
816- .byte 0x0
817- .uleb128 0xe
818- .uleb128 0x15
819- .byte 0x1
820- .uleb128 0x27
821- .uleb128 0xc
822- .uleb128 0x1
823- .uleb128 0x13
824- .byte 0x0
825- .byte 0x0
826- .uleb128 0xf
827- .uleb128 0x5
828- .byte 0x0
829- .uleb128 0x49
830- .uleb128 0x13
831- .byte 0x0
832- .byte 0x0
833- .uleb128 0x10
834- .uleb128 0x17
835- .byte 0x1
836- .uleb128 0x3
837- .uleb128 0xe
838- .uleb128 0xb
839- .uleb128 0xb
840- .uleb128 0x3a
841- .uleb128 0xb
842- .uleb128 0x3b
843- .uleb128 0xb
844- .uleb128 0x1
845- .uleb128 0x13
846- .byte 0x0
847- .byte 0x0
848- .uleb128 0x11
849- .uleb128 0xd
850- .byte 0x0
851- .uleb128 0x3
852- .uleb128 0xe
853- .uleb128 0x3a
854- .uleb128 0xb
855- .uleb128 0x3b
856- .uleb128 0xb
857- .uleb128 0x49
858- .uleb128 0x13
859- .byte 0x0
860- .byte 0x0
861- .uleb128 0x12
862- .uleb128 0xd
863- .byte 0x0
864- .uleb128 0x3
865- .uleb128 0xe
866- .uleb128 0x3a
867- .uleb128 0xb
868- .uleb128 0x3b
869- .uleb128 0xb
870- .uleb128 0x49
871- .uleb128 0x13
872- .uleb128 0xb
873- .uleb128 0xb
874- .uleb128 0xd
875- .uleb128 0xb
876- .uleb128 0xc
877- .uleb128 0xb
878- .uleb128 0x38
879- .uleb128 0xa
880- .byte 0x0
881- .byte 0x0
882- .uleb128 0x13
883- .uleb128 0x26
884- .byte 0x0
885- .uleb128 0x49
886- .uleb128 0x13
887- .byte 0x0
888- .byte 0x0
889- .uleb128 0x14
890- .uleb128 0x2e
891- .byte 0x0
892- .uleb128 0x3f
893- .uleb128 0xc
894- .uleb128 0x3
895- .uleb128 0xe
896- .uleb128 0x3a
897- .uleb128 0xb
898- .uleb128 0x3b
899- .uleb128 0xb
900- .uleb128 0x11
901- .uleb128 0x1
902- .uleb128 0x12
903- .uleb128 0x1
904- .uleb128 0x40
905- .uleb128 0x6
906- .byte 0x0
907- .byte 0x0
908- .uleb128 0x15
909- .uleb128 0x1
910- .byte 0x1
911- .uleb128 0x49
912- .uleb128 0x13
913- .uleb128 0x1
914- .uleb128 0x13
915- .byte 0x0
916- .byte 0x0
917- .uleb128 0x16
918- .uleb128 0x21
919- .byte 0x0
920- .byte 0x0
921- .byte 0x0
922- .uleb128 0x17
923- .uleb128 0x15
924- .byte 0x0
925- .uleb128 0x27
926- .uleb128 0xc
927- .byte 0x0
928- .byte 0x0
929- .uleb128 0x18
930- .uleb128 0x34
931- .byte 0x0
932- .uleb128 0x3
933- .uleb128 0xe
934- .uleb128 0x3a
935- .uleb128 0xb
936- .uleb128 0x3b
937- .uleb128 0x5
938- .uleb128 0x49
939- .uleb128 0x13
940- .uleb128 0x3f
941- .uleb128 0xc
942- .uleb128 0x3c
943- .uleb128 0xc
944- .byte 0x0
945- .byte 0x0
946- .uleb128 0x19
947- .uleb128 0x34
948- .byte 0x0
949- .uleb128 0x3
950- .uleb128 0xe
951- .uleb128 0x3a
952- .uleb128 0xb
953- .uleb128 0x3b
954- .uleb128 0xb
955- .uleb128 0x49
956- .uleb128 0x13
957- .uleb128 0x3f
958- .uleb128 0xc
959- .uleb128 0x3c
960- .uleb128 0xc
961- .byte 0x0
962- .byte 0x0
963- .uleb128 0x1a
964- .uleb128 0x34
965- .byte 0x0
966- .uleb128 0x3
967- .uleb128 0xe
968- .uleb128 0x3a
969- .uleb128 0xb
970- .uleb128 0x3b
971- .uleb128 0xb
972- .uleb128 0x49
973- .uleb128 0x13
974- .uleb128 0x3f
975- .uleb128 0xc
976- .uleb128 0x2
977- .uleb128 0xa
978- .byte 0x0
979- .byte 0x0
980- .byte 0x0
981- .section .debug_pubnames,"",@progbits
982- .4byte 0x5d
983- .2byte 0x2
984- .4byte .Ldebug_info0
985- .4byte 0x3fc
986- .4byte 0x363
987- .string "makeoffset"
988- .4byte 0x3b3
989- .string "BIT_REF_4"
990- .4byte 0x3c5
991- .string "BIT_REF_2"
992- .4byte 0x3d7
993- .string "BIT_REF_1"
994- .4byte 0x3e9
995- .string "BIT_LB_TCB_enatex"
996- .4byte 0x0
997- .section .debug_aranges,"",@progbits
998- .4byte 0x1c
999- .2byte 0x2
1000- .4byte .Ldebug_info0
1001- .byte 0x4
1002- .byte 0x0
1003- .2byte 0x0
1004- .2byte 0x0
1005- .4byte .Ltext0
1006- .4byte .Letext0-.Ltext0
1007- .4byte 0x0
1008- .4byte 0x0
1009- .section .debug_str,"MS",@progbits,1
109+ .4byte .LFB30-.Ltext0
110+ .4byte .LCFI0-.Ltext0
111+ .2byte 0x1
112+ .byte 0x5e
113+ .4byte .LCFI0-.Ltext0
114+ .4byte .LFE30-.Ltext0
115+ .2byte 0x2
116+ .byte 0x7f
117+ .sleb128 8
118+ .4byte 0x0
119+ .4byte 0x0
120+ .file 2 "kernel/include/itron.h"
121+ .file 3 "/opt/uClinux2011R1RC4/bfin-elf/bin/../lib/gcc/bfin-elf/4.3.5/include/stddef.h"
122+ .file 4 "kernel/include/kernel.h"
123+ .file 5 "kernel/config/blackfin/cpu_config.h"
124+ .file 6 "kernel/kernel/queue.h"
125+ .file 7 "kernel/kernel/time_event.h"
126+ .file 8 "kernel/kernel/task.h"
127+ .section .debug_info
128+ .4byte 0x3f8
129+ .2byte 0x2
130+ .4byte .Ldebug_abbrev0
131+ .byte 0x4
132+ .uleb128 0x1
133+ .4byte .LASF57
134+ .byte 0x1
135+ .4byte .LASF58
136+ .4byte .LASF59
137+ .4byte .Ltext0
138+ .4byte .Letext0
139+ .4byte .Ldebug_line0
140+ .uleb128 0x2
141+ .byte 0x4
142+ .byte 0x5
143+ .4byte .LASF0
144+ .uleb128 0x3
145+ .4byte .LASF3
146+ .byte 0x3
147+ .byte 0xd6
148+ .4byte 0x37
149+ .uleb128 0x2
150+ .byte 0x4
151+ .byte 0x7
152+ .4byte .LASF1
153+ .uleb128 0x4
154+ .byte 0x4
155+ .byte 0x5
156+ .string "int"
157+ .uleb128 0x2
158+ .byte 0x1
159+ .byte 0x6
160+ .4byte .LASF2
161+ .uleb128 0x5
162+ .string "UB"
163+ .byte 0x2
164+ .byte 0x61
165+ .4byte 0x56
166+ .uleb128 0x2
167+ .byte 0x1
168+ .byte 0x8
169+ .4byte .LASF4
170+ .uleb128 0x2
171+ .byte 0x1
172+ .byte 0x6
173+ .4byte .LASF5
174+ .uleb128 0x2
175+ .byte 0x2
176+ .byte 0x5
177+ .4byte .LASF6
178+ .uleb128 0x5
179+ .string "UH"
180+ .byte 0x2
181+ .byte 0x67
182+ .4byte 0x75
183+ .uleb128 0x2
184+ .byte 0x2
185+ .byte 0x7
186+ .4byte .LASF7
187+ .uleb128 0x5
188+ .string "UW"
189+ .byte 0x2
190+ .byte 0x6c
191+ .4byte 0x86
192+ .uleb128 0x2
193+ .byte 0x4
194+ .byte 0x7
195+ .4byte .LASF8
196+ .uleb128 0x2
197+ .byte 0x8
198+ .byte 0x5
199+ .4byte .LASF9
200+ .uleb128 0x2
201+ .byte 0x8
202+ .byte 0x7
203+ .4byte .LASF10
204+ .uleb128 0x5
205+ .string "VP"
206+ .byte 0x2
207+ .byte 0x75
208+ .4byte 0xa5
209+ .uleb128 0x6
210+ .byte 0x4
211+ .uleb128 0x5
212+ .string "FP"
213+ .byte 0x2
214+ .byte 0x76
215+ .4byte 0xb1
216+ .uleb128 0x7
217+ .byte 0x4
218+ .4byte 0xb7
219+ .uleb128 0x8
220+ .4byte 0xbe
221+ .uleb128 0x9
222+ .byte 0x0
223+ .uleb128 0x5
224+ .string "INT"
225+ .byte 0x2
226+ .byte 0x78
227+ .4byte 0x3e
228+ .uleb128 0x3
229+ .4byte .LASF11
230+ .byte 0x2
231+ .byte 0x79
232+ .4byte 0x86
233+ .uleb128 0x5
234+ .string "ER"
235+ .byte 0x2
236+ .byte 0x7e
237+ .4byte 0xbe
238+ .uleb128 0x5
239+ .string "ATR"
240+ .byte 0x2
241+ .byte 0x80
242+ .4byte 0xc9
243+ .uleb128 0x3
244+ .4byte .LASF12
245+ .byte 0x2
246+ .byte 0x84
247+ .4byte 0x2c
248+ .uleb128 0x3
249+ .4byte .LASF13
250+ .byte 0x2
251+ .byte 0x88
252+ .4byte 0x7c
253+ .uleb128 0x3
254+ .4byte .LASF14
255+ .byte 0x2
256+ .byte 0x8d
257+ .4byte 0x9b
258+ .uleb128 0xa
259+ .byte 0x4
260+ .byte 0x7
261+ .uleb128 0x3
262+ .4byte .LASF15
263+ .byte 0x4
264+ .byte 0x65
265+ .4byte 0xc9
266+ .uleb128 0xb
267+ .4byte .LASF17
268+ .byte 0x8
269+ .byte 0x5
270+ .byte 0x99
271+ .4byte 0x13f
272+ .uleb128 0xc
273+ .string "sp"
274+ .byte 0x5
275+ .byte 0x9a
276+ .4byte 0x9b
277+ .byte 0x2
278+ .byte 0x23
279+ .uleb128 0x0
280+ .uleb128 0xc
281+ .string "pc"
282+ .byte 0x5
283+ .byte 0x9b
284+ .4byte 0xa7
285+ .byte 0x2
286+ .byte 0x23
287+ .uleb128 0x4
288+ .byte 0x0
289+ .uleb128 0x3
290+ .4byte .LASF16
291+ .byte 0x5
292+ .byte 0x9c
293+ .4byte 0x118
294+ .uleb128 0xb
295+ .4byte .LASF18
296+ .byte 0x8
297+ .byte 0x6
298+ .byte 0x38
299+ .4byte 0x173
300+ .uleb128 0xd
301+ .4byte .LASF19
302+ .byte 0x6
303+ .byte 0x39
304+ .4byte 0x173
305+ .byte 0x2
306+ .byte 0x23
307+ .uleb128 0x0
308+ .uleb128 0xd
309+ .4byte .LASF20
310+ .byte 0x6
311+ .byte 0x3a
312+ .4byte 0x173
313+ .byte 0x2
314+ .byte 0x23
315+ .uleb128 0x4
316+ .byte 0x0
317+ .uleb128 0x7
318+ .byte 0x4
319+ .4byte 0x14a
320+ .uleb128 0x3
321+ .4byte .LASF21
322+ .byte 0x6
323+ .byte 0x3b
324+ .4byte 0x14a
325+ .uleb128 0x3
326+ .4byte .LASF22
327+ .byte 0x7
328+ .byte 0x40
329+ .4byte 0x18f
330+ .uleb128 0x7
331+ .byte 0x4
332+ .4byte 0x195
333+ .uleb128 0xe
334+ .byte 0x1
335+ .4byte 0x1a1
336+ .uleb128 0xf
337+ .4byte 0x9b
338+ .byte 0x0
339+ .uleb128 0xb
340+ .4byte .LASF23
341+ .byte 0xc
342+ .byte 0x7
343+ .byte 0x42
344+ .4byte 0x1d8
345+ .uleb128 0xd
346+ .4byte .LASF24
347+ .byte 0x7
348+ .byte 0x43
349+ .4byte 0xc9
350+ .byte 0x2
351+ .byte 0x23
352+ .uleb128 0x0
353+ .uleb128 0xd
354+ .4byte .LASF25
355+ .byte 0x7
356+ .byte 0x44
357+ .4byte 0x184
358+ .byte 0x2
359+ .byte 0x23
360+ .uleb128 0x4
361+ .uleb128 0xc
362+ .string "arg"
363+ .byte 0x7
364+ .byte 0x45
365+ .4byte 0x9b
366+ .byte 0x2
367+ .byte 0x23
368+ .uleb128 0x8
369+ .byte 0x0
370+ .uleb128 0x3
371+ .4byte .LASF26
372+ .byte 0x7
373+ .byte 0x46
374+ .4byte 0x1a1
375+ .uleb128 0x7
376+ .byte 0x4
377+ .4byte 0x1d8
378+ .uleb128 0x10
379+ .4byte .LASF60
380+ .byte 0x4
381+ .byte 0x8
382+ .byte 0x82
383+ .4byte 0x20c
384+ .uleb128 0x11
385+ .4byte .LASF27
386+ .byte 0x8
387+ .byte 0x83
388+ .4byte 0xd4
389+ .uleb128 0x11
390+ .4byte .LASF28
391+ .byte 0x8
392+ .byte 0x84
393+ .4byte 0x1e3
394+ .byte 0x0
395+ .uleb128 0x3
396+ .4byte .LASF29
397+ .byte 0x8
398+ .byte 0x85
399+ .4byte 0x1e9
400+ .uleb128 0xb
401+ .4byte .LASF30
402+ .byte 0x20
403+ .byte 0x8
404+ .byte 0x94
405+ .4byte 0x294
406+ .uleb128 0xd
407+ .4byte .LASF31
408+ .byte 0x8
409+ .byte 0x95
410+ .4byte 0xde
411+ .byte 0x2
412+ .byte 0x23
413+ .uleb128 0x0
414+ .uleb128 0xd
415+ .4byte .LASF32
416+ .byte 0x8
417+ .byte 0x96
418+ .4byte 0xff
419+ .byte 0x2
420+ .byte 0x23
421+ .uleb128 0x4
422+ .uleb128 0xd
423+ .4byte .LASF33
424+ .byte 0x8
425+ .byte 0x97
426+ .4byte 0xa7
427+ .byte 0x2
428+ .byte 0x23
429+ .uleb128 0x8
430+ .uleb128 0xd
431+ .4byte .LASF34
432+ .byte 0x8
433+ .byte 0x98
434+ .4byte 0xc9
435+ .byte 0x2
436+ .byte 0x23
437+ .uleb128 0xc
438+ .uleb128 0xd
439+ .4byte .LASF35
440+ .byte 0x8
441+ .byte 0x99
442+ .4byte 0xe9
443+ .byte 0x2
444+ .byte 0x23
445+ .uleb128 0x10
446+ .uleb128 0xc
447+ .string "stk"
448+ .byte 0x8
449+ .byte 0x9a
450+ .4byte 0x9b
451+ .byte 0x2
452+ .byte 0x23
453+ .uleb128 0x14
454+ .uleb128 0xd
455+ .4byte .LASF36
456+ .byte 0x8
457+ .byte 0x9c
458+ .4byte 0xde
459+ .byte 0x2
460+ .byte 0x23
461+ .uleb128 0x18
462+ .uleb128 0xd
463+ .4byte .LASF37
464+ .byte 0x8
465+ .byte 0x9d
466+ .4byte 0xa7
467+ .byte 0x2
468+ .byte 0x23
469+ .uleb128 0x1c
470+ .byte 0x0
471+ .uleb128 0x3
472+ .4byte .LASF38
473+ .byte 0x8
474+ .byte 0x9e
475+ .4byte 0x217
476+ .uleb128 0xb
477+ .4byte .LASF39
478+ .byte 0x20
479+ .byte 0x8
480+ .byte 0xb7
481+ .4byte 0x347
482+ .uleb128 0xd
483+ .4byte .LASF40
484+ .byte 0x8
485+ .byte 0xb8
486+ .4byte 0x179
487+ .byte 0x2
488+ .byte 0x23
489+ .uleb128 0x0
490+ .uleb128 0xd
491+ .4byte .LASF41
492+ .byte 0x8
493+ .byte 0xb9
494+ .4byte 0x347
495+ .byte 0x2
496+ .byte 0x23
497+ .uleb128 0x8
498+ .uleb128 0x12
499+ .4byte .LASF42
500+ .byte 0x8
501+ .byte 0xbb
502+ .4byte 0x86
503+ .byte 0x4
504+ .byte 0x8
505+ .byte 0x18
506+ .byte 0x2
507+ .byte 0x23
508+ .uleb128 0xc
509+ .uleb128 0x12
510+ .4byte .LASF43
511+ .byte 0x8
512+ .byte 0xbc
513+ .4byte 0x86
514+ .byte 0x4
515+ .byte 0x8
516+ .byte 0x10
517+ .byte 0x2
518+ .byte 0x23
519+ .uleb128 0xc
520+ .uleb128 0x12
521+ .4byte .LASF44
522+ .byte 0x8
523+ .byte 0xbe
524+ .4byte 0x86
525+ .byte 0x4
526+ .byte 0x1
527+ .byte 0xf
528+ .byte 0x2
529+ .byte 0x23
530+ .uleb128 0xc
531+ .uleb128 0x12
532+ .4byte .LASF45
533+ .byte 0x8
534+ .byte 0xbf
535+ .4byte 0x86
536+ .byte 0x4
537+ .byte 0x1
538+ .byte 0xe
539+ .byte 0x2
540+ .byte 0x23
541+ .uleb128 0xc
542+ .uleb128 0x12
543+ .4byte .LASF46
544+ .byte 0x8
545+ .byte 0xc0
546+ .4byte 0x86
547+ .byte 0x4
548+ .byte 0x1
549+ .byte 0xd
550+ .byte 0x2
551+ .byte 0x23
552+ .uleb128 0xc
553+ .uleb128 0xd
554+ .4byte .LASF47
555+ .byte 0x8
556+ .byte 0xc2
557+ .4byte 0x10d
558+ .byte 0x2
559+ .byte 0x23
560+ .uleb128 0x10
561+ .uleb128 0xd
562+ .4byte .LASF48
563+ .byte 0x8
564+ .byte 0xc3
565+ .4byte 0x352
566+ .byte 0x2
567+ .byte 0x23
568+ .uleb128 0x14
569+ .uleb128 0xd
570+ .4byte .LASF49
571+ .byte 0x8
572+ .byte 0xc4
573+ .4byte 0x13f
574+ .byte 0x2
575+ .byte 0x23
576+ .uleb128 0x18
577+ .byte 0x0
578+ .uleb128 0x7
579+ .byte 0x4
580+ .4byte 0x34d
581+ .uleb128 0x13
582+ .4byte 0x294
583+ .uleb128 0x7
584+ .byte 0x4
585+ .4byte 0x20c
586+ .uleb128 0x5
587+ .string "TCB"
588+ .byte 0x8
589+ .byte 0xc5
590+ .4byte 0x29f
591+ .uleb128 0x14
592+ .byte 0x1
593+ .4byte .LASF61
594+ .byte 0x1
595+ .byte 0x3c
596+ .4byte .LFB30
597+ .4byte .LFE30
598+ .4byte .LLST0
599+ .uleb128 0x15
600+ .4byte 0x384
601+ .4byte 0x382
602+ .uleb128 0x16
603+ .byte 0x0
604+ .uleb128 0x17
605+ .byte 0x1
606+ .uleb128 0x7
607+ .byte 0x4
608+ .4byte 0x382
609+ .uleb128 0x18
610+ .4byte .LASF50
611+ .byte 0x5
612+ .2byte 0x12e
613+ .4byte 0x377
614+ .byte 0x1
615+ .byte 0x1
616+ .uleb128 0x18
617+ .4byte .LASF51
618+ .byte 0x5
619+ .2byte 0x130
620+ .4byte 0x18f
621+ .byte 0x1
622+ .byte 0x1
623+ .uleb128 0x19
624+ .4byte .LASF52
625+ .byte 0x7
626+ .byte 0x65
627+ .4byte 0xf4
628+ .byte 0x1
629+ .byte 0x1
630+ .uleb128 0x1a
631+ .4byte .LASF53
632+ .byte 0x1
633+ .byte 0x42
634+ .4byte 0x7c
635+ .byte 0x1
636+ .byte 0x5
637+ .byte 0x3
638+ .4byte _BIT_REF_4
639+ .uleb128 0x1a
640+ .4byte .LASF54
641+ .byte 0x1
642+ .byte 0x43
643+ .4byte 0x6b
644+ .byte 0x1
645+ .byte 0x5
646+ .byte 0x3
647+ .4byte _BIT_REF_2
648+ .uleb128 0x1a
649+ .4byte .LASF55
650+ .byte 0x1
651+ .byte 0x44
652+ .4byte 0x4c
653+ .byte 0x1
654+ .byte 0x5
655+ .byte 0x3
656+ .4byte _BIT_REF_1
657+ .uleb128 0x1a
658+ .4byte .LASF56
659+ .byte 0x1
660+ .byte 0x46
661+ .4byte 0x358
662+ .byte 0x1
663+ .byte 0x5
664+ .byte 0x3
665+ .4byte _BIT_LB_TCB_enatex
666+ .byte 0x0
667+ .section .debug_abbrev
668+ .uleb128 0x1
669+ .uleb128 0x11
670+ .byte 0x1
671+ .uleb128 0x25
672+ .uleb128 0xe
673+ .uleb128 0x13
674+ .uleb128 0xb
675+ .uleb128 0x3
676+ .uleb128 0xe
677+ .uleb128 0x1b
678+ .uleb128 0xe
679+ .uleb128 0x11
680+ .uleb128 0x1
681+ .uleb128 0x12
682+ .uleb128 0x1
683+ .uleb128 0x10
684+ .uleb128 0x6
685+ .byte 0x0
686+ .byte 0x0
687+ .uleb128 0x2
688+ .uleb128 0x24
689+ .byte 0x0
690+ .uleb128 0xb
691+ .uleb128 0xb
692+ .uleb128 0x3e
693+ .uleb128 0xb
694+ .uleb128 0x3
695+ .uleb128 0xe
696+ .byte 0x0
697+ .byte 0x0
698+ .uleb128 0x3
699+ .uleb128 0x16
700+ .byte 0x0
701+ .uleb128 0x3
702+ .uleb128 0xe
703+ .uleb128 0x3a
704+ .uleb128 0xb
705+ .uleb128 0x3b
706+ .uleb128 0xb
707+ .uleb128 0x49
708+ .uleb128 0x13
709+ .byte 0x0
710+ .byte 0x0
711+ .uleb128 0x4
712+ .uleb128 0x24
713+ .byte 0x0
714+ .uleb128 0xb
715+ .uleb128 0xb
716+ .uleb128 0x3e
717+ .uleb128 0xb
718+ .uleb128 0x3
719+ .uleb128 0x8
720+ .byte 0x0
721+ .byte 0x0
722+ .uleb128 0x5
723+ .uleb128 0x16
724+ .byte 0x0
725+ .uleb128 0x3
726+ .uleb128 0x8
727+ .uleb128 0x3a
728+ .uleb128 0xb
729+ .uleb128 0x3b
730+ .uleb128 0xb
731+ .uleb128 0x49
732+ .uleb128 0x13
733+ .byte 0x0
734+ .byte 0x0
735+ .uleb128 0x6
736+ .uleb128 0xf
737+ .byte 0x0
738+ .uleb128 0xb
739+ .uleb128 0xb
740+ .byte 0x0
741+ .byte 0x0
742+ .uleb128 0x7
743+ .uleb128 0xf
744+ .byte 0x0
745+ .uleb128 0xb
746+ .uleb128 0xb
747+ .uleb128 0x49
748+ .uleb128 0x13
749+ .byte 0x0
750+ .byte 0x0
751+ .uleb128 0x8
752+ .uleb128 0x15
753+ .byte 0x1
754+ .uleb128 0x1
755+ .uleb128 0x13
756+ .byte 0x0
757+ .byte 0x0
758+ .uleb128 0x9
759+ .uleb128 0x18
760+ .byte 0x0
761+ .byte 0x0
762+ .byte 0x0
763+ .uleb128 0xa
764+ .uleb128 0x24
765+ .byte 0x0
766+ .uleb128 0xb
767+ .uleb128 0xb
768+ .uleb128 0x3e
769+ .uleb128 0xb
770+ .byte 0x0
771+ .byte 0x0
772+ .uleb128 0xb
773+ .uleb128 0x13
774+ .byte 0x1
775+ .uleb128 0x3
776+ .uleb128 0xe
777+ .uleb128 0xb
778+ .uleb128 0xb
779+ .uleb128 0x3a
780+ .uleb128 0xb
781+ .uleb128 0x3b
782+ .uleb128 0xb
783+ .uleb128 0x1
784+ .uleb128 0x13
785+ .byte 0x0
786+ .byte 0x0
787+ .uleb128 0xc
788+ .uleb128 0xd
789+ .byte 0x0
790+ .uleb128 0x3
791+ .uleb128 0x8
792+ .uleb128 0x3a
793+ .uleb128 0xb
794+ .uleb128 0x3b
795+ .uleb128 0xb
796+ .uleb128 0x49
797+ .uleb128 0x13
798+ .uleb128 0x38
799+ .uleb128 0xa
800+ .byte 0x0
801+ .byte 0x0
802+ .uleb128 0xd
803+ .uleb128 0xd
804+ .byte 0x0
805+ .uleb128 0x3
806+ .uleb128 0xe
807+ .uleb128 0x3a
808+ .uleb128 0xb
809+ .uleb128 0x3b
810+ .uleb128 0xb
811+ .uleb128 0x49
812+ .uleb128 0x13
813+ .uleb128 0x38
814+ .uleb128 0xa
815+ .byte 0x0
816+ .byte 0x0
817+ .uleb128 0xe
818+ .uleb128 0x15
819+ .byte 0x1
820+ .uleb128 0x27
821+ .uleb128 0xc
822+ .uleb128 0x1
823+ .uleb128 0x13
824+ .byte 0x0
825+ .byte 0x0
826+ .uleb128 0xf
827+ .uleb128 0x5
828+ .byte 0x0
829+ .uleb128 0x49
830+ .uleb128 0x13
831+ .byte 0x0
832+ .byte 0x0
833+ .uleb128 0x10
834+ .uleb128 0x17
835+ .byte 0x1
836+ .uleb128 0x3
837+ .uleb128 0xe
838+ .uleb128 0xb
839+ .uleb128 0xb
840+ .uleb128 0x3a
841+ .uleb128 0xb
842+ .uleb128 0x3b
843+ .uleb128 0xb
844+ .uleb128 0x1
845+ .uleb128 0x13
846+ .byte 0x0
847+ .byte 0x0
848+ .uleb128 0x11
849+ .uleb128 0xd
850+ .byte 0x0
851+ .uleb128 0x3
852+ .uleb128 0xe
853+ .uleb128 0x3a
854+ .uleb128 0xb
855+ .uleb128 0x3b
856+ .uleb128 0xb
857+ .uleb128 0x49
858+ .uleb128 0x13
859+ .byte 0x0
860+ .byte 0x0
861+ .uleb128 0x12
862+ .uleb128 0xd
863+ .byte 0x0
864+ .uleb128 0x3
865+ .uleb128 0xe
866+ .uleb128 0x3a
867+ .uleb128 0xb
868+ .uleb128 0x3b
869+ .uleb128 0xb
870+ .uleb128 0x49
871+ .uleb128 0x13
872+ .uleb128 0xb
873+ .uleb128 0xb
874+ .uleb128 0xd
875+ .uleb128 0xb
876+ .uleb128 0xc
877+ .uleb128 0xb
878+ .uleb128 0x38
879+ .uleb128 0xa
880+ .byte 0x0
881+ .byte 0x0
882+ .uleb128 0x13
883+ .uleb128 0x26
884+ .byte 0x0
885+ .uleb128 0x49
886+ .uleb128 0x13
887+ .byte 0x0
888+ .byte 0x0
889+ .uleb128 0x14
890+ .uleb128 0x2e
891+ .byte 0x0
892+ .uleb128 0x3f
893+ .uleb128 0xc
894+ .uleb128 0x3
895+ .uleb128 0xe
896+ .uleb128 0x3a
897+ .uleb128 0xb
898+ .uleb128 0x3b
899+ .uleb128 0xb
900+ .uleb128 0x11
901+ .uleb128 0x1
902+ .uleb128 0x12
903+ .uleb128 0x1
904+ .uleb128 0x40
905+ .uleb128 0x6
906+ .byte 0x0
907+ .byte 0x0
908+ .uleb128 0x15
909+ .uleb128 0x1
910+ .byte 0x1
911+ .uleb128 0x49
912+ .uleb128 0x13
913+ .uleb128 0x1
914+ .uleb128 0x13
915+ .byte 0x0
916+ .byte 0x0
917+ .uleb128 0x16
918+ .uleb128 0x21
919+ .byte 0x0
920+ .byte 0x0
921+ .byte 0x0
922+ .uleb128 0x17
923+ .uleb128 0x15
924+ .byte 0x0
925+ .uleb128 0x27
926+ .uleb128 0xc
927+ .byte 0x0
928+ .byte 0x0
929+ .uleb128 0x18
930+ .uleb128 0x34
931+ .byte 0x0
932+ .uleb128 0x3
933+ .uleb128 0xe
934+ .uleb128 0x3a
935+ .uleb128 0xb
936+ .uleb128 0x3b
937+ .uleb128 0x5
938+ .uleb128 0x49
939+ .uleb128 0x13
940+ .uleb128 0x3f
941+ .uleb128 0xc
942+ .uleb128 0x3c
943+ .uleb128 0xc
944+ .byte 0x0
945+ .byte 0x0
946+ .uleb128 0x19
947+ .uleb128 0x34
948+ .byte 0x0
949+ .uleb128 0x3
950+ .uleb128 0xe
951+ .uleb128 0x3a
952+ .uleb128 0xb
953+ .uleb128 0x3b
954+ .uleb128 0xb
955+ .uleb128 0x49
956+ .uleb128 0x13
957+ .uleb128 0x3f
958+ .uleb128 0xc
959+ .uleb128 0x3c
960+ .uleb128 0xc
961+ .byte 0x0
962+ .byte 0x0
963+ .uleb128 0x1a
964+ .uleb128 0x34
965+ .byte 0x0
966+ .uleb128 0x3
967+ .uleb128 0xe
968+ .uleb128 0x3a
969+ .uleb128 0xb
970+ .uleb128 0x3b
971+ .uleb128 0xb
972+ .uleb128 0x49
973+ .uleb128 0x13
974+ .uleb128 0x3f
975+ .uleb128 0xc
976+ .uleb128 0x2
977+ .uleb128 0xa
978+ .byte 0x0
979+ .byte 0x0
980+ .byte 0x0
981+ .section .debug_pubnames,"",@progbits
982+ .4byte 0x5d
983+ .2byte 0x2
984+ .4byte .Ldebug_info0
985+ .4byte 0x3fc
986+ .4byte 0x363
987+ .string "makeoffset"
988+ .4byte 0x3b3
989+ .string "BIT_REF_4"
990+ .4byte 0x3c5
991+ .string "BIT_REF_2"
992+ .4byte 0x3d7
993+ .string "BIT_REF_1"
994+ .4byte 0x3e9
995+ .string "BIT_LB_TCB_enatex"
996+ .4byte 0x0
997+ .section .debug_aranges,"",@progbits
998+ .4byte 0x1c
999+ .2byte 0x2
1000+ .4byte .Ldebug_info0
1001+ .byte 0x4
1002+ .byte 0x0
1003+ .2byte 0x0
1004+ .2byte 0x0
1005+ .4byte .Ltext0
1006+ .4byte .Letext0-.Ltext0
1007+ .4byte 0x0
1008+ .4byte 0x0
1009+ .section .debug_str,"MS",@progbits,1
10101010 .LASF12:
1011- .string "SIZE"
1011+ .string "SIZE"
10121012 .LASF57:
1013- .string "GNU C 4.3.5"
1013+ .string "GNU C 4.3.5"
10141014 .LASF16:
1015- .string "CTXB"
1015+ .string "CTXB"
10161016 .LASF27:
1017- .string "wercd"
1017+ .string "wercd"
10181018 .LASF6:
1019- .string "short int"
1019+ .string "short int"
10201020 .LASF3:
1021- .string "size_t"
1021+ .string "size_t"
10221022 .LASF53:
1023- .string "BIT_REF_4"
1023+ .string "BIT_REF_4"
10241024 .LASF14:
1025- .string "VP_INT"
1025+ .string "VP_INT"
10261026 .LASF40:
1027- .string "task_queue"
1027+ .string "task_queue"
10281028 .LASF28:
1029- .string "tmevtb"
1029+ .string "tmevtb"
10301030 .LASF47:
1031- .string "texptn"
1031+ .string "texptn"
10321032 .LASF41:
1033- .string "tinib"
1033+ .string "tinib"
10341034 .LASF33:
1035- .string "task"
1035+ .string "task"
10361036 .LASF38:
1037- .string "TINIB"
1037+ .string "TINIB"
10381038 .LASF32:
1039- .string "exinf"
1039+ .string "exinf"
10401040 .LASF50:
1041- .string "_kernel_dev_vector"
1041+ .string "_kernel_dev_vector"
10421042 .LASF60:
1043- .string "waiting_information"
1043+ .string "waiting_information"
10441044 .LASF24:
1045- .string "index"
1045+ .string "index"
10461046 .LASF17:
1047- .string "task_context_block"
1047+ .string "task_context_block"
10481048 .LASF59:
1049- .string "/home/takemasa/gits/i2c-test.git/i2c-test"
1049+ .string "/home/takemasa/gits/i2c-test.git/i2c-test"
10501050 .LASF31:
1051- .string "tskatr"
1051+ .string "tskatr"
10521052 .LASF39:
1053- .string "task_control_block"
1053+ .string "task_control_block"
10541054 .LASF22:
1055- .string "CBACK"
1055+ .string "CBACK"
10561056 .LASF9:
1057- .string "long long int"
1057+ .string "long long int"
10581058 .LASF49:
1059- .string "tskctxb"
1059+ .string "tskctxb"
10601060 .LASF46:
1061- .string "enatex"
1061+ .string "enatex"
10621062 .LASF0:
1063- .string "long int"
1063+ .string "long int"
10641064 .LASF11:
1065- .string "UINT"
1065+ .string "UINT"
10661066 .LASF61:
1067- .string "makeoffset"
1067+ .string "makeoffset"
10681068 .LASF45:
1069- .string "wupcnt"
1069+ .string "wupcnt"
10701070 .LASF48:
1071- .string "winfo"
1071+ .string "winfo"
10721072 .LASF18:
1073- .string "queue"
1073+ .string "queue"
10741074 .LASF29:
1075- .string "WINFO"
1075+ .string "WINFO"
10761076 .LASF21:
1077- .string "QUEUE"
1077+ .string "QUEUE"
10781078 .LASF4:
1079- .string "unsigned char"
1079+ .string "unsigned char"
10801080 .LASF2:
1081- .string "signed char"
1081+ .string "signed char"
10821082 .LASF10:
1083- .string "long long unsigned int"
1083+ .string "long long unsigned int"
10841084 .LASF13:
1085- .string "SYSTIM"
1085+ .string "SYSTIM"
10861086 .LASF8:
1087- .string "unsigned int"
1087+ .string "unsigned int"
10881088 .LASF7:
1089- .string "short unsigned int"
1089+ .string "short unsigned int"
10901090 .LASF5:
1091- .string "char"
1091+ .string "char"
10921092 .LASF43:
1093- .string "priority"
1093+ .string "priority"
10941094 .LASF15:
1095- .string "TEXPTN"
1095+ .string "TEXPTN"
10961096 .LASF36:
1097- .string "texatr"
1097+ .string "texatr"
10981098 .LASF51:
1099- .string "_kernel_exc_vector"
1099+ .string "_kernel_exc_vector"
11001100 .LASF35:
1101- .string "stksz"
1101+ .string "stksz"
11021102 .LASF37:
1103- .string "texrtn"
1103+ .string "texrtn"
11041104 .LASF1:
1105- .string "long unsigned int"
1105+ .string "long unsigned int"
11061106 .LASF34:
1107- .string "ipriority"
1107+ .string "ipriority"
11081108 .LASF44:
1109- .string "actcnt"
1109+ .string "actcnt"
11101110 .LASF52:
1111- .string "_kernel_next_time"
1111+ .string "_kernel_next_time"
11121112 .LASF30:
1113- .string "task_initialization_block"
1113+ .string "task_initialization_block"
11141114 .LASF26:
1115- .string "TMEVTB"
1115+ .string "TMEVTB"
11161116 .LASF23:
1117- .string "time_event_block"
1117+ .string "time_event_block"
11181118 .LASF55:
1119- .string "BIT_REF_1"
1119+ .string "BIT_REF_1"
11201120 .LASF54:
1121- .string "BIT_REF_2"
1121+ .string "BIT_REF_2"
11221122 .LASF20:
1123- .string "prev"
1123+ .string "prev"
11241124 .LASF42:
1125- .string "tstat"
1125+ .string "tstat"
11261126 .LASF58:
1127- .string "kernel/config/blackfin/makeoffset.c"
1127+ .string "kernel/config/blackfin/makeoffset.c"
11281128 .LASF56:
1129- .string "BIT_LB_TCB_enatex"
1129+ .string "BIT_LB_TCB_enatex"
11301130 .LASF19:
1131- .string "next"
1131+ .string "next"
11321132 .LASF25:
1133- .string "callback"
1134- .ident "GCC: (ADI-2011R1-RC4) 4.3.5"
1133+ .string "callback"
1134+ .ident "GCC: (ADI-2011R1-RC4) 4.3.5"
--- a/i2c-test/offset.h
+++ b/i2c-test/offset.h
@@ -1,8 +1,8 @@
11 /* This file is generated by genoffset. */
22
3-#define TCB_texptn 16
4-#define TCB_sp 24
5-#define TCB_pc 28
6-#define TCB_enatex 14
7-#define TCB_enatex_bit 2
8-#define TCB_enatex_mask 0x4
3+#define TCB_texptn 16
4+#define TCB_sp 24
5+#define TCB_pc 28
6+#define TCB_enatex 14
7+#define TCB_enatex_bit 2
8+#define TCB_enatex_mask 0x4