acrn-hypervisor/hypervisor/dm
Li, Fei1 0391f84c83 hv: mmu: replace dynamic memory allocation in memory
Replace dynamic memory allocation in memory management with static memory allocation.
Since the static memory allocation can guarantee the allocation never failed, so
split_large_page and construct_pgentry don't need to return a errno any more.
Besides, the destroy_ept don't need to free page any more. Instead, it would memset
the eptp to 0 to make sure we can't walk this paging table again.

Tracked-On: #861
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
2018-11-02 13:15:48 +08:00
..
hw hv: Don't check multi-function flag in PCI enumeration 2018-11-01 21:22:10 +08:00
vpci hv: mmu: replace dynamic memory allocation in memory 2018-11-02 13:15:48 +08:00
vioapic.c HV: add size check for shell log buffer usage 2018-11-02 09:13:57 +08:00
vpic.c hv: fix integer violations 2018-10-31 15:01:57 +08:00
vrtc.c hv: merge hv_lib.h and hypervisor.h 2018-09-27 15:55:41 +08:00