hv:merge MACROs E820_MAX_ENTRIES and NUM_E820_ENTRIES

merge E820_MAX_ENTRIES and NUM_E820_ENTRIES
to E820_MAX_ENTRIES.

Tracked-On: #1842
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Mingqiang Chi
2019-02-20 21:14:06 +08:00
committed by wenlingz
parent fb92d55bb5
commit ac7a8a7249
5 changed files with 5 additions and 12 deletions

View File

@@ -33,6 +33,8 @@ struct e820_mem_params {
uint64_t total_mem_size;
};
extern const struct e820_entry ve820_entry[E820_MAX_ENTRIES];
/* HV read multiboot header to get e820 entries info and calc total RAM info */
void init_e820(void);