Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: syscall trap



> [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. 

-- 
Emmanuel Dreyfus.
"L'achitecture x86 est impossible à aimer." (John Hennessy)
manu%netbsd.org@localhost



Home | Main Index | Thread Index | Old Index