File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 12
12
#include <vtd.h>
13
13
#include <security.h>
14
14
#include <vm.h>
15
- #include <vm_configurations.h>
16
15
17
16
static struct page ppt_pml4_pages [PML4_PAGE_NUM (CONFIG_PLATFORM_RAM_SIZE + PLATFORM_LO_MMIO_SIZE )];
18
17
static struct page ppt_pdpt_pages [PDPT_PAGE_NUM (CONFIG_PLATFORM_RAM_SIZE + PLATFORM_LO_MMIO_SIZE )];
@@ -104,7 +103,7 @@ static union pgtable_pages_info ept_pages_info[CONFIG_MAX_VM_NUM];
104
103
static const uint64_t vm_address_space_size [MAX_LOAD_ORDER ] = {
105
104
PRE_VM_EPT_ADDRESS_SPACE (CONFIG_UOS_RAM_SIZE ), /* for Pre-Launched VM */
106
105
EPT_ADDRESS_SPACE (CONFIG_SOS_RAM_SIZE ), /* for SOS VM */
107
- EPT_ADDRESS_SPACE (CONFIG_SOS_RAM_SIZE ), /* for Post-Launched VM */
106
+ EPT_ADDRESS_SPACE (CONFIG_UOS_RAM_SIZE ), /* for Post-Launched VM */
108
107
};
109
108
110
109
/*
Original file line number Diff line number Diff line change 36
36
* PRE_LAUNCHED_VM is launched by ACRN hypervisor, with LAPIC_PT;
37
37
* SOS_VM is launched by ACRN hypervisor, without LAPIC_PT;
38
38
* POST_LAUNCHED_VM is launched by ACRN devicemodel, with/without LAPIC_PT depends on usecases.
39
+ *
40
+ * Assumption: vm_configs array is completely initialized w.r.t. load_order member of
41
+ * acrn_vm_config for all the VMs.
39
42
*/
40
43
enum acrn_vm_load_order {
41
44
PRE_LAUNCHED_VM = 0 ,
You can’t perform that action at this time.
0 commit comments