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 avoid assembler warning



details:   https://anonhg.NetBSD.org/src/rev/27094fff622c
branches:  trunk
changeset: 533274:27094fff622c
user:      drochner <drochner%NetBSD.org@localhost>
date:      Wed Jun 26 12:20:29 2002 +0000

description:
avoid assembler warning

diffstat:

 sys/arch/i386/i386/bios32.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a85ff80a8fba -r 27094fff622c sys/arch/i386/i386/bios32.c
--- a/sys/arch/i386/i386/bios32.c       Wed Jun 26 10:48:18 2002 +0000
+++ b/sys/arch/i386/i386/bios32.c       Wed Jun 26 12:20:29 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bios32.c,v 1.5 2001/11/15 07:03:29 lukem Exp $ */
+/*     $NetBSD: bios32.c,v 1.6 2002/06/26 12:20:29 drochner Exp $      */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bios32.c,v 1.5 2001/11/15 07:03:29 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bios32.c,v 1.6 2002/06/26 12:20:29 drochner Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -148,7 +148,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));
 



Home | Main Index | Thread Index | Old Index