From 8e82746524a127e2034cb118f84946f4925ba4b9 Mon Sep 17 00:00:00 2001 From: drochner Date: Wed, 26 Jun 2002 12:20:29 +0000 Subject: [PATCH] avoid assembler warning --- sys/arch/i386/i386/bios32.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/i386/i386/bios32.c b/sys/arch/i386/i386/bios32.c index a3c078be180b..62d97871c6fb 100644 --- a/sys/arch/i386/i386/bios32.c +++ b/sys/arch/i386/i386/bios32.c @@ -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 -__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 #include @@ -148,7 +148,7 @@ bios32_service(service, e, ei) 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));