[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [v9][PATCH 07/16] hvmloader/e820: construct guest e820 table
+ for ( i = nr-1; i > memory_map.nr_map; i-- )Before you add memory_map.nr_map, you should be able to iterate from 0 to (not inclusive) nr. At least as far as I recall the original patch. Sorry, I really don't understand what you want.Before we add memory_map.nr_map, e820[0, nr) don't include low/high memory, right? So sounds you want me to for ( i = 0 i < memory_map.nr_map; i++ ) { if we need to adjust low memory, we just set final low e820 entry; if we need to adjust high memory, we just set final high e820 entry; }Right? But its impossible to do this since we can't assume memory_map.map[low memory] is always prior to memory_map.map[high memory]. If I still follow your way, please don't mind to show a pseudocode help me understand what you want. Thanks Tiejun _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |