lkml.org 
[lkml]   [2008]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: extend e820 ealy_res support 32bit - fix #2
Yinghai Lu wrote:
>> ===================================================================
>> --- a/arch/x86/xen/enlighten.c
>> +++ b/arch/x86/xen/enlighten.c
>> @@ -1266,6 +1266,15 @@
>> add_preferred_console("hvc", 0, NULL);
>> }
>>
>> + /*
>> + * Reserve Xen bits:
>> + * - mfn_list
>> + * - xen_start_info
>> + * See comment above "struct start_info" in <xen/interface/xen.h>
>> + */
>> + reserve_early(__pa(xen_start_info->mfn_list),
>> + __pa(xen_start_info->pt_base), "XEN");
>> +
>>
>
> can we use e820 entries for that? So the domain builder could have
> several entries for E820_RAM and E820_RESERVED...
>

Yeah, seems reasonable. I'll try it out.

> will need x86_64_start_kernel there, maybe we should change all name
> to x86_start_kernel

We can do that later. For now it's better to give them distinct names.

J


\
 
 \ /
  Last update: 2008-05-28 23:27    [W:0.078 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site