mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-29 04:25:57 +00:00
We will add host_pm.h for ACRN power manager header file. Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
16 lines
368 B
C
16 lines
368 B
C
/*
|
|
* Copyright (C) 2018 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef GUEST_PM_H
|
|
#define GUEST_PM_H
|
|
|
|
void vm_setup_cpu_state(struct vm *vm);
|
|
int vm_load_pm_s_state(struct vm *vm);
|
|
int validate_pstate(struct vm *vm, uint64_t perf_ctl);
|
|
struct cpu_cx_data* get_target_cx(struct vm *vm, uint8_t cn);
|
|
|
|
#endif /* PM_H */
|