Subject: Re: syscall trap
To: Klaus Klein <kleink@reziprozitaet.de>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: port-powerpc
Date: 11/25/2002 09:02:03
> [You're not describing _how_ it does not work, but ...]

I did: the system calls I wanted to ignore (syscall #0x7ff2 and #0x7ff1)
are not ignored, and they are executed as before.

> The branch instructions would appear to be your main problem. The
> sctrap code is copied to and executed at the EXC_SC trap vector
> address (see mpc6xx_machdep.c), so taking a relative branch to
> s_sctrap doesn't work.

This is strange, I would have expected a kernel panic.=20

--=20
Emmanuel Dreyfus.
"L'achitecture x86 est impossible =E0 aimer." (John Hennessy)
manu@netbsd.org