acrn-hypervisor/hypervisor/arch/x86
Zide Chen 48b0894d3d hv: relocate trampoline code to the dynamically allocated memory
- Also update all the references that need the absolute HPA with the
  actual load addresses
- Save the trampoline code address to trampline_start16_paddr

Signed-off-by: Zheng, Gen <gen.zheng@intel.com>
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Signed-off-by: Zide Chen <zide.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
Acked-by: Xu, Anthony <anthony.xu@intel.com>
2018-06-11 12:15:28 +08:00
..
configs HV: config: add Kconfig and defconfigs for sbl & uefi 2018-06-08 17:21:13 +08:00
debug HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
guest hv: Other preparation for trampoline code relocation 2018-06-11 12:15:28 +08:00
assign.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
cpu_primary.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
cpu_state_tbl.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
cpu.c hv: relocate trampoline code to the dynamically allocated memory 2018-06-11 12:15:28 +08:00
cpuid.c hv: enable MTRR virtualization 2018-06-08 12:06:15 +08:00
ept.c instr_emul: refine decode_instruction with copy_from_gva 2018-06-11 12:14:43 +08:00
gdt.c HV: config: adapt to the generated config.h 2018-06-08 17:21:13 +08:00
idt.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
interrupt.c apicv: only write VMX_ENTRY_EXCEPTION_EC when error code valid 2018-06-11 09:27:34 +08:00
intr_lapic.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
intr_main.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
io.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
ioapic.c HV: config: adapt to the generated config.h 2018-06-08 17:21:13 +08:00
irq.c HV:treewide:C99-friendly per_cpu implementation change the per_cpu method 2018-06-05 17:09:00 +08:00
Kconfig hv: Other preparation for trampoline code relocation 2018-06-11 12:15:28 +08:00
mmu.c hv: add APIs to allow updating EPT mem type 2018-06-08 12:06:15 +08:00
mtrr.c hv: update EPT when guests change MTRRs 2018-06-08 12:06:15 +08:00
notify.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
retpoline-thunk.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
softirq.c HV:treewide:C99-friendly per_cpu implementation change the per_cpu method 2018-06-05 17:09:00 +08:00
timer.c HV:treewide:C99-friendly per_cpu implementation change the per_cpu method 2018-06-05 17:09:00 +08:00
trampline.S hv: Prepare trampline.S trampoline code relocation 2018-06-11 12:15:28 +08:00
trusty.c trusty: invept should go through all vcpus 2018-06-07 12:28:18 +08:00
vmexit.c fix MISRA C"Literal zero used in pointer context" 2018-06-11 12:13:43 +08:00
vmx_asm.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
vmx.c fix MISRA C"Literal zero used in pointer context" 2018-06-11 12:13:43 +08:00
vtd.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00