All of lore.kernel.org
 help / color / mirror / Atom feed
* Is r25 saved across syscalls?
@ 2012-09-09 19:30 Rich Felker
  2012-09-10 17:08 ` Ralf Baechle
  2012-09-11  8:12 ` Ralf Baechle
  0 siblings, 2 replies; 14+ messages in thread
From: Rich Felker @ 2012-09-09 19:30 UTC (permalink / raw)
  To: linux-mips

Hi all,
The kernel syscall entry/exit code seems to always save and restore
r25. Is this stable/documented behavior I can rely on? If there's a
reason it _needs_ to be preserved, knowing that would help convince me
it's safe to assume it will always be done. The intended usage is to
be able to make syscalls (where the syscall # is not a constant that
could be loaded with lwi) without a stack frame, as in "move $2,$25 ;
syscall".

Rich

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2012-09-11 13:42 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-09 19:30 Is r25 saved across syscalls? Rich Felker
2012-09-10 17:08 ` Ralf Baechle
2012-09-10 17:22   ` Rich Felker
2012-09-10 18:04     ` David Daney
2012-09-10 18:37       ` Rich Felker
2012-09-11  8:48         ` Ralf Baechle
2012-09-11 13:32           ` Rich Felker
2012-09-11  0:29     ` Maciej W. Rozycki
2012-09-11  1:04       ` Kevin D. Kissell
2012-09-11  1:27         ` David Daney
2012-09-11  2:28       ` Rich Felker
2012-09-11  8:58       ` Ralf Baechle
2012-09-11  8:12 ` Ralf Baechle
2012-09-11 13:44   ` Rich Felker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.