All of lore.kernel.org
 help / color / mirror / Atom feed
* Hypercalls: ignored output registers?
@ 2015-12-27  3:42 Carl Patenaude Poulin
  2015-12-27 11:22 ` Andrew Cooper
  0 siblings, 1 reply; 2+ messages in thread
From: Carl Patenaude Poulin @ 2015-12-27  3:42 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 476 bytes --]

Hi all,

I'm looking at how hypercalls are implemented in Mini-OS and Andrew
Cooper's xen-test-framework. In both cases, several registers are
defined as outputs, they're bound by input registers, and their
outputs are ignored. Is there any reason for doing this instead of
just declaring directly the input registers?

Is it because the registers are callee-saved? If that's the case,
why not just put them in the clobber list?

Best

Carl Patenaude Poulin
McGill University

[-- Attachment #1.2: Type: text/html, Size: 681 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

end of thread, other threads:[~2015-12-27 11:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-27  3:42 Hypercalls: ignored output registers? Carl Patenaude Poulin
2015-12-27 11:22 ` Andrew Cooper

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.