From owner-freebsd-current@FreeBSD.ORG Thu Mar 10 09:01:14 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1397516A4D1 for ; Thu, 10 Mar 2005 09:01:14 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7ACE843D53 for ; Thu, 10 Mar 2005 09:01:13 +0000 (GMT) (envelope-from jiashiun@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so448437rng for ; Thu, 10 Mar 2005 01:01:13 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=ZFxN/LZxjpc1480AI0VrGeMjFy0V3r7JsYwKgoeobrgKpbLzkru4ihHkxNj5+yWiVj2ZzfYVMFDs8dMCAhhouaK+m3O4Urgsh/vB3dXsLTDjTShAGJ3HWRxqhpAaECbg/x65M1tNGf6OplEhDs+hNLQPE+ZYYnna/3HezhRWWt0= Received: by 10.38.24.17 with SMTP id 17mr1579623rnx; Thu, 10 Mar 2005 01:01:13 -0800 (PST) Received: by 10.38.12.68 with HTTP; Thu, 10 Mar 2005 01:01:13 -0800 (PST) Message-ID: <1d6d20bc0503100101621bbee3@mail.gmail.com> Date: Thu, 10 Mar 2005 17:01:13 +0800 From: Jia-Shiun Li To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: VESA non-VGA flag X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jia-Shiun Li List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 09:01:14 -0000 Hi, These days I was trying to add a splash screen. I used VMWare to test, but it cannot init VESA correctly, which is odd since VMWare claimed its display to be VESA compliant. I then traced into src/sys/i386/isa/vesa.c, found that it was cause by the flag V_NONVGA. It will stop initializing if this flag is set, at line 655(v1.50). If I comment it out, VESA will work on VMWare and I can happily use my splash screen during booting. I tried to google some info, but still cannot figure out if the 'non-VGA' flag really means 'not (IBM)VGA backward-compatible' or 'not a display device at all'. But since anything implementing VBE must be a display device to make sense, I suppose it to be the former. The question is, if the checking of non-VGA flag can be safely removed? I do not know if there is any devices depending on it to work correctly. To me it seems ok without the checking. Jia-Shiun.