acrn-hypervisor/hypervisor/arch/x86/seed
Victor Sun 80262f0602 HV: rename append_seed_arg to fill_seed_arg
Previously append_seed_arg() just do fill in seed arg to dest cmd buffer,
so rename the api name to fill_seed_arg().

Since fill_seed_arg() will be called in SOS VM path only, the param of
bool vm_is_sos is not needed and will be replaced by dest buffer size.

The seed_args[] which used by fill_seed_arg() is pre-defined as all-zero,
so memset() is not needed in fill_seed_arg(), buffer pointer check
and strncpy_s() are not needed also.

Tracked-On: #4885

Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2020-06-08 13:30:04 +08:00
..
seed.c HV: rename append_seed_arg to fill_seed_arg 2020-06-08 13:30:04 +08:00
seed_abl.c hv:fix "no prototype for non-static function" 2019-07-09 10:36:03 +08:00
seed_abl.h hv: refactor seed management 2019-03-14 10:38:17 +08:00
seed_sbl.c hv: delay enabling SMEP/SMAP until the end of PCPU initialization 2019-06-10 11:35:15 +08:00
seed_sbl.h hv: refactor seed management 2019-03-14 10:38:17 +08:00