mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-03 22:17:03 +00:00
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>
17 lines
362 B
C
17 lines
362 B
C
/*
|
|
* Copyright (C) 2019 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef VM_RESET_H_
|
|
#define VM_RESET_H_
|
|
|
|
#include <acrn_common.h>
|
|
|
|
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);
|
|
|
|
#endif /* VM_RESET_H_ */
|