mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 17:27:53 +00:00
hv: dm: Use new power management data structures
struct cpu_px_data -> struct acrn_pstate_data struct cpu_cx_data -> struct acrn_cstate_data enum pm_cmd_type -> enum acrn_pm_cmd_type struct acpi_generic_address -> struct acrn_acpi_generic_address cpu_cx_data -> acrn_cstate_data cpu_px_data -> acrn_pstate_data IC_PM_GET_CPU_STATE -> ACRN_IOCTL_PM_GET_CPU_STATE PMCMD_GET_PX_CNT -> ACRN_PMCMD_GET_PX_CNT PMCMD_GET_CX_CNT -> ACRN_PMCMD_GET_CX_CNT PMCMD_GET_PX_DATA -> ACRN_PMCMD_GET_PX_DATA PMCMD_GET_CX_DATA -> ACRN_PMCMD_GET_CX_DATA Tracked-On: #6282 Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
This commit is contained in:
@@ -75,9 +75,9 @@ struct vm_sw_info {
|
||||
|
||||
struct vm_pm_info {
|
||||
uint8_t px_cnt; /* count of all Px states */
|
||||
struct cpu_px_data px_data[MAX_PSTATE];
|
||||
struct acrn_pstate_data px_data[MAX_PSTATE];
|
||||
uint8_t cx_cnt; /* count of all Cx entries */
|
||||
struct cpu_cx_data cx_data[MAX_CSTATE];
|
||||
struct acrn_cstate_data cx_data[MAX_CSTATE];
|
||||
struct pm_s_state_data *sx_state_data; /* data for S3/S5 implementation */
|
||||
};
|
||||
|
||||
|
@@ -13,10 +13,10 @@
|
||||
#define BIT_WAK_STS 15U
|
||||
|
||||
struct cpu_state_info {
|
||||
uint8_t px_cnt; /* count of all Px states */
|
||||
const struct cpu_px_data *px_data;
|
||||
uint8_t cx_cnt; /* count of all Cx entries */
|
||||
const struct cpu_cx_data *cx_data;
|
||||
uint8_t px_cnt; /* count of all Px states */
|
||||
const struct acrn_pstate_data *px_data;
|
||||
uint8_t cx_cnt; /* count of all Cx entries */
|
||||
const struct acrn_cstate_data *cx_data;
|
||||
};
|
||||
|
||||
struct cpu_state_table {
|
||||
@@ -25,7 +25,7 @@ struct cpu_state_table {
|
||||
};
|
||||
|
||||
struct acpi_reset_reg {
|
||||
struct acpi_generic_address reg;
|
||||
struct acrn_acpi_generic_address reg;
|
||||
uint8_t val;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user