(toppers-users 28) TOPPERS/JSP On PPC Linux

Takayuki YAMAGUCHI tyamaguchi geocities.co.jp
2000ǯ 11 21 () 21:34:06 JST


Ϥޤơ

ߡLinuxΥߥ졼ĶIntelΤߤǤ
PPCLinuxǤιۤĩ路Ƥߤޤ

PPCLinuxξ硢/usr/include/bits/setjmp.h

ʬФäά
#if defined __USE_MISC || defined _ASM
# define JB_GPR1   0  /* Also known as the stack pointer */
# define JB_GPR2   1
# define JB_LR     2  /* The address we will return to */
# define JB_GPRS   3  /* GPRs 14 through 31 are saved, 18 in total */
# define JB_CR     21 /* Condition code registers. */
# define JB_FPRS   22 /* FPRs 14 through 31 are saved, 18*2 words total */
#endif
ʸ⡢Фäά

ȤˤʤäƤޤΤǡconfig/linuxcpu_context.hsys_config.h
JB_PCJB_SP򤽤줾JB_LRJB_GPR1Ѵƥѥ뤷Ȥ
ѥǤץ⤢ä굯ưޤ

ä굯ưΤϤɤ⡢IntelǤǤʤǤ"r"Ǥ
taskswitchingPPCǤǤ򲡤Ӥ

E_CTX reported by `iwup_tsk(TSK_LINUX_SIGIO)' in line 56 of
`../systask/linux_sigio.c'

Ȥ顼Фơtaskڤؤޤ

ǡĴ٤Ƥߤȡconfig/linux/cpu_config.hΥ饤ؿcurrent_stack

    sigaltstack(((void *)0), &ss);

¹ԤȤˡ¤ssΥss.ss_flags1ˤƤʤߤǤ

IntelǤȡ1ˤƤɤʤʤǡ




----
ޤ椭
<tyamaguchi  geocities.co.jp> or <yamaguchi  ppc.linux.or.jp>