mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-28 20:16:09 +00:00
Revert "hv: trap vm0 write/read pm1a/pm1b registers"
This reverts commit 711cff0251
.
This commit is contained in:
@@ -11,6 +11,5 @@ 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);
|
||||
void register_pm1ab_handler(struct vm *vm);
|
||||
|
||||
#endif /* PM_H */
|
||||
|
@@ -5,12 +5,8 @@
|
||||
|
||||
#ifndef HOST_PM_H
|
||||
|
||||
#define BIT_SLP_TYPx 10U
|
||||
#define BIT_SLP_EN 13U
|
||||
#define BIT_WAK_STS 15U
|
||||
|
||||
extern uint8_t host_enter_s3_success;
|
||||
|
||||
int enter_s3(struct vm *vm, uint32_t pm1a_cnt_val,
|
||||
uint32_t pm1b_cnt_val);
|
||||
extern void __enter_s3(struct vm *vm, uint32_t pm1a_cnt_val,
|
||||
|
Reference in New Issue
Block a user