acrn-hypervisor/hypervisor/common
Jason Chen CJ a1c6c24248 vm load: add SOS cmdline option for hugetlb
adding "hugepagesz=1G" and "hugepages=X" into SOS cmdline, for X, current
strategy is making it equal
	e820_mem.total_mem_size -CONFIG_REMAIN_1G_PAGES
if CONFIG_REMAIN_1G_PAGES is not set, it will use 3 by default.

CONFIG_CMA is added to indicate using cma cmdline option for SOS kernel,
by default system will use hugetlb cmdline option if no CONFIG_CMA defined.

Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Xu, Anthony <anthony.xu@intel.com>
2018-05-15 17:25:56 +08:00
..
hv_main.c revise type of 'exit_reason' and 'inst_len' in vcpu_arch 2018-05-15 17:25:55 +08:00
hypercall.c add IO requrest 'req_buf' check before reference 2018-05-15 17:25:27 +08:00
schedule.c retpoline: replace indirect jmp in switch_to function 2018-05-15 17:19:36 +08:00
stack_protector.c initial import 2018-05-11 14:44:28 +08:00
trusty_hypercall.c trusty: implement hypercall to initialize trusty 2018-05-15 17:19:39 +08:00
vm_load.c vm load: add SOS cmdline option for hugetlb 2018-05-15 17:25:56 +08:00