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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]