From owner-freebsd-hackers Tue May 5 04:19:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA21105 for freebsd-hackers-outgoing; Tue, 5 May 1998 04:19:22 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA21098 for ; Tue, 5 May 1998 04:19:16 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id LAA17719; Tue, 5 May 1998 11:19:15 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id NAA10347; Tue, 5 May 1998 13:19:14 +0200 (MET DST) Message-ID: <19980505131914.35167@follo.net> Date: Tue, 5 May 1998 13:19:14 +0200 From: Eivind Eklund To: Terry Lambert Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: ISA PnP / snd PnP developments? References: <199805032004.NAA01429@rah.star-gate.com> <199805050739.AAA16950@usr02.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199805050739.AAA16950@usr02.primenet.com>; from Terry Lambert on Tue, May 05, 1998 at 07:39:23AM +0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, May 05, 1998 at 07:39:23AM +0000, Terry Lambert wrote: > > We don't use bios calls for drivers however very recently someone checked in > > code to make bios calls which can come in handy for video adapters video > > modes. > > Making INT 10 calls is generally a bad idea. > > It requires taking down most of the outstanding operations manually > from the kernel side, in the expectation of CLI/STI/etc.. > > This is because it is common practice for video cards with DRAM, > and some with "VRAM" (dual ported RAM) that have inherited BIOS > code from a DRAM card, to disable all interrupts while doing any > INT 10 processing. So far, the plans are only to use the INT 10 calls to switch back the resultion when a panic() occur, to let an X user see the panic message. At that point, I hardly think disabling the interrupts matter :-) Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message