|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [v5][PATCH 09/10] tools:firmware:hvmloader: check to reserve RMRR mappings in e820
On 2014/9/4 14:36, Jan Beulich wrote: On 04.09.14 at 05:04, <tiejun.chen@xxxxxxxxx> wrote:On 2014/9/2 16:47, Jan Beulich wrote:On 26.08.14 at 13:02, <tiejun.chen@xxxxxxxxx> wrote:+ unsigned int insert = 0, do_insert = 0; + +do_real_construct:Please indent labels by at least one space (and there are further
Sorry I may be misunderstanding here.
+
+do_real_construct:
+ for ( i = 0; i < nr_map; i++ )
+ {
coding style issues to address elsewhere).
No. Here we just want to know where we should insert a entry, so
for ( j = 0; j < nr - 1; j++ )
{
end = e820[j].addr + e820[j].size;
start = e820[j+1].addr;
For example, nr = 3,
for ( j = 0; j < 2; j++ )
So
#1,
end = e820[0].addr + e820[0].size;
start = e820[1].addr;
#2,
end = e820[1].addr + e820[1].size;
start = e820[2].addr;
Thanks
Tiejun
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |