(toppers-users 1056) Re: TCPIPのi386版について

oohashi oohashi @ tms-ltd.co.jp
2003年 8月 19日 (火) 20:05:36 JST


東京マイクロシステムの大箸です。

ed_dis_interとed_ena_interは、それぞれ
/tinet/config/h8net/akih8_3068f_lan/sys_support.S
の中で定義されています。
NICの割り込み許可と禁止です。

/tinet/config/h8net/akih8_3068f_lan/tinet_sys_config.h
の中でNIC(RTL8019AS) に関する定義もしています。

お手持ちの環境(NIC)に合わせて、変更が必要なところでしょう。

この割り込みのマスクと解除の部分はターゲットにあわせて
新規作成するところではないでしょうか。

------------------------------------
(有)東京マイクロシステム

  システム開発部
   大箸 隆久

〒120-0036
 東京都足立区千住仲町11−18−4F
                 
TEL 03-3888-6281(代表)
FAX 03-3888-6388
------------------------------------

----- Original Message ----- 
From: "伊藤 宜博"
To: <users @ toppers.jp>
Sent: Tuesday, August 19, 2003 7:31 PM
Subject: (toppers-users 1055) TCPIPのi386版について


> エバーグリーン)伊藤 と申します
>
> 弊社では、TRON上で動作するNICドライバ開発を行っており、評価環境を構
築しています
> JSPカーネルとTINETを組み込んで、PC/AT互換機(i386)で動作させようと
> コンパイルすると以下のようなエラーとなってしまいます。
> ご教授お願いします。
>
> $ make
>
i386-elf-gcc      -DSUPPORT_INET4 -DSUPPORT_TCP -DSUPPORT_UDP -DSUPPORT_ETHE
R -DIF_ETHER_CFG_ED -D
>
USE_TCP_NON_BLOCKING -DUSE_COPYSAVE_API -DUSE_UDP_NON_BLOCKING -I. -I../incl
ude -I../config/i386ne
>
-I../config/i386net/pcat -I../tinet/include  -g -Wall  -nostdlib   -Wl,-Ttex
t,0x100000 -T ../con
> fig/i386net/elf_i386.ld -o jsp start.o banner.o kernel_cfg.o  timer.o
serial.o logtask.o vasyslog.
> o jsp_perror.o strerror.o  nserv.o net_buf.o net_count.o net_subr.o
net_timer.o route.o route_cfg.
> o in_subr.o ip_input.o ip_output.o ip_icmp.o tcp_input.o tcp_output.o
tcp_usrreq.o tcp_subr.o tcp_
> timer.o udp_input.o udp_usrreq.o udp_output.o tinet_cfg.o  if.o ethernet.o
if_ether.o if_ed.o neta
> pp_subr.o dbg_cons.o ping.o udp_echo_cli.o udp_echo_srv.o tcp_echo_srv1.o
tcp_echo_cli4.o tcp_disc
> ard_srv.o  -lc libkernel.a   -lgcc
> if_ed.o: In function `_tinet_ed_reset':
> /home/hiro/TOPPERS/jsp/nserv/../tinet/netdev/if_ed.c:437: undefined
reference to `ed_dis_inter'
> /home/hiro/TOPPERS/jsp/nserv/../tinet/netdev/if_ed.c:444: undefined
reference to `ed_ena_inter'
> if_ed.o: In function `_tinet_ed_init':
> /home/hiro/TOPPERS/jsp/nserv/../tinet/netdev/if_ed.c:515: undefined
reference to `ed_dis_inter'
> /home/hiro/TOPPERS/jsp/nserv/../tinet/netdev/if_ed.c:521: undefined
reference to `ed_ena_inter'
> if_ed.o: In function `_tinet_ed_read':
> /home/hiro/TOPPERS/jsp/nserv/../tinet/netdev/if_ed.c:539: undefined
reference to `ed_dis_inter'
> /home/hiro/TOPPERS/jsp/nserv/../tinet/netdev/if_ed.c:575: undefined
reference to `ed_ena_inter'
> /home/hiro/TOPPERS/jsp/nserv/../tinet/netdev/if_ed.c:602: undefined
reference to `ed_ena_inter'
> if_ed.o: In function `_tinet_ed_start':
> /home/hiro/TOPPERS/jsp/nserv/../tinet/netdev/if_ed.c:618: undefined
reference to `ed_dis_inter'
> /home/hiro/TOPPERS/jsp/nserv/../tinet/netdev/if_ed.c:643: undefined
reference to `ed_ena_inter'
> collect2: ld returned 1 exit status
> make: *** [jsp] Error 1
>
> 環境は
>  debian Linux
>   binutils v2.10.1
>   gcc v3.3
>   newlib v1.9.0
>
>  JSPカーネルv1.3にcfg-1.3-snapshot.tar.gzとtinet-1.0-eg.tar.gzを組み込ん
でいます。
>
> 宜しくお願いします
>
>
>
>