avoid assembler warning

This commit is contained in:
drochner 2002-06-26 12:20:29 +00:00
parent 6f2291b427
commit 8e82746524
1 changed files with 3 additions and 3 deletions

View File

@ -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 @@ 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));