acrn-hypervisor/hypervisor/common
Victor Sun 914341c9aa hv: set default MAX_EFI_MMAP_ENTRIES to 350
In previous implementation we leave MAX_EFI_MMAP_ENTRIES in config tool and
let end user to configure it. However it is hard for end user to understand
how to configure it, also it is hard for board_inspector to get this value
automatically because this info is only meaningful during the kernel boot
stage and there is no such info available after boot in Linux toolset.

This patch hardcode the value to 350, and ASSERT if the board need more efi
mmap entries to run ACRN. User could modify the MAX_EFI_MMAP_ENTRIES macro
in case ASSERT occurs in DEBUG stage.

The More size of hv_memdesc[] only consume very little memory, the overhead
is (size * sizeof(struct efi_memory_desc)), i.e. (size * 40) in bytes.

Tracked-On: #6442

Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Eddie Dong <eddie.dong@Intel.com>
2021-11-08 09:49:24 +08:00
..
delay.c hv/mod_timer: separate delay functions from the timer module 2021-05-18 16:43:28 +08:00
efi_mmap.c hv: set default MAX_EFI_MMAP_ENTRIES to 350 2021-11-08 09:49:24 +08:00
event.c hv: Change sched_event structure to resolve data race in event handling 2021-08-20 08:11:40 +08:00
hv_main.c hv: add priority based scheduler 2021-09-24 09:32:18 +08:00
hypercall.c HV: treewide: fix violations of coding guideline C-TY-27 & C-TY-28 2021-11-04 18:15:47 +08:00
irq.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
ptdev.c ACRN: hv: Unify terminology for service vm 2021-11-02 10:00:55 +08:00
sched_bvt.c hv/mod_timer: refine timer interface 2021-05-18 16:43:28 +08:00
sched_iorr.c hv/mod_timer: refine timer interface 2021-05-18 16:43:28 +08:00
sched_noop.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
sched_prio.c hv: add priority based scheduler 2021-09-24 09:32:18 +08:00
schedule.c hv: add priority based scheduler 2021-09-24 09:32:18 +08:00
softirq.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
ticks.c hv/mod_timer: split tsc handling code from timer. 2021-05-18 16:43:28 +08:00
timer.c hv/mod_timer: refine timer interface 2021-05-18 16:43:28 +08:00
trusty_hypercall.c ACRN: hv: Unify terminology for user vm 2021-11-02 10:00:55 +08:00
vm_load.c HV: Add elf loader sketch 2021-08-19 20:00:45 +08:00