2018-04-04 14:29:46 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2018 Intel Corporation. All rights reserved.
|
|
|
|
*
|
2018-05-26 01:49:13 +08:00
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
2018-04-04 14:29:46 +08:00
|
|
|
*/
|
|
|
|
|
2018-06-14 21:07:26 +08:00
|
|
|
#ifndef GUEST_PM_H
|
|
|
|
#define GUEST_PM_H
|
2018-04-04 14:29:46 +08:00
|
|
|
|
2018-11-05 13:28:23 +08:00
|
|
|
void vm_setup_cpu_state(struct acrn_vm *vm);
|
2018-12-08 00:30:49 +08:00
|
|
|
int32_t vm_load_pm_s_state(struct acrn_vm *vm);
|
|
|
|
int32_t validate_pstate(const struct acrn_vm *vm, uint64_t perf_ctl);
|
2018-11-05 13:28:23 +08:00
|
|
|
void register_pm1ab_handler(struct acrn_vm *vm);
|
2018-04-04 14:29:46 +08:00
|
|
|
|
2018-04-17 12:12:33 +08:00
|
|
|
#endif /* PM_H */
|