Apparently the old gas doesn't like *(%reg), so revert this one for now,

until everyone's switched to the new toolchain.
This commit is contained in:
fvdl 2001-09-26 14:07:51 +00:00
parent 384aae98cc
commit 0596817942

View File

@ -1,4 +1,4 @@
/* $NetBSD: bios32.c,v 1.3 2001/09/26 09:58:39 fvdl Exp $ */
/* $NetBSD: bios32.c,v 1.4 2001/09/26 14:07:51 fvdl Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -145,7 +145,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));