[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] bimodal PAE and compatibility


  • To: John Levon <levon@xxxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <keir@xxxxxxxxxxxxx>
  • Date: Mon, 08 Jan 2007 16:24:35 +0000
  • Delivery-date: Mon, 08 Jan 2007 08:24:28 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcczQXwFutgIt580EduZ3QAX8io7RQ==
  • Thread-topic: [Xen-devel] bimodal PAE and compatibility

On 8/1/07 14:49, "John Levon" <levon@xxxxxxxxxxxxxxxxx> 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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.