Home
last modified time | relevance | path

Searched refs:pm (Results 1 – 6 of 6) sorted by relevance

/hypervisor/arch/x86/guest/
A Dpm.c33 uint8_t px_cnt = vm->pm.px_cnt; in validate_pstate()
34 const struct acrn_pstate_data *px_data = vm->pm.px_data; in validate_pstate()
59 vm->pm.px_cnt = 0U; in vm_setup_cpu_px()
65 vm->pm.px_cnt = pm_state_info->px_cnt; in vm_setup_cpu_px()
76 vm->pm.cx_cnt = 0U; in vm_setup_cpu_cx()
82 vm->pm.cx_cnt = pm_state_info->cx_cnt; in vm_setup_cpu_cx()
96 for (cx_idx = 2U; cx_idx <= vm->pm.cx_cnt; cx_idx++) { in init_cx_port()
128 vm->pm.sx_state_data = sx_data; in vm_load_pm_s_state()
208 if (vm->pm.sx_state_data->pm1b_cnt.address != 0UL) { in pm1ab_io_write()
211 if (vm->pm.sx_state_data->s3_pkg.val_pm1a == val) { in pm1ab_io_write()
[all …]
A Dguest_memory.c218 enum vm_paging_mode pm = get_vcpu_paging_mode(vcpu); in gva2gpa() local
228 pw_info.level = (uint32_t)pm; in gva2gpa()
248 if (pm == PAGING_MODE_4_LEVEL) { in gva2gpa()
251 } else if (pm == PAGING_MODE_3_LEVEL) { in gva2gpa()
254 } else if (pm == PAGING_MODE_2_LEVEL) { in gva2gpa()
/hypervisor/common/
A Dhypercall.c1117 } else if (target_vm->pm.px_cnt == 0U) { in hcall_get_cpu_pm_state()
1120 px_cnt = target_vm->pm.px_cnt; in hcall_get_cpu_pm_state()
1137 if (target_vm->pm.px_cnt == 0U) { in hcall_get_cpu_pm_state()
1142 if (pn >= target_vm->pm.px_cnt) { in hcall_get_cpu_pm_state()
1146 px_data = target_vm->pm.px_data + pn; in hcall_get_cpu_pm_state()
1151 ret = copy_to_gpa(vm, &(target_vm->pm.cx_cnt), param2, sizeof(target_vm->pm.cx_cnt)); in hcall_get_cpu_pm_state()
1158 if (target_vm->pm.cx_cnt == 0U) { in hcall_get_cpu_pm_state()
1164 if ((cx_idx == 0U) || (cx_idx > target_vm->pm.cx_cnt)) { in hcall_get_cpu_pm_state()
1168 cx_data = target_vm->pm.cx_data + cx_idx; in hcall_get_cpu_pm_state()
/hypervisor/dm/
A Dvrtc.c261 uint32_t hour = 0, pm = 0; in rtc_to_secs() local
278 pm = 0; in rtc_to_secs()
283 pm = 1; in rtc_to_secs()
305 if (pm) { in rtc_to_secs()
/hypervisor/include/arch/x86/asm/guest/
A Dvm.h142 struct vm_pm_info pm; /* Reference to this VM's arch information */ member
/hypervisor/
A DMakefile225 HW_C_SRCS += arch/x86/pm.c
332 VP_DM_C_SRCS += arch/x86/guest/pm.c

Completed in 13 milliseconds