BTW, there are other places that might need such fixes: fnsave, frstor
& alike _do_ manipulate memory, and hence should clobber it. Lock
and bit set/clear macros should too. And there are sometimes some
spurious volatiles: the first get_eflags() definition for instance. And
just using things like unsigned long register sp asm("esp"); is just
sufficient when it works.

BTW again, I noticed that pio macros' header is not always included,
so that some objects use the in[bwl]/out[bwl] functions instead of the
macros that get much better inlined.

Samuel


_______________________________________________
Bug-hurd mailing list
Bug-hurd@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-hurd

Reply via email to