|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [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
 |   
 
 | 
    | 
  
  
    |   | 
    |