From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: bimodal PAE and compatibility Date: Mon, 08 Jan 2007 16:24:35 +0000 Message-ID: References: <20070108144932.GA1557@totally.trollied.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070108144932.GA1557@totally.trollied.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: John Levon , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 8/1/07 14:49, "John Levon" wrote: > 353 dsi->pae_kernel = PAEKERN_no; > 354 if ( dsi->__elfnote_section ) > 355 { > 356 p = xen_elfnote_string(dsi, XEN_ELFNOTE_PAE_MODE); > 357 if ( p != NULL && strncmp(p, "yes", 3) == 0 ) > 358 dsi->pae_kernel = PAEKERN_extended_cr3; > > Could we have a new note instead? I'd take a patch to strstr for 'bimodal' instead of strncmping for it. Then you can put something like 'yes,bimodal' in your elf note. -- Keir