mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-14 05:19:42 +00:00
HV: replace memory config with acrn_vm_mem_config
The member of mem_size and start_hpa in acrn_vm_config struct will be replaced with the acrn_vm_mem_config struct; Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -51,7 +51,7 @@ int32_t init_vm_boot_info(struct acrn_vm *vm)
|
||||
vm->sw.kernel_info.kernel_load_addr = (void *)(16 * 1024 * 1024UL);
|
||||
vm->sw.linux_info.bootargs_src_addr = (void *)vm_config->bootargs;
|
||||
vm->sw.linux_info.bootargs_size = strnlen_s(vm_config->bootargs, MEM_2K);
|
||||
vm->sw.linux_info.bootargs_load_addr = (void *)(vm_config->mem_size - 8*1024UL);
|
||||
vm->sw.linux_info.bootargs_load_addr = (void *)(vm_config->memory.size - 8*1024UL);
|
||||
clac();
|
||||
ret = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user