mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-27 03:33:19 +00:00
dm: pm: move host power button related code out of pm.c
For the code which forwards the native power button event to guest, they are not related with guest pm related operation emulation. Move this part of code out of pm.c. And will make the power button as one possible method to notify guest about the shutdown operation. Tracked-On: #3564 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Reviewed-by: Yuan Liu <yuan1.liu@intel.com> Acked-by: Wang Yu <yu1.wang@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
ca51cc9d8a
commit
1041384993
@@ -59,5 +59,8 @@ void dsdt_unindent(int levels);
|
||||
void sci_init(struct vmctx *ctx);
|
||||
void pm_write_dsdt(struct vmctx *ctx, int ncpu);
|
||||
void pm_backto_wakeup(struct vmctx *ctx);
|
||||
void inject_power_button_event(struct vmctx *ctx);
|
||||
void power_button_init(struct vmctx *ctx);
|
||||
void power_button_deinit(struct vmctx *ctx);
|
||||
|
||||
#endif /* _ACPI_H_ */
|
||||
|
Reference in New Issue
Block a user