Alexandre Julliard : ntdll: Use the generic int 0x91 syscall on Solaris so that it works on all CPUs.

Alexandre Julliard julliard at winehq.org
Wed Jul 30 08:35:57 CDT 2008


Module: wine
Branch: master
Commit: eac613f60416b1610f7b57fd51dd8096ff7eccaf
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=eac613f60416b1610f7b57fd51dd8096ff7eccaf

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Jul 29 20:41:30 2008 +0200

ntdll: Use the generic int 0x91 syscall on Solaris so that it works on all CPUs.

---

 dlls/ntdll/signal_i386.c |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/dlls/ntdll/signal_i386.c b/dlls/ntdll/signal_i386.c
index 92e3819..fb2c0fd 100644
--- a/dlls/ntdll/signal_i386.c
+++ b/dlls/ntdll/signal_i386.c
@@ -586,13 +586,9 @@ static void merge_vm86_pending_flags( EXCEPTION_RECORD *rec )
 
 extern int sigaction_syscall( int sig, const struct sigaction *new, struct sigaction *old );
 __ASM_GLOBAL_FUNC( sigaction_syscall,
-                  "call 1f\n"
-                  "1:\tpopl %edx\n\t"
                   "movl $0x62,%eax\n\t"
-                  "add $[2f-1b],%edx\n\t"
-                  "movl %esp,%ecx\n\t"
-                  "sysenter\n"
-                  "2:\tret" )
+                  "int $0x91\n\t"
+                  "ret" )
 
 /* assume the same libc handler is used for all signals */
 static void (*libc_sigacthandler)( int signal, siginfo_t *siginfo, void *context );




More information about the wine-cvs mailing list