HV: move e820 entry out of vm description

move e820_default_entries[] from vm_description.c to ve820.c and rename
to ve820_entry[] as a temparary solution for partiton mode e820 management;

Tracked-On: #2291

Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Victor Sun
2019-01-31 13:35:51 +08:00
committed by Eddie Dong
parent ce19dd423e
commit 11bfe3d43e
7 changed files with 85 additions and 68 deletions

View File

@@ -62,7 +62,7 @@ const struct e820_mem_params *get_e820_mem_info(void);
* there is reserved memory of 64K for MPtable and PCI hole of 512MB
*/
#define NUM_E820_ENTRIES 5U
extern const struct e820_entry e820_default_entries[NUM_E820_ENTRIES];
extern const struct e820_entry ve820_entry[NUM_E820_ENTRIES];
#endif
#endif