acrn-hypervisor/hypervisor/include/arch/x86
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
..
guest hv: mmu: add static paging table allocation for EPT 2018-11-02 13:15:48 +08:00
abl_seed_parse.h HV: parse seed from ABL 2018-10-17 14:30:52 +08:00
apicreg.h HV: refine APIC base address to platform acpi info 2018-10-18 09:26:59 +08:00
assign.h HV:fixed "Pointer param should be declared pointer to const" 2018-10-19 22:49:38 +08:00
cpu.h HV: enable L1 cache flush when VM entry 2018-11-01 11:21:15 +08:00
cpufeatures.h HV: add CPU capabilities detection for L1TF mitigation 2018-11-01 11:21:15 +08:00
cpuid.h hv:Replace vlapic pointer with instance in vcpu_arch 2018-09-12 09:20:07 +08:00
gdt.h hv: remove unused MACROs 2018-09-18 09:43:43 +08:00
host_pm.h HV: platform acpi info refactor 2018-10-18 09:26:59 +08:00
hv_arch.h hv: mmu: add static paging table allocation for hypervisor 2018-11-02 13:15:48 +08:00
idt.h HV:treewide:transfer the struct member types to non-basic types 2018-06-29 15:48:19 +08:00
io.h hv: add mmio functions for 64bit values 2018-08-23 11:09:25 +08:00
ioapic.h HV: move NR_IOAPICS to platform acpi info 2018-10-18 09:26:59 +08:00
ioreq.h hv: rework the MMIO handler callback hv_mem_io_handler_t arguments 2018-10-29 14:29:37 +08:00
irq.h HV: Added Initial support for SEP/SOCWATCH profiling 2018-10-26 13:39:07 +08:00
lapic.h hv: x2apic support for acrn 2018-10-25 13:41:29 +08:00
mmu.h hv: mmu: replace dynamic memory allocation in memory 2018-11-02 13:15:48 +08:00
msr.h HV: add CPU capabilities detection for L1TF mitigation 2018-11-01 11:21:15 +08:00
mtrr.h HV:vcpu fix "Pointer param should be declared pointer to const" 2018-10-25 13:45:14 +08:00
multiboot.h hv: Partition mode ACRN -kernel load and bootargs load address 2018-08-13 09:34:02 +08:00
page.h hv: mmu: replace dynamic memory allocation in memory 2018-11-02 13:15:48 +08:00
per_cpu.h hv:Replace dynamic memory with static for sbuf 2018-11-01 11:21:49 +08:00
pgtable.h hv: mmu: replace dynamic memory allocation in memory 2018-11-02 13:15:48 +08:00
sbl_seed_parse.h HV: parse seed from ABL 2018-10-17 14:30:52 +08:00
timer.h HV:fix type related violations 2018-10-10 13:02:00 +08:00
trusty.h hv: mmu: add static paging table allocation for EPT 2018-11-02 13:15:48 +08:00
vmexit.h HV:fix type related violations 2018-10-10 13:02:00 +08:00
vmx.h HV:vcpu fix "Pointer param should be declared pointer to const" 2018-10-25 13:45:14 +08:00
vtd.h hv: vtd: remove dynamic allocation for iommu_domain 2018-10-31 13:06:07 +08:00
zeropage.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00