• R/O
  • HTTP
  • SSH
  • HTTPS

sample-i2c: Commit

middleware-i2cのコントローラ使用例。回路図同梱


Commit MetaInfo

Revision4f870538c49f9db5b419d39918a2b8a60c92ecf6 (tree)
Time2012-09-16 13:36:33
Authortakemasa <suikan@user...>
Commitertakemasa

Log Message

make clean後のコミット

Change Summary

  • delete: i2c-test/kernel_cfg.c
  • delete: i2c-test/kernel_chk.c
  • delete: i2c-test/kernel_id.h
  • delete: i2c-test/kernel_obj.dat
  • delete: i2c-test/makeoffset.s
  • delete: i2c-test/offset.h

Incremental Difference

--- a/i2c-test/kernel_cfg.c
+++ /dev/null
@@ -1,176 +0,0 @@
1-/* Configured with [-s tmpfile1 -c -obj -cpu blackfin -system ezkit_bf548 ] */
2-
3-#include "kernel_cfg.h"
4-#include "kernel_id.h"
5-
6-#if TKERNEL_PRVER >= 0x1040
7-#define CFG_INTHDR_ENTRY(inthdr) INTHDR_ENTRY(inthdr)
8-#define CFG_EXCHDR_ENTRY(exchdr) EXCHDR_ENTRY(exchdr)
9-#define CFG_INT_ENTRY(inthdr) INT_ENTRY(inthdr)
10-#define CFG_EXC_ENTRY(exchdr) EXC_ENTRY(exchdr)
11-#else
12-#error "This configuration file has no compatibility with TOPPERS/JSP rel 1.3 or earlier."
13-#endif
14-
15-#ifndef __EMPTY_LABEL
16-#define __EMPTY_LABEL(x,y) x y[0]
17-#endif
18-
19-#if TKERNEL_PRID != 0x0001u /* TOPPERS/JSP */
20-#error "You can not use this configuration file without TOPPERS/JSP"
21-#endif
22-
23- /* User specified include files*/
24-#include "i2c-test.h"
25-#include "hw_timer.h"
26-#include "timer.h"
27-#include "hw_serial.h"
28-#include "serial.h"
29-#include "logtask.h"
30-#include "i2c_subsystem.h"
31-
32-
33- /* Object initializer [task] */
34-
35-#define TNUM_TSKID 2
36-
37-const ID _kernel_tmax_tskid = (TMIN_TSKID + TNUM_TSKID - 1);
38-
39-static __STK_UNIT __stack_MAIN_TASK[__TCOUNT_STK_UNIT(1024)];
40-static __STK_UNIT __stack_LOGTASK[__TCOUNT_STK_UNIT(LOGTASK_STACK_SIZE)];
41-
42-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 ) 2), (FP)(logtask), INT_PRIORITY(LOGTASK_PRIORITY), __TROUND_STK_UNIT(LOGTASK_STACK_SIZE), __stack_LOGTASK, TA_NULL, (FP)(NULL)}
45-};
46-
47-const ID _kernel_torder_table[TNUM_TSKID] = {1,2};
48-
49-TCB _kernel_tcb_table[TNUM_TSKID];
50-
51-
52- /* Object initializer [semaphore] */
53-
54-#define TNUM_SEMID 6
55-
56-const ID _kernel_tmax_semid = (TMIN_SEMID + TNUM_SEMID - 1);
57-
58-const SEMINIB _kernel_seminib_table[TNUM_SEMID] = {
59- {1, 0, 1},
60- {1, 1, 1},
61- {1, 0, 1},
62- {1, 1, 1},
63- {1, 1, 1},
64- {1, 0, 1}
65-};
66-
67-SEMCB _kernel_semcb_table[TNUM_SEMID];
68-
69-
70- /* Object initializer [eventflag] */
71-
72-#define TNUM_FLGID 0
73-
74-const ID _kernel_tmax_flgid = (TMIN_FLGID + TNUM_FLGID - 1);
75-
76-__EMPTY_LABEL(const FLGINIB, _kernel_flginib_table);
77-__EMPTY_LABEL(FLGCB, _kernel_flgcb_table);
78-
79-
80- /* Object initializer [dataqueue] */
81-
82-#define TNUM_DTQID 0
83-
84-const ID _kernel_tmax_dtqid = (TMIN_DTQID + TNUM_DTQID - 1);
85-
86-__EMPTY_LABEL(const DTQINIB, _kernel_dtqinib_table);
87-__EMPTY_LABEL(DTQCB, _kernel_dtqcb_table);
88-
89-
90- /* Object initializer [mailbox] */
91-
92-#define TNUM_MBXID 0
93-
94-const ID _kernel_tmax_mbxid = (TMIN_MBXID + TNUM_MBXID - 1);
95-
96-__EMPTY_LABEL(const MBXINIB, _kernel_mbxinib_table);
97-__EMPTY_LABEL(MBXCB, _kernel_mbxcb_table);
98-
99-
100- /* Object initializer [mempfix] */
101-
102-#define TNUM_MPFID 0
103-
104-const ID _kernel_tmax_mpfid = (TMIN_MPFID + TNUM_MPFID - 1);
105-
106-__EMPTY_LABEL(const MPFINIB, _kernel_mpfinib_table);
107-__EMPTY_LABEL(MPFCB, _kernel_mpfcb_table);
108-
109-
110- /* Object initializer [cyclic] */
111-
112-#define TNUM_CYCID 0
113-
114-const ID _kernel_tmax_cycid = (TMIN_CYCID + TNUM_CYCID - 1);
115-
116-__EMPTY_LABEL(const CYCINIB, _kernel_cycinib_table);
117-__EMPTY_LABEL(CYCCB, _kernel_cyccb_table);
118-
119-
120- /* Object initializer [interrupt] */
121-
122-#define TNUM_INHNO 4
123-
124-const UINT _kernel_tnum_inhno = TNUM_INHNO;
125-
126-CFG_INTHDR_ENTRY(sio1_rx_handler);
127-CFG_INTHDR_ENTRY(sio1_tx_handler);
128-CFG_INTHDR_ENTRY(i2c0_master_handler);
129-CFG_INTHDR_ENTRY(timer_handler);
130-
131-const INHINIB _kernel_inhinib_table[TNUM_INHNO] = {
132- {41,0,(FP)CFG_INT_ENTRY(sio1_rx_handler)},
133- {42,0,(FP)CFG_INT_ENTRY(sio1_tx_handler)},
134- {45,0,(FP)CFG_INT_ENTRY(i2c0_master_handler)},
135- {93,0,(FP)CFG_INT_ENTRY(timer_handler)}
136-};
137-
138-
139- /* Object initializer [exception] */
140-
141-#define TNUM_EXCNO 0
142-
143-const UINT _kernel_tnum_excno = TNUM_EXCNO;
144-
145-__EMPTY_LABEL(const EXCINIB, _kernel_excinib_table);
146- /* Initialization handler */
147-
148-void
149-_kernel_call_inirtn(void)
150-{
151- timer_initialize( (VP_INT)(0) );
152- serial_initialize( (VP_INT)(0) );
153- i2c_master_initialize( (VP_INT)(0) );
154-}
155-
156-void
157-_kernel_call_terrtn(void)
158-{
159- timer_terminate( (VP_INT)(0) );
160-}
161-
162- /* Object initialization routine */
163-
164-void
165-_kernel_object_initialize(void)
166-{
167- _kernel_task_initialize();
168- _kernel_semaphore_initialize();
169- _kernel_interrupt_initialize();
170-}
171-
172-TMEVTN _kernel_tmevt_heap[TNUM_TSKID + TNUM_CYCID];
173-
174- /* Variables for kernel checker */
175-const UW _checker_magic_number = 0x01234567;
176-
--- a/i2c-test/kernel_chk.c
+++ /dev/null
@@ -1,138 +0,0 @@
1-#include "jsp_kernel.h"
2-#include "logtask.h"
3-#include "timer.h"
4-
5-#define OBJECT(x,y) __asm("d" #x "," #y "@");
6-#define MEMBER(x,y) __asm("s" #x "::" #y ",(%0),(%1)@" ::\
7- "i"(sizeof(((struct x *)0)->y)), "i"(&((struct x *)0)->y));
8-#define VAR(x) __asm("s" #x ",(%0),(0)@" :: "i"(sizeof(x)));
9-#define EVAR(x,y) __asm("s" #y ",(%0),(0)@" :: "i"(sizeof(x)));
10-#define SVAR(x) __asm("s" #x ",(%0),(0)@" :: "i"(sizeof(x[0])));
11-#define DEFS(x) __asm("s" #x ",(%0),(0)@" :: "i"((unsigned long)x));
12-
13-#include "queue.h"
14-
15-#include "task.h"
16-#include "semaphore.h"
17-#include "eventflag.h"
18-#include "dataqueue.h"
19-#include "mailbox.h"
20-#include "mempfix.h"
21-#include "cyclic.h"
22-#include "../kernel/exception.h"
23-#include "interrupt.h"
24-#include "wait.h"
25-
26-void checker_function(void)
27-{
28- DEFS(TMAX_TPRI);
29- DEFS(TMIN_TPRI);
30-
31- DEFS(TMAX_MPRI);
32- DEFS(TMIN_MPRI);
33-
34- DEFS(TMAX_RELTIM);
35-
36- MEMBER(queue,next);
37- MEMBER(queue,prev);
38-
39-
40- /* task */
41-
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);
54-
55-
56- /* semaphore */
57-
58- OBJECT(semaphore_5,SEM_I2C0_BLOCK);
59- OBJECT(semaphore_6,SEM_I2C0_SIGNAL);
60- OBJECT(semaphore_1,SERIAL_RCV_SEM1);
61- OBJECT(semaphore_3,SERIAL_RCV_SEM2);
62- OBJECT(semaphore_2,SERIAL_SND_SEM1);
63- OBJECT(semaphore_4,SERIAL_SND_SEM2);
64- EVAR(ID,_kernel_tmax_semid);
65- EVAR(SEMINIB,_kernel_seminib_table);
66- MEMBER(semaphore_initialization_block,sematr);
67- MEMBER(semaphore_initialization_block,isemcnt);
68- MEMBER(semaphore_initialization_block,maxsem);
69-
70-
71- /* eventflag */
72-
73- EVAR(ID,_kernel_tmax_flgid);
74- EVAR(FLGINIB,_kernel_flginib_table);
75- MEMBER(eventflag_initialization_block,flgatr);
76- MEMBER(eventflag_initialization_block,iflgptn);
77-
78-
79- /* dataqueue */
80-
81- EVAR(ID,_kernel_tmax_dtqid);
82- EVAR(DTQINIB,_kernel_dtqinib_table);
83- MEMBER(dataqueue_initialization_block,dtqatr);
84- MEMBER(dataqueue_initialization_block,dtqcnt);
85- MEMBER(dataqueue_initialization_block,dtq);
86-
87-
88- /* mailbox */
89-
90- EVAR(ID,_kernel_tmax_mbxid);
91- EVAR(MBXINIB,_kernel_mbxinib_table);
92- MEMBER(mailbox_initialization_block,mbxatr);
93- MEMBER(mailbox_initialization_block,maxmpri);
94-
95-
96- /* mempfix */
97-
98- EVAR(ID,_kernel_tmax_mpfid);
99- EVAR(MPFINIB,_kernel_mpfinib_table);
100- MEMBER(fixed_memorypool_initialization_block,mpfatr);
101- MEMBER(fixed_memorypool_initialization_block,blksz);
102- MEMBER(fixed_memorypool_initialization_block,mpf);
103- MEMBER(fixed_memorypool_initialization_block,limit);
104-
105-
106- /* cyclic */
107-
108- EVAR(ID,_kernel_tmax_cycid);
109- EVAR(CYCINIB,_kernel_cycinib_table);
110- MEMBER(cyclic_handler_initialization_block,cycatr);
111- MEMBER(cyclic_handler_initialization_block,exinf);
112- MEMBER(cyclic_handler_initialization_block,cychdr);
113- MEMBER(cyclic_handler_initialization_block,cyctim);
114- MEMBER(cyclic_handler_initialization_block,cycphs);
115-
116-
117- /* interrupt */
118-
119- OBJECT(interrupt_0,41);
120- OBJECT(interrupt_1,42);
121- OBJECT(interrupt_2,45);
122- OBJECT(interrupt_3,93);
123- EVAR(ID,_kernel_tnum_inhno);
124- EVAR(INHINIB,_kernel_inhinib_table);
125- MEMBER(interrupt_handler_initialization_block,inhno);
126- MEMBER(interrupt_handler_initialization_block,inhatr);
127- MEMBER(interrupt_handler_initialization_block,inthdr);
128-
129-
130- /* exception */
131-
132- EVAR(ID,_kernel_tnum_excno);
133- EVAR(EXCINIB,_kernel_excinib_table);
134- MEMBER(cpu_exception_handler_initialization_block,excno);
135- MEMBER(cpu_exception_handler_initialization_block,excatr);
136- MEMBER(cpu_exception_handler_initialization_block,exchdr);
137-
138-}
--- a/i2c-test/kernel_id.h
+++ /dev/null
@@ -1,16 +0,0 @@
1-#ifndef KERNEL_ID_H
2-#define KERNEL_ID_H
3-
4- /* object identifier deifnition */
5-
6-#define LOGTASK 2
7-#define MAIN_TASK 1
8-#define SEM_I2C0_BLOCK 5
9-#define SEM_I2C0_SIGNAL 6
10-#define SERIAL_RCV_SEM1 1
11-#define SERIAL_RCV_SEM2 3
12-#define SERIAL_SND_SEM1 2
13-#define SERIAL_SND_SEM2 4
14-
15-#endif /* KERNEL_ID_H */
16-
Binary files a/i2c-test/kernel_obj.dat and /dev/null differ
--- a/i2c-test/makeoffset.s
+++ /dev/null
@@ -1,1134 +0,0 @@
1-.file "kernel/config/blackfin/makeoffset.c";
2- .section .debug_abbrev,"",@progbits
3-.Ldebug_abbrev0:
4- .section .debug_info,"",@progbits
5-.Ldebug_info0:
6- .section .debug_line,"",@progbits
7-.Ldebug_line0:
8-.text;
9-.Ltext0:
10- .align 4
11-.global _makeoffset;
12-.type _makeoffset, STT_FUNC;
13-_makeoffset:
14-.LFB30:
15- .file 1 "kernel/config/blackfin/makeoffset.c"
16- .loc 1 60 0
17- nop;
18- nop;
19- LINK 0;
20-.LCFI0:
21- .loc 1 61 0
22-// 61 "kernel/config/blackfin/makeoffset.c" 1
23- OFFSET_DEF TCB_texptn = 16
24-// 0 "" 2
25- .loc 1 62 0
26-// 62 "kernel/config/blackfin/makeoffset.c" 1
27- OFFSET_DEF TCB_sp = 24
28-// 0 "" 2
29- .loc 1 63 0
30-// 63 "kernel/config/blackfin/makeoffset.c" 1
31- OFFSET_DEF TCB_pc = 28
32-// 0 "" 2
33- .loc 1 64 0
34- UNLINK;
35- rts;
36-.LFE30:
37- .size _makeoffset, .-_makeoffset
38-.global _BIT_REF_4;
39-.data;
40- .align 4
41- .type _BIT_REF_4, @object
42- .size _BIT_REF_4, 4
43-_BIT_REF_4:
44- .long 305419896
45-.global _BIT_REF_2;
46- .align 2
47- .type _BIT_REF_2, @object
48- .size _BIT_REF_2, 2
49-_BIT_REF_2:
50- .short 4660
51-.global _BIT_REF_1;
52- .type _BIT_REF_1, @object
53- .size _BIT_REF_1, 1
54-_BIT_REF_1:
55- .byte 18
56-.global _BIT_LB_TCB_enatex;
57- .align 4
58- .type _BIT_LB_TCB_enatex, @object
59- .size _BIT_LB_TCB_enatex, 32
60-_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
73-.Lframe0:
74- .4byte .LECIE0-.LSCIE0
75-.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
86-.LECIE0:
87-.LSFDE0:
88- .4byte .LEFDE0-.LASFDE0
89-.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
103-.LEFDE0:
104-.text;
105-.Letext0:
106- .section .debug_loc,"",@progbits
107-.Ldebug_loc0:
108-.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
1010-.LASF12:
1011- .string "SIZE"
1012-.LASF57:
1013- .string "GNU C 4.3.5"
1014-.LASF16:
1015- .string "CTXB"
1016-.LASF27:
1017- .string "wercd"
1018-.LASF6:
1019- .string "short int"
1020-.LASF3:
1021- .string "size_t"
1022-.LASF53:
1023- .string "BIT_REF_4"
1024-.LASF14:
1025- .string "VP_INT"
1026-.LASF40:
1027- .string "task_queue"
1028-.LASF28:
1029- .string "tmevtb"
1030-.LASF47:
1031- .string "texptn"
1032-.LASF41:
1033- .string "tinib"
1034-.LASF33:
1035- .string "task"
1036-.LASF38:
1037- .string "TINIB"
1038-.LASF32:
1039- .string "exinf"
1040-.LASF50:
1041- .string "_kernel_dev_vector"
1042-.LASF60:
1043- .string "waiting_information"
1044-.LASF24:
1045- .string "index"
1046-.LASF17:
1047- .string "task_context_block"
1048-.LASF59:
1049- .string "/home/takemasa/gits/i2c-test.git/i2c-test"
1050-.LASF31:
1051- .string "tskatr"
1052-.LASF39:
1053- .string "task_control_block"
1054-.LASF22:
1055- .string "CBACK"
1056-.LASF9:
1057- .string "long long int"
1058-.LASF49:
1059- .string "tskctxb"
1060-.LASF46:
1061- .string "enatex"
1062-.LASF0:
1063- .string "long int"
1064-.LASF11:
1065- .string "UINT"
1066-.LASF61:
1067- .string "makeoffset"
1068-.LASF45:
1069- .string "wupcnt"
1070-.LASF48:
1071- .string "winfo"
1072-.LASF18:
1073- .string "queue"
1074-.LASF29:
1075- .string "WINFO"
1076-.LASF21:
1077- .string "QUEUE"
1078-.LASF4:
1079- .string "unsigned char"
1080-.LASF2:
1081- .string "signed char"
1082-.LASF10:
1083- .string "long long unsigned int"
1084-.LASF13:
1085- .string "SYSTIM"
1086-.LASF8:
1087- .string "unsigned int"
1088-.LASF7:
1089- .string "short unsigned int"
1090-.LASF5:
1091- .string "char"
1092-.LASF43:
1093- .string "priority"
1094-.LASF15:
1095- .string "TEXPTN"
1096-.LASF36:
1097- .string "texatr"
1098-.LASF51:
1099- .string "_kernel_exc_vector"
1100-.LASF35:
1101- .string "stksz"
1102-.LASF37:
1103- .string "texrtn"
1104-.LASF1:
1105- .string "long unsigned int"
1106-.LASF34:
1107- .string "ipriority"
1108-.LASF44:
1109- .string "actcnt"
1110-.LASF52:
1111- .string "_kernel_next_time"
1112-.LASF30:
1113- .string "task_initialization_block"
1114-.LASF26:
1115- .string "TMEVTB"
1116-.LASF23:
1117- .string "time_event_block"
1118-.LASF55:
1119- .string "BIT_REF_1"
1120-.LASF54:
1121- .string "BIT_REF_2"
1122-.LASF20:
1123- .string "prev"
1124-.LASF42:
1125- .string "tstat"
1126-.LASF58:
1127- .string "kernel/config/blackfin/makeoffset.c"
1128-.LASF56:
1129- .string "BIT_LB_TCB_enatex"
1130-.LASF19:
1131- .string "next"
1132-.LASF25:
1133- .string "callback"
1134- .ident "GCC: (ADI-2011R1-RC4) 4.3.5"
--- a/i2c-test/offset.h
+++ /dev/null
@@ -1,8 +0,0 @@
1-/* This file is generated by genoffset. */
2-
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
Show on old repository browser