Re: 2.3.30pre1 syscall w/6 args support?

Ingo Molnar (mingo@chiara.csoma.elte.hu)
Wed, 8 Dec 1999 19:16:32 +0100 (CET)


> > The same is true of Wine: you just need to check the DS/SS segment values
> > on return (and if they are anything but USER_DS you need to use "iret"
> > again).
>
> whoops, nasty. I'm not quite sure how we could do this though - SYSENTER
> destroys CS and SS, so we have nothing to check ... Probably Wine has to
> use the old int $80 interface?

hm, a solution could be to simply save %ds/%ss within Wine before doing
the SYSENTER stuff. This has to be hashed out with glibc i guess (normal
glibc users do not want this), but should solve the problem, no?
saving/restoring %ds/%ss is still much faster than doing int $80.

-- mingo

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