From owner-freebsd-hackers Sun Jun 11 04:23:40 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id EAA16474 for hackers-outgoing; Sun, 11 Jun 1995 04:23:40 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id EAA16449 for ; Sun, 11 Jun 1995 04:23:36 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA05398; Sun, 11 Jun 1995 13:23:33 +0200 Received: by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id NAA05757 for freebsd-hackers@freebsd.org; Sun, 11 Jun 1995 13:23:32 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id MAA04899 for freebsd-hackers@freebsd.org; Sun, 11 Jun 1995 12:21:34 +0200 From: J Wunsch Message-Id: <199506111021.MAA04899@uriah.heep.sax.de> Subject: Re: VM86 calls and BIOS disk driver To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Sun, 11 Jun 1995 12:21:33 +0200 (MET DST) Reply-To: freebsd-hackers@freebsd.org (FreeBSD hackers) In-Reply-To: <199506110228.CAA07664@netfl15a.devetir.qld.gov.au> from "Stephen Hocking" at Jun 11, 95 02:28:09 am Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1266 Sender: hackers-owner@freebsd.org Precedence: bulk As Stephen Hocking wrote: > > > Is anyone actively working on the VM86 stuff with an eye to > implementing a generic BIOS disk driver, so as to support the hardware > or controllers that are not yet supported by a specific driver? Why I say > that is because this TMC-885 controller does not work wuth -current's > seagate.c, and only on the 2.0 seagate.c with BLIND_TRANSFER disabled. If I > could use the onboard BIOS, I'm fairly sure that it'd do better than the > huge amount of CPU it eats now polling the damn thing. Not voting against VM86 work, but what makes you believe the latter statement? If the driver uses PIO (either a FreeBSD driver or the BIOS driver), it will eat up CPU. The BIOS driver, while arguably less work, will be worse, since it suffers from additional overhead. If the driver uses bus-master DMA, it might have better performance, but you'll have a hard time telling the BIOS driver its correct (physical) addresses to transfer (unless you're going to always use bounce buffers). I'd still anticipate troubles from the BIOS not knowing how to behave in a `more advanced' environment. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)