From owner-freebsd-hackers Sun May 9 11:28:46 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from kronos.alcnet.com (kronos.alcnet.com [207.244.223.187]) by hub.freebsd.org (Postfix) with ESMTP id CDF4015478 for ; Sun, 9 May 1999 11:28:42 -0700 (PDT) (envelope-from kbyanc@alcnet.com) X-Provider: ALC Communications, Inc. http://www.alcnet.com/ Received: from localhost (kbyanc@localhost) by kronos.alcnet.com (8.9.3/8.9.3/antispam) with ESMTP id OAA94864 for ; Sun, 9 May 1999 14:41:20 -0400 (EDT) Date: Sun, 9 May 1999 14:41:20 -0400 (EDT) From: Kelly Yancey To: freebsd-hackers@freebsd.org Subject: modex support Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I had mentioned earlier this week that I was working on adding support for a few more "tweaked" VGA modes (320x240 was already in there), namely 320x400, 320x480, 360x200, 360x240, 360x400, and 360x480. Well, the good news is that it was *really* easy to simply include the code in vga_isa.c and all was dandy. However, I'de like to see this actually have a chance is h*ll of getting into FreeBSD so I figured that since it is fairly useless to most people (I've got some plans for it) that the best thing to do would be to make a KLD (like vesa.ko). That was coming along alright...that is until I realized that by not including the code in vga_isa.c, I no longer had access to the BIOS mode table (mode_map[] in vga_isa.c). Actually, I'de even be content to get at the get_mode_param() function which is also in vga_isa.c (both of which are currently static by the way). Would anyone have any objections to my extern'ing the get_mode_param() function? And if not, which header file should I put the function declaration in (if any)? Thanks (By the way, I'm having trouble understanding exactly how mmap works with the vga driver, if anyone could help shed some light on it I would greatly appriciate it, Soren? Kazutaka? Thanks!) ~kbyanc@alcnet.com~ FreeBSD - The Power To Serve - http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message