acrn-hypervisor/hypervisor/include
Zide Chen 370998ba5a hv: replace MEM_2K with a new macro MAX_BOOTARGS_SIZE for bootargs size
- for all cases of referring guest bootargs size, replace MEM_2K with
  CONFIG_MAX_BOOTARGS_SIZE for better readability.
- remove duplicated MAX_BOOTARGS_SIZE definition from vm_config.h.

Also fix one minor issue in general_sw_loader() which uses copy_to_gpa()
to copy a string. Since copy_to_gpa() makes use of memncpy_s() to do the
job, the size parameter should include the string null ternimator.

Tracked-On: #2806
Signed-off-by: Zide Chen <zide.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-03-21 13:08:15 +08:00
..
arch/x86 hv: replace MEM_2K with a new macro MAX_BOOTARGS_SIZE for bootargs size 2019-03-21 13:08:15 +08:00
common hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
debug hv:cleanup header files for debug folder 2019-02-27 11:12:48 +08:00
dm HV: remove vpci ops 2019-03-20 12:04:42 +08:00
lib hv:move several tsc APIs to timer.c 2019-03-07 20:23:22 +08:00
public hv: vmconfig: format guest flag with prefix GUEST_FLAG_ 2019-03-16 17:14:12 +08:00
hv_debug.h HV: Added Initial support for SEP/SOCWATCH profiling 2018-10-26 13:39:07 +08:00
hypervisor.h hv:move 2 APIs from hypervisor.h to guest_memory.c 2019-02-21 10:38:30 +08:00