acrn-hypervisor/hypervisor/include/arch/x86
Yonghua Huang 9b37e1464c add IO requrest 'req_buf' check before reference
This address maybe invalid if a hostile address was set
in hypercall 'HC_SET_IOREQ_BUFFER'.it should be validated
before using.

Update:
  -- save HVA to guest OS's request buffer in hyperviosr
  -- change type of 'req_buf' from 'uint64_t' to 'void *'
  -- remove HPA to HVA translation code when using this addr.
  -- use error number instead of -1 when return error cases.

Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
2018-05-15 17:25:27 +08:00
..
guest add IO requrest 'req_buf' check before reference 2018-05-15 17:25:27 +08:00
apicreg.h Fix compiler warnings when building for UEFI 2018-05-15 17:19:38 +08:00
assign.h ptdev: refine the functions name & code position 2018-05-15 17:19:38 +08:00
cpu_state_tbl.h HV: trap and validate px request 2018-05-15 17:25:25 +08:00
cpu.h cpu: change cpu_halt name to cpu_dead 2018-05-15 17:25:27 +08:00
cpuid.h HV: add cpu model name 2018-05-15 17:25:25 +08:00
gdt.h initial import 2018-05-11 14:44:28 +08:00
hv_arch.h HV: setup px info when create vm 2018-05-15 17:25:25 +08:00
idt.h initial import 2018-05-11 14:44:28 +08:00
intr_ctx.h initial import 2018-05-11 14:44:28 +08:00
io.h initial import 2018-05-11 14:44:28 +08:00
ioapic.h initial import 2018-05-11 14:44:28 +08:00
irq.h uefi: remove old interrupt injection method 2018-05-15 17:19:37 +08:00
lapic.h hv: lapic: export write_lapic_reg32 2018-05-15 17:19:38 +08:00
mmu.h mmu: refine the checking of entry present 2018-05-15 17:25:27 +08:00
msr.h mmu: add ept execution only capability check 2018-05-15 17:25:27 +08:00
multiboot.h UEFI: change the efi_ctx passing method 2018-05-15 17:19:39 +08:00
softirq.h initial import 2018-05-11 14:44:28 +08:00
timer.h initial import 2018-05-11 14:44:28 +08:00
trusty.h mmu:create temporary page tables for guest at run time 2018-05-15 17:25:26 +08:00
vmexit.h initial import 2018-05-11 14:44:28 +08:00
vmx.h hv: pass-through xsave feature to guests 2018-05-15 17:25:23 +08:00
vtd.h ept: change eptp to PA 2018-05-15 17:25:25 +08:00
zeropage.h vm load: fix bug in loading kernel 2018-05-15 17:19:37 +08:00