Hi all,
I'm looking at how hypercalls are implemented in Mini-OS and AndrewCooper's xen-test-framework. In both cases, several registers aredefined as outputs, they're bound by input registers, and theiroutputs are ignored. Is there any reason for doing this instead ofjust 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?