acrn-hypervisor/hypervisor/include/arch/x86/guest/guest_pm.h
Mingqiang Chi 292d1a15f9 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>
2019-10-21 10:13:02 +08:00

14 lines
282 B
C

/*
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef GUEST_PM_H
#define GUEST_PM_H
int32_t validate_pstate(const struct acrn_vm *vm, uint64_t perf_ctl);
void init_guest_pm(struct acrn_vm *vm);
#endif /* PM_H */