[parisc-linux] 720 - some progress
Matthew Wilcox
willy@debian.org
Fri, 28 Sep 2001 10:19:56 +0100
On Fri, Sep 28, 2001 at 10:49:00AM +0200, Jochen Friedrich wrote:
> If i add these instructions, ls no longer hangs but traps again with a
> trap 15. Using show_regs(), it looks like there is always a 0 loaded to
> the register. So my current question is:
>
> where does regs->cr27 get written to the stack? Does the PA-RISC CPU does
> this automatically on a start of a trap or does the code in entry.S need
> to do this?
cr27 is only written to when doing fork/clone/vfork, iirc. use the mfctl()
macro in place of regs->cr27 as i suggested in my other email.
--
Revolutions do not require corporate support.