From owner-freebsd-mobile@FreeBSD.ORG Sun Jul 27 21:06:04 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFA2B37B404; Sun, 27 Jul 2003 21:06:04 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3C3943FB1; Sun, 27 Jul 2003 21:06:03 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.9/8.12.3) with ESMTP id h6S463FL096521; Sun, 27 Jul 2003 22:06:03 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 27 Jul 2003 22:03:57 -0600 (MDT) Message-Id: <20030727.220357.65159779.imp@bsdimp.com> To: grog@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <20030728040157.GP45069@wantadilla.lemis.com> References: <20030728032653.GA37499@wantadilla.lemis.com> <20030727.214235.20045695.imp@bsdimp.com> <20030728040157.GP45069@wantadilla.lemis.com> X-Mailer: Mew version 2.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: FreeBSD-current@FreeBSD.org cc: freebsd-mobile@FreeBSD.org Subject: Re: Mapping Video BIOS? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jul 2003 04:06:05 -0000 In message: <20030728040157.GP45069@wantadilla.lemis.com> "Greg 'groggy' Lehey" writes: : Sure. The data at offset 0xc0000 are: : : C000:0000 55 AA 78 E9 44 06 00 00-00 00 00 00 00 00 00 00 U.x.D........... : : The 0xaa55 is the BIOS signature ("Here be a BIOS"), and the 0x78 is : the length byte (120 sectors, or 60 kB). That's how orm0 knows the : end address. : : > I don't think that it suggests that things are 'unmapped'... : : If the area between 0xcc000 and 0xcffff had been mapped, orm0 would : have found this too: : : C000:F000 55 AA 08 E8 6D 0B CB 11-FE 02 00 00 00 00 00 00 U...m........... 08 -> 4k It could also be that there's a bug in orm that's missing it... Warner