Re: [PATCH 5/6] Begin abstraction of sensitive instructions: asmfiles

From: Jeremy Fitzhardinge
Date: Mon Jul 24 2006 - 16:53:01 EST


Andi Kleen wrote:
I would rather pass the register to the macro? If you start to
clobber registers you would need to pass in the tmp registers
too I guess.
The intent is that these code sequences can be patched in place, so they need to have a specific abi at the machine-code level. Some of the operations whose Xen implementation clobbers a register have that in their definition, on the assumption that 1 temp is enough, and that another interface which needs more can organize save/restoring registers for itself.

J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/