lkml.org 
[lkml]   [1999]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: AMD SYSCALL support

On Wed, 8 Dec 1999, Brian Gerst wrote:

> I just tested iret after syscall on my K6-2, and it does work. It
> looks like the old version of SYSCALL isn't worth supporting then, as
> it has other problems with the return to user mode as well. I'm
> working on an equivalent of your SYSENTER patch. One concern I have
> however is that currently entry.S is a mess of spaghetti code (for
> good reason unfortunately), and all these alternate syscall entries
> are making it much worse.

i suspect the AMD SYSCALL/SYSLEAVE instructions were changed to be
completely compatible with Intel's SYSENTER/SYSEXIT instructions? In that
case the only thing to do is to initialize the STAR MSRs in the
init_fastcall() function in my patch in the AMD case. The rest can be
shared.

-- 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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.036 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site