mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-07 17:46:15 +00:00
hv:move some APIs related host reset to pm.c
move some data structures and APIs related host reset from vm_reset.c to pm.c, these are not related with guest. Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
2736b6c4cd
commit
bd09f471a6
@@ -9,14 +9,8 @@
|
||||
|
||||
#include <acrn_common.h>
|
||||
|
||||
struct acpi_reset_reg {
|
||||
struct acpi_generic_address reg;
|
||||
uint8_t val;
|
||||
};
|
||||
|
||||
void register_reset_port_handler(struct acrn_vm *vm);
|
||||
void shutdown_vm_from_idle(uint16_t pcpu_id);
|
||||
void triple_fault_shutdown_vm(struct acrn_vcpu *vcpu);
|
||||
struct acpi_reset_reg *get_host_reset_reg_data(void);
|
||||
|
||||
#endif /* VM_RESET_H_ */
|
||||
|
||||
Reference in New Issue
Block a user