acrn-hypervisor/hypervisor/boot
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
..
include hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
sbl hv: replace MEM_2K with a new macro MAX_BOOTARGS_SIZE for bootargs size 2019-03-21 13:08:15 +08:00
uefi HV: Modularize boot folder 2019-03-14 09:05:53 +08:00
acpi.c hv: merge SBL and UEFI related stuff under boot 2019-03-13 10:26:55 +08:00
dmar_parse.c HV: Modularize boot folder 2019-03-14 09:05:53 +08:00
reloc.c hv: cleanup some hva/hpa conversion code 2019-03-15 09:03:14 +08:00