Port-mips archive

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

Re: CVS commit: [matt-nb5-mips64] src/sys/arch/mips/mips

On Aug 24, 2009, at 9:20 AM, Paul Koning wrote:

If you stick an asm("syscall") into the code, the compiler is going to
assume all registers are preserved.  So the "save everything" rule
seems to be logical.   If the actuall syscall is in a function all its
own (possibly one written in assembler) then the compiler will assume
that temps are clobbered, of course, but it will do so based on the
function rules.

I guess my head is just still stuck in the MIPS-done-right Alpha universe, where you don't execute a syscall instruction, you execute a PALcode call.

-- thorpej

Home | Main Index | Thread Index | Old Index