9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] extern register
@ 2014-07-19  1:57 cinap_lenrek
  2014-07-19  2:04 ` erik quanstrom
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: cinap_lenrek @ 2014-07-19  1:57 UTC (permalink / raw)
  To: 9fans

the amd64 compiler reserves R14 and R15 for extern register
declarations. these are used by the kernel for the mach
and up pointers, but currently are not preserved during
system calls.

would it make sense to save and restore the two registers
on syscall entry/exit, so userspace programs could make use
of them for per process data?

--
cinap



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

end of thread, other threads:[~2014-07-20 16:35 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-19  1:57 [9fans] extern register cinap_lenrek
2014-07-19  2:04 ` erik quanstrom
2014-07-19  2:19   ` erik quanstrom
2014-07-19  2:33     ` cinap_lenrek
2014-07-19  2:37       ` erik quanstrom
2014-07-19  2:27   ` cinap_lenrek
2014-07-19  2:41     ` erik quanstrom
2014-07-19 12:29 ` Aram Hăvărneanu
2014-07-19 12:42 ` Charles Forsyth
2014-07-19 14:38   ` Aram Hăvărneanu
2014-07-19 14:55     ` erik quanstrom
2014-07-19 15:53       ` Aram Hăvărneanu
2014-07-20  1:42   ` cinap_lenrek
2014-07-20 10:12     ` Aram Hăvărneanu
2014-07-20 16:35       ` cinap_lenrek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).