On Wed, 2002-11-13 at 21:18, Petr Vandrovec wrote:
> > pushfl # We get a different stack layout with call
> > # gates, which has to be cleaned up later..
> > + andl $~0x4500, (%esp) # Clear NT since we are doing an iret
>
> this will clear 'D' and 'T' in caller after we do
> iret (if lcall7 returns, of course). I'm not sure that callers
You can adjust that if you want, I copied it about - clearing D is fine,
in fact it may let us avoid the cld
> > error_code:
> > + pushfl
> > + andl $~0x4500, (%esp) # NT must be clear, do a cld for free
> > + popfl
>
> I believe that NT should be automagically cleared by int.
Apparently so - you are I think 100% correct that this isnt needed
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:30 EST