[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(toppers-users 54) SH3 依存部のバグ
- To: toppers-users at ertl ics tut ac jp
- From: Shinya Honda <honda at ertl ics tut ac jp>
- Date: Sat, 09 Dec 2000 06:24:33 GMT
豊橋技術科学大学の本田です。
SH3の依存部のバグが見つかりましたので報告します。
"<"が修正前で、">"が修正後です。
1.
./config/sh3/cpu_support.S
SRのIPMのアンマスクパターン修正
修正前
_unmask_ipm:
< .long 0x40000000
修正後
_unmask_ipm:
> .long 0xffffff0f
2.
../config/sh3/cpu_config.h
修正前
Inline BOOL
exc_sense_context(VP p_excinf)
{
UW nest;
Asm("stc r7_bank,%0":"=r"(nest));
< return(nest > 0);
}
修正後
Inline BOOL
exc_sense_context(VP p_excinf)
{
UW nest;
Asm("stc r7_bank,%0":"=r"(nest));
> return(nest > 1);
}
3.
./DVESH7700/sample1.cfg
./DVESH7700/sample1.cfg.without_stab
./CARDE09A/sample1.cfg
./RSH3/sample1.cfg
./RSH3/sample1.c
CPU例外ハンドラの静的APIで例外番号の指定が間違っているため、
修正前
< DEF_EXC(8, { TA_HLNG, LoadAddressError_handler} );
修正後
> DEF_EXC(224, { TA_HLNG, LoadAddressError_handler} );
RSH3/sample.cのCPU例外ハンドラの名前は、LoadAddressError_handlerに修正
して下さい。
以上の修正は次のリリースに反映したいと思います。
-------------------------------------------
豊橋技術科学大学 情報工学専攻 1年 高田研究室
E-mail honda at ertl ics tut ac jp
http http://www.ertl.ics.tut.ac.jp/~honda
本田 晋也