acrn-hypervisor/hypervisor/include/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.h hv/mod_timer: separate delay functions from the timer module 2021-05-18 16:43:28 +08:00
efi_mmap.h hv: set default MAX_EFI_MMAP_ENTRIES to 350 2021-11-08 09:49:24 +08:00
event.h hv: Change sched_event structure to resolve data race in event handling 2021-08-20 08:11:40 +08:00
hypercall.h ACRN: hv: Unify terminology for user vm 2021-11-02 10:00:55 +08:00
irq.h hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
ptdev.h hv:enable GVT-d for pre-launched linux guest in logical partion mode 2021-08-19 11:56:26 +08:00
schedule.h hv: add priority based scheduler 2021-09-24 09:32:18 +08:00
softirq.h hv: remove unused MACROs 2018-09-18 09:43:43 +08:00
ticks.h doc: update timer HLD doc after modularization 2021-06-09 17:11:25 -04:00
timer.h HV: treewide: fix violations of coding guideline C-FN-09 2021-11-04 18:15:47 +08:00
vm_uuids.h ACRN: misc: Unify terminology for sos/uos rin macro 2021-11-02 10:00:55 +08:00