[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(toppers-users 54) SH3 $B0MB8It$N%P%0(B
- 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
$BK-665;=Q2J3XBg3X$NK\ED$G$9!#(B
SH3$B$N0MB8It$N%P%0$,8+$D$+$j$^$7$?$N$GJs9p$7$^$9!#(B
"<"$B$,=$@5A0$G!"(B">"$B$,=$@58e$G$9!#(B
1.
./config/sh3/cpu_support.S
SR$B$N(BIPM$B$N%"%s%^%9%/%Q%?!<%s=$@5(B
$B=$@5A0(B
_unmask_ipm:
< .long 0x40000000
$B=$@58e(B
_unmask_ipm:
> .long 0xffffff0f
2.
../config/sh3/cpu_config.h
$B=$@5A0(B
Inline BOOL
exc_sense_context(VP p_excinf)
{
UW nest;
Asm("stc r7_bank,%0":"=r"(nest));
< return(nest > 0);
}
$B=$@58e(B
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$BNc30%O%s%I%i$N@EE*(BAPI$B$GNc30HV9f$N;XDj$,4V0c$C$F$$$k$?$a!"(B
$B=$@5A0(B
< DEF_EXC(8, { TA_HLNG, LoadAddressError_handler} );
$B=$@58e(B
> DEF_EXC(224, { TA_HLNG, LoadAddressError_handler} );
RSH3/sample.c$B$N(BCPU$BNc30%O%s%I%i$NL>A0$O!"(BLoadAddressError_handler$B$K=$@5(B
$B$7$F2<$5$$!#(B
$B0J>e$N=$@5$OpJs9)3X@l96(B 1$BG/(B $B9bED8&5f<<(B
E-mail honda at ertl ics tut ac jp
http http://www.ertl.ics.tut.ac.jp/~honda
$BK\ED(B $B?8Li(B