Hi, > +static void tdvf_hob_add_memory_resources(TdvfHob *hob) > +{ > + /* Copy and sort the e820 tables to add them to the HOB. */ > + memcpy(e820_entries, e820_table, > + nr_e820_entries * sizeof(struct e820_entry)); > + qsort(e820_entries, nr_e820_entries, sizeof(struct e820_entry), > + &tdvf_e820_compare); I guess patch #19 should make sure the e820 entries stay sorted instead of sorting them here. take care, Gerd