acrn-hypervisor/hypervisor/include
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
..
arch/x86 add IO requrest 'req_buf' check before reference 2018-05-15 17:25:27 +08:00
common hypercall: bug fix on the address convertion while hypercall 2018-05-15 17:25:27 +08:00
debug Remove STATIC_ASSERT Macro and replace with standard _Static_assert 2018-05-15 17:19:38 +08:00
lib treewide: fix declarations of functions with empty parameter lists 2018-05-15 17:25:23 +08:00
public hv:add suffix(UL)for MACRO(SECURE_WORLD_ENABLED) 2018-05-15 17:25:26 +08:00
hv_debug.h initial import 2018-05-11 14:44:28 +08:00
hv_lib.h Move s[n]printf to lib for release 2018-05-15 17:19:37 +08:00
hypervisor.h initial import 2018-05-11 14:44:28 +08:00