From: "Jan Beulich" Subject: Re: [RFC] support console resolutions better than 80x25 Date: Thu, 03 Aug 2006 15:07:52 +0100 Message-ID: <44D21F58.76E4.0078.0@novell.com> References: <44D0A701.76E4.0078.0@novell.com> <84a8497f40d7e747ac1d21678252b6b3@cl.cam.ac.uk> <44D1CBFD.76E4.0078.0@novell.com> <24a96b77cba861e857cdcaa5731ffda4@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <24a96b77cba861e857cdcaa5731ffda4@cl.cam.ac.uk> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >A few thoughts: > * Could we put all the vga-related stuff in drivers/char/vga > * Also move the existing vga-specific code into its own file in >drivers/char/vga Sure, once I know the code is generally acceptable this can be done (till now I simply didn't bother). As you've seen I omitted the font source files (almost identical clones of the respective linux files) - would you want these in a separate directory then, too? > * Are the vga files you add pulled from some other project (svgalib)? >If so, are they heavily modified or is it plausible for us to track and >port changes from that other project? Taken from Linux, but heavily modified. > * Maybe add a feature or version field to the console_info structure >so we can extend it in future. Can do. But I considered using the size of the structure sufficient, as that basically enforces (with a little discipline) adding to the end of the structure. > * Would the test in linux be better as if (SIF_INITDOMAIN && >console_evtchn) rather than a somehat arbitrary comparsion against a >sizeof()? That code already is inside a SIF_INITDOMAIN section. The sizeof() check was just to ensure compatibility; if we'll have a version field, the check can be replaced by a version check (see above, let me know). Jan