mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-06 15:36:59 +00:00
Pointer param should be declared pointer to const if the parameter is keeped read-only. This patch changes pointer param whose name is vm. Tracked-On:#861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
16 lines
356 B
C
16 lines
356 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(const struct vm *vm, uint64_t perf_ctl);
|
|
void register_pm1ab_handler(struct vm *vm);
|
|
|
|
#endif /* PM_H */
|