[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH v2 21/44] i386/tdx: Create the TD HOB list upon machine i
From: |
Gerd Hoffmann |
Subject: |
Re: [RFC PATCH v2 21/44] i386/tdx: Create the TD HOB list upon machine init done |
Date: |
Thu, 26 Aug 2021 13:29:20 +0200 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [RFC PATCH v2 21/44] i386/tdx: Create the TD HOB list upon machine init done,
Gerd Hoffmann <=