Subject: Re: per-cpu TSS
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Frank van der Linden <fvdl@netbsd.org>
List: port-i386
Date: 11/17/2003 12:33:05
On Mon, Nov 17, 2003 at 05:19:54AM +0900, YAMAMOTO Takashi wrote:
> why do you think wrmsr is needed?
> even with per-cpu TSS, all you need is copying esp into
> somewhere pointed by SYSENTER_ESP, isn't it?

Yes, that's a good idea: point SYSENTER_ESP at the location where the actual
%esp value is stored, and start the syscall entry with movl (%esp),%esp

- Frank

-- 
Frank van der Linden                                            fvdl@netbsd.org
===============================================================================
NetBSD. Free, Unix-like OS. > 45 different platforms.    http://www.netbsd.org/