Port-mips archive

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

Re: UserGenException argument passing (PR 43431)

On Tue, 8 Jun 2010, Martin Husemann wrote:

could someone please explain how UserGenException (arch/mips/mips/mipsX_subr.S)
is supposed to pass the last argument (the trap frame pointer) to trap()?

I don't think it does, or ever did. The trap frame pointer points to the trap frame for kernel exceptions, and should only be used for them. User exceptions save the registers in the PCB, and reference them from there.

Michael L. Hitch                        mhitch%montana.edu@localhost
Computer Consultant
Information Technology Center
Montana State University        Bozeman, MT     USA

Home | Main Index | Thread Index | Old Index