Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/i386 More '*' usage in indirect calls/jumps.



details:   https://anonhg.NetBSD.org/src/rev/fc48e5ac5d6a
branches:  trunk
changeset: 515473:fc48e5ac5d6a
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Wed Sep 26 09:58:39 2001 +0000

description:
More '*' usage in indirect calls/jumps.

diffstat:

 sys/arch/i386/i386/bios32.c          |  4 ++--
 sys/arch/i386/i386/freebsd_sigcode.s |  4 ++--
 sys/arch/i386/i386/linux_sigcode.s   |  6 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)

diffs (63 lines):

diff -r d242eeed03d5 -r fc48e5ac5d6a sys/arch/i386/i386/bios32.c
--- a/sys/arch/i386/i386/bios32.c       Wed Sep 26 09:01:30 2001 +0000
+++ b/sys/arch/i386/i386/bios32.c       Wed Sep 26 09:58:39 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bios32.c,v 1.2 2000/02/02 04:09:37 thorpej Exp $       */
+/*     $NetBSD: bios32.c,v 1.3 2001/09/26 09:58:39 fvdl Exp $  */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -145,7 +145,7 @@
        if (bios32_entry.offset == 0)
                return (0);     /* BIOS32 not present */
 
-       __asm __volatile("lcall (%%edi)"
+       __asm __volatile("lcall *(%%edi)"
                : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
                : "0" (service), "1" (0), "D" (&bios32_entry));
 
diff -r d242eeed03d5 -r fc48e5ac5d6a sys/arch/i386/i386/freebsd_sigcode.s
--- a/sys/arch/i386/i386/freebsd_sigcode.s      Wed Sep 26 09:01:30 2001 +0000
+++ b/sys/arch/i386/i386/freebsd_sigcode.s      Wed Sep 26 09:58:39 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: freebsd_sigcode.s,v 1.2 2001/05/21 06:13:12 perry Exp $        */
+/*     $NetBSD: freebsd_sigcode.s,v 1.3 2001/09/26 09:58:39 fvdl Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -87,7 +87,7 @@
  */
 /* LINTSTUB: Var: char freebsd_sigcode[1], freebsd_esigcode[1]; */
 NENTRY(freebsd_sigcode)
-       call    FREEBSD_SIGF_HANDLER(%esp)
+       call    *FREEBSD_SIGF_HANDLER(%esp)
        leal    FREEBSD_SIGF_SC(%esp),%eax # scp (the call may have clobbered
                                        # the copy at SIGF_SCP(%esp))
        pushl   %eax
diff -r d242eeed03d5 -r fc48e5ac5d6a sys/arch/i386/i386/linux_sigcode.s
--- a/sys/arch/i386/i386/linux_sigcode.s        Wed Sep 26 09:01:30 2001 +0000
+++ b/sys/arch/i386/i386/linux_sigcode.s        Wed Sep 26 09:58:39 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_sigcode.s,v 1.4 2001/06/17 21:01:33 sommerfeld Exp $     */
+/*     $NetBSD: linux_sigcode.s,v 1.5 2001/09/26 09:58:39 fvdl Exp $   */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -92,7 +92,7 @@
  */
 /* LINTSTUB: Var: char linux_sigcode[1], linux_esigcode[1]; */
 NENTRY(linux_sigcode)
-       call    LINUX_SIGF_HANDLER(%esp)
+       call    *LINUX_SIGF_HANDLER(%esp)
        leal    LINUX_SIGF_SC(%esp),%ebx # scp (the call may have clobbered the
                                        # copy at SIGF_SCP(%esp))
        pushl   %eax                    # junk to fake return address
@@ -105,7 +105,7 @@
 
 /* LINTSTUB: Var: char linux_rt_sigcode[1], linux_rt_esigcode[1]; */
 NENTRY(linux_rt_sigcode)
-       call    LINUX_SIGF_HANDLER(%esp)
+       call    *LINUX_SIGF_HANDLER(%esp)
        leal    LINUX_SIGF_SC(%esp),%ebx # scp (the call may have clobbered the
                                        # copy at SIGF_SCP(%esp))
        pushl   %eax                    # junk to fake return address



Home | Main Index | Thread Index | Old Index