mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 17:58:30 +00:00
hv:Wrap some APIs related with guest pm
-- change some APIs to static -- combine two APIs to init_guest_pm Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
This commit is contained in:
@@ -7,10 +7,7 @@
|
||||
#ifndef GUEST_PM_H
|
||||
#define GUEST_PM_H
|
||||
|
||||
void vm_setup_cpu_state(struct acrn_vm *vm);
|
||||
int32_t vm_load_pm_s_state(struct acrn_vm *vm);
|
||||
int32_t validate_pstate(const struct acrn_vm *vm, uint64_t perf_ctl);
|
||||
void register_pm1ab_handler(struct acrn_vm *vm);
|
||||
void register_rt_vm_pm1a_ctl_handler(struct acrn_vm *vm);
|
||||
void init_guest_pm(struct acrn_vm *vm);
|
||||
|
||||
#endif /* PM_H */
|
||||
|
Reference in New Issue
Block a user