> Here's another more serious problem: create a UP kernel, then disassemble
> handle_sys. Identify the code that corresponds to the STI. You will see
> the generated code is using registers t4 and t5, instead of t0 and t1
> as in the definition of STI in asm/stackframe.h. I can't say this is
> causing any problems, but it is surely disturbing me ...
This is not really a problem. In a 32-bit kernel we are using the register
definition that's from System V Application Binary Interface, but in the
64-bit kernel we're using another register definition. I don't know where the
latter one is specified, but you can find it documented in for example the
MIPSpro Assembly Language Programmer's Guide. As you've already noticed
objdump is using the first one..
Ulf
|