From: Keir Fraser Subject: Re: [PATCH] Re: [RFC] support console resolutions better than 80x25 Date: Tue, 15 Aug 2006 17:38:57 +0100 Message-ID: References: <44E20E65.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <44E20E65.76E4.0078.0@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 15/8/06 5:11 pm, "Jan Beulich" wrote: >> * txt_x/txt_y aren't written by Xen nor are they read by Linux -- can we >> kill the fields? > > Linux actually uses orig_y (in earlyprintk.c), so I'd like to keep them and > at some point properly fill them so Linux can propagate these values. > You'll note that currently I simply set orig_y to the end of the screen, since > Xen is virtually guaranteed to push out at least a screenful of information > before starting Linux. > The problem here is that these fields cannot be set in fill_console_info, but > would need to be set once it is certain that there is not going to be any > more (non-debug) output from Xen. How will Linux know when we start filling them in properly? (0,0) would be a valid setting! We should set them to the conservative (bottom-of-screen) value in Xen and read the values from console_info in Linux, rather than initialising from hardcoded values in Linux. -- Keir